Merge branch 'pentoo:master' into master

This commit is contained in:
Anton Bolshakov 2025-06-02 07:37:09 +08:00 committed by GitHub
commit 1c8127a01a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 192 additions and 68 deletions

View file

@ -0,0 +1 @@
DIST django_environ-0.12.0.tar.gz 56804 BLAKE2B 98dccf8ff9bb20b3019dff84a42a6d7bffe0cd0c73b6445dbcfca87c1a39a9ca144fa315c7620787d667c5986be95e6eb45bd37e3f41fc9c41d6d325762ec863 SHA512 73a9691b4bc221ae887f7917cfcc18bd5db546a1e2d463f56ae0f7db2b46ea369697f0c0eda911ca977c861274928d4bdcff3936a768a9279ab2bd18e4e403dc

View file

@ -0,0 +1,31 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Library to utilize 12factor inspired environment variables to configure Django."
HOMEPAGE="
https://github.com/joke2k/django-environ/
https://pypi.org/project/django-environ/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/django-2.2[${PYTHON_USEDEP}]
"
# one failing test
EPYTEST_DESELECT=(
'tests/test_db.py::test_db_parsing[postgres_cluster]'
)
distutils_enable_sphinx docs dev-python/furo dev-python/sphinx-notfound-page
distutils_enable_tests pytest

View file

@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">joke2k/django-environ</remote-id>
<remote-id type="pypi">django-environ</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1 +1 @@
DIST django-formtools-2.1.tar.gz 70182 BLAKE2B 955278ba70b469b84e4d94983729ac7669c90cc23fcc2806abac92b2e0ef59870f8466879e2e378fe6699a17374769abc1835e331e675b5ad5dc2e90f9f1f5c2 SHA512 b3a89b0e7dfbfd1ae1ec92bb100fb8d332a4bdfb00e2b25a306dea3863b95e18372919823a9bb4945b367011fd31e89be52b08a916b797ecc508809815622b9e
DIST django-formtools-2.5.1.gh.tar.gz 80928 BLAKE2B 4f03016a506ea8a9cb8b1e845fae0b384e3857e275007646477dda97c9cb784ef7bae28339f54b744a61926414721c58ccd60afb70eb06802df55f329860350e SHA512 2b6e4061f2e01b074d8ce92fab3579bf844666e85be36ce6a6522c526a96d695f2939267278af10a167e46e61d6f6301acab832b1d50cdd5ec75ff7c3081966b

View file

@ -0,0 +1,26 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="A set of high-level abstractions for Django forms"
HOMEPAGE="https://django-formtools.readthedocs.io/en/latest/ https://django-filter.readthedocs.org"
SRC_URI="https://github.com/jazzband/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test" # it's using tox
RDEPEND=">=dev-python/django-3.2[${PYTHON_USEDEP}]"
PATCHES=(
"${FILESDIR}/${P}-fix-pyproject.patch"
)
distutils_enable_sphinx docs

View file

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -6,16 +6,17 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
inherit distutils-r1 git-r3
DESCRIPTION="A set of high-level abstractions for Django forms"
HOMEPAGE="https://django-formtools.readthedocs.io/en/latest/ https://django-filter.readthedocs.org"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
EGIT_REPO_URI="https://github.com/jazzband/${PN}.git"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS=""
RESTRICT="test" # it's using tox
CDEPEND=">=dev-python/django-1.11[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=">=dev-python/django-4.2[${PYTHON_USEDEP}]"
distutils_enable_sphinx docs

View file

@ -0,0 +1,37 @@
Patch pyproject for tarball and not dynamic version
Fix by rick <rick@gnous.eu>
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,7 +2,6 @@
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=61.2",
- "setuptools_scm",
]
[project]
@@ -32,9 +31,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
]
-dynamic = [
- "version",
-]
+version = "2.5.1"
dependencies = [
"Django>=3.2",
]
@@ -53,11 +50,9 @@ license-files = ["LICENSE"]
zip-safe = false
[tool.setuptools.packages.find]
-exclude = ["tests"] # tests.*
+exclude = ["tests*"] # tests.*
namespaces = false
-[tool.setuptools_scm]
-
[tool.codespell]
skip = "*.po"

View file

