diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-21 18:10:31 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-21 18:10:31 +0000 |
| commit | aa60ccb7c9d247fc8f12cfb61f2e2a4a18da8e40 (patch) | |
| tree | e2c4a97bf0646bb4185abe217dd320e6764c725d /dev-python | |
| parent | 5fb24e839710dc6a247ecb0c750a5290c46cf835 (diff) | |
| download | baldeagleos-repo-aa60ccb7c9d247fc8f12cfb61f2e2a4a18da8e40.tar.gz baldeagleos-repo-aa60ccb7c9d247fc8f12cfb61f2e2a4a18da8e40.tar.xz baldeagleos-repo-aa60ccb7c9d247fc8f12cfb61f2e2a4a18da8e40.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
92 files changed, 1197 insertions, 1096 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index f70f5c3a9951..51c5ada61144 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,5 +1,2 @@ DIST aiohttp-3.11.14.tar.gz 7676994 BLAKE2B e8e048c01db9600df3bdc7bdc6e5066094b4575d08fef3ec7d0a78763a701cd3501dce435b80d3fbea28d2e7bf4110a5cc9e0ccec2bc3745835cadcb27528404 SHA512 38e51d3640b533d9bd639a59657bf7affbfc0b1a9dc40d77175d6528044e23b1e524589b9a10e0159eb8f9ba29e96b3e67529a9d11f1c53760a70800d813d13f -DIST aiohttp-3.11.15.tar.gz 7676625 BLAKE2B 02a5230bd9d038f0e90e4b63e69502a8f2445b781e0b4ff6e40657d7c0d49ddce011ba28c3ddc03cd75a4e205d3544af15f9944f9908064d6f9b922862cc8ab0 SHA512 deeaed7f204fef23641d076d1fd455ebe97173726e2cfc47f82fffc654c51e975fb3012ac78bf60181771e001f3e6f3aac67e2bfc9ed9291ff6d92873969eb0e -DIST aiohttp-3.11.16.tar.gz 7676826 BLAKE2B ae430c8d5e3c84442c95f6c485be2ca69df00b7dd2047ed34d7825c0f250b71ca1490140a1aff8b3dfcdb2af367958e59c94c60b288b7f534b1e1b0457debc10 SHA512 890f576d5ec8c364f8db29b1c4a540cd39cf61fa1fd17ec70049a8c1bf401745d8326e2b7b51bbbc7a2569bfe42f7aab022c23be186bb67f064a32ed16af18dd -DIST aiohttp-3.11.17.tar.gz 7679092 BLAKE2B 1eabacddbbf03c22a156c30641c6b476760b12dd19b2f0d2e8fc066c60cee0c84745f8636257a356a87dab5b06d6f845a67c58da6abaeb513ae7bac86f8f3d9e SHA512 c514e772957e5b20da398bd38682ba10f43e1697a4f743c85fe5242437a0d7010a13b918b071a1bbe9e62c56cd58f76e5470056f917a23734449f9f2de225d78 DIST aiohttp-3.11.18.tar.gz 7678653 BLAKE2B 5886778fd0456ef40f1da5abd3d6a3864db03fad01d53755bb34afd77152da338480ba534c5dc1574bd5aa178943ec52814f1ceff736d668868803b19f6c102f SHA512 9b25ad5f9800cd84014c55f6a4f7ac217a788a43e301a83c18667b6f294388adf53c81360fd3219007b10b42ce165331dad1907582dc9d3081fd8585b5bcd042 diff --git a/dev-python/aiohttp/aiohttp-3.11.15.ebuild b/dev-python/aiohttp/aiohttp-3.11.15.ebuild deleted file mode 100644 index 4a78f29a07ab..000000000000 --- a/dev-python/aiohttp/aiohttp-3.11.15.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="+native-extensions test-rust" - -RDEPEND=" - >=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}] - >=dev-python/aiohappyeyeballs-2.3.0[${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - <dev-python/async-timeout-6[${PYTHON_USEDEP}] - >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - ) - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # increase the timeout a little - sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - - distutils-r1_src_prepare -} - -python_configure() { - if [[ ! -d tools && ${EPYTHON} != pypy3 ]] && use native-extensions - then - # workaround missing files - mkdir tools || die - > requirements/cython.txt || die - > tools/gen.py || die - chmod +x tools/gen.py || die - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize - fi -} - -python_compile() { - # implicitly disabled for pypy3 - if ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - # python_on_whales is not packaged - tests/autobahn/test_autobahn.py - # benchmarks - tests/test_benchmarks_client.py - tests/test_benchmarks_client_request.py - tests/test_benchmarks_client_ws.py - tests/test_benchmarks_cookiejar.py - tests/test_benchmarks_http_websocket.py - tests/test_benchmarks_http_writer.py - tests/test_benchmarks_web_fileresponse.py - tests/test_benchmarks_web_middleware.py - tests/test_benchmarks_web_response.py - tests/test_benchmarks_web_urldispatcher.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - ) - - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin - rm -rf aiohttp || die - epytest -m "not internal and not dev_mode" \ - -p rerunfailures --reruns=5 -} diff --git a/dev-python/aiohttp/aiohttp-3.11.16.ebuild b/dev-python/aiohttp/aiohttp-3.11.16.ebuild deleted file mode 100644 index 7acb4b2199de..000000000000 --- a/dev-python/aiohttp/aiohttp-3.11.16.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+native-extensions test-rust" - -RDEPEND=" - >=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}] - >=dev-python/aiohappyeyeballs-2.3.0[${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - <dev-python/async-timeout-6[${PYTHON_USEDEP}] - >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - ) - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # increase the timeout a little - sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - - distutils-r1_src_prepare -} - -python_configure() { - if [[ ! -d tools && ${EPYTHON} != pypy3 ]] && use native-extensions - then - # workaround missing files - mkdir tools || die - > requirements/cython.txt || die - > tools/gen.py || die - chmod +x tools/gen.py || die - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize - fi -} - -python_compile() { - # implicitly disabled for pypy3 - if ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - # python_on_whales is not packaged - tests/autobahn/test_autobahn.py - # benchmarks - tests/test_benchmarks_client.py - tests/test_benchmarks_client_request.py - tests/test_benchmarks_client_ws.py - tests/test_benchmarks_cookiejar.py - tests/test_benchmarks_http_websocket.py - tests/test_benchmarks_http_writer.py - tests/test_benchmarks_web_fileresponse.py - tests/test_benchmarks_web_middleware.py - tests/test_benchmarks_web_response.py - tests/test_benchmarks_web_urldispatcher.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - ) - - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin - rm -rf aiohttp || die - epytest -m "not internal and not dev_mode" \ - -p rerunfailures --reruns=5 -} diff --git a/dev-python/aiohttp/aiohttp-3.11.17.ebuild b/dev-python/aiohttp/aiohttp-3.11.17.ebuild deleted file mode 100644 index 06772b8404ff..000000000000 --- a/dev-python/aiohttp/aiohttp-3.11.17.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="+native-extensions test-rust" - -DEPEND=" - native-extensions? ( - $(python_gen_cond_dep ' - net-libs/llhttp:= - ' 'python3*') - ) -" -RDEPEND=" - ${DEPEND} - >=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}] - >=dev-python/aiohappyeyeballs-2.3.0[${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - <dev-python/async-timeout-6[${PYTHON_USEDEP}] - >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - ) - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - local PATCHES=( - "${FILESDIR}/${PN}-3.11.17-unbundle-llhttp.patch" - ) - - distutils-r1_src_prepare - - # increase the timeout a little - sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - # remove vendored llhttp - rm -r vendor || die -} - -python_configure() { - # check for .install-cython, so that we do this only once - if [[ ! -f .install-cython && ${EPYTHON} != pypy3 ]] && - use native-extensions - then - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize - fi -} - -python_compile() { - # implicitly disabled for pypy3 - if ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - # python_on_whales is not packaged - tests/autobahn/test_autobahn.py - # benchmarks - tests/test_benchmarks_client.py - tests/test_benchmarks_client_request.py - tests/test_benchmarks_client_ws.py - tests/test_benchmarks_cookiejar.py - tests/test_benchmarks_http_websocket.py - tests/test_benchmarks_http_writer.py - tests/test_benchmarks_web_fileresponse.py - tests/test_benchmarks_web_middleware.py - tests/test_benchmarks_web_response.py - tests/test_benchmarks_web_urldispatcher.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - ) - - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin - rm -rf aiohttp || die - epytest -m "not internal and not dev_mode" \ - -p rerunfailures --reruns=5 -} diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index 9818f5f5a0cd..bb14362ec529 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,4 +1,2 @@ -DIST bitarray-3.3.1.tar.gz 139152 BLAKE2B 30ea76a65480a8849e727aee74e70222eaedb70046eff3fd74687e74bdfa0aeb32a0034b2feffbc5f13246e38794dfd4db0ffa3b3437a309e3b5a92755e98f76 SHA512 099095b89b1b7a600d191d1ec6c0ffc79867d5d35b08cbc92ddbe96f1032ca86d30a16fb3f23ca71919c1924b147ada71365550bd518b71c8a030dd0ae636028 DIST bitarray-3.3.2.tar.gz 138926 BLAKE2B 35f068220f661bdb0fe2405d770e65bd39d78ae8ca0081aa5ccf58fb3666dec01e39c044901fdd5b3b65aab987768bd683033cd8aaf9d2f7728a8c43493e2101 SHA512 876c16e0a13db40e46ea643bfe82d85bcf33ad7154fb2d0d3c0065507758bdaa556b078e666fb7565402dbd168d591edef3577fa142bca1e53cc60d2aefc5ca0 -DIST bitarray-3.4.0.tar.gz 141279 BLAKE2B 55b0b2183a35679b32b6e5cd4f614cb242d64126e7f8ce42e47c24f36cfd077fee13942dc06372accbbb4aa0f649c541124e46cea874ecb55468cb74beeb8314 SHA512 d53fa1000a17a800def08758ba38562a4a86100a58151955179803e0e0bcaea8797fb971614b4ffd4b14d1aadeb21004492bd03ed1f94a3f0dd8f64e593fd0f1 DIST bitarray-3.4.1.tar.gz 142769 BLAKE2B 6ca3c770cd672f6003f84e5e66a1fb1891ba1d67ee9411bf284efaf5c9e8983be52054c2b6ef82fcfc25c3930ee549f176c152b2fbd6f906b53d90595b4aa11d SHA512 0dff0142feda9d8203cd40b599d74e35d0dee50a07bcf5e7b6bc3bc7c85d0f16b84f8e6f784c4e909fb702d835d859be3aa28d6fdc90833afea506c9a86b916b diff --git a/dev-python/bitarray/bitarray-3.3.1.ebuild b/dev-python/bitarray/bitarray-3.3.1.ebuild deleted file mode 100644 index b30f7f7d65ad..000000000000 --- a/dev-python/bitarray/bitarray-3.3.1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Efficient arrays of booleans -- C extension" -HOMEPAGE=" - https://github.com/ilanschnell/bitarray/ - https://pypi.org/project/bitarray/ -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" - -python_test() { - "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/bitarray/bitarray-3.3.2.ebuild b/dev-python/bitarray/bitarray-3.3.2.ebuild index 59e922da67f3..b30f7f7d65ad 100644 --- a/dev-python/bitarray/bitarray-3.3.2.ebuild +++ b/dev-python/bitarray/bitarray-3.3.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" python_test() { "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/bitarray/bitarray-3.4.0.ebuild b/dev-python/bitarray/bitarray-3.4.0.ebuild deleted file mode 100644 index aea47d8e463c..000000000000 --- a/dev-python/bitarray/bitarray-3.4.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Efficient arrays of booleans -- C extension" -HOMEPAGE=" - https://github.com/ilanschnell/bitarray/ - https://pypi.org/project/bitarray/ -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" - -python_test() { - "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0f45b819ceaf..ca26b202cf40 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,4 +1,5 @@ DIST boto3-1.38.13.gh.tar.gz 939786 BLAKE2B 5c65c92b79ce28f398170950ed0fbce84a0079335a391a7ba4243a103634ba9e863fff8305dd799c47b896871ce16c5393fc2a4974026e34b8e35ca396002092 SHA512 e06f144b4cc6784d2563de2bfba2e0868c7877a2232c390bfee9db70518880b2d3c1506d3849b5f7cf46515ee2d1932a1ca09ca8847da2824f97fa5d828bc313 DIST boto3-1.38.18.gh.tar.gz 943830 BLAKE2B 2605415f7c48efd5322f6a514fb2cf7ede8724b71e8c2f0758c50bf3137a03557c17e12702f628de155e2289e42b912f645a75845921b7674140c8cb49a92d7d SHA512 af9dbf07a2a2dd378fbf5d346b9a4b43d74ccaaf2bc713f738e122ba402529aec6361ca7971101e88a1ed7e39623a69a4d84272505e39fedc5d7a89985cdaf98 DIST boto3-1.38.19.gh.tar.gz 944143 BLAKE2B c9b38196a9207d3fc09c7239490665d422507ab407f62ba0de5dfb570f1543ab5963a6bf60b3342c923969bb3519c29cc33d718bbb9bb3f216ea8a2b6625f60e SHA512 57beda6650f6cac1a3067edf750257f12d729c0232e2af7bee0221f944c66cbdf993670da0fa23de789265361a2aadb198c670c52b72c789ff222418b8ea6309 +DIST boto3-1.38.20.gh.tar.gz 944770 BLAKE2B 778e408520e141c2ef2d24ebaaa5b953a2ad699fdceeb72d026db30222a912f53c6a2d16ea088f3e3e598a38dbd8cf37330de2ba5c722e61b963a8a69137eb1e SHA512 3265784e043c85ab7cf7e99796c7540ce8306f6d021a929298b1bcd7fd8075589511ddb797204ffda049e0f40a4d78aa3664866b4e1aca5619c950b45feb1165 DIST boto3-1.38.8.gh.tar.gz 937130 BLAKE2B 4158573a032957c33f62c6406937a45956f4ccf972be4a223e16a327b0b476402a1e7bf7d9b6a5b83005fc324f6c0062ed73008972cabed9247790225c4d4e5a SHA512 3c3854ed132ad4c81cd868848a370cdc73101ac3c578f8ae70bc53c9a98b1d85dcd364258027adef976b3c6d220aa45f865928c055c9320d3a268e0e29d5af63 diff --git a/dev-python/boto3/boto3-1.38.20.ebuild b/dev-python/boto3/boto3-1.38.20.ebuild new file mode 100644 index 000000000000..b862f479d876 --- /dev/null +++ b/dev-python/boto3/boto3-1.38.20.ebuild @@ -0,0 +1,53 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.12.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 0cd1ff973e1c..b576e65d6a53 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,4 +1,5 @@ DIST botocore-1.38.13.gh.tar.gz 14619576 BLAKE2B 088dfd540934b2c1f20e5a63ffd3aa2351021f3f61207d30d3352e3d92c5df6138e87fe74fc9e48b2bf221dda2ede7e632f50f4378448a6dc6cdc2f87aaa0b02 SHA512 b1c7b585289859b94325bb1f3934bcb3a0d7596cb22e20ee79125aff96af2aa9337ec97a197426200b4ac606370eecf395a0ba7e26c79946c9390fbb02acc578 DIST botocore-1.38.18.gh.tar.gz 14648125 BLAKE2B b77da532e815f8cc270b78c5bfab8a9e9532e0909bab901eee68dca266b457e63fb5b5a844ee9c0ffd6cdeae7df570da7dc59ca50f47c19516d4d2578f07cb1d SHA512 59a1235400068b9246273340af5b198c77cffe5d1da1d2856a3bebc0bb5799329a1986a19dad50e2e85f1063cab920039aa00062a2d2250db9dc7ecc6fa63241 DIST botocore-1.38.19.gh.tar.gz 14653643 BLAKE2B 0c570186f0afa3a7b8443d2ce348d1e5cba934ac1a23bfd29c96ccffd8a6fa4fb070b6cbb699114de03d1e08dd74640fb33157b990beb52f53f9ced2ff753065 SHA512 e2fbce315af559eed3280d850e63c7dc5027be24a0f240a6404285e06fd8db043f965e64204a9fadb9e697e3b5480e839396a644dd54b4bc8579594d9e594976 +DIST botocore-1.38.20.gh.tar.gz 14638642 BLAKE2B f4dbe0f25d184a633a5c42c20d090e356353086731017eb5d41a5a23f8e0cd8c3aca6f2167f6f5691e19f21216cf0b8e6d6f0683461f3cf37ecd9dfb3e6f280f SHA512 7e5484a76f4c8955227a6e5c4270f97c328f80b40da60611d0ad48dc7120dfc43e415b2dbe2d1880bd070c477ac74c366bdfac586308922f93427baadde2ddc5 DIST botocore-1.38.8.gh.tar.gz 14606167 BLAKE2B cb92f6014349f5188d62ddeb043e7532c50c7edc984cabae918825cdace981694c37ba656afcbbb64e65e275da4980d5f256a945bbcc63f9609272b08690c3d5 SHA512 bc9096051fde740a908ef0912a0c205595e7df653a349c167f616a788423578ba6b3aed6fe6213f528faa32b1c946abf0ac66dd81afdc05d41d12a4af4f7e818 diff --git a/dev-python/botocore/botocore-1.38.20.ebuild b/dev-python/botocore/botocore-1.38.20.ebuild new file mode 100644 index 000000000000..535354aa3035 --- /dev/null +++ b/dev-python/botocore/botocore-1.38.20.ebuild @@ -0,0 +1,75 @@ +# 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..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + case ${EPYTHON} in + python3.14) + EPYTEST_DESELECT+=( + tests/unit/test_utils.py::test_lru_cache_weakref + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest index d3103ceb41da..d4d24f296fd8 100644 --- a/dev-python/click/Manifest +++ b/dev-python/click/Manifest @@ -1,2 +1,3 @@ DIST click-8.1.8.gh.tar.gz 342860 BLAKE2B f55518e66473c43e78d5127d7a4467cce5a7e25c84dae2f740e9cfa1682213e5c243ff4da90768a25374921b5d2d482525b6975818f5383ebcde77f298c9694d SHA512 f9f501210d202026a8449df1eef570f5399887a3efda9499d4a4180bbe96bc232809929bf80f9a65037583e84dfa8af3f0c348353c41121c815a9ead2c58d3aa DIST click-8.2.0.gh.tar.gz 349577 BLAKE2B 202b867151db653447f3ac26dcfe2871f3513b656851911aabb131d4ab35a50d3ab48ea7ec4e0db76fe0f39f153c3280cbd12a2b0f5bc9041596eeade826e1cb SHA512 0046970e99d2cce2ae40322ea6606cc8af241b5ee50f61830984b10a0ae20c107d0c56c049bf7d8c5bdebd98ef36c0d018e8a649551aabc8fb91554bd438101a +DIST click-8.2.1.gh.tar.gz 399811 BLAKE2B 1d28aab3fc8c2e3f977aeb5aedeaddde591d6c6ecf3d3421c4107e954f4116a9f7f6ef8ea2a42a001f0b2995bda695bd34210232a11dc83af2192dbb0c0fe462 SHA512 420ba1989410af0949317f9651c6b292da68605b86b4cf0e2382eaba1defbc9eb4b9d97e0a71e5cdb51a61a1f578e81fd864e1abb0cdcd0a8ee26a899c802afe diff --git a/dev-python/click/click-8.2.1.ebuild b/dev-python/click/click-8.2.1.ebuild new file mode 100644 index 000000000000..470a55a7b91c --- /dev/null +++ b/dev-python/click/click-8.2.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A Python package for creating beautiful command line interfaces" +HOMEPAGE=" + https://palletsprojects.com/p/click/ + https://github.com/pallets/click/ + https://pypi.org/project/click/ +" +SRC_URI=" + https://github.com/pallets/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="examples" + +distutils_enable_sphinx docs \ + '>=dev-python/docutils-0.14' \ + dev-python/myst-parser \ + dev-python/pallets-sphinx-themes \ + dev-python/sphinxcontrib-log-cabinet \ + dev-python/sphinx-tabs +distutils_enable_tests pytest + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/django-auditlog/Manifest b/dev-python/django-auditlog/Manifest index 98800a1be084..0c6bbcf7981e 100644 --- a/dev-python/django-auditlog/Manifest +++ b/dev-python/django-auditlog/Manifest @@ -1 +1,2 @@ DIST django-auditlog-3.0.0.gh.tar.gz 61443 BLAKE2B 44d4ddf157664dbbf716871ca4b39908ea77069dccbf4681fd93b563ba06213e55581767f9c0bf2267a4fe00c0e3477aaf66b8812f78d3a9d75383fa20158aee SHA512 7725451674b82b96dcc3765844d9a3c1e4cb2a5bc71ab5466516b1a787310a4acc64049d6eb8b4c2f4ed1ceb53e32a3289b3c064514828307c82001d973c0145 +DIST django-auditlog-3.1.2.gh.tar.gz 65316 BLAKE2B abf7a212b4978f8b471f6085f79d99ffa822245a9ab20bed2060ec11b431b7830f1721f084e4aa74e59ec1a29aa47d25b9f6fdf36993252233d7e346209d5a7a SHA512 2dd32dbe7db483561f04205bcaf69c035f1966ed81078d689429e750e37a5d681160b5e34657a3460c8a06d60cd3130e6fe61e2b2cf0b63d252440d0607d7071 diff --git a/dev-python/django-auditlog/django-auditlog-3.1.2.ebuild b/dev-python/django-auditlog/django-auditlog-3.1.2.ebuild new file mode 100644 index 000000000000..4db14b51b6bf --- /dev/null +++ b/dev-python/django-auditlog/django-auditlog-3.1.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 2023-2025 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Audit log app for Django" +HOMEPAGE="https://github.com/jazzband/django-auditlog" +SRC_URI="https://github.com/jazzband/django-auditlog/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/django[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + doc? ( + dev-python/psycopg:2[${PYTHON_USEDEP}] + ) + test? ( + dev-db/postgresql[server] + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +distutils_enable_sphinx docs/source \ + dev-python/sphinx-rtd-theme + +python_test() { + local db="${T}/pgsql" + + initdb --username=postgres -D "${db}" || die + pg_ctl -w -D "${db}" start \ + -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die + psql -h "${T}" -U postgres -d postgres \ + -c "ALTER ROLE postgres WITH PASSWORD '';" || die + createdb -h "${T}" -U postgres auditlog || die + + "${EPYTHON}" -m django test -v2 --settings=auditlog_tests.test_settings || die "Tests fail with ${EPYTHON}" + + pg_ctl -w -D "${db}" stop || die +} diff --git a/dev-python/django-auditlog/metadata.xml b/dev-python/django-auditlog/metadata.xml index a2df676e20ae..36acccda7221 100644 --- a/dev-python/django-auditlog/metadata.xml +++ b/dev-python/django-auditlog/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> - <email>core@liguros.net</email> + <email>dev@liguros.net</email> <name>Development</name> </maintainer> diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest index 8e9f411138ab..fb56af597d39 100644 --- a/dev-python/django-polymorphic/Manifest +++ b/dev-python/django-polymorphic/Manifest @@ -1 +1,2 @@ DIST django-polymorphic-4.0.0.gh.tar.gz 104146 BLAKE2B 10b80b40e93048df9e116e0c6a5f9b38e6e31c2c40644d2066176f8d17649b8af7091a4fa8fdff3c16a32163707adbcb52d6a247592630d85336cd2c9ff11321 SHA512 ca21831a2acc6775568898d53d47b221c8b971eb2a41c3b621ea8af3ae52875cfa2b98d04bd4cd8f1d556fe2c9932a3de44bdb8554302cb82ce0dc19d06abdb2 +DIST django-polymorphic-4.1.0.gh.tar.gz 104197 BLAKE2B b76ee07790fc1b88e3f75460adb43d78505e2acce0298872aff9bbcb00bab67e78b4fed228b50a2228c17f22f8fba7a3bb4918281b2535daf3c2273437037d20 SHA512 ef6eab91812d8cd0762648f90b2411ee6d748790e6285e6ea8aea8362c67d9a7433d18726a60b155a1d9f75bf929ed36c447504421d800d04d6e4731e73bb7f1 diff --git a/dev-python/django-polymorphic/django-polymorphic-4.1.0.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.1.0.ebuild new file mode 100644 index 000000000000..d68b514fc965 --- /dev/null +++ b/dev-python/django-polymorphic/django-polymorphic-4.1.0.ebuild @@ -0,0 +1,37 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Seamless Polymorphic Inheritance for Django Models" +HOMEPAGE=" + https://github.com/jazzband/django-polymorphic/ + https://pypi.org/project/django-polymorphic/ +" +SRC_URI=" + https://github.com/jazzband/django-polymorphic/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/django-3.2[$PYTHON_USEDEP] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/dj-database-url[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index e0172422e3e4..8892a55df4f1 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -1,2 +1 @@ -DIST dns-lexicon-3.21.0.gh.tar.gz 5773198 BLAKE2B 484c932ae80c2a5c1dc045144cde80a41f825e8e9c9c36193522312cb460eb876ee6bf84a1c3526e8622e6312ad0cff8b4a18446dff0b420bc716527f38d0d0d SHA512 1b132fae2741d8cf505c0779724b5e0d518683226099c796f1b77b4ceb07e1fbecccb4d82869be090f2c379b3d17f19766857e49f83760d793a0934f520bc8ed DIST dns-lexicon-3.21.1.gh.tar.gz 5781489 BLAKE2B 985b966d124f2f0b8adf1e88ca59e7cdc8de19167b9288332a0bae3d7f2bf8d2df9bcbaef3c4a509418cf932a390af8a3403fb4064fcb4ce47740cec2884efcf SHA512 0f53001edf2425afe7b7c4315e974ee47c956b659964998b942943788711c57634eea2d7974e21005be7f0edf16800e6577c49c8789e34f2133c4f5be8ac7ac1 diff --git a/dev-python/dns-lexicon/dns-lexicon-3.21.0.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.21.0.ebuild deleted file mode 100644 index a9ee42cd79b3..000000000000 --- a/dev-python/dns-lexicon/dns-lexicon-3.21.0.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way" -HOMEPAGE=" - https://github.com/dns-lexicon/dns-lexicon/ - https://pypi.org/project/dns-lexicon/ -" -SRC_URI=" - https://github.com/dns-lexicon/dns-lexicon/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/beautifulsoup4-4[${PYTHON_USEDEP}] - >=dev-python/cryptography-2[${PYTHON_USEDEP}] - >=dev-python/dnspython-2[${PYTHON_USEDEP}] - >=dev-python/pyotp-2[${PYTHON_USEDEP}] - >=dev-python/pyyaml-3[${PYTHON_USEDEP}] - >=dev-python/requests-2[${PYTHON_USEDEP}] - >=dev-python/tldextract-2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/boto3-1.28[${PYTHON_USEDEP}] - >=dev-python/zeep-3[${PYTHON_USEDEP}] - dev-python/vcrpy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # TODO - tests/test_client.py::test_client_init_when_missing_action_should_fail - tests/providers/test_godaddy.py::GoDaddyProviderTests -) - -EPYTEST_IGNORE=( - # Requires the "localzone" module - tests/providers/test_localzone.py - # Requires the "softlayer" module - tests/providers/test_softlayer.py - # Requires the "transip" module - tests/providers/test_transip.py - # Requires the "oci" module - tests/providers/test_oci.py - # Uses tldextract which needs Internet access to download its database - tests/providers/test_auto.py -) - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - optfeature_header \ - "Install the following packages to enable support for additional DNS providers:" - optfeature Gransy dev-python/zeep - optfeature Route53 dev-python/boto3 - optfeature DDNS dev-python/dnspython - fi -} diff --git a/dev-python/dns-lexicon/dns-lexicon-3.21.1.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.21.1.ebuild index 8b45f10be096..a9ee42cd79b3 100644 --- a/dev-python/dns-lexicon/dns-lexicon-3.21.1.ebuild +++ b/dev-python/dns-lexicon/dns-lexicon-3.21.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/beautifulsoup4-4[${PYTHON_USEDEP}] diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 28e8ccf9bde0..56d3ebbeb39e 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -3,3 +3,4 @@ DIST setuptools-80.2.0-py3-none-any.whl 1240763 BLAKE2B afb1a983aa8534ab20de1889 DIST setuptools-80.3.1-py3-none-any.whl 1201172 BLAKE2B 4daf6a4a65a4e7c0547750addbf30f92e3a386fd7fcc2a98761ec1bee5caf6ccf506f1e201a9518c34bc278ae504f8b277d6199e23df0457a603b1c05a7bb50d SHA512 85b62d19a3762c9cb5d5b79a2f5319d4d387e334711963730e4b6a72dc73be3291bf5fb6eb40a6284a8486cbe615e8af44bc299210642f70f52d3fbfd41be26c DIST setuptools-80.4.0-py3-none-any.whl 1200812 BLAKE2B a3487a12084fa8582f1201b6df8cdd23de5b5fc763c5df607a4ae9a688fbd8defe064865e7f03a860819cdff1bf8c8fb98e3f94408e6511709f52eb9538feaef SHA512 2348c2e181394016f23d8ab55d9bf1104f16154729dfa891c3f57cd76d4f2fa0b96cc09b61d2a2ba73ac862c79ae03a6c57850c02c0a46ec279a78dddb06c39d DIST setuptools-80.7.1-py3-none-any.whl 1200776 BLAKE2B 6c6203aa84a305d8c812c846e81bd091f5d3ac51a416833e325b3e14f352ee214058b3d4d03768225d370b5a0c3c228ca72b01754b7cc4434bbf8904b7c3ca75 SHA512 a0e842e57588c86224f77e300f994e3937d33a8875f059cc1403995b697f3bab9fa365b20019fb8eac55e2d794b70d098bd6db34eddd48ddc920ec5893b141a5 +DIST setuptools-80.8.0-py3-none-any.whl 1201470 BLAKE2B 7e958fecd9c9597d307d89c31e93fed5d15e505ad882c594c51482368f7227e0944b6ac02298cfcd5d126fc6c2398389843567a5a944ada5bfcd3aead0376766 SHA512 229e18dbaddd34e3a982e0ef8c6dccfa9a513164f54ff141a4ff0a0a3be25ab069766bda9eec4eea82c908506c0aa5eae271450605401f48ed8c94e54476ee0f diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-80.8.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-80.8.0.ebuild new file mode 100644 index 000000000000..b76c3f6972d8 --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-80.8.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/setuptools/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/fido2/Manifest b/dev-python/fido2/Manifest index d5addd226a4a..a7a8d6514b88 100644 --- a/dev-python/fido2/Manifest +++ b/dev-python/fido2/Manifest @@ -1,2 +1,3 @@ DIST fido2-0.9.3.tar.gz 217894 BLAKE2B ccc3a9b59045216037664b5bf4b969a79b86b300f67fc4253b563acbbee98912ea076996772f17b88141d2a36a933b4926de96f05c53e204d0bb4eaaa2daad6b SHA512 f105c347784cdfab88ab08852227d24f4bca623145f7f76bd066dadab6ada1eae751934fd4dc7436a5c5fb3a0ed2fc4d5c59bb2a93888d470028f0713ca7e09e DIST fido2-1.2.0.tar.gz 266369 BLAKE2B 6170fffe46c5d3baa79b061583ffa597690b7f636a6205bcafcc2d997d7a82d49388ce4f573511e4ade976e491bdabb24e16c8be23a6aba3cbb1a1e70437b218 SHA512 c9c7a47ed6608f2dcf06b38905708d64b85ca91ea2656b654474e3164a90b3feae36a0898cf984a4811f1f757e22d3c7ca3dad1ba909b6c8191e418b1a0f938c +DIST fido2-2.0.0.tar.gz 274942 BLAKE2B 5c19ffa6edc58ddcf05be24ad06d0a367b21d3a4e1ba392d2d84e99fbdeb7d36a0514cebcbf9de3f49c956b37f638024ceae2db252d705f5484574703cb1b1b3 SHA512 15640aae4a8aba8a4b7eec1c1da21dc52bd25f0759ff49f7b86609c1e15cf2150bf189b651e505a0042e0f05e554adec86dd0c42be71e9b4d9857d2883a15c1a diff --git a/dev-python/fido2/fido2-2.0.0.ebuild b/dev-python/fido2/fido2-2.0.0.ebuild new file mode 100644 index 000000000000..1160df3326fb --- /dev/null +++ b/dev-python/fido2/fido2-2.0.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Python based FIDO 2.0 library" +HOMEPAGE=" + https://github.com/Yubico/python-fido2/ + https://pypi.org/project/fido2/ +" +SRC_URI=" + https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz +" + +LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0" +SLOT="0/1.0" # Bumped every time a backwards-incompatible version is released +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + <dev-python/pyscard-3[${PYTHON_USEDEP}] + examples? ( + dev-python/flask[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin + sed -i -e '/cryptography/s:, <[0-9]*::' pyproject.toml || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # skip device integration tests + epytest --no-device +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + docinto examples + dodoc -r "${S}"/examples/. + docompress -x "/usr/share/doc/${PF}/examples" + fi +} diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 7f6c46691024..2a7e7d5bc5ca 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1 +1,2 @@ DIST filesystem_spec-2025.3.2.gh.tar.gz 432022 BLAKE2B 7b18b80a1f024832a3a53545764299a2a40785809dc4d63fbe7cd0fff303ebd9382888153c012fe31425c93d67c56be1d117fd314fec149964ac7ee74a4b7464 SHA512 b446f7f09ef34e50cc22a3370b1a9312970b9585ff98ebb5ff02b066bc6a44786cf96cd0d1452753384861b7c61c3e927da009d215466588cf746d894dd430a0 +DIST filesystem_spec-2025.5.0.gh.tar.gz 436234 BLAKE2B 11f562d765c814379fcb016d769473fb7bc1a0dc10f81b487a51b37757ad46d244b9945fd162e867402660ba7097931e649e9e44e32805146fa7dfc00bac4851 SHA512 fa9cf2c137cde874edb140ad9673f1bd709cfd46e68fc1e3abc5d4235b841568fac8fb8e41b4873deefa8d18d9d74b0e5d18c7a04e28c4dfd2687624076d3773 diff --git a/dev-python/fsspec/fsspec-2025.5.0.ebuild b/dev-python/fsspec/fsspec-2025.5.0.ebuild new file mode 100644 index 000000000000..cfc8d11d6788 --- /dev/null +++ b/dev-python/fsspec/fsspec-2025.5.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +MY_P=filesystem_spec-${PV} +DESCRIPTION="A specification that python filesystems should adhere to" +HOMEPAGE=" + https://github.com/fsspec/filesystem_spec/ + https://pypi.org/project/fsspec/ +" +# upstream removed tests in 2024.6.0 +SRC_URI=" + https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +# Note: this package is not xdist-friendly +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + fsspec/implementations/tests/test_reference.py::test_async_cat_file_ranges + fsspec/implementations/tests/test_github.py + ) + + case ${EPYTHON} in + python3.14*) + EPYTEST_DESELECT+=( + # TODO + fsspec/implementations/tests/test_http.py::test_async_other_thread + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p pytest_mock -o tmp_path_retention_policy=all +} diff --git a/dev-python/furl/Manifest b/dev-python/furl/Manifest new file mode 100644 index 000000000000..d2bdfc3f2253 --- /dev/null +++ b/dev-python/furl/Manifest @@ -0,0 +1 @@ +DIST furl-2.1.4.tar.gz 57526 BLAKE2B 279a3d1da84625878210e3f47cf9757cfbd07dbe1231927d509ab2f698157462c6372e28a2bb8a4e5586538058f1b3484f9c9e6fadde4dfa23906c6fc3e6d76d SHA512 cfd160bb0b87c9b8410690836bf9ec106f981a1f939c90dd1c213800085c7de807ebbacef50a6b7a88894cd12c24f6505ddc4cd111f23fa7615f7ed11a02f027 diff --git a/dev-python/furl/furl-2.1.4.ebuild b/dev-python/furl/furl-2.1.4.ebuild new file mode 100644 index 000000000000..6105c7509f92 --- /dev/null +++ b/dev-python/furl/furl-2.1.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="URL parsing and manipulation made easy" +HOMEPAGE="https://pypi.org/project/furl/" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/orderedmultidict[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + tests/test_furl.py::TestFurl::test_hosts + tests/test_furl.py::TestFurl::test_netloc + tests/test_furl.py::TestFurl::test_odd_urls + ) + epytest tests +} diff --git a/dev-python/furl/metadata.xml b/dev-python/furl/metadata.xml new file mode 100644 index 000000000000..10722b7a2525 --- /dev/null +++ b/dev-python/furl/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Alfredo Tupone</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/http-ece/http-ece-1.2.1.ebuild b/dev-python/http-ece/http-ece-1.2.1.ebuild index e1b9ece2a559..120410dcf4b0 100644 --- a/dev-python/http-ece/http-ece-1.2.1.ebuild +++ b/dev-python/http-ece/http-ece-1.2.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -23,5 +23,6 @@ RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}]" distutils_enable_tests pytest python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest -o addopts= } diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 229ba61ebf40..f9be490b7186 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,4 +2,5 @@ DIST hypothesis-6.131.12.gh.tar.gz 9551332 BLAKE2B f09f08a67209f4e72b845069f1d99 DIST hypothesis-6.131.15.gh.tar.gz 9553236 BLAKE2B 29473ae79fce7183cbaec2f936824f52a18c02e13e4bd416debadd3c0b7a731d0643373c376b4236a1a857312c995e8822f54d94c1f165e8d77578371886f10d SHA512 ee89bc176230850ef4ecab7a5179f1528c576b21d42af2a76be512df70adb7ddd670a86552e18e5246bfde3184038237d644951149d78f4ca1f8cec77b6a2586 DIST hypothesis-6.131.18.gh.tar.gz 9553394 BLAKE2B f4a880dd4681ca59b39614e70c70ae7b5e02599c84f5eb26638f9e62b176f0ff75bec0489b7ed36e1e07b97703cf1b29d956f2debc32158d803bf442c57ac377 SHA512 ca3185e82c4b4853473d0d87c3723381a49be8dc488d0ac5af223f394af77ed46368b272cb8d991b95cf4f61dc1713109b93cc193fdebf96353e0c0099b15ad3 DIST hypothesis-6.131.19.gh.tar.gz 9553439 BLAKE2B fae594e0e8be85868f67727a7bbf79900748f682a9a7a5d38272160428d1083cda69686b35569914087965746d9e78459c73c392eafa8ccfa84f3a5362e5bdc6 SHA512 7c8d345990f13112d49870145c9abc32aef004fbbb13f64b8aa6e955406322c869e18a7bf9e19fb6aeb24266736f3ced4731fe87edc6334e9d095ed2d9dd4f57 +DIST hypothesis-6.131.20.gh.tar.gz 9553957 BLAKE2B 0ffd3e0efc555ad951676ce176fd3df9fcd2fe478e0b8d3ecbacfbe2d6de5316fac2014d8ef2aee09b554bf8f8fccb488f5b8c9d0f7b89ba522c2c26cf41db6c SHA512 98722dea44641cb3969ab14521a6d4b47f8dee18a4e173172587e5ef61518c6ab2cda215a20d2a8cd28bfa835731bbec056fade62d385d02096e1a72377f97ff DIST hypothesis-6.131.9.gh.tar.gz 9549949 BLAKE2B 8fb5c9b9ad2c3940671d1128980b431fd43e63e35561c53f4cb172e12313019349a9ec3f3d7ecc5c8701e1aef471a1242861a94a37767e61629a42a5bf525ed0 SHA512 345baa03d68ef615fc926d93344e4f5e6f7899f104d489ebcf127426a7b2bdf6b6ac1b19ae153b297102c3a2980fa1627ce8a900a851965b213f0bd30ff4e54c diff --git a/dev-python/hypothesis/hypothesis-6.131.20.ebuild b/dev-python/hypothesis/hypothesis-6.131.20.ebuild new file mode 100644 index 000000000000..5fc2ebd650ed --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.131.20.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.13t) + EPYTEST_DESELECT+=( + # TODO: missing warning + 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' + ) + ;& + python3.14*) + EPYTEST_DESELECT+=( + 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' + 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' + hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds + hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence + hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression + hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types + hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic + hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense + hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns + hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope + hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref + ) + ;; + esac + + epytest -o filterwarnings= -p rerunfailures --reruns=5 \ + tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index 921b3c8aedcf..2719ce645420 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1,3 +1,4 @@ DIST icalendar-6.1.3.tar.gz 152131 BLAKE2B f1315537dee85282073d4b67b06fbb823ba6642247449e950243d44fc8c8e3147c703095b1370bec9458a1fa0d01b5e1bb0f4cdc04ffb4b721100a8d68eb5ba1 SHA512 aa0e92c0fcf6a394cca608391defd67616752b12984b5848eb56b89337537e3761fdbfc731838db2c565603ddcc845b034c4592b3be736d68c6f435726ed2977 DIST icalendar-6.2.0.tar.gz 172530 BLAKE2B d0a7e7e5555076840a27f16f7e4d579c853217204cf8706a3a067265dc5324c5faafc917da67e1b4a2e81ffcd2caf0ae12c456d7698a87b815111e7c53eb885f SHA512 ff3fe1e1a13aa4bdd997b19e488c9890e650231ae9016ca7efce480d938e0d5aecf985d8bfa34d7b20b4750726c9aa57eb3e9827d059e3a59a7de647fdadd9e4 DIST icalendar-6.3.0.tar.gz 176001 BLAKE2B c85215daf37c15abd8486d60e5f67766650e1412284ad5203bcfbeebb0c845e616fae7cdd3d6cc5e37195c628d49e0ea7052028fd7a37ae858b48c48df2293ab SHA512 e283d135e8da98e1976be1b87773107a84c1f40ad8b3bc86c65ed10b735ccdf3af40c447d4e96fb98eb8c14023bd8810aa64c55ce57528b119fe2ce9c1a104cb +DIST icalendar-6.3.1.tar.gz 177169 BLAKE2B 00b3c5b0f4e8e670b73dd556c71b6796308b27ff0216acde647cdcbe87c5cf92ab1cdfd538c5290ca9b7fff7d3cb1908e7c7c877d26cbef2b7ac6e8547e3214e SHA512 f9762f4fc5827433e3ef8892dfd3252fa081d2db4f8ee5d0092c280f52944c564a230beea04b2b1a7db66bd2538416b5f5ae9a9253a87c62397caa64d8fc82b8 diff --git a/dev-python/icalendar/icalendar-6.3.1.ebuild b/dev-python/icalendar/icalendar-6.3.1.ebuild new file mode 100644 index 000000000000..b55e1b689e27 --- /dev/null +++ b/dev-python/icalendar/icalendar-6.3.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" +HOMEPAGE=" + https://github.com/collective/icalendar/ + https://pypi.org/project/icalendar/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/mkdocs-autorefs/Manifest b/dev-python/mkdocs-autorefs/Manifest index 316f25ac30af..a56b50cf18f3 100644 --- a/dev-python/mkdocs-autorefs/Manifest +++ b/dev-python/mkdocs-autorefs/Manifest @@ -1 +1,2 @@ DIST mkdocs_autorefs-1.4.1.tar.gz 4131355 BLAKE2B d156771f226ca152919613e82120c08156fc488b651cbf61ba7f37a91c28db8c73799316d44d7379ed127383cce28e2abc7c17d5e6a73f36b14a651788041185 SHA512 09e857dac3b943695ea3a402ea22fd16641413602484944b9bd9bb1222e8c88d59aabc078be8606775ab2b7fdfcc98c5cb97db190e56ecfcd4554a6930a45f5e +DIST mkdocs_autorefs-1.4.2.tar.gz 54961 BLAKE2B 7649642a6cb55f37d07ec7da42887acb19311156d4fdeb02f20100c3d3059646fa1deebc92c525a2e910efdf9a12ce1be4080069f33d479445e8badf75bf0d82 SHA512 f56768394806a876097dccebd94146fa90bb706b304e1f7b86dd51f12da604ce8be7c4d75c67d4694a248b15bf3786c0b5a45e0bc74ea846839e2317c975db12 diff --git a/dev-python/mkdocs-autorefs/mkdocs-autorefs-1.4.2.ebuild b/dev-python/mkdocs-autorefs/mkdocs-autorefs-1.4.2.ebuild new file mode 100644 index 000000000000..cb52c10b256c --- /dev/null +++ b/dev-python/mkdocs-autorefs/mkdocs-autorefs-1.4.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +DISTUTILS_USE_PEP517=pdm-backend + +inherit distutils-r1 pypi + +DESCRIPTION="Automatically link across pages in MkDoc" +HOMEPAGE=" + https://mkdocstrings.github.io/autorefs/ + https://github.com/mkdocstrings/autorefs/ + https://pypi.org/project/mkdocs-autorefs/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/markdown-3.3[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/griffe[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.14[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/mpmath/mpmath-1.4.0_alpha5.ebuild b/dev-python/mpmath/mpmath-1.4.0_alpha5.ebuild index 8578496486cc..441bd59c20cc 100644 --- a/dev-python/mpmath/mpmath-1.4.0_alpha5.ebuild +++ b/dev-python/mpmath/mpmath-1.4.0_alpha5.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/nagiosplugin/Manifest b/dev-python/nagiosplugin/Manifest index 67a5e5caa19b..f48b1e01bda8 100644 --- a/dev-python/nagiosplugin/Manifest +++ b/dev-python/nagiosplugin/Manifest @@ -1 +1,2 @@ DIST nagiosplugin-1.3.3.tar.gz 3119586 BLAKE2B e1aecd6f69fc7afe5cbba259191d2ae540efa513ea8f61a263a453ac2b1f6a5d91bbb209d01fc83c72080b54540f7661c04b3485b5cc6c1f9aab44ee2e8fba67 SHA512 edff09b689fd767b9c8ee2ffab30fc63cb740234c830f2f8fef5054e5bc44e945c69858e2374257433b758fb33943a8b148c023a8fde75edbc188da7424a00b6 +DIST nagiosplugin-1.4.0.tar.gz 44709 BLAKE2B 0a33c17bc629b2613581f27374b550ddf40c6d28c5ccc2c86e5e41780c021f51f5d25efadb0b9ff86dd01f1550d0b27cfbc127501e241cc8c1dce9079e2003ca SHA512 19d8c7490790c7b8975c911cdea7b2f6b58bc96e85af5f3e64c753467b80b9a6686c34a87ed5d955253fec60bb9ae08269b75232b7259124e7a5926a282078e4 diff --git a/dev-python/nagiosplugin/nagiosplugin-1.4.0.ebuild b/dev-python/nagiosplugin/nagiosplugin-1.4.0.ebuild new file mode 100644 index 000000000000..66e7b6afebf1 --- /dev/null +++ b/dev-python/nagiosplugin/nagiosplugin-1.4.0.ebuild @@ -0,0 +1,22 @@ +# 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A class library for writing nagios-compatible plugins" +HOMEPAGE=" + https://github.com/mpounsett/nagiosplugin/ + https://nagiosplugin.readthedocs.io/ + https://pypi.org/project/nagiosplugin/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/orderedmultidict/Manifest b/dev-python/orderedmultidict/Manifest new file mode 100644 index 000000000000..e077853fff4f --- /dev/null +++ b/dev-python/orderedmultidict/Manifest @@ -0,0 +1 @@ +DIST orderedmultidict-1.0.1.tar.gz 20706 BLAKE2B 1e8151f83992d6b805836f2e51ee726c905f303d5bc4bb28fbc2b0d413e63858177dace5a30bf72587c9b08dd866bd6192e318dcad3eef3fb4b60de4a2c5a9e2 SHA512 5a826bb46dfe9d7e6e2159bf545612a35dd0f1bb5817c1fd78e0f3f4019f9144b36be94af08f87e881a310f593091df09702d001624c377f559a30f64b219c24 diff --git a/dev-python/orderedmultidict/metadata.xml b/dev-python/orderedmultidict/metadata.xml new file mode 100644 index 000000000000..10722b7a2525 --- /dev/null +++ b/dev-python/orderedmultidict/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Alfredo Tupone</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/orderedmultidict/orderedmultidict-1.0.1.ebuild b/dev-python/orderedmultidict/orderedmultidict-1.0.1.ebuild new file mode 100644 index 000000000000..f4b883a6e121 --- /dev/null +++ b/dev-python/orderedmultidict/orderedmultidict-1.0.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Ordered Multivalue Dictionary. Powers furl" +HOMEPAGE="https://pypi.org/project/orderedmultidict/" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/ovs/Manifest b/dev-python/ovs/Manifest index 96b79e70915a..2b97f161cb7e 100644 --- a/dev-python/ovs/Manifest +++ b/dev-python/ovs/Manifest @@ -1,2 +1,3 @@ DIST ovs-2.17.1.post1.tar.gz 104766 BLAKE2B e1cb471f7f3f3b8461292c79ee5318a36d70c2ee55947bfa0274277e36514d20ad9293cb8c602e0b2c82a590397869fe51f52ee2579255bb8163014d58dccaf7 SHA512 772e7b4768f1e7fe1f2be700a0eb6bc539459e4c70432c45e7f7877b060f4c845eaa5a974f2b2264af621f5f43b97da30a9fe344a53904ec0008393689e6b895 +DIST ovs-2.17.12.tar.gz 107261 BLAKE2B 90fee024c21085308c559839364fc8a900b71058cda48cc7accb3992e018bd34dbdf2e1adde787702094168b005a72b018f5c9d6252eb24f2f9e915ab1cf7003 SHA512 771647b098e3a6f3eb696e4f3892f18cf4e494eb1a4d62ef4ec44853333c9801037635db7c8ceeb68e4957489e99082d55965baa185f467c60cc988ae8bdbe9b DIST ovs-2.17.9.tar.gz 110350 BLAKE2B 68f6fb154c830877fa404a24e5283e17cbb9e9d0c138e26da897835741457bab53be99754959eb01bdc8c5ea61a67327655ad6b1deba941b37ba4e86dab61375 SHA512 05ba60f585b576757bf0d2799dda2d17f0b4fd06bbdeaf4810c64f48c1a74dbc8bdba4348800fcb0c343415317104556cf4f2ab2dcabd9d438a0c31de1c45cd6 diff --git a/dev-python/ovs/ovs-2.17.12.ebuild b/dev-python/ovs/ovs-2.17.12.ebuild new file mode 100644 index 000000000000..9842b2f9b383 --- /dev/null +++ b/dev-python/ovs/ovs-2.17.12.ebuild @@ -0,0 +1,17 @@ +# 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_{9,10,11,12,13} ) +inherit distutils-r1 pypi + +DESCRIPTION="OVS bindings for python" +HOMEPAGE="https://github.com/openvswitch/ovs/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]" diff --git a/dev-python/pbs-installer/Manifest b/dev-python/pbs-installer/Manifest index 1f27bb8bc546..d6f6a8804d04 100644 --- a/dev-python/pbs-installer/Manifest +++ b/dev-python/pbs-installer/Manifest @@ -1 +1,2 @@ DIST pbs-installer-2025.04.09.gh.tar.gz 88038 BLAKE2B cdd7abd128d369b85041e27c1b0c728af0e64f1efc7b879b682abea1df6f5a2e124fa2f22e697624b3d8a604956fccd594394d426e262c4e7c2c30918bd85a1f SHA512 089aae49a2eb1c9e46f0c47f84497068e6f47bff85840991c6b4cafbda60f6ddddd6e91ea9decedbf93afdbf55499e7fd01dbf04908e42cda634a29654bc7d4b +DIST pbs-installer-2025.05.17.gh.tar.gz 88009 BLAKE2B 8bc50bbfede74827f1a0dac03c9aa13c4af4a1f0ba7bb4dc4b513701cf2f5c41223439c6961c59a5d2c7aaa9807c11f5cf0dfdfe5bd93520bacc3376f91f0fa5 SHA512 472d7e8119ac0660c0b840c3eeb0175dae225341143790b0cc9f1b378f6faa67e9a03b84b84d4c93eb6d42c443e1f19a5d5b7abffb358becd1761a9e2e643b33 diff --git a/dev-python/pbs-installer/pbs-installer-2025.05.17.ebuild b/dev-python/pbs-installer/pbs-installer-2025.05.17.ebuild new file mode 100644 index 000000000000..f50e7c78c738 --- /dev/null +++ b/dev-python/pbs-installer/pbs-installer-2025.05.17.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Installer for Python Build Standalone" +HOMEPAGE=" + https://pypi.org/project/pbs-installer/ + https://github.com/frostming/pbs-installer/ + +" +SRC_URI=" + https://github.com/frostming/pbs-installer/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + dev-python/zstandard[${PYTHON_USEDEP}] +" + +# upstream does not provide any tests +RESTRICT=test + +python_configure_all() { + export PDM_BUILD_SCM_VERSION=${PV} +} diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest index bc8b41c12d93..9bb7af0c05c7 100644 --- a/dev-python/peewee/Manifest +++ b/dev-python/peewee/Manifest @@ -1,3 +1 @@ -DIST peewee-3.17.9.gh.tar.gz 930724 BLAKE2B 6ce8156b48876db93344b7eaac14122d9d11812cdacb80dc4f3db0e7aa05a97b279f27e5b8d17016cb43d68f5e9ecd4e591cd58e2520677dfba7544395447911 SHA512 7082b0abcdaf47ee7b50066773c8491bebc94502b875a0f2a01f6d8d251fd147c738362021ab1d45dbc8ddc73fd7a37c0bc2732623d0f4b3e5d314caea7da510 -DIST peewee-3.18.0.gh.tar.gz 931113 BLAKE2B 615062dcdcbbedc8f9e92c9d4cdd35b96207689f76b7a336d472d5aed6b43fb65d4d74d84fac2c72096d7c4003b5b88fba77a6ee9eb9a64b8ebd8d3932187d89 SHA512 2753e076897c1a895942fe55f17763e4ad78defece29c0973b35146c767edb66f9447949eb3fe28fb0b45e74b805aa0115da234a1bdf67412e5f928a35c27390 DIST peewee-3.18.1.gh.tar.gz 931200 BLAKE2B eacd3571175ae3bac019ac2dd0dcd561b9ef863a243bf54d45b8bb18656a458d32244f0a55b2e1d91dc07c7232c5f6182438c92f912d9f6ab75dee953b94d570 SHA512 eeef91aa30eea6ea6d4e1a7cdef7e8c207511ae65455cb0b5f84945c38ac6de3c8e218aa24752e3345d1eb4efcbf20ed289cf764c6fbd631b51be3d5075bc8b7 diff --git a/dev-python/peewee/peewee-3.17.9.ebuild b/dev-python/peewee/peewee-3.17.9.ebuild deleted file mode 100644 index 01212e8bef00..000000000000 --- a/dev-python/peewee/peewee-3.17.9.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Small Python ORM" -HOMEPAGE=" - https://github.com/coleifer/peewee/ - https://pypi.org/project/peewee/ -" -SRC_URI=" - https://github.com/coleifer/peewee/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" -IUSE="examples +native-extensions test" -RESTRICT="!test? ( test )" - -DEPEND=" - native-extensions? ( dev-db/sqlite:3= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-db/postgresql - dev-python/psycopg:0[${PYTHON_USEDEP}] - sys-libs/timezone-data - ) -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -src_prepare() { - # disable test failing on postgres 16 - sed -e 's/test_timeout/_&/' -i tests/sqliteq.py || die - - default -} - -src_compile() { - if ! use native-extensions; then - local -x NO_SQLITE=1 - fi - - distutils-r1_src_compile -} - -src_test() { - initdb -D "${T}"/pgsql || die - pg_ctl -w -D "${T}"/pgsql start -o "-h '' -k '${T}'" || die - createdb -h "${T}" peewee_test || die - psql -h "${T}" peewee_test -c 'create extension hstore;' || die - - local -x PEEWEE_PSQL_HOST="${T}" - distutils-r1_src_test - - pg_ctl -w -D "${T}"/pgsql stop || die -} - -python_test() { - "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" -} - -python_install_all() { - use examples && DOCS=( examples/ ) - distutils-r1_python_install_all -} diff --git a/dev-python/peewee/peewee-3.18.0.ebuild b/dev-python/peewee/peewee-3.18.0.ebuild deleted file mode 100644 index 3a6f7c590159..000000000000 --- a/dev-python/peewee/peewee-3.18.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Small Python ORM" -HOMEPAGE=" - https://github.com/coleifer/peewee/ - https://pypi.org/project/peewee/ -" -SRC_URI=" - https://github.com/coleifer/peewee/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" -IUSE="examples +native-extensions test" -RESTRICT="!test? ( test )" - -DEPEND=" - native-extensions? ( dev-db/sqlite:3= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-db/postgresql - dev-python/psycopg:0[${PYTHON_USEDEP}] - sys-libs/timezone-data - ) -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -src_prepare() { - # disable test failing on postgres 16 - sed -e 's/test_timeout/_&/' -i tests/sqliteq.py || die - - default -} - -src_compile() { - if ! use native-extensions; then - local -x NO_SQLITE=1 - fi - - distutils-r1_src_compile -} - -src_test() { - initdb -D "${T}"/pgsql || die - pg_ctl -w -D "${T}"/pgsql start -o "-h '' -k '${T}'" || die - createdb -h "${T}" peewee_test || die - psql -h "${T}" peewee_test -c 'create extension hstore;' || die - - local -x PEEWEE_PSQL_HOST="${T}" - distutils-r1_src_test - - pg_ctl -w -D "${T}"/pgsql stop || die -} - -python_test() { - "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" -} - -python_install_all() { - use examples && DOCS=( examples/ ) - distutils-r1_python_install_all -} diff --git a/dev-python/peewee/peewee-3.18.1.ebuild b/dev-python/peewee/peewee-3.18.1.ebuild index cde400261e6e..4765a3e54892 100644 --- a/dev-python/peewee/peewee-3.18.1.ebuild +++ b/dev-python/peewee/peewee-3.18.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~riscv x86" +KEYWORDS="amd64 ~riscv x86" IUSE="examples +native-extensions test" RESTRICT="!test? ( test )" diff --git a/dev-python/plotly/Manifest b/dev-python/plotly/Manifest index 1c40eb041321..0c20bbcf8222 100644 --- a/dev-python/plotly/Manifest +++ b/dev-python/plotly/Manifest @@ -1,2 +1,2 @@ DIST plotly.py-6.1.0.gh.tar.gz 10090446 BLAKE2B a0c083bad957850eb51f96f1d9f4f66cb7572204e634d2a54ee099381bc62cc728096ff1637ca66ca2bc16d6eaf279e55c890f14dc33c7de621456438aedbcf4 SHA512 cf92b0aae7412ad06333c79fab8236a061eff0b1c70c37be140238425222ba2fa8115993a747797ff9325d9e5bfd246f15aca152fa907e852268e2b91e420600 -DIST plotly.py-6.1.0rc0.gh.tar.gz 10087412 BLAKE2B 2863ebdec4dc3aa9a0f604e37e75e9b1401df06d028631f38d87fa9b48d9f780312c30ab18dee7c04e11d250796c4a48ed1ae6076e858c5b188cf06e6170c641 SHA512 8191313422ac99686ad1bf5f3a81c9a8bca5232891313a3b8adb503565752f911ae9749a842c7ee76e34b37b227d91ac10d897286d6ff70b5728616060c1cd9c +DIST plotly.py-6.1.1.gh.tar.gz 10090780 BLAKE2B a7ce3f7380346f12dfb129aca63284efe7117794aaca7d12142f58c195adfe5265ee12edd2e948eabcb8fec2bf9c926ecf866b9888e397930cb3971302a0a1c8 SHA512 a7216a4e495d9da1bfab65922d5666445ea55de00d1030449eb45ee3e3a90d12ae51724348c8e51cd5b76c41436919124f95daf75d3bab89e186fdf317af2580 diff --git a/dev-python/plotly/plotly-6.1.0_rc0.ebuild b/dev-python/plotly/plotly-6.1.1.ebuild index 8a60fcc5032a..8a60fcc5032a 100644 --- a/dev-python/plotly/plotly-6.1.0_rc0.ebuild +++ b/dev-python/plotly/plotly-6.1.1.ebuild diff --git a/dev-python/primecountpy/Manifest b/dev-python/primecountpy/Manifest index 4e9165f2f794..b0bd71c1ae00 100644 --- a/dev-python/primecountpy/Manifest +++ b/dev-python/primecountpy/Manifest @@ -1 +1,2 @@ DIST primecountpy-0.1.0.tar.gz 16070 BLAKE2B e14b0d4bdd27cf4757e796853ec8d260c40a5f01740dc60e2e16f1251434533c5aa0bbd66a9c6de6ad3f69a5010dd77703305b3d1d9262207489e25c552e6225 SHA512 c279fb2bec9d2108960510a25cf645c605618359649dd0a4b6b707aee01047937cbd02fe89c249693dc152e44b85cb960803e378a05e6a52b50c6cba6124c3d5 +DIST primecountpy-0.1.1.gh.tar.gz 14681 BLAKE2B 9c8e7180ab7969d1f617c05e8b49fe1cd2666cc0aa7510071ba9f8b59725c46774813fed07642ffa21fd93e80231719a4226cabc7f133b65d09f91ce68ec87d7 SHA512 c30fc5c786b39a1b000e4234002a4fb46ae5638240e6923ed25f4f2211a10b82ccae33982424a514ea8e61d8418f365217620bba8f64d1676d54db149e457942 diff --git a/dev-python/primecountpy/primecountpy-0.1.1.ebuild b/dev-python/primecountpy/primecountpy-0.1.1.ebuild new file mode 100644 index 000000000000..93bf6987adc3 --- /dev/null +++ b/dev-python/primecountpy/primecountpy-0.1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +inherit distutils-r1 + +DESCRIPTION="Cython interface to sci-mathematics/primecount" +HOMEPAGE="https://pypi.org/project/primecountpy/ + https://github.com/dimpase/primecountpy" +SRC_URI="https://github.com/dimpase/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +# LICENSE clarification in README.md +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +DEPEND="sci-mathematics/primecount + dev-python/cysignals[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" diff --git a/dev-python/proselint/proselint-0.14.0.ebuild b/dev-python/proselint/proselint-0.14.0.ebuild index 23ca3f2e285b..3acb2d66db93 100644 --- a/dev-python/proselint/proselint-0.14.0.ebuild +++ b/dev-python/proselint/proselint-0.14.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 pypi @@ -25,3 +25,8 @@ RDEPEND=" " distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest index ee7ee36fd529..737e1db8a419 100644 --- a/dev-python/puremagic/Manifest +++ b/dev-python/puremagic/Manifest @@ -1,2 +1 @@ -DIST puremagic-1.28.gh.tar.gz 315168 BLAKE2B 8102fc7a2fb2ecffc3b38d90ca4ca848c78f8989eb43bb74c5ecab3388238c9ee6285b8423ca0b999ea22462a150d5ecd5e59450edc136d666e8f68bf272d0eb SHA512 8a9d04b34d32a552fa51de1c720556d46c2aef99913d9c339838a682e8758ba16c66bcd4d205fe59dd6ae7cd27c311b24638a4084baf7a27869e5304e4994d27 DIST puremagic-1.29.gh.tar.gz 315007 BLAKE2B 4bad3e5826ebb3155c3897af6ca14e1eb3d758a031ae3a5147c69c46188ccba09cb16210329233be9fc792f9c77ce2b4d6e634e8111152f2fb562e839e336d9b SHA512 d7359b14ab74354a95f97b94787e10b007a6e59ae3df16594b62ea1819eeeaa1e1bb81f8ae0a871f723012f99316da155aa54ffaa487269a7a9a860b6b4ea845 diff --git a/dev-python/puremagic/puremagic-1.28.ebuild b/dev-python/puremagic/puremagic-1.28.ebuild deleted file mode 100644 index ad4f1680b1f3..000000000000 --- a/dev-python/puremagic/puremagic-1.28.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# 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_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Pure python implementation of magic file detection" -HOMEPAGE=" - https://github.com/cdgriffith/puremagic/ - https://pypi.org/project/puremagic/ -" -SRC_URI=" - https://github.com/cdgriffith/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -DOCS=( CHANGELOG.md README.rst ) - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/puremagic/puremagic-1.29.ebuild b/dev-python/puremagic/puremagic-1.29.ebuild index 0264b5740a6b..ad4f1680b1f3 100644 --- a/dev-python/puremagic/puremagic-1.29.ebuild +++ b/dev-python/puremagic/puremagic-1.29.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" DOCS=( CHANGELOG.md README.rst ) diff --git a/dev-python/pyarrow/Manifest b/dev-python/pyarrow/Manifest index 3a314b1c4cc9..21a5a9ee6610 100644 --- a/dev-python/pyarrow/Manifest +++ b/dev-python/pyarrow/Manifest @@ -1,6 +1,3 @@ -DIST apache-arrow-19.0.1.tar.gz 17849505 BLAKE2B ba49c79ea2e1ef1ab03aca3cbfdce47a3942eb20c443845a93ab3b5be5dead5b1ad650296e98fbf344dffd895c6147a1fca2724ae853ae7f089b342ffc89987b SHA512 524187c6f12bbb677b5d4a53e1608c69b56c83a5c8667bfe82d5a10232c33f151a8a7b5e6e26af48d1e0ca25a5d3dc885b27d9b5e798c7e07f115df8f0779516 DIST apache-arrow-20.0.0.tar.gz 17862661 BLAKE2B 154d4783746abf21ee7e94748cee1f5b640e24d756b08067e3c1135449b907e1888728eff76002e01f405c0d14fd01c76ce4b9de0e49d1116c8216ae8ae297f7 SHA512 067e62d7d311cebfca43473b0aacaacc534da47c3450b75328517df69281d8be1e79b0430cc7e975eb613e05c62a62d6ca92a4c4f7882ae7733f826d774d9081 -DIST arrow-testing-4d209492d514c2d3cb2d392681b9aa00e6d8da1c.tar.gz 3572558 BLAKE2B fe5b6a46babbde8e2becefea09fecf090201a49faa7d4ee2f44b0bb4da42c344b37564999d32fdbd54a81a56c33fbde9b2d9d2fa664bf127cb5661e845fb6229 SHA512 6758ad936e1eeb2c5dd2b4b40fe90822a48a4ce67ee4d36657c168e1db5d9a17c092f4cf571b13d56b568a773515385441874d1ea36a1f6e5b15a99f67176fa3 DIST arrow-testing-d2a13712303498963395318a4eb42872e66aead7.tar.gz 3572581 BLAKE2B 58e0e0a887efb9f68b9cccc37b946352eb382fe6f621c0778992ec3e1d10cdd5de89674f8282ceb90d0fcef5825b24ff3d0043806c6e353be9df6d1566699d2d SHA512 e6b76e4ab34744bc804ecfe5baba3e1f483c874f883cc44e8e2504a718b847cb05f0c7559e40a446deab99da20d1f9bbfe03d553ee2bb5543bef889c2b555259 DIST parquet-testing-18d17540097fca7c40be3d42c167e6bfad90763c.tar.gz 1077258 BLAKE2B 457bf3404b9f6ad8da5cbecade4c2365e39e6409c5b551092a7f1f18f81f557e94e60adfb381058c5fd3a4000dae24c1ffebfbfa965d88e81f098f016bfdc816 SHA512 2cadc694e6cd2e52869b4ff0d2659c77c613fc870b54ca7f4cb64068d0e7956723549b6d5513a117a2e147d4161e2fcdbe15992a3d8e56306b25923676f182a0 -DIST parquet-testing-cb7a9674142c137367bf75a01b79c6e214a73199.tar.gz 1068025 BLAKE2B 0fdd12d04108b27b17564c60ca36e751453f5d74cfbbe3a076e8befa1696aa0f093e2d1a5eacb99e69a98deda502930ba79b8329403af1e8b9d696e6617c6075 SHA512 dd221d9d59442cebb7158d7cf769d6e5323416bfcde2852eee37a26ff089bc04ea10b9ae7158a37d8694c10469d77c7d251d0dd2549596a7b3899d9c39b45997 diff --git a/dev-python/pyarrow/pyarrow-19.0.1.ebuild b/dev-python/pyarrow/pyarrow-19.0.1.ebuild deleted file mode 100644 index 61d3068d1bcf..000000000000 --- a/dev-python/pyarrow/pyarrow-19.0.1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 multiprocessing - -# arrow.git: testing -ARROW_DATA_GIT_HASH=4d209492d514c2d3cb2d392681b9aa00e6d8da1c -# arrow.git: cpp/submodules/parquet-testing -PARQUET_DATA_GIT_HASH=cb7a9674142c137367bf75a01b79c6e214a73199 - -DESCRIPTION="Python library for Apache Arrow" -HOMEPAGE=" - https://arrow.apache.org/ - https://github.com/apache/arrow/ - https://pypi.org/project/pyarrow/ -" -SRC_URI=" - mirror://apache/arrow/arrow-${PV}/apache-arrow-${PV}.tar.gz - test? ( - https://github.com/apache/parquet-testing/archive/${PARQUET_DATA_GIT_HASH}.tar.gz - -> parquet-testing-${PARQUET_DATA_GIT_HASH}.tar.gz - https://github.com/apache/arrow-testing/archive/${ARROW_DATA_GIT_HASH}.tar.gz - -> arrow-testing-${ARROW_DATA_GIT_HASH}.tar.gz - ) -" -S="${WORKDIR}/apache-arrow-${PV}/python" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" -IUSE="+parquet +snappy ssl" - -RDEPEND=" - ~dev-libs/apache-arrow-${PV}[compute,dataset,json,parquet?,re2,snappy?,ssl?] - >=dev-python/numpy-1.16.6:=[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/cffi[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-libs/apache-arrow[lz4,zlib] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # cython's -Werror - sed -i -e '/--warning-errors/d' CMakeLists.txt || die -} - -src_compile() { - export PYARROW_PARALLEL="$(makeopts_jobs)" - export PYARROW_BUILD_VERBOSE=1 - export PYARROW_CXXFLAGS="${CXXFLAGS}" - export PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 - export PYARROW_CMAKE_GENERATOR=Ninja - export PYARROW_WITH_HDFS=1 - if use parquet; then - export PYARROW_WITH_DATASET=1 - export PYARROW_WITH_PARQUET=1 - use ssl && export PYARROW_WITH_PARQUET_ENCRYPTION=1 - fi - if use snappy; then - export PYARROW_WITH_SNAPPY=1 - fi - - distutils-r1_src_compile -} - -python_test() { - local EPYTEST_DESELECT=( - # wtf? - tests/test_fs.py::test_localfs_errors - # these require apache-arrow with jemalloc that doesn't seem - # to be supported by the Gentoo package - tests/test_memory.py::test_env_var - tests/test_memory.py::test_specific_memory_pools - tests/test_memory.py::test_supported_memory_backends - # require mimalloc - tests/test_memory.py::test_memory_pool_factories - # hypothesis health check failures - # https://github.com/apache/arrow/issues/41318 - tests/interchange/test_interchange_spec.py::test_dtypes - tests/test_convert_builtin.py::test_array_to_pylist_roundtrip - tests/test_feather.py::test_roundtrip - tests/test_pandas.py::test_array_to_pandas_roundtrip - tests/test_strategies.py::test_types - tests/test_types.py::test_hashing - # fragile memory tests - tests/test_csv.py::TestSerialStreamingCSVRead::test_batch_lifetime - tests/test_csv.py::TestThreadedStreamingCSVRead::test_batch_lifetime - # takes forever, and manages to generate timedeltas over 64 bits - tests/test_strategies.py - "tests/test_array.py::test_pickling[builtin_pickle]" - # scipy.sparse does not support dtype float16 - "tests/test_sparse_tensor.py::test_sparse_coo_tensor_scipy_roundtrip[f2-arrow_type8]" - ) - - cd "${T}" || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PARQUET_TEST_DATA="${WORKDIR}/parquet-testing-${PARQUET_DATA_GIT_HASH}/data" - local -x ARROW_TEST_DATA="${WORKDIR}/arrow-testing-${ARROW_DATA_GIT_HASH}/data" - epytest --pyargs pyarrow -} diff --git a/dev-python/pyarrow/pyarrow-20.0.0.ebuild b/dev-python/pyarrow/pyarrow-20.0.0.ebuild index 7745db577c17..52a3b0dd8a67 100644 --- a/dev-python/pyarrow/pyarrow-20.0.0.ebuild +++ b/dev-python/pyarrow/pyarrow-20.0.0.ebuild @@ -33,7 +33,7 @@ S="${WORKDIR}/apache-arrow-${PV}/python" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 arm64 ~riscv x86" +KEYWORDS="amd64 arm64 ~riscv x86" IUSE="+parquet +snappy ssl" RDEPEND=" diff --git a/dev-python/pycares/pycares-4.7.0.ebuild b/dev-python/pycares/pycares-4.7.0.ebuild index ddef96db2601..3669e7b1ba2f 100644 --- a/dev-python/pycares/pycares-4.7.0.ebuild +++ b/dev-python/pycares/pycares-4.7.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="test" # Tests fail with network-sandbox, since they try to resolve google.com PROPERTIES="test_network" diff --git a/dev-python/pydantic-core/pydantic-core-2.33.2.ebuild b/dev-python/pydantic-core/pydantic-core-2.33.2.ebuild index 30376acd30f4..fddf11b97e3d 100644 --- a/dev-python/pydantic-core/pydantic-core-2.33.2.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.33.2.ebuild @@ -120,7 +120,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="~amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/pydantic/pydantic-2.11.4.ebuild b/dev-python/pydantic/pydantic-2.11.4.ebuild index 9172468c500f..b5c9a0fbb910 100644 --- a/dev-python/pydantic/pydantic-2.11.4.ebuild +++ b/dev-python/pydantic/pydantic-2.11.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index 8834dc76fc86..b29426021492 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,2 +1 @@ -DIST pyglet-2.1.5.gh.tar.gz 6564793 BLAKE2B bb70824f7c0367ad1bb4bd4ebf7b0f36640d8f0d610a053e469444dd2c7bd72be6527f6204d2722cb2e9744072e03f859f91a9d4771afa6303521f9012b01ddd SHA512 1cec5f23bac6217b1df6e56c3725ada18ea0c1727347dfb68433dc24c8b30d369e049142033225f0165db4e0e7cc6440428c78ebe6d127375a83edbb4d9162a3 DIST pyglet-2.1.6.tar.gz 6546705 BLAKE2B ea32e864e5b8168d18fd99c464759d98189301aca821b2eec0770e180a1ed3c8a2d9543bce8d5331d0f9c4f75b055b42d4c67fac5a5f08b84d7ec7ff82481b13 SHA512 118b4c14aad735f7da1d168e7e5e68094af387d616379223260150a3140fa9069b30a8bbf12ee0e2921c199aedbfecbbb55034c7bf8e160ccca5aa4d8b348d18 diff --git a/dev-python/pyglet/pyglet-2.1.5.ebuild b/dev-python/pyglet/pyglet-2.1.5.ebuild deleted file mode 100644 index b6f49260b849..000000000000 --- a/dev-python/pyglet/pyglet-2.1.5.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 virtualx xdg-utils - -MY_P=${P/_/.} -DESCRIPTION="Cross-platform windowing and multimedia library for Python" -HOMEPAGE=" - https://pyglet.org/ - https://github.com/pyglet/pyglet/ - https://pypi.org/project/pyglet/ -" -SRC_URI=" - https://github.com/pyglet/pyglet/archive/v${PV/_/.}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" -IUSE="examples image +sound" - -RDEPEND=" - virtual/glu - virtual/opengl - image? ( - || ( - dev-python/pillow[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - ) - ) - sound? ( - || ( - media-libs/libpulse - media-libs/openal - ) - ) -" -# ffmpeg? ( media-libs/avbin-bin ) -BDEPEND=" - test? ( - dev-python/pillow[${PYTHON_USEDEP}] - media-libs/fontconfig - x11-base/xorg-server[-minimal] - ) -" - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - xdg_environment_reset - - local EPYTEST_DESELECT=( - # lacking device/server permissions - tests/unit/media/test_listener.py::test_openal_listener - tests/unit/media/test_listener.py::test_pulse_listener - # fragile to system load - tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume - tests/unit/test_clock_freq.py::test_elapsed_time_between_tick - ) - - # Specify path to avoid running interactive tests - # We could add in integration tests, but they're slow - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pyglet/pyglet-2.1.6.ebuild b/dev-python/pyglet/pyglet-2.1.6.ebuild index a28f3528b29f..8aa5936fdac0 100644 --- a/dev-python/pyglet/pyglet-2.1.6.ebuild +++ b/dev-python/pyglet/pyglet-2.1.6.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" IUSE="examples image +sound" RDEPEND=" diff --git a/dev-python/pysimdjson/Manifest b/dev-python/pysimdjson/Manifest index a2b2e8c46e17..20f6fb4cb33d 100644 --- a/dev-python/pysimdjson/Manifest +++ b/dev-python/pysimdjson/Manifest @@ -1,2 +1,2 @@ -DIST pysimdjson-6.0.2.gh.tar.gz 4493696 BLAKE2B 18f107fa5db762813e90dbf788d54ee24f823e177d2529f5311ef2b35320a45fd698ef6f8863c45ffad96c116ad5240eaf5a6724a3030578f89111cc40f24897 SHA512 ef8856dd137780a4345539b1604af34757b58a4b4d11854e420ad2e855f3e3f251b2ba6296c04d1bf2b71f095ca95fe95e9076e8740e98c7c4404a57df3617ba DIST pysimdjson-7.0.0.gh.tar.gz 4670589 BLAKE2B d7bab62a075228d462413e139f4760bfacbe2add4f2cdc26f84b072a7c792e62f3d494053bbb0529d80e3ddc9c67df25ece3f6ccf120d05644bda5b006afc839 SHA512 9d2491885694091b3a37f52c6dba44060c3dff05231056dd5af1720e3593a2047e6e4837f4129d347ff80c9bd65fc0d4cacc93fdd6e3e1088faa97eb90196fec +DIST pysimdjson-7.0.1.gh.tar.gz 4670593 BLAKE2B b41a978769b0c5ce7da87908566a6d42ec3fdd3251fcc9847e6902a80eae2e28cb3fc45f517c447b90fb03e4c741aa44f2deb1d2e5d3c7ceb27fea8e57379b3f SHA512 94b6e972200ee773b87918639203fac8f573b44d2d7b7e1cf896d216b269a8153a586e2312d1b01ef21b86a54368bfd56131f48c7d1b7fd9f46248318892b0b5 diff --git a/dev-python/pysimdjson/files/pysimdjson-6.0.2-system-lib.patch b/dev-python/pysimdjson/files/pysimdjson-6.0.2-system-lib.patch deleted file mode 100644 index 8a58c6de0481..000000000000 --- a/dev-python/pysimdjson/files/pysimdjson-6.0.2-system-lib.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/setup.py b/setup.py -index fa1ff8b..3f36120 100644 ---- a/setup.py -+++ b/setup.py -@@ -52,11 +52,11 @@ if os.getenv('BUILD_WITH_CYTHON') and CYTHON_AVAILABLE: - Extension( - 'csimdjson', - [ -- 'simdjson/simdjson.cpp', - 'simdjson/util.cpp', - 'simdjson/csimdjson.pyx' - ], - define_macros=macros, -+ libraries=["simdjson"], - extra_compile_args=extra_compile_args - ) - ], compiler_directives=compiler_directives, force=force) diff --git a/dev-python/pysimdjson/pysimdjson-6.0.2.ebuild b/dev-python/pysimdjson/pysimdjson-7.0.1.ebuild index 59f778400240..40b93da20a89 100644 --- a/dev-python/pysimdjson/pysimdjson-6.0.2.ebuild +++ b/dev-python/pysimdjson/pysimdjson-7.0.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 @@ -34,27 +34,18 @@ BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] " -PATCHES=( - "${FILESDIR}/pysimdjson-6.0.2-system-lib.patch" -) - distutils_enable_tests pytest src_prepare() { - # force regen - rm simdjson/csimdjson.cpp || die # unbundle + local PATCHES=( + "${FILESDIR}/pysimdjson-7.0.0-system-lib.patch" + ) + rm simdjson/simdjson.cpp || die echo "#include_next <simdjson.h>" > simdjson/simdjson.h || die - # regressions (new simdjson version?) - rm jsonexamples/test_parsing/i_number_very_big_negative_int.json || die - rm jsonexamples/test_parsing/i_number_too_big_pos_int.json || die - rm jsonexamples/test_parsing/i_number_too_big_neg_int.json || die - distutils-r1_src_prepare - - export BUILD_WITH_CYTHON=1 } python_test() { diff --git a/dev-python/pytest/files/pytest-8.3.5-pypy.patch b/dev-python/pytest/files/pytest-8.3.5-pypy.patch new file mode 100644 index 000000000000..eb665396b6b4 --- /dev/null +++ b/dev-python/pytest/files/pytest-8.3.5-pypy.patch @@ -0,0 +1,17 @@ +diff --git a/src/_pytest/fixtures.py b/src/_pytest/fixtures.py +index 6b882fa35..985e45ce3 100644 +--- a/src/_pytest/fixtures.py ++++ b/src/_pytest/fixtures.py +@@ -278,6 +278,12 @@ def reorder_items_atscope( + for other_scope in HIGH_SCOPES: + other_scoped_items_by_argkey = items_by_argkey[other_scope] + for argkey in argkeys_by_item[other_scope].get(i, ()): ++ if hasattr(sys, "pypy_version_info"): ++ # Gentoo workaround for https://github.com/pytest-dev/pytest/issues/13312 ++ del other_scoped_items_by_argkey[argkey][i] ++ new_dict = OrderedDict({i: None}) ++ new_dict.update(other_scoped_items_by_argkey[argkey]) ++ continue + other_scoped_items_by_argkey[argkey][i] = None + other_scoped_items_by_argkey[argkey].move_to_end( + i, last=False diff --git a/dev-python/pytest/pytest-8.3.5-r1.ebuild b/dev-python/pytest/pytest-8.3.5-r1.ebuild new file mode 100644 index 000000000000..77d99c08c753 --- /dev/null +++ b/dev-python/pytest/pytest-8.3.5-r1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple powerful testing with Python" +HOMEPAGE=" + https://pytest.org/ + https://github.com/pytest-dev/pytest/ + https://pypi.org/project/pytest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/iniconfig[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + <dev-python/pluggy-2[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-6.2.3[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/argcomplete[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +PATCHES=( + # https://github.com/pytest-dev/pytest/pull/13291 + "${FILESDIR}/${P}-test.patch" + # workaround https://github.com/pytest-dev/pytest/issues/13312 + "${FILESDIR}/${P}-pypy.patch" +) + +src_test() { + # workaround new readline defaults + echo "set enable-bracketed-paste off" > "${T}"/inputrc || die + local -x INPUTRC="${T}"/inputrc + distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x COLUMNS=80 + + local EPYTEST_DESELECT=( + # broken by epytest args + testing/test_warnings.py::test_works_with_filterwarnings + + # does not like verbosity + testing/test_assertrewrite.py::TestAssertionRewrite::test_len + + # tend to be broken by random pytest plugins + # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) + testing/test_helpconfig.py::test_version_less_verbose + testing/test_helpconfig.py::test_version_verbose + testing/test_junitxml.py::test_random_report_log_xdist + testing/test_junitxml.py::test_runs_twice_xdist + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose + testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal + testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info + testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info + + # unstable with xdist + testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist + + # TODO (XPASS) + testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice + testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug + testing/test_debugging.py::test_pdb_suspends_fixture_capturing + + # setuptools warnings + testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package + + # PDB tests seem quite flaky (they time out often) + testing/test_debugging.py::TestPDB + ) + + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # regressions on pypy3.9 + # https://github.com/pytest-dev/pytest/issues/9787 + testing/test_skipping.py::test_errors_in_xfail_skip_expressions + ) + ;; + python3.14*) + EPYTEST_DESELECT+=( + # still broken on main, as of 2025-05-14 + testing/test_unraisableexception.py::test_unraisable + testing/test_unraisableexception.py::test_unraisable_in_setup + testing/test_unraisableexception.py::test_unraisable_in_teardown + testing/test_debugging.py::test_raises_bdbquit_with_eoferror + ) + ;; + esac + + local EPYTEST_XDIST=1 + epytest +} diff --git a/dev-python/repology-client/Manifest b/dev-python/repology-client/Manifest index 590b365fc1de..1f41d8c14f71 100644 --- a/dev-python/repology-client/Manifest +++ b/dev-python/repology-client/Manifest @@ -1,2 +1,2 @@ -DIST repology_client-0.2.0.tar.gz 801523 BLAKE2B a6d9c1ed1f419d770930cfb5b5e64dee6381da516b7f1e6014f4e72394de73a02d3552f13cd0eee85e6ec827fc6d34b442d63099645988a120fd93b8ec39c06a SHA512 f60bf0c428093e4bbbf239fada260d0e4dbdeedd0f38ee3f802ad7b3dd95faef966c77ddf0ca3ce92cb130a6f35c31266dff6b1f7db25959eb725ba043389290 DIST repology_client-0.3.0.tar.gz 895370 BLAKE2B 2bf22860735d33ca0db570c4f4880084f0be2863fbacddaedef096f3e5bb216f2b678057f9e9d6b3318889181013ad8dbd9bc2d228caf8632a9bc72bfc4e1753 SHA512 b3a22e1c86c351ce9a44299e85e5001f0cd9abe5e3125e15c0b83f237b3ed31541d28bc543060ccb81a04413b2ceb596a8b91b0adfa01d061f2fc158066aba8d +DIST repology_client-0.4.0.tar.gz 898595 BLAKE2B 80ff8374cd1a7fd387b74ae8b8011ca7f450709d802e6409c87f16f9e5a5144104b56d4dd523d158e27f7e9d85b42fc3d40a2cf2ccacb7cd4968f56deebb43ac SHA512 92e68ddab09e9740479f366d5f3d19488f5d90e5ce7b3ee89c54001af9ad83a07d5fa128f09377e15da145ac184467b671c5f2f4fafc36ef9d7b0d1b7edd75bf diff --git a/dev-python/repology-client/repology-client-0.2.0.ebuild b/dev-python/repology-client/repology-client-0.4.0.ebuild index fd62c70be351..f3e66f559f12 100644 --- a/dev-python/repology-client/repology-client-0.2.0.ebuild +++ b/dev-python/repology-client/repology-client-0.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,6 @@ HOMEPAGE=" LICENSE="CC-BY-SA-3.0 EUPL-1.2" SLOT="0" KEYWORDS="~amd64" -IUSE="test" RDEPEND=" >=dev-python/aiohttp-3[${PYTHON_USEDEP}] diff --git a/dev-python/rich-click/Manifest b/dev-python/rich-click/Manifest index 067dd3431aab..8c919596fd2d 100644 --- a/dev-python/rich-click/Manifest +++ b/dev-python/rich-click/Manifest @@ -1 +1,2 @@ DIST rich-click-1.8.8.gh.tar.gz 8141426 BLAKE2B 9288f7818849b82e65c4c589597dbf0493e37d18f4cbbb81469a0b43ca611c091b4fce5df968d428c4733ce213d52cffddbb2d0516051275544b7e865771d3ff SHA512 45b954bb2f402fc4d9b837750250d92d0fd547f83bd893df75f5a2cb350177ae65f665112e8727c47c5ad31d974b66a685641574d7aa88a52a93098cbae9ff94 +DIST rich-click-1.8.9.gh.tar.gz 8142387 BLAKE2B de7aa54989747d47c2d147cec8235c4619a90b5a536266dbf2f499f704c3671bb4697bbcb23b0d0827caaf52d65dd29157f01918d29abc9c469fdd6c84af0c84 SHA512 6655ee3ac54fdae5a1221ef2ceaae35aa2ed8381c29f9808bb852d0790426a90d1fcb1a82faa61a22112946b988f891fc76dc3976ae756702458c547d7014745 diff --git a/dev-python/rich-click/rich-click-1.8.9.ebuild b/dev-python/rich-click/rich-click-1.8.9.ebuild new file mode 100644 index 000000000000..0743d793b4c9 --- /dev/null +++ b/dev-python/rich-click/rich-click-1.8.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit click-app distutils-r1 + +DESCRIPTION="Format click help output nicely with rich" +HOMEPAGE=" + https://pypi.org/project/rich-click/ + https://github.com/ewels/rich-click +" +SRC_URI="https://github.com/ewels/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/click-7[${PYTHON_USEDEP}] + >=dev-python/rich-10.7[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +click-app_enable_completions rich-click + +src_prepare() { + distutils-r1_src_prepare + + touch tests/fixtures/__init__.py || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/rst2ansi/rst2ansi-0.1.5-r3.ebuild b/dev-python/rst2ansi/rst2ansi-0.1.5-r3.ebuild index 620ae13fbc0b..83ebabbc5542 100644 --- a/dev-python/rst2ansi/rst2ansi-0.1.5-r3.ebuild +++ b/dev-python/rst2ansi/rst2ansi-0.1.5-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi diff --git a/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild index 74b978bb336d..3edae724d0f0 100644 --- a/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" # we always want [pyproject] extra RDEPEND=" diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index a19c5e08ed40..d7d95373961c 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -3,3 +3,4 @@ DIST setuptools-80.2.0.tar.gz 1354232 BLAKE2B 2eb5f9b51632c865533bb018e268da7e9b DIST setuptools-80.3.1.tar.gz 1315082 BLAKE2B 65207edf080d80599b2fe82caed638221bbe1155f745fd8cd02bd9da5934b1880782eb285f5be44088e189684385e7fbbd2bd0750fcd27aaf556f0a44214573d SHA512 be5157aa1f1a7f1e3e11b971ffedac509303d4919d590c1f741dd1c4966c5dc83168b458d3aad66dd9874c7f8f4c8c5bbded6b4dbf6ed91f0d05b1c65229a789 DIST setuptools-80.4.0.tar.gz 1315008 BLAKE2B e41541fdd6e6adad6ed2f39f2c344c944336e89c24b6d9de9984c8a0234c61dba05b15df805639d380e840b0a15b98a3998c251b764340b5251624827be0934a SHA512 d4d55d9f7bdecbf26e3de6e5a99245db4b69a203a37475539ce4a3b8c6e6b9f1c47f5dc29b4d6a4dc971cabc6714ae7bc0a55f99e214d9402b47bb3dd89b58a4 DIST setuptools-80.7.1.tar.gz 1319188 BLAKE2B ed8b6cee577f15be456d92b1a1241d477dccbad414eba093134fbd66c5228b241a2c31602f2253319e06980a103777bc9981896cf9734890a1046f75050b848a SHA512 831bc6d6c65c2febb8e907fe10d24b4463d15e085f13754dae284814262e7e16645141e839adc28941e53ecdcfefdd460bf8a79d9c4a05437c5b49466d4161c6 +DIST setuptools-80.8.0.tar.gz 1319720 BLAKE2B 0416a838d4806c646b6c957f120c0ea265b63429142de9ffa2708233f55500055f1fd5b8b8760950a73eb348ecbec2168c35d3beb1b3888de2e6df85913f5702 SHA512 e2b54c43b0925a911aee7738ca71e62e448ac5732332b375ebf5b55aeda1abfb59b06afbb40662d37b9a65f499b5a64ee2878f28e915059d4c7d0a61d408e8a1 diff --git a/dev-python/setuptools/setuptools-80.8.0.ebuild b/dev-python/setuptools/setuptools-80.8.0.ebuild new file mode 100644 index 000000000000..8b8c38e414b5 --- /dev/null +++ b/dev-python/setuptools/setuptools-80.8.0.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/jaraco-collections[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-4[${PYTHON_USEDEP}] + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2.2[${PYTHON_USEDEP}] + >=dev-python/wheel-0.44.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.7.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.5[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.10.16[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}/setuptools-62.4.0-py-compile.patch" + # https://github.com/abravalheri/validate-pyproject/pull/221 + "${FILESDIR}/setuptools-75.6.0-disable-trove-classifiers.patch" + ) + + distutils-r1_src_prepare + + # breaks tests + sed -i -e '/--import-mode/d' pytest.ini || die + + # remove bundled dependencies + rm -r */_vendor || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + setuptools/tests/integration/test_pbr.py::test_pbr_integration + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_develop.py::TestNamespaces::test_namespace_package_importable + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # broken by unbundling + setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata + # fails on normalized metadata, perhaps different dep version? + setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_pyproject_config + # TODO + setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist + # relies on -Werror + setuptools/_static.py::setuptools._static.Dict + setuptools/_static.py::setuptools._static.List + setuptools/tests/test_bdist_egg.py::Test::test_bdist_egg + # TODO + setuptools/dist.py::setuptools.dist.Distribution._find_pattern + ) + + local EPYTEST_XDIST=1 + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + epytest -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest index d3c9be35c7a4..3cce9291a919 100644 --- a/dev-python/sip/Manifest +++ b/dev-python/sip/Manifest @@ -1 +1,2 @@ DIST sip-6.10.0.gh.tar.gz 2448793 BLAKE2B bbd88954884c83d489e86b6ffc0098dc0d5266bd06e31e4289464a0455d489fa260373e730ede45873834df8bc09b7ab7a6c411c8b82971aa4f3c9640849941b SHA512 b30a70c7cd62708f552b542e86449e35ae0b79f41ed2420c6c275fb5ccba605590bb3ee511e67c52c657361df0406ad0787f3bbb1c0c79d62f25bf916a0a0cee +DIST sip-6.11.0.gh.tar.gz 2456535 BLAKE2B 3dba230c257b0092fe585554cd83c2fff9262aa820a182488661cbecc3771369c76850438b6b4a859598cafb6317f191ee3ce9ca454029cc8e637adeea11ff49 SHA512 ae315c7660f06ae9e11a34937e118fa444c261f5d992b6c02aec288edbabc6453921357624e6b37be713c730e14591035577a5649fa232ff7dc330a8ed9f607a diff --git a/dev-python/sip/sip-6.11.0.ebuild b/dev-python/sip/sip-6.11.0.ebuild new file mode 100644 index 000000000000..8abc7ce9ef41 --- /dev/null +++ b/dev-python/sip/sip-6.11.0.ebuild @@ -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_{9,10,11,12,13} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings generator for C/C++ libraries" +HOMEPAGE="https://github.com/Python-SIP/sip/" +SRC_URI=" + https://github.com/Python-SIP/sip/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2 BSD" +SLOT="5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/myst-parser \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 578942e41f65..6674d05385b4 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,4 +1,4 @@ -DIST sqlglot-26.16.4-crates.tar.xz 8327388 BLAKE2B 69213d11940f9d4e743b169ef831b8b52a771f012e247570cf0703580a14af435d4d033b4b3ddfca6f4022b741261a24f3b47e5137de644d863714006520f857 SHA512 5de0781c54265b369e5e46b7cfbcc04a3118aa8d1323bff14f2841c95d471f545c923eedb88dbbb81a910801c5a505ff37a25701af936c06cf55a1659cd8822e -DIST sqlglot-26.16.4.tar.gz 5355134 BLAKE2B 3fd5e7687f7a65a9499773a53b7d694ba02caa1ad7aabaa744716329716b3e62d2c999aadc6a66f2524a3d41a8bc80d753b18e0c77997d7abbf3e67748be83ab SHA512 791ed728405759b6053f620bb3dd5c16eddf60566087e6290e22503816d7c52f52a1bed3b897f41d2ae9cd9b6c3e4730f3c154ae29ca64e0ac07e10d27deedf7 DIST sqlglot-26.17.1-crates.tar.xz 8327388 BLAKE2B 69213d11940f9d4e743b169ef831b8b52a771f012e247570cf0703580a14af435d4d033b4b3ddfca6f4022b741261a24f3b47e5137de644d863714006520f857 SHA512 5de0781c54265b369e5e46b7cfbcc04a3118aa8d1323bff14f2841c95d471f545c923eedb88dbbb81a910801c5a505ff37a25701af936c06cf55a1659cd8822e DIST sqlglot-26.17.1.tar.gz 5356122 BLAKE2B 7c83c2569c767a424929b0d88aa451e29f83596e3b381db9e35175488492ef1e30bc7fbf2a33a7a261c2396259db12b1cc89f07420f3e1994c416b5d891be258 SHA512 5cef50050b412baa5ef72056b377d327e6d19990de07f9b6f5d915b7bc628ee3a343fc64003e1ea3fc2555759c79662d4081d7925d3dd6b77f6c08a6507e971e +DIST sqlglot-26.18.1-crates.tar.xz 8327388 BLAKE2B 69213d11940f9d4e743b169ef831b8b52a771f012e247570cf0703580a14af435d4d033b4b3ddfca6f4022b741261a24f3b47e5137de644d863714006520f857 SHA512 5de0781c54265b369e5e46b7cfbcc04a3118aa8d1323bff14f2841c95d471f545c923eedb88dbbb81a910801c5a505ff37a25701af936c06cf55a1659cd8822e +DIST sqlglot-26.18.1.tar.gz 5365490 BLAKE2B 35c20d42f32ac1804a9e093ef74385b88950952ba9d327411de904ff47ae42c6ac8474c6813d8bcaa98e81b8ae679f6801dc7cf004cd664dd7f8389c719bdf6d SHA512 67cb69b28a468ed393993edf3d14a927dbdbd8a455aef7979e52ef056503fd875fbe33c25aea161ef55b2dc7717cec4d5afac6f8b138ed94cd90aa7cdd4cc8cc diff --git a/dev-python/sqlglot/sqlglot-26.16.4.ebuild b/dev-python/sqlglot/sqlglot-26.18.1.ebuild index 745ae109fd13..745ae109fd13 100644 --- a/dev-python/sqlglot/sqlglot-26.16.4.ebuild +++ b/dev-python/sqlglot/sqlglot-26.18.1.ebuild diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 8e63b2a92c59..825ac3621d38 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,2 +1 @@ -DIST stripe-12.0.1.tar.gz 1370176 BLAKE2B 72298f444c491b1166cb2b6e7e16e25737531b65c6320404be5b1d5ece5b6a62dd36f66e8e95ff7aa6972c7046f04b0ccc0b5b2ccfb7cea7da7d8ca8cdd9b18e SHA512 aa5a02f6a1e2f7e6be649399ffe8af93e3a637128a4e8db3dd12abe3faa4c876b33a93128ecefb3e9119931b690ca7a14fcbf83cf77fd2b8d9ac1068d5b8a426 DIST stripe-12.1.0.tar.gz 1379855 BLAKE2B 9d1fcfbceccb48def5724b12ef4d801b23a3fb08883ad59435a7babe6d0533af69be4d6706a6d2493362347fa65ec99183b8a2749a9c460a6b976491f55eec51 SHA512 31ba62055e0e3b4e66313ebd8505833a1d69b7d133047a76492ea98f496b329a16d5f1d763f7b9ef5239d578d1b0dde293f2be4fa2e8ef33f481033ac213cce3 diff --git a/dev-python/stripe/stripe-12.0.1.ebuild b/dev-python/stripe/stripe-12.0.1.ebuild deleted file mode 100644 index b652190db5b5..000000000000 --- a/dev-python/stripe/stripe-12.0.1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe Python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="telemetry" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.192.0 - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/anyio[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -src_prepare() { - distutils-r1_src_prepare - - if ! use telemetry; then - sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_http_client.py::TestLiveHTTPClients::test_httpx_request_async_https - 'tests/test_integration.py::TestIntegration::test_async_raw_request_timeout[asyncio-aiohttp]' - # timing - tests/test_integration.py::TestIntegration::test_passes_client_telemetry_when_enabled - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -p anyio -p pytest_mock -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/stripe/stripe-12.1.0.ebuild b/dev-python/stripe/stripe-12.1.0.ebuild index 1c3eccf49dd3..01ed7224c706 100644 --- a/dev-python/stripe/stripe-12.1.0.ebuild +++ b/dev-python/stripe/stripe-12.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm64 x86" +KEYWORDS="amd64 arm64 x86" IUSE="telemetry" RDEPEND=" diff --git a/dev-python/trio/trio-0.30.0.ebuild b/dev-python/trio/trio-0.30.0.ebuild index 79cecf6a7f7e..2047a31a9e50 100644 --- a/dev-python/trio/trio-0.30.0.ebuild +++ b/dev-python/trio/trio-0.30.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 diff --git a/dev-python/types-setuptools/Manifest b/dev-python/types-setuptools/Manifest index 8147a4e24bbf..31a71662d6f0 100644 --- a/dev-python/types-setuptools/Manifest +++ b/dev-python/types-setuptools/Manifest @@ -2,3 +2,4 @@ DIST types_setuptools-79.0.0.20250422.tar.gz 43865 BLAKE2B 3ef152fbaa27057b0279b DIST types_setuptools-80.3.0.20250505.tar.gz 41205 BLAKE2B 9678f681ea420290c55d7e1a20e8cea7f90d9c4c9a8dcb327056c6044f1a84a57e6e03d0cf20afe456f1f1f209f2e66461574dd27c5f63fa5d208b528d98bdfd SHA512 a5c186d246eb42764d90db0409c8fcdc8bb41aa6116c1705b0c32561db3d0bd28cdd6c14e4d0c2d9c4a29ba802231f809f46fd12d753f2d0719e6f0ddb6a1421 DIST types_setuptools-80.4.0.20250511.tar.gz 41205 BLAKE2B 54ec7947f50ffa1507e3bc53098a3079edef8044739e307afd47675638d2930d9cbe1a8535858e1a538bed65d00616b489ca5e7ed4cf795ddcd2f7987bdf793a SHA512 ec2d12032367cdc956df2e3cff082b5e15f0a76a28c1a85bc9cabe1dc81c704fcaea64637c477ec5440f83eea3ba0125f2bad62721f1528c14e07f89e5819b49 DIST types_setuptools-80.7.0.20250516.tar.gz 41313 BLAKE2B 9a1a191097b4ef6e4e4d7cf5c26d73941fc2d7b486ffff89eac236d18ee7818959fb316ea104e82a5a809b79c16d7c98ab494b9ce1a90e58a5553af1c5d47389 SHA512 216cbf934194b7daecc14c3af52031dfa105c8ab15e5a5c0b73d2db026870490ee7146fa075c10295097c5c90667f4ee84436168e6dbe803d20fd309709dd075 +DIST types_setuptools-80.8.0.20250521.tar.gz 41323 BLAKE2B 0c32056488b029f8c4af6568863f13f6ac158d9d6f64d17501ced2fd2d84be9efe9fae76e6335990d35b5dc8346579559799e66dba837fe233560f8be58ccd59 SHA512 67982efd53a98a0be4cfe3c388de0246e36a1c20398deac5d0d4e4cc41f8aa11c87254ad035b9c6e9b30924857138a1c6cca21ddf2f64731678f2c7218fc8de7 diff --git a/dev-python/types-setuptools/types-setuptools-80.8.0.20250521.ebuild b/dev-python/types-setuptools/types-setuptools-80.8.0.20250521.ebuild new file mode 100644 index 000000000000..078677754317 --- /dev/null +++ b/dev-python/types-setuptools/types-setuptools-80.8.0.20250521.ebuild @@ -0,0 +1,16 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for setuptools" +HOMEPAGE="https://pypi.org/project/types-setuptools/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
