diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-04-03 01:34:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-04-03 01:34:02 +0100 |
commit | 476528d7a16cfe2435b30ebd74783eea6925db5f (patch) | |
tree | 7272fd6469aed7e7f83598430e378aec9ce0dbff /dev-python | |
parent | 6be74aaad3f65bab8561cebfef177dc28d802d9f (diff) |
gentoo auto-resync : 03:04:2025 - 01:34:01
Diffstat (limited to 'dev-python')
35 files changed, 821 insertions, 224 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 86acada7cb68..3373eee0e90e 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index a3ae29fc0772..996bd64f2c22 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,7 +1,9 @@ DIST aiohttp-3.11.13.tar.gz 7674284 BLAKE2B 1975baf20e3d1b7fa5b6b5fbdf4fb916fea57fbfb2dbe9295300fa2952b1cd7fb8aaa814e37bb5c403e43ea9930ca35f9ca17bba5359e8c07e535dfc1d71d607 SHA512 cd9745ea07041e438bb42508ed86095582b7121d233719e9d16033c34d567063c2fd091536ab45ea1695ba118d49b955c56153fe7d6b51c2ee0a4760bfd816a9 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 EBUILD aiohttp-3.11.13.ebuild 3722 BLAKE2B f5d605b7fe8bf688d011d6c0f7300dadce3c2cc43df817c5bc65c5b5fba244a2615b91e00987615f98c0d4814a35b03cc8b0fdb93f09b83bf86c0f567466164a SHA512 42d34cc0aa4602c10862bebb8fb56f0a36b8b1be351a567a47fc4f74db2399633fee3c79217d4742e97dd20104f4e538613e90eaa15a2e31f94cbb18fef56c29 EBUILD aiohttp-3.11.14.ebuild 3730 BLAKE2B a394ba83cf6ac26fcba10bab4ee6c1602b481f5a86cf8d3d8b0d2668821bf83bc6ff6fac53b58f00a2a9d5a51c67f6671aa6e5d35df8ad7a111b10fce98e3943 SHA512 6ab7e36f3c9f0dc33b117964b9c11133e23aa83d022235d7c992a05cdcabd76720a1cd4fbb690b77bfc4e46ae6d0b928394b5bc0711634514452beb869759590 EBUILD aiohttp-3.11.15.ebuild 3730 BLAKE2B a394ba83cf6ac26fcba10bab4ee6c1602b481f5a86cf8d3d8b0d2668821bf83bc6ff6fac53b58f00a2a9d5a51c67f6671aa6e5d35df8ad7a111b10fce98e3943 SHA512 6ab7e36f3c9f0dc33b117964b9c11133e23aa83d022235d7c992a05cdcabd76720a1cd4fbb690b77bfc4e46ae6d0b928394b5bc0711634514452beb869759590 +EBUILD aiohttp-3.11.16.ebuild 3730 BLAKE2B a394ba83cf6ac26fcba10bab4ee6c1602b481f5a86cf8d3d8b0d2668821bf83bc6ff6fac53b58f00a2a9d5a51c67f6671aa6e5d35df8ad7a111b10fce98e3943 SHA512 6ab7e36f3c9f0dc33b117964b9c11133e23aa83d022235d7c992a05cdcabd76720a1cd4fbb690b77bfc4e46ae6d0b928394b5bc0711634514452beb869759590 MISC metadata.xml 379 BLAKE2B dd6b8001c95e4f845c0519d9674158355566938e9e4aaad3234d3ee2a252ebbb4b6ffe3e8272145a39b2b9e59f6b9d19413547789a5873726581040e413f6b8c SHA512 5ea85743abacb6c4ace3ff45d4949ed787055c738afac892f24bf3770c3bba8fe8e5db4267719300d89e610daf334838a1964beab649730427a12007ddcf5e9e diff --git a/dev-python/aiohttp/aiohttp-3.11.16.ebuild b/dev-python/aiohttp/aiohttp-3.11.16.ebuild new file mode 100644 index 000000000000..2c0d281aa753 --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.11.16.ebuild @@ -0,0 +1,135 @@ +# 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_{10..13} pypy3 pypy3_11 ) + +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/boto3/Manifest b/dev-python/boto3/Manifest index 453a73925bd3..48bc6333d97d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,6 +6,7 @@ DIST boto3-1.37.21.gh.tar.gz 918526 BLAKE2B eb7ed9411680d46c02050a6dda80dff93202 DIST boto3-1.37.22.gh.tar.gz 919362 BLAKE2B f36e850e4b7089325f32c41ef1d60373fbdfbf35d1d56b9236f8eae10e665474d5612c3567e58a28ef5f9164c31286b5cd86ecb9b545e34e63dd4a7119203f0e SHA512 829f7b6446746efc688828e5c6264b380f5e550b9bad85c4a572c56b4030766a049ace67f0d979f0afe1dca01cbbb9174d1e60fe9d24e8179a1c699d0ab42936 DIST boto3-1.37.23.gh.tar.gz 920294 BLAKE2B c1bfcb5dd8c883c122b530ac2756c77884d74a43caeaeaded4e7f26bf9fbe829c7b4d70968b19e2561b4ed495c8e05e141ae365fcff7fa10159ff0c04dcc1f3e SHA512 b2fb0b4730e32ec881e933eeb6e57ce5dcffe9cfe5f586a15e5a9abea5d3a515d5db0c66058af3c0c8c206472fdfef80b74b750bd024718078ec9a5a94b01e29 DIST boto3-1.37.24.gh.tar.gz 920927 BLAKE2B 420db6c337247d54992f094aecf0c1a08fd0c49c565d5b30d53d3111dc321828a09006734018f4487c633919bcf3d6ff1d073d1147c1498ba11ef7fba9f25dee SHA512 f4c6d8e8014f05b0fcc78d8d70940387f034de026674cc640ada7f2eaf001f072f96ce4231b65a123efcf8a4051bcdc3c1ab67b2e14551d3c225279a341b9ad4 +DIST boto3-1.37.25.gh.tar.gz 920853 BLAKE2B f1ef1df964b0fc8d1b3072d7c26c8737f52556745152b055940355f62ca578a2fa99110d9aaacaef6ca7173466953a4f9e9d4d1ea248cc896ac17cdde92b9fef SHA512 eda2476087dd106549ef51e83785def18bcee070c3cd03a7fca54b63d404c363aa9bf26b85760b9ac7dffc3ff51bbaf947d8e6f8e33ea5fc617a74059109e597 DIST boto3-1.37.9.gh.tar.gz 911836 BLAKE2B d190525b9c5e39b445042aba6d8e57da5e49165775901ceebe44b76fd2780ec85a2f5a8a08d3a9a5e451d42bbae19b679e565a7a9acc663258ea0b7909a9a798 SHA512 12cba48d5f2c158b372eaf4e44903e22ca963e5712c3c463fbfd20626a771efe30530852b6c9ab70132a26472ff1b4656095675a5de37524f6b489c25175f8fe EBUILD boto3-1.37.13.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.37.18.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 @@ -15,5 +16,6 @@ EBUILD boto3-1.37.21.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114 EBUILD boto3-1.37.22.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.37.23.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.37.24.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 +EBUILD boto3-1.37.25.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.37.9.ebuild 1205 BLAKE2B ba88d00e8ea05d27260511e6110158d1f305ce8bde0aaf3385814b38f6b977bd8fae2b092659d5765d6c3bcf80cd75fe5f2bea95374a3105c23cdfbf04bd8ec8 SHA512 6cf3155f855f19611a770cf2db452b139af4869a39f2e07d1040a9c45a3cfd13341f3a7eadb2e13da7c38d29492d68307a9e88b62c22704ef15a5c082da651fd MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.37.25.ebuild b/dev-python/boto3/boto3-1.37.25.ebuild new file mode 100644 index 000000000000..b087a88814e8 --- /dev/null +++ b/dev-python/boto3/boto3-1.37.25.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_{10..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.11.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 78e71febde15..826b7ec96a4a 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,6 +6,7 @@ DIST botocore-1.37.21.gh.tar.gz 14395519 BLAKE2B 7c90142d0441b366c43c63816bfbc68 DIST botocore-1.37.22.gh.tar.gz 14402437 BLAKE2B 4519e3f3ca1c42b2e0445d98d7afd669a02009cdc34b4e3a83e801b508a1c8b6afb6b739bc168d543260e24468436395f0dc469d2e1e687f8821ed12f916e04e SHA512 15b8adbe57f73179df7cb19cb8940d6ca9510c3b4716899a3fb448271e7d15b1640b64e51d5db62d4ab0a194d4900acb9f99e40f6980e3918531c350b6bfa244 DIST botocore-1.37.23.gh.tar.gz 14408721 BLAKE2B 6309e847210a3f7f916679078fba54afff6369d0d983638a1f0535da30349e918699c022929585d5d106a47822f746429b5eb4e52f0996059ce38f989cbf05c2 SHA512 61147b40c082469c5d99ba626ce1549c2d640c25151ae39e588c1ca15c20aa3eff1eeb1d91de18c62203099d45f1a70541e675b9c5ab14f5c04f90982f9a2ddd DIST botocore-1.37.24.gh.tar.gz 14428720 BLAKE2B ca94c865048529d48eeb02721fdccb18051d7b1190645d80204d306f1774e46342f88dcb5dd51c73c1ecad133d36bf42b6b6e4f4c3bdb31b6468aea398cf4a47 SHA512 bc34c69f507144f6f84ba5af796b0c40ee2ea2d6f3eb2e51bc882ecd782f9cc0334b6ee4380aeb42800491d1f09440039ec57c2de06f45ccaa25a570889d5367 +DIST botocore-1.37.25.gh.tar.gz 14523205 BLAKE2B f6bb565b57ee8d1c61c21a5f11363e1c286d359a74884cc65d870c9f06fda7682f23cf9a88e698cef4fc8b1d1b8bee1895bff9088ee3b42e795075a43b49d1cb SHA512 79a76916d97961be7b6b7aafd56f99c0ebb8e8c59e6c1dca4aa6a9ae741528f20c75e685bddc0f843424be3bcaa7cbc541283db9446a5a54eb059efd13982bf8 DIST botocore-1.37.9.gh.tar.gz 14346488 BLAKE2B 29ac550ad462ab7c83bad7989588ec62fb57959586a8ec91be9756d90712ad86e3dfd813a347e619b7cac3fd7afb56affcd81926e15d91b8d0ceae2cd4436a8d SHA512 e191c9485e95188049c02020fcb32c4429de6cfd78f237a2026200b7240890d5759f5cdd96166cd2aec035dac82d32db155fe00d9ec6be482c655cfdb44265f9 EBUILD botocore-1.37.13.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.37.18.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae @@ -15,5 +16,6 @@ EBUILD botocore-1.37.21.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9 EBUILD botocore-1.37.22.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.37.23.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.37.24.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae +EBUILD botocore-1.37.25.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.37.9.ebuild 1484 BLAKE2B e69b432b70d99a29bce6a148a732df49694427d669ea669c64482ec58959f640650b02635f34a613c6a87fed9e4c199cc971b4c811e1ced6db9db1c3e4fc384b SHA512 81c31e65ddea2c9d721e540e6b63c0d76bd7f3f847d06d2cb021bc02449373268cfe08b262db804d1cf65f77bd5bef6fb25cf4a070ee106cd7a231531d6d1130 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.37.25.ebuild b/dev-python/botocore/botocore-1.37.25.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.37.25.ebuild @@ -0,0 +1,67 @@ +# 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_{10..13} ) + +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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index 69dc68477e8e..936dc72dd06f 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,9 +1,3 @@ -DIST griffe-1.6.3.gh.tar.gz 395341 BLAKE2B c2beca0377d6d4a43a9a833142d1750d10fb4584c451cc7c9758275bfb58e6078634e79a204794b3b360d7afff0b37d68fb12d2f845ae846a6aa97ccb696538d SHA512 7b9197854ea8262bbcfa14fcd18dfb10e6bde253b92b7e88fc199f49f73d76f3641a6d3df8e383b4b1e2736a35f204eafe520347f00fd0f3c4f7bfd9a56d1e3e -DIST griffe-1.7.0.gh.tar.gz 397619 BLAKE2B ecd2b490ec4fa37e5ac4bc0ac509145093245345af81a933d9b1e763c94e3fe0e6fdcd8a8d73f276c6740a1dd5397eedaa647efee6c01bab7e55b914cc43e1fd SHA512 c69d7ddbd5641f8cc1c0b920349488dcf1f61109d3437a4658ae1379ee80cabf02073c0c25a41ba1ef5a627a8c27fd42bd6339931af043ce866ab096d064ffb2 -DIST griffe-1.7.1.gh.tar.gz 397814 BLAKE2B fe481ae8cbffb79f355881fd5030ef43275c3bd8732757f77b5038a757629024b223374c33d9a5140fe0c375e54153e9835c267548282d545596c3b4a183afc8 SHA512 e2c538e2a413f2803c714ba2326599453ca7fd4ffbb6221076ef3a00ea95a159a852b9ad766cf0e66364cd1d05748b39efac534c6b7429cb276b85d09f6e2342 DIST griffe-1.7.2.gh.tar.gz 398102 BLAKE2B ec4125401ce079dee0795b5bf2db0f74799f3a0c8a122c5c47317fa040cec79772b08aab4e168f4a6ade3ba9e9f4b17b4def17108e9c27ab69d0b701896f2f53 SHA512 4e1573cdfa8a5ba37b932448ed4647a0e37ed680ade4c099e21a0c1ef038840392d5ff906e763bba584d5777b6e6571842f848e3eb3faa4f7f474d61744ba26b -EBUILD griffe-1.6.3.ebuild 1611 BLAKE2B bf144e59f05ea48ef819c3e125202397c32303869af653ec39ecc1e77b9dffe9369c996203a30f4366db1e33f6234b849bfca1bd7db4113a6109d53cf5ce2d3d SHA512 cdc7e8e33a2901c58d634987d8d296a5e062cc8c3d4c4171f049c382f646a7ee976a74d95ac34edf9eab580cd5b4a04ea4175dde51179f952368b2275c9f1c54 -EBUILD griffe-1.7.0.ebuild 1611 BLAKE2B bf144e59f05ea48ef819c3e125202397c32303869af653ec39ecc1e77b9dffe9369c996203a30f4366db1e33f6234b849bfca1bd7db4113a6109d53cf5ce2d3d SHA512 cdc7e8e33a2901c58d634987d8d296a5e062cc8c3d4c4171f049c382f646a7ee976a74d95ac34edf9eab580cd5b4a04ea4175dde51179f952368b2275c9f1c54 -EBUILD griffe-1.7.1.ebuild 1611 BLAKE2B bf144e59f05ea48ef819c3e125202397c32303869af653ec39ecc1e77b9dffe9369c996203a30f4366db1e33f6234b849bfca1bd7db4113a6109d53cf5ce2d3d SHA512 cdc7e8e33a2901c58d634987d8d296a5e062cc8c3d4c4171f049c382f646a7ee976a74d95ac34edf9eab580cd5b4a04ea4175dde51179f952368b2275c9f1c54 EBUILD griffe-1.7.2.ebuild 1611 BLAKE2B bf144e59f05ea48ef819c3e125202397c32303869af653ec39ecc1e77b9dffe9369c996203a30f4366db1e33f6234b849bfca1bd7db4113a6109d53cf5ce2d3d SHA512 cdc7e8e33a2901c58d634987d8d296a5e062cc8c3d4c4171f049c382f646a7ee976a74d95ac34edf9eab580cd5b4a04ea4175dde51179f952368b2275c9f1c54 MISC metadata.xml 393 BLAKE2B f207ed2887879f849db9133aac5b82d507a5c6fc3fed0b931dd0aec5ec8d48991731a15825c7b51d82f1f148c2f6818e3102e963d3342aa248bd475d4b29a692 SHA512 b541674c9f9bf9e356d46de91673e384f50ade9b6f19b0218f03b6e307dde88df2d0078f202bc0a77e18b0d91e89cb6d36ffdac23689ef35306167619404dc01 diff --git a/dev-python/griffe/griffe-1.6.3.ebuild b/dev-python/griffe/griffe-1.6.3.ebuild deleted file mode 100644 index 115d0beb002b..000000000000 --- a/dev-python/griffe/griffe-1.6.3.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/backports-strenum-1.3[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -python_test() { - local EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib - ) - - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - # https://github.com/pypy/pypy/issues/5226 - tests/test_inspector.py::test_inspecting_objects_from_private_builtin_stdlib_moduless - ) - ;& - pypy3*) - EPYTEST_DESELECT+=( - # tries importing CPython-specific modules - # https://github.com/mkdocstrings/griffe/issues/362 - tests/test_loader.py::test_load_builtin_modules - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/griffe/griffe-1.7.0.ebuild b/dev-python/griffe/griffe-1.7.0.ebuild deleted file mode 100644 index 115d0beb002b..000000000000 --- a/dev-python/griffe/griffe-1.7.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/backports-strenum-1.3[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -python_test() { - local EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib - ) - - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - # https://github.com/pypy/pypy/issues/5226 - tests/test_inspector.py::test_inspecting_objects_from_private_builtin_stdlib_moduless - ) - ;& - pypy3*) - EPYTEST_DESELECT+=( - # tries importing CPython-specific modules - # https://github.com/mkdocstrings/griffe/issues/362 - tests/test_loader.py::test_load_builtin_modules - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/griffe/griffe-1.7.1.ebuild b/dev-python/griffe/griffe-1.7.1.ebuild deleted file mode 100644 index 115d0beb002b..000000000000 --- a/dev-python/griffe/griffe-1.7.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/backports-strenum-1.3[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -python_test() { - local EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib - ) - - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - # https://github.com/pypy/pypy/issues/5226 - tests/test_inspector.py::test_inspecting_objects_from_private_builtin_stdlib_moduless - ) - ;& - pypy3*) - EPYTEST_DESELECT+=( - # tries importing CPython-specific modules - # https://github.com/mkdocstrings/griffe/issues/362 - tests/test_loader.py::test_load_builtin_modules - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 9e9a348067f4..8a5eba60f434 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,8 +2,10 @@ DIST hypothesis-6.128.2.gh.tar.gz 9522813 BLAKE2B cc466d24bf45b5a0916f47d6a7ed12 DIST hypothesis-6.129.4.gh.tar.gz 9528147 BLAKE2B c85806af24ddd934338f99c9d62a577fb35c8809d71ddf23aea0d613f33e690c70662279e88f4680d48c0c3b51fa10ff99c29fde7cf2d3c094cfaa0aa65b7612 SHA512 aec846f34e3a66da8a79929da681bd41ac7deb4a83934a51ee69bf989ddb8f3f7bd8f612571e625d3334cf786e3841b4e4d05fe4368e930e5975077e0f027a7d DIST hypothesis-6.130.5.gh.tar.gz 9529886 BLAKE2B 4c9bcb811892e5c1251887e0ebebefd57104c1317e38f0ae358312b2f072c2c4e914c619a8a5505bbde57ac81f8351bbc28a1e957b0942ea10f72541937c74b2 SHA512 603c4723574683410e3d660938326c2ddc1f517311613bcf47a029f62d39e7c5a7cd053041ac6837dd53b4ecc9b4ed19c2374c43a6978837c59bfd8f0c2f9862 DIST hypothesis-6.130.6.gh.tar.gz 9530097 BLAKE2B d3f6dd0f43a509cbeb250696029ab32130b180089c2b5b8af924da04b8c64238e7ff076719f145880e590e7996d8480195d2503d64e33fd7ebe0b40d8600de88 SHA512 41254e0756af3e8116818c88996e15c1582945a592e9d7ba9d2fd023a0de62a89b697460b12b99b8560c85988737597d74ae9dc4d8336d4c643ab51cfdcde0eb +DIST hypothesis-6.130.7.gh.tar.gz 9530483 BLAKE2B da79c2f77e55e2d920147bd1a067e52931ec49a6e85895ca781e2a846c0d7e782959a07f6caa4f0ffbc44da924d6b800f4b61cc63edff8ac31bcce64758a7181 SHA512 6a102ebc03dd155f499a6d839a55fa3379125604e6b859e4fb56d6e8ad3bc0612779edc74c1cc987147e4f495d0b28ffb06461de78f8119ea7c13c14767ad8d9 EBUILD hypothesis-6.128.2.ebuild 2772 BLAKE2B 326aa9f28f91cf8b3a89fedd7ef3d47138c25e09465e4ad9a448e5421e5de0b6c332c2a5afaa333c77aedd2caaca321d4ea46497c7bfa9dabfdb7c3ff202fc0d SHA512 a8508fc3b8f5751e186988d226908324947072e5723d05742fab0ecf218a82ce44c77c6e921f9fec79538741dda1da9b4abed24f1002b83b837d68438685a951 EBUILD hypothesis-6.129.4.ebuild 2780 BLAKE2B 8ba5773e6c37903b4a7190eada0c9cfc98bd65b319db9d474e495386fab3d40c8f2ca47435b5a51ab6a3da1a11f016c54696aa6ac7e42691d9c15070e1af8075 SHA512 d9e0347c5ae910007e0f0baa1926460d81b6bc301f98b9251b16cd26ec7533640416549c9f53c254c22c270f8f5bfa940c086169261c9dfec435a2c7ddc96afc EBUILD hypothesis-6.130.5.ebuild 2780 BLAKE2B 8ba5773e6c37903b4a7190eada0c9cfc98bd65b319db9d474e495386fab3d40c8f2ca47435b5a51ab6a3da1a11f016c54696aa6ac7e42691d9c15070e1af8075 SHA512 d9e0347c5ae910007e0f0baa1926460d81b6bc301f98b9251b16cd26ec7533640416549c9f53c254c22c270f8f5bfa940c086169261c9dfec435a2c7ddc96afc EBUILD hypothesis-6.130.6.ebuild 2780 BLAKE2B 8ba5773e6c37903b4a7190eada0c9cfc98bd65b319db9d474e495386fab3d40c8f2ca47435b5a51ab6a3da1a11f016c54696aa6ac7e42691d9c15070e1af8075 SHA512 d9e0347c5ae910007e0f0baa1926460d81b6bc301f98b9251b16cd26ec7533640416549c9f53c254c22c270f8f5bfa940c086169261c9dfec435a2c7ddc96afc +EBUILD hypothesis-6.130.7.ebuild 2780 BLAKE2B 8ba5773e6c37903b4a7190eada0c9cfc98bd65b319db9d474e495386fab3d40c8f2ca47435b5a51ab6a3da1a11f016c54696aa6ac7e42691d9c15070e1af8075 SHA512 d9e0347c5ae910007e0f0baa1926460d81b6bc301f98b9251b16cd26ec7533640416549c9f53c254c22c270f8f5bfa940c086169261c9dfec435a2c7ddc96afc MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.130.7.ebuild b/dev-python/hypothesis/hypothesis-6.130.7.ebuild new file mode 100644 index 000000000000..5e0df5815a5e --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.130.7.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3_11 ) +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}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + 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 + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # TODO + 'hypothesis-python/tests/cover/test_reflection.py::test_clean_source[case-5]' + ) + ;; + 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/json5/Manifest b/dev-python/json5/Manifest index 078f4bbf3c4b..2f93878452da 100644 --- a/dev-python/json5/Manifest +++ b/dev-python/json5/Manifest @@ -1,3 +1,5 @@ DIST json5-0.10.0.tar.gz 48202 BLAKE2B 78794c785c5e5636aede6db48e230a5480ac10b8bbab4041cb827deabb1f251b3f2eddc252d5d0f91f358c093feba422575fdd51448c0984195937094227e48b SHA512 1c56def363c268aa256066c8e98b3a9bfba66a3756071bf6ff41929cdd98ccf5435f08103fbbc3b505abe81f39a14fa1ec50d4a984eebc52410cbb31f999b1b9 +DIST json5-0.11.0.tar.gz 51014 BLAKE2B b285f33ad4afb4d40a9dfc598f63a2c4aa62b683648d8ba49c9a1962507db81b944cea71ef563594d3141b4b0f52348f0eb7b2aa3f0e77e525f22cd511197491 SHA512 5721720f514688c2f0c39b3610f001209fdb0f756ff35bca064aadfd0a9529157c88cb574c7f33ef3bed94ed65026f48383e6bafd65a22a27fce50ab140f447f EBUILD json5-0.10.0.ebuild 482 BLAKE2B 56ca96122a04279375c4c2790bdf2e8cc14188f217e87eb66bfaf57e5bdc3c3d55f2e55cba83977d70eeb6d6aefc64783db225a10b18b4a9465fd622cc7928a2 SHA512 4a6e3ecbd52012d1fad2dcaaec51f54274c42641d51cb47def1758668f6109b1e74cc955bcdb870ac4c9d6042f16cd4c62baa2d5e2e11b1ab48796ccfa1a2ed4 +EBUILD json5-0.11.0.ebuild 487 BLAKE2B a592d81d0369fe3782e9fad2112f6585987463956df4c1284a3aca1be6a2dc27b01119deab92ce35713158504cb0b3012c71fb9a81d913cf293333b554ebf29d SHA512 b06e9aa5ad8b847d46485a97a73d522e122464d7bcfb4e0a3f49a366d614e3fde81c0e6c59ff5004bbcca66de74e3a551584bf152b9514868c7a4c69fd799fb0 MISC metadata.xml 502 BLAKE2B 9dc70229a26364dfb51ae26cff9817bcf82c47391d9fe3b6a4b11b79848f786989c62d6c3cbbed9b476da82dcbbbe9e19bf738d860ed423c3c9731c646314cf8 SHA512 257bb6f3e18053e852d693bef7eaba9e40ef5fb25ef449a275a7fbedd9a4247217bcdd016f0b3a93658ada922882bacd723235b2ab46c81dfd8cb42fe933ac74 diff --git a/dev-python/json5/json5-0.11.0.ebuild b/dev-python/json5/json5-0.11.0.ebuild new file mode 100644 index 000000000000..f018cc63f564 --- /dev/null +++ b/dev-python/json5/json5-0.11.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python implementation of the JSON5 data format" +HOMEPAGE=" + https://github.com/dpranke/pyjson5/ + https://pypi.org/project/json5/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/lz4/Manifest b/dev-python/lz4/Manifest index b1f797fccf30..8317191aa6ca 100644 --- a/dev-python/lz4/Manifest +++ b/dev-python/lz4/Manifest @@ -1,3 +1,5 @@ DIST lz4-4.4.3.tar.gz 171848 BLAKE2B 54873ac48b5b43787dd45c92056af2d302e018c0b78acb56ccef50becb4073ded1dead6d02ef203b239a4699e0af4527da04a74d3550a5a36fcdc88dda98772c SHA512 b02899f3011453f77e99aa31c7dc717a7d0ca636475e9ead617196d906e3e2abcee511e84f68e9071b27227cad8ece7fb5f78c04bd8f44cc0959bb687b72e73f +DIST lz4-4.4.4.tar.gz 171884 BLAKE2B a5a1a183b831de32c6197007a278351ed2ff7003c77d686432887436ca8920345995f1a1c2f64144d71ad929fe0cea13939c568030b8622a6b55bc53f0cad41b SHA512 eb49fa28d8745c8d232e82565338e1021da8bc27b4f9c01277e51fbd01a30943f420ee7a983e4683ccb81e72039a12b05b56836fa06c10039ba7267df72d0fcb EBUILD lz4-4.4.3.ebuild 978 BLAKE2B e96776a3af3b851d4010fe5f0d26a59262fbd226512655d8605ac11ec5dba15f50549b23fd2a099dda07e09698e7c5abc0c6c30a2f9057384d98945cf72cec55 SHA512 6d6c0a7d6a911be2ffced070ba8dc82542cb60adf9f83b2747029958a5885660a41134e5126f5b9f2abf47474549ee1584ca888c36d645c407768b8a035db1a6 +EBUILD lz4-4.4.4.ebuild 982 BLAKE2B 93e5d5fd9597daf906285cfb88ee2a831dc8b9ec305b969d6ea9e7930945216c8ea866cfd0897357ba5d8882ce976a7cd916a74b394bd9c9b9cb7d3feb0926a0 SHA512 5a041490383fc693248894ec78f6e358b09be676d2daeaf03e62a80c5e5805e49cee0875a4fe73abfcec0d5f97e693c02274eca41ad58cc258cdc96261c0773c MISC metadata.xml 454 BLAKE2B b02d4acc9eb7d4fb35bf36371cb660d099c77f807fc08fc351b7e0e1d2e0199fdab82d83bb6bc31a56bfdb9a5b020b2f57aa9b89b59a7e5c22fcce554b6b0859 SHA512 a1b61eb4d3ce636b10abcff25ee3315bf5ecb3bdee58e1c45ff99f0b40717b13e3a8ec33c9abcb926bd716990a31749b1bf6729d8137b7859857318c386a8ec7 diff --git a/dev-python/lz4/lz4-4.4.4.ebuild b/dev-python/lz4/lz4-4.4.4.ebuild new file mode 100644 index 000000000000..13562005ac5c --- /dev/null +++ b/dev-python/lz4/lz4-4.4.4.ebuild @@ -0,0 +1,49 @@ +# 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_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="LZ4 Bindings for Python" +HOMEPAGE=" + https://github.com/python-lz4/python-lz4/ + https://pypi.org/project/lz4/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + app-arch/lz4:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +# note: test suite fails with xdist +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # lz4.stream is not officially supported and not installed by default + # (we do not support installing it at the moment) + tests/stream + ) + + rm -rf lz4 || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 4f6ab4b8f23b..9b76efe78d89 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,9 +1,11 @@ AUX mkdocs-material-8.5.7-simplify-build.patch 529 BLAKE2B 60a246940983ca713b370b454fff74a36dedf1aec175e72455255b35164f75f7eb79144cff67df4b1ec143a4e19b043042c9bce562456133c917c27018c4862a SHA512 51b18f3faa4a3adfc9cf8ad1fa5fd63f787a3b2b9c9769b5889a2abab621ff6e14e034487f5573418405b26bc11155e44f7c6d50acea8baf9f45164fb3ec7984 AUX mkdocs-material-9.6.7-backrefs.patch 1584 BLAKE2B 1704eb4db6533e2e48e2f78593d15b2104dc56dc3a711ed786e49169bf429529d42885e7dcaaa34f80736c9864d826665e426d32f2874148be9e3ac9d4b70d1e SHA512 8269d62d29b123281fd11bb42bd9edf20853e59edfccad1b3da82bf7e78c291cda2e8449cc0cb6b84f631414dedc725a7e43f1691a07e8e234d06ce7a28740f9 DIST mkdocs-material-9.6.10.gh.tar.gz 14812031 BLAKE2B 505d6585d99aabd1b97f3853173aaf83085c58064c0f76d91517e92de311d52e7ae3c6c2ed71c66bbf013e88d6b38ae5eab64799076238bd46e2e36b745541b7 SHA512 c2589ccc0ffe21217d57fb91a5e247c026f2c32496767a72d604152c80913e03d015291fe3a31891618e53c167348c2cd08db5b986ac0c8c820e091f381d596d +DIST mkdocs-material-9.6.11.gh.tar.gz 14819417 BLAKE2B f38539b2e62d3a44cf3296410817b086d84bfeda8f8d66ff6adc135bb9f31a26ec73bbb0bfc32d9b9d050698bbeb7d8871a92d9382e28b8c78c3cc6b26d13278 SHA512 478a719d4bd46002cd9708a3c71e68c0843703ea8465631fcb5c188f45816673966be7a6c20a9b8886b195d09f153cb7881af3e1471fe11c41a1df2a58aee390 DIST mkdocs-material-9.6.8.gh.tar.gz 14926223 BLAKE2B ce5f0ccc1f19787bbf631f0e71f1b252920e32b6e99616066c18d417e5086f8f612411fb8ba41909df8ee1fc24907879ec87234c42cd8fd6088555b46b7c7d67 SHA512 26d9677d95903c4c3a7890decb11557168dbf26c1fbd7ba1406bebf29a813283ccf43c7173a69136508ff753d61fad2ee3f49a897514fb7f6fa914070d2570b6 DIST mkdocs-material-9.6.9.gh.tar.gz 14809122 BLAKE2B 14c07f44c93de9c74ca6ee64b9be0ef2b7c06f40fa3bca95fbd935cec783ee16d02c50c77ed6b0b62fddaa9f0dcba769db1d86ca4da4363aa48c4940d5eb83f9 SHA512 166c7a5fe445e07286ccc36040a3caf4e070ad86fbcb556fa380ed91b6adfd96c881762f0cb7b96ee1f5d04ff4d65018ad119973e07920c8dd037f32c1322c46 EBUILD mkdocs-material-9.6.10.ebuild 1942 BLAKE2B bdfaac9173e1987a8f60f23008901a3f30d9f0489bee35a979d8d22e3666bfad86a7fb7cf476d6be73ddec71ade69a4bd6b8aa32287aa1b73aa6294eebdc5ef9 SHA512 87ad2205e2b3c9f369f7cac7049f278737e42e268523a12570bf365ab4823ab354644ac9871882b70a91adcfcddc4dc7fe408c25767fe72a17287eeaafc9b439 +EBUILD mkdocs-material-9.6.11.ebuild 1942 BLAKE2B bdfaac9173e1987a8f60f23008901a3f30d9f0489bee35a979d8d22e3666bfad86a7fb7cf476d6be73ddec71ade69a4bd6b8aa32287aa1b73aa6294eebdc5ef9 SHA512 87ad2205e2b3c9f369f7cac7049f278737e42e268523a12570bf365ab4823ab354644ac9871882b70a91adcfcddc4dc7fe408c25767fe72a17287eeaafc9b439 EBUILD mkdocs-material-9.6.8.ebuild 1939 BLAKE2B 9f9a98d8d1c9af89cfbb2ebc72c165c42fc482b9579e24e6585c64ee7d87a8c8369f6708e54f1dd4db05a4ee7ec0df301da63c40cf0cbd5083a4df55a5b679e5 SHA512 cb0a083726685604bd1d3abcba4f047c5b2d3bcf325d9d56e113b0f7e3efa43d92e44eec2b17371ed8a740a00ff171c00ec8fbb8eada8a9e177a37fd83d18dbb EBUILD mkdocs-material-9.6.9.ebuild 1942 BLAKE2B bdfaac9173e1987a8f60f23008901a3f30d9f0489bee35a979d8d22e3666bfad86a7fb7cf476d6be73ddec71ade69a4bd6b8aa32287aa1b73aa6294eebdc5ef9 SHA512 87ad2205e2b3c9f369f7cac7049f278737e42e268523a12570bf365ab4823ab354644ac9871882b70a91adcfcddc4dc7fe408c25767fe72a17287eeaafc9b439 MISC metadata.xml 1133 BLAKE2B 539649e3b6efda18535738e45078b7b35f8226034b18c40ff5feae249a4dc5aa6b4a1247a712564ab5b7cee1f62eda4e3bbb709ea7970d2fc279bc48ab1ee934 SHA512 72a58ba3f100cea6653406c3a314b1b67225d118fdb8323e54b6ae9bcd2224a00d01cee96b6564fbbf19de6e5fe5db54143aaa56ca2b7cf8c56fcd8c8c5cf6ef diff --git a/dev-python/mkdocs-material/mkdocs-material-9.6.11.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.6.11.ebuild new file mode 100644 index 000000000000..60f0fcd96617 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.6.11.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-10.2[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] +" +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" + # import backrefs only when used (i.e. never) + "${FILESDIR}/${PN}-9.6.7-backrefs.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/pytest-django/Manifest b/dev-python/pytest-django/Manifest index 35c39c5772e7..cdf7d22e5abc 100644 --- a/dev-python/pytest-django/Manifest +++ b/dev-python/pytest-django/Manifest @@ -1,3 +1,5 @@ DIST pytest-django-4.10.0.gh.tar.gz 78992 BLAKE2B 0d42b7bf11fd06ea58b38d9fedf48b12a1577b7b732a61449b787217a729e95ad7c754530bc31c3a6ce7d4c8417fce5b47bdd554b91b71ed148cdff5efb2696c SHA512 887e02a6122631adf0bb34e7b8354378d628564f736c3754a475473b9dc3ff80599bed9b7ccc12b145d0963c3cb56e7110d49c70bfd0b37e15f8a95f3f787ecf +DIST pytest-django-4.11.0.gh.tar.gz 80121 BLAKE2B d8450f007b7a4c5235b03d854a540780c10c993daf9ede82c4927ff69a4b469228a8f42628c1612006ed6312be5767b2c7a3d49e965e9b15bcb89e07ff622419 SHA512 7332c04589ae5539bb03bbdfeebd8e7435073370fcf5b20371ecc570d94ac3460661a192089d5ec7860f77aebbf91399ec78d786d89471a550b1ad9367189128 EBUILD pytest-django-4.10.0.ebuild 1268 BLAKE2B f35abb6da07903e025fdcc1eca2f3250e949f3b3a5960bdab0908650011a0653eedf1bc723287c267b49a2f9f3ea0c5285a61da4489277a9b4b53820b945a9b1 SHA512 d0e7c9a4c72ad147981c8bee7abd8090679c5a7491a7b724039f676d42472c6e32f081d8c677344c9cc71c6088005f294b9af823116fe6c8047cbe2a6849911e +EBUILD pytest-django-4.11.0.ebuild 1275 BLAKE2B df2bafb15ae792bde7622482f46c55019df6ecc27f339a3085ae16580df48cc8e22a7e5716884124b58f5f79eaadc3dd57468feacd7803adf5fb522287787964 SHA512 ac8c9ec9fd05dda398bf55435ce04fd4a653f3913cb360772cbfa46e65e3bf5129d5901627025938cb69f6c2050048784542f6d10a8f432ce0faa5bce2ed1208 MISC metadata.xml 405 BLAKE2B 973e3124eed7a497154d1160e5e1350503b2599a3111968329f0b01496ce1eb6b84b76aeddb427478ffd470aa8aee4102e5598b3406b8d2dbd01703cd9adbef8 SHA512 6d7a6a7e084283cd6564be193a43c80f0599c4aa98ad68a98e656f9f1aa7103cd6164acf040c1e71415e28ebe707b013f92bcf4f2f5139ee873ee20408aed150 diff --git a/dev-python/pytest-django/pytest-django-4.11.0.ebuild b/dev-python/pytest-django/pytest-django-4.11.0.ebuild new file mode 100644 index 000000000000..f889911117cc --- /dev/null +++ b/dev-python/pytest-django/pytest-django-4.11.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="A Django plugin for pytest" +HOMEPAGE=" + https://pypi.org/project/pytest-django/ + https://pytest-django.readthedocs.io/ + https://github.com/pytest-dev/pytest-django/ +" +SRC_URI=" + https://github.com/pytest-dev/pytest-django/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-1.11.1[${PYTHON_USEDEP}] + test? ( + dev-python/django[${PYTHON_USEDEP}] + >=dev-python/django-configurations-2.0[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +distutils_enable_tests pytest + +python_test() { + local -x DJANGO_SETTINGS_MODULE + local -x PYTHONPATH=${PWD} + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_django.plugin,xdist.plugin + for DJANGO_SETTINGS_MODULE in pytest_django_test.settings_sqlite{,_file}; do + einfo "Testing ${DJANGO_SETTINGS_MODULE}" + epytest tests + done +} diff --git a/dev-python/sphinx-copybutton/Manifest b/dev-python/sphinx-copybutton/Manifest index 5533095701cf..2ad0d3b94261 100644 --- a/dev-python/sphinx-copybutton/Manifest +++ b/dev-python/sphinx-copybutton/Manifest @@ -1,3 +1,3 @@ DIST sphinx-copybutton-0.5.2.tar.gz 23039 BLAKE2B 5a440865610dbcfc8abc8a10c38832439d5f588a26a8641374cada3cc181a0ba2a19e62b287a296c1879f25342ce8aae1ade080126f837e5ad9291c152a30c6e SHA512 83f61526d8a20f70b0de63a5bad89ed4ae4f3cf5cd589f1a1e2e91f08f4d45a05acf780a4cf3703d4490ab93c9c9bb18c11d3170b8011c2254aab0334940ab2d -EBUILD sphinx-copybutton-0.5.2.ebuild 480 BLAKE2B 991e41b5f8d25eaf5f1c035dd4c693e8025e372e149ae98d2457073296c20c67c9d6bacefef8f3a682c3f0c8910c57235dc6b843c66e16f428e003ba5f04b6a7 SHA512 67be5a63d9a1ef1119c35395b95a29a5ccae8dd56c1a3c1a3e323a09c6cfe5c5cd683de9e286b33ecbcc3676ce23b8a601ddf58d962dc5b8af1ed4109c4920ca +EBUILD sphinx-copybutton-0.5.2.ebuild 480 BLAKE2B e49cc08b11f1e36a51276622301b985af36912abcd9e05faefd41bcf7be4b4989f23d2065719dacc6b87f51898127f88046e0606bde17da33516f6a7d68ae0a8 SHA512 3a944d85b120a0952fb4862effc679bde96ac83385c9ba100effb0f2209594312894dd375db896533dd46cd1163a3c1ee840e5a9e08eda9dae6f308dd2d8316f MISC metadata.xml 561 BLAKE2B 9b79bc70ff34e5be3453d71f1d9547f2c83096e9d7a32eb2dcf38d9868d766a7f7bceb6df1f28a6ac375a47ec2c7ff98008a99ef5233e85bcc3199f48f607e9a SHA512 3b1d64928d68a420b99470ecddcaaf3b36d8ddf3009d44e0580a15937c126e275938a5835d2900e2d30101034a2b2ba0fb1bb58cbda68fcf3cb84aaf36d50b25 diff --git a/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild b/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild index 0ae20d2347e8..e2c149ad2b1a 100644 --- a/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild +++ b/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYPI_NO_NORMALIZE=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit distutils-r1 pypi diff --git a/dev-python/sphinx-inline-tabs/Manifest b/dev-python/sphinx-inline-tabs/Manifest index 2ca3352715ec..5a3de179726a 100644 --- a/dev-python/sphinx-inline-tabs/Manifest +++ b/dev-python/sphinx-inline-tabs/Manifest @@ -1,3 +1,3 @@ DIST sphinx_inline_tabs-2023.4.21.tar.gz 42664 BLAKE2B e7f00bb220a194d6aad2285af793b540233d3a4122c82c34c28d03e62fa463252dff7624470f3abf4e5cd9028c9abfabc0b663fc56acee809bcd10d1bc886038 SHA512 d5c856821ca3d2b251733fe200465679dc875d66719851f89b6e38fd1898e40a2bbc97975b6bbdb7bf769fb67038bbb8dd94282504adb0977c57e8d1cf3fde5c -EBUILD sphinx-inline-tabs-2023.4.21.ebuild 421 BLAKE2B 96e2be7ce2cc67dcf1b21affd60cec1d084b78a0861998a05ae2b05fbbe67d4f912cbfbb15da780cf59b53b807c211cb3df2cb7aa0cfab65bfb61710804ce0e0 SHA512 a798df8580d2ea797fcedc7618a7a8e6b7067ca55fa30caf069214d0cfcb8250ca7074221fd33b516168a1c93685070195247299eec331053b865cc6da30b466 +EBUILD sphinx-inline-tabs-2023.4.21.ebuild 421 BLAKE2B e19a88e4f50303618fe9f71279f95f536ec74ee076942228c04e475d1d2423897da3da27ffd69dcd29d5e5c60d7eaa4a2670f30786ea5c62279bff9bdee38d40 SHA512 05d13c4664102a42a15778772126b8e945e89f54ea246c49548efd92c8e5e8bc86b7374df855588b16d52d499b21aec5d96c20ad9124e948b627bba0abeee191 MISC metadata.xml 553 BLAKE2B 3ce0da208e9abb45c8ef8be913c3f9253de38a71accacfc0edf9e01b94b2d2bf4a8979ce2613b4f756f749d5b28cc0c3de6fafe7fc42d778a4d617c23cb39192 SHA512 2b0fa9391c56137c743d5fe4cf4bffb98ea7a6ae526f4afecda82180aeafc49c21e6edbd3630bb1c4094e115720e54c79059945b525633cbde34fddc268b42f0 diff --git a/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild b/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild index dce5d786b7ce..9940ca77aed9 100644 --- a/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild +++ b/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit distutils-r1 pypi diff --git a/dev-python/sphinxcontrib-plantuml/Manifest b/dev-python/sphinxcontrib-plantuml/Manifest index 5c0a7de15ad7..cd118f54b351 100644 --- a/dev-python/sphinxcontrib-plantuml/Manifest +++ b/dev-python/sphinxcontrib-plantuml/Manifest @@ -1,3 +1,4 @@ +DIST sphinxcontrib-plantuml-0.30-fix-tests-python-3.13.patch 1033 BLAKE2B d1dc69918c4b0171d060e43863993fc23dea995f102fdd889b0face66587558b4fa4a02662026d8ce166be0f92cc63b8419ae0bb2d5586b98d840fe3fe2776cf SHA512 ca134e5d2e73b28e3f6e77ac46b12d869312601af4ef7e0f9e0ada30c9d26fa1e976693f286bd3613c8b07fee152abccf889066139c35df25892addf8bc3b759 DIST sphinxcontrib-plantuml-0.30.gh.tar.gz 19378 BLAKE2B 1f146b59184acec99ff4320199943b2193c3e4c5f5d1f62c6741fb9bbd9802d7c3955bfad786bf7dd4b937b99b974f94d753212c95e7940ab066a9d6ee02af9a SHA512 e85c6332d26d09531c961f8026c72cd82ff4a31700a38cb8285f24d942340700012c08cc1f87a86389b71bfc5d32164586407b5c6777cc94d4d0022c9872ee3a -EBUILD sphinxcontrib-plantuml-0.30.ebuild 1060 BLAKE2B 487e0708fc2ceac33049334349049fd8720a49d31beb8eb707f58e526c092ef3e7dc8f94294a27c407065fe65586ae60ac56db606e4f13a267e7a3f3b9991403 SHA512 59d91a68d869e1cbe9d5f1f96b9485c59dbb1add745070c6d8b819b4f361445ba87517c0234b2fad0af124fbd42f7de432f91f475973614dab5f11762ec73efd +EBUILD sphinxcontrib-plantuml-0.30.ebuild 1268 BLAKE2B 1a6a5c28d4456511ce452eb93f89f1d3bbf35a4713efead281f2491f01af5e3a28cacfa306b635cfe1f8d8a4d29cb43bd2d89a1032fdd4f5da8bcf9c22c5f9f7 SHA512 9d7b50673c8a47f07c0447c9c9ebc3dcfa05ded5dd1173534bf304ac7ef9e6ae98fcc6be0a11553752aa9c4b098d66394822fa7efde3e5c572ebc2115896b933 MISC metadata.xml 419 BLAKE2B 05ba888453b1a19e83a8d21a5b0cc2a5a24482434b44c0f3bd4c75c99004523f6397a7a32811a336c15449ea86f1736e5a940d240d19f3956a176fce3881378d SHA512 6d8c4c646e7d84771a7ac7889650c06a0efcaa708d5e009df323f4d8ee591c75d864811ba10dde72b84f40359092302225a93d8de374da8d52033163356d6f46 diff --git a/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.30.ebuild b/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.30.ebuild index 9e5036baf13e..56cc4ddccf0d 100644 --- a/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.30.ebuild +++ b/dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.30.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# 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..12} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit distutils-r1 @@ -16,6 +16,8 @@ HOMEPAGE=" SRC_URI=" https://github.com/sphinx-contrib/plantuml/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz + https://github.com/sphinx-contrib/plantuml/commit/27ece3637c0ec5fa91cacf511349e290a1440ba9.patch + -> ${PN}-0.30-fix-tests-python-3.13.patch " S="${WORKDIR}/${P#sphinxcontrib-}" @@ -33,6 +35,10 @@ BDEPEND=" ) " +PATCHES=( + "${DISTDIR}"/${PN}-0.30-fix-tests-python-3.13.patch +) + distutils_enable_tests pytest python_test() { diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 180f98734e3d..00c4029f570f 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,3 +1,5 @@ DIST stripe-11.6.0.tar.gz 1390405 BLAKE2B 0a630201e0c85d1c456a02f18c1383d8367e8980485cf20ab62fbad2a6a6f0612b2199626de1e7f5cefb477e7dcc07777d2af095994de04805fcba206469f6cd SHA512 f92978feef4083cb1a662da44101b9b670d442c141921f29b93a551a36d641faccdff60499115a4b8a0c62b74498403ad3ac7f04c4b16992f3cab5ee498cb25d +DIST stripe-12.0.0.tar.gz 1369861 BLAKE2B abd767466760e8e43d313e7072dcab5d74b09cd395eafb894ef0ee7d21db5503e3f36493e194ab02100f3b9d648342a91efd5c46574af290481c2a260680a974 SHA512 ab9cac4712989227562ade7a7058c2c3342c04f98f02496597047755d9f790f720c29b5f8c26da1a2f4d795793931a8a073789708f395cdfa0057a8e71724a49 EBUILD stripe-11.6.0.ebuild 2642 BLAKE2B 24462e202fb244674b68cb9d33a0954cf66a743052302c787ce261c44bbad6861cc406e5d629621c0532808dff067491d40ecb88618a4e0c8ffa17b88c51d7e5 SHA512 35fca491f1733abe9b82196b556cf288b8f39c6467fbedc431463450a5ecc7ddcf10909cfb35125eb47fa92a4c9d79d4fdc09975db74bb3b9b978aa6a82078f8 +EBUILD stripe-12.0.0.ebuild 2645 BLAKE2B 3e840c2439630adc0b46cecf2397472c2b6098e78ce647c27816ef097ff12b2863cde8233cfd8666d7a522509b2818cd08f3f28dd7de8fcba59cca113cb088f5 SHA512 9faa0939984bc8166d0be49986d0c24dcea13fde87ee487b873b00588b8a96758fd376880aeb584b38eb21d57f5b44a9aff716ef8bc5ec3c32b7cee451496fa1 MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-12.0.0.ebuild b/dev-python/stripe/stripe-12.0.0.ebuild new file mode 100644 index 000000000000..98d38193cade --- /dev/null +++ b/dev-python/stripe/stripe-12.0.0.ebuild @@ -0,0 +1,95 @@ +# 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_{10..13} pypy3 pypy3_11 ) + +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/uv-build/Manifest b/dev-python/uv-build/Manifest new file mode 100644 index 000000000000..c9ac3fe05e3d --- /dev/null +++ b/dev-python/uv-build/Manifest @@ -0,0 +1,4 @@ +AUX uv-build-0.6.9-use-uv.patch 837 BLAKE2B 632fbd620e1e69f15bc6951c99ec0b94abd9a5f0cd9f08fdd2063a214fc3fc7ef4478d5a828907c50758939f4efc68983c2f9b349eb48fc45ed5f3438e993d9a SHA512 d0467305d9d34b4dd80ee9d4e0116be37b06bf639b77ed61aa557b6dd378fe7f369e9efb5035c58d0201b9b25065910e445ae702c083357148cc2643eead40bd +DIST uv_build-0.6.11.tar.gz 292635 BLAKE2B 906d310f6884def53d4b739d0b2d246be4a2651b8add2ec94665128d9cd815830de9246ce5e7c1850842673d56c829547ebd1d707ca69984bbc15183f3ade0d8 SHA512 b68ff4c87b21bae1095ac622fdb4ed60610e44db9c73c0ae29c5566ee30ecdfee39a0c8a0659a70101c72dd04317de80f2ac7a377d2ad5a2c59fa4adabeb7c5b +EBUILD uv-build-0.6.11.ebuild 941 BLAKE2B e8aa52d8f10e6dfa53ec1ec79c214e255d3ed07785092147ab46c7c87819c9435ee4eb07325af928411551c8e0789f686d5892662a701697c86b663d914addf1 SHA512 c5ef561e04a4929c3899dee733f7a9e6b10c5e9b8c9fd98dd526e891792ec6ed4fa69e5c8c03cf8c5fdd9bbfbfd1acb57b18cdba875b5d56949cffe4020e0b7f +MISC metadata.xml 342 BLAKE2B f7d9b54fd8fe7a60ef7984fcc096287080a5aaf6783be1ff702792dc4a717838ef581f59ae0024c572f585505d9ecc80d2a551fe2ff01f8fe9b8b6c5130677e3 SHA512 d8147f82d980a004aba4036c64ac4fa74856680502b3d7d96f73a0e66df10f6867d8cb7989f0287f4e6ddd2e30c93c7c1e8b8bc38b89616a0ef3c1992fdcae1e diff --git a/dev-python/uv-build/files/uv-build-0.6.9-use-uv.patch b/dev-python/uv-build/files/uv-build-0.6.9-use-uv.patch new file mode 100644 index 000000000000..6e0f96d46ec3 --- /dev/null +++ b/dev-python/uv-build/files/uv-build-0.6.9-use-uv.patch @@ -0,0 +1,18 @@ +diff --git a/python/uv_build/__init__.py b/python/uv_build/__init__.py +index c8ce9c5..835ba0f 100644 +--- a/python/uv_build/__init__.py ++++ b/python/uv_build/__init__.py +@@ -39,11 +39,11 @@ def call( + + warn_config_settings(config_settings) + # Unlike `find_uv_bin`, this mechanism must work according to PEP 517 +- uv_bin = shutil.which("uv-build") ++ uv_bin = shutil.which("uv") + if uv_bin is None: + raise RuntimeError("uv was not properly installed") + # Forward stderr, capture stdout for the filename +- result = subprocess.run([uv_bin, *args], stdout=subprocess.PIPE) ++ result = subprocess.run([uv_bin, "build-backend", *args], stdout=subprocess.PIPE) + if result.returncode != 0: + sys.exit(result.returncode) + # If there was extra stdout, forward it (there should not be extra stdout) diff --git a/dev-python/uv-build/metadata.xml b/dev-python/uv-build/metadata.xml new file mode 100644 index 000000000000..936a4b3a6282 --- /dev/null +++ b/dev-python/uv-build/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">astral-sh/uv</remote-id> + <remote-id type="pypi">uv-build</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/uv-build/uv-build-0.6.11.ebuild b/dev-python/uv-build/uv-build-0.6.11.ebuild new file mode 100644 index 000000000000..39fada98c1d0 --- /dev/null +++ b/dev-python/uv-build/uv-build-0.6.11.ebuild @@ -0,0 +1,41 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +# maturin compiles uv-build executable for every impl, we do not want +# that, so we hack hatchling into installing the Python module instead. +DISTUTILS_UPSTREAM_PEP517=maturin +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/uv-${PV} +" + +src_prepare() { + local PATCHES=( + # use 'uv build-backend' instead of compiling uv-build executable + # that largely overlaps with dev-python/uv + "${FILESDIR}/${PN}-0.6.9-use-uv.patch" + ) + + distutils-r1_src_prepare + + cat >> pyproject.toml <<-EOF || die + [tool.hatch.build.targets.wheel] + packages = ["python/uv_build"] + EOF +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index f1716d7269c1..7816be3abff8 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,3 +1,5 @@ DIST zeroconf-0.146.1.tar.gz 161874 BLAKE2B 042bc3747dac7a63e05b454a12b5884d293490909e662cf8c7ab7bf871bd4983bbf04cb2eb2ae6e075a82ab586f95ef13c201875d42250898f234f69a288b21e SHA512 a0834e37f07e465e2bf4b99ac7630f98b7c09d9608ecd86d3b8e2a3cd9c3978c400f342b97c7299f10fe07de669356c088f74e4bb26d9316c98219844dee6392 +DIST zeroconf-0.146.2.tar.gz 162157 BLAKE2B 8b35e4309759a4668db5014bf747c30d87a399467e28078501d72bbe34cd39d9a4a6045b80ea51810a4f702130200c5c7db114253ae5512db98a78d80e791c31 SHA512 eacc2b94a7a3b0eeeb941aeb0dbf1bd26c78464daadd6e2a5ad91b2b21e76041e85cffa27ff8e4ccf8c78a22771d53ecc412099699f4e643895be1a784a0540a EBUILD zeroconf-0.146.1.ebuild 1521 BLAKE2B a183044d8ae0e65238d20692fb38be1389d0607917f529317263d183873932c063e9e46e72950101883389b38d383e8a2cbd96da9f0f41ac1bbc1a562943f670 SHA512 82c746bae63e3fa2dc3b5eba9587182e2942495bbfa9580959924d8267d81de4655fabd1693a28a8f416778f100f90432d67ac07dcd19d09f310732c815d3f8b +EBUILD zeroconf-0.146.2.ebuild 1524 BLAKE2B 11feb0eaec1c4f7e8cd91b1253585a4c741f5fc880618cde9fe8b28d7b292a797c884a8e38c93659c24fd2919ccf8f5640d8fda7306bb30c5b0cb3b92384af05 SHA512 9f90c7b05212c39af8300e680a26adfcff77d1f3b060ee9f60794f5f0a9bea5e56114f90f661c4416a078ab1acb145f57a2f5fd53ab168adfabc6ee625ba8b3b MISC metadata.xml 395 BLAKE2B e1ce7a8fbd6d50fd59fbce671a535a3af2fde79dcc98f146c4e361759e61ce6d7e4e241866262fcd78744c673212d1946830c3d7628956b498a98d0af36d4c3d SHA512 544cb62da7212926b63c4e19467fc3e3f7c8210320a8096dc913a846d392e9a09c2b9860312f88effc8ad7a54e0329149a68012b08c674663af5779957e037f9 diff --git a/dev-python/zeroconf/zeroconf-0.146.2.ebuild b/dev-python/zeroconf/zeroconf-0.146.2.ebuild new file mode 100644 index 000000000000..8ab627f86158 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.146.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + + # randomly broken by a leftover thread? + tests/test_circular_imports.py::test_circular_imports + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} |