@ -5,4 +5,8 @@
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">jazzband/django-formtools</remote-id>
<remote-id type="pypi">django-formtools</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1 +1,2 @@
DIST django-guardian-2.3.0.tar.gz 159296 BLAKE2B 063e910454d62f69d93965b8e7b6c57734ca7f9191afbf99bacbe5488f3ab7e5924cb97131a049d462d7499c087d8d21f9c05c9be020bfb203930cad8c949155 SHA512 84f9825fae21e89fa62209bdb9dcd3078d280a2f6eca5cd3cde470bd416e6a788317dcf127615052b4b840b80a6b770fa5a3348ff9ea23d5c6a5518aa01fbb7d
DIST django-guardian-2.4.0.tar.gz 159008 BLAKE2B 8eb6ee82ed9eb6098deb8b8c0f1142d3e96f5a2bb5ad5822ddfe8c004a208421e465165fdfec85077ef9b8d03e7222d7d9e132a03e055c0de506b69dfff8f003 SHA512 7e65a27fbb485a047dd02466b7e36daceb4a27b5ff30ec035fa37b7d300e78e43de213606e54d0b1be2e64ae8835a55cef98788ae45ec2446e502fdd312d8ed6
DIST django-guardian-3.0.1.gh.tar.gz 259978 BLAKE2B b261f7823b41e03eafb33294c6a715886d008fb303270d4acec0543063a283a68042d1de3814b9e7439655eed0da50a8b07c48327fb45711fce50c364196426b SHA512 5f07b5b336a7126bb42e6212681536af608a13b320b372413cf671f7515f81f83b9f793c992e97e51e5008958620232aaa61ceaee03c0ef67ae770e351d6e74d

View file

@ -1,21 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="Implementation of per object permissions for Django 1.2+"
HOMEPAGE="https://github.com/django-guardian/django-guardian"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
CDEPEND=">=dev-python/django-2.2[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

View file

@ -0,0 +1,32 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Implementation of per object permissions for Django 1.2+"
HOMEPAGE="https://github.com/django-guardian/django-guardian"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-python/django-2.2[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
dev-python/django-environ[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-django[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
distutils_enable_tests pytest

View file

@ -0,0 +1,33 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="Implementation of per object permissions for Django 1.2+"
HOMEPAGE="https://github.com/django-guardian/django-guardian"
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-python/django-3.2[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
>=dev-python/django-environ-0.12.0[${PYTHON_USEDEP}]
>=dev-python/mock-5.1.0[${PYTHON_USEDEP}]
>=dev-python/pytest-django-4.9.0[${PYTHON_USEDEP}]
)
"
# it's using mkdoc, FIXME
#distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
distutils_enable_tests pytest

View file

@ -1,12 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>johann@j-schmitz.net</email>
<name>Johann Schmitz (ercpe)</name>
</maintainer>
<upstream>
<remote-id type="github">lukaszb/django-guardian</remote-id>
<remote-id type="pypi">django-guardian</remote-id>
</upstream>
<maintainer type="person">
<email>johann@j-schmitz.net</email>
<name>Johann Schmitz (ercpe)</name>
</maintainer>
<upstream>
<remote-id type="github">django-guardian/django-guardian</remote-id>
<remote-id type="pypi">django-guardian</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1 +0,0 @@
DIST 2312cf240363721f737b5ac8eb86ab8cb255938f.tar.gz 42247 BLAKE2B f47bcab9f6946c4baad51989e9e05e1e9cd7831f6cba2ac762b7b8f8c9296f96c2afb3455ff35df0573417fbc76be7bcbc430a497c357cae836d667b0ba230a2 SHA512 874953b80ec6226db55b710472c9004f254e6cbce359f8379ea9f73236690275ccffb0672891763a635b5c1678f99c5ba7685a44250b1f715a867eb72f7a292f

View file

@ -1,26 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
HASH_COMMIT="2312cf240363721f737b5ac8eb86ab8cb255938f"
DESCRIPTION="A Django app to monitor and send mail asynchronously"
HOMEPAGE="https://github.com/ui/django-post_office https://django-filter.readthedocs.org"
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/haiwen/django-post_office/archive/${HASH_COMMIT}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
CDEPEND=">=dev-python/django-1.8[${PYTHON_USEDEP}]
dev-python/jsonfield[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/django-post_office-${HASH_COMMIT}"

View file

@ -6,5 +6,3 @@ app-arch/xz-utils
app-arch/lbzip2
#this is needed for portage-9999 which is sometimes used for testing
dev-vcs/git
#glib-utils and possibly others need this in stage3
dev-python/docutils

View file

@ -0,0 +1,2 @@
#glib-utils and possibly others need this in stage3
*dev-python/docutils

View file

@ -0,0 +1,2 @@
#glib-utils and possibly others need this in stage3
dev-python/docutils