diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-03 02:07:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-03 02:07:18 +0000 |
commit | 7f4b508a2da3c371c7e770aa6ab83b0c4237cd1c (patch) | |
tree | 81d78cbf05f5daa7d57418d32f44b0149a56a765 /dev-python | |
parent | d4f65848c7ecabb56e2f93889cbd20078cd347f7 (diff) |
gentoo auto-resync : 03:12:2024 - 02:07:18
Diffstat (limited to 'dev-python')
27 files changed, 802 insertions, 135 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 93eda8525030..065b19825080 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index c05b4ef0a469..839d6266412e 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -3,9 +3,11 @@ DIST aiohttp-3.11.3.tar.gz 7665862 BLAKE2B a81b0b6fbc819e51d0a3bd0c7c96c403af8fe DIST aiohttp-3.11.6.tar.gz 7666498 BLAKE2B 9dd46776a8af8c00e38524cdf1879f6c5fb8678cd83f0f263e56333f087666d649f0bae9f9aa8869abec0b8e787e42e87ebec2ec9ad9b88baa450344caaf04e3 SHA512 0216a7335ecfe335d26d9fe1aa9021f3baf4ac1dbaab69a924524c0daa2f67b1eb1f4021cc3bdfde063a64b0e8221f0c2e7a90888f4b88f72d805bb0abc7d2df DIST aiohttp-3.11.7.tar.gz 7666482 BLAKE2B 4cf32057fdf7da1cb77be0329dccb5060e2841021943ea6a30948a54b9e02ac578b236ab390bdee1723256505e4bc7dccddad192c3f83e4e88ab9d03cab4c6b1 SHA512 886149feca3de14e9433b5f877c0a7a6628d4333383ca762900209949bdf8c354460d21a673b7e195a1998eb4f8459972f5d85fed4cbeea5c52d6f449daba040 DIST aiohttp-3.11.8.tar.gz 7667904 BLAKE2B 19fa318aacd3d09c9d0a8c2fb48f796acba690f469e48f8b0e7b2bee47481f5df8ac8a5cc3b26e38969db771331bdb6c8006869c0638bc9c4965c57af47ded35 SHA512 71c07ec6d0e7aabcbe54fdfb827c3bcac96a8d569a9d14da46d6df30220b17249eb18008119784ec98d79d93bb16cdea79fc080e1683a74d370575faba99410b +DIST aiohttp-3.11.9.tar.gz 7668012 BLAKE2B 5845d14392429f3aa83ce1469679a89badf5e50a6142e98a58704643fa93e290d5d9e4bc27720e8d9f5c62eafdfb0b43f7381a747fae867960e7b5c13a558fee SHA512 b6be296f08fb4421d3e8f206ca1abcd781a275d24da3434ccf049c95ac332a0fe7334f0450d35e57caa505f348485257ffd627924fbfd1795eb579a5475c7187 EBUILD aiohttp-3.10.10.ebuild 3228 BLAKE2B 9460d28a9b9d85addbb378a77575cbeadec2c40f4a172aa16955fe2676bc2cea291e7019dd9480a30afc3c8957f69d05a83f6d6151a187ea8f6e9a59e9de6acc SHA512 0fdc8696e8aae4f3e3a0d7636f135bc6268b18299886df364c7dcff536b6817cd82ed93898065770c7791428e984a657f1ab87472eeac10f639350eea34ee0ab EBUILD aiohttp-3.11.3.ebuild 3676 BLAKE2B e85d83ca4ed77c217e41ae2270a4098a620a2f3b229fcfdd541ae4900110e77ae830c1a47c1f1cf347acce0ed0f835909b4a4c4e502baf3c2bcf95b2777d42d6 SHA512 0915a55c6eddcb93ae4b8c4ec56f9c1fb8acdac87872f550776e30251325cf06670bec608f0c007a97ac98dd631d5cebc68d945e7cc04bff6d9500f9ee617d9a EBUILD aiohttp-3.11.6.ebuild 3676 BLAKE2B e85d83ca4ed77c217e41ae2270a4098a620a2f3b229fcfdd541ae4900110e77ae830c1a47c1f1cf347acce0ed0f835909b4a4c4e502baf3c2bcf95b2777d42d6 SHA512 0915a55c6eddcb93ae4b8c4ec56f9c1fb8acdac87872f550776e30251325cf06670bec608f0c007a97ac98dd631d5cebc68d945e7cc04bff6d9500f9ee617d9a EBUILD aiohttp-3.11.7.ebuild 3676 BLAKE2B e85d83ca4ed77c217e41ae2270a4098a620a2f3b229fcfdd541ae4900110e77ae830c1a47c1f1cf347acce0ed0f835909b4a4c4e502baf3c2bcf95b2777d42d6 SHA512 0915a55c6eddcb93ae4b8c4ec56f9c1fb8acdac87872f550776e30251325cf06670bec608f0c007a97ac98dd631d5cebc68d945e7cc04bff6d9500f9ee617d9a EBUILD aiohttp-3.11.8.ebuild 3676 BLAKE2B e85d83ca4ed77c217e41ae2270a4098a620a2f3b229fcfdd541ae4900110e77ae830c1a47c1f1cf347acce0ed0f835909b4a4c4e502baf3c2bcf95b2777d42d6 SHA512 0915a55c6eddcb93ae4b8c4ec56f9c1fb8acdac87872f550776e30251325cf06670bec608f0c007a97ac98dd631d5cebc68d945e7cc04bff6d9500f9ee617d9a +EBUILD aiohttp-3.11.9.ebuild 3676 BLAKE2B e85d83ca4ed77c217e41ae2270a4098a620a2f3b229fcfdd541ae4900110e77ae830c1a47c1f1cf347acce0ed0f835909b4a4c4e502baf3c2bcf95b2777d42d6 SHA512 0915a55c6eddcb93ae4b8c4ec56f9c1fb8acdac87872f550776e30251325cf06670bec608f0c007a97ac98dd631d5cebc68d945e7cc04bff6d9500f9ee617d9a MISC metadata.xml 490 BLAKE2B 5233af0b5e2668b1eb62278b05b62f24f1ab90f6d05b20dd9f1c5b54b846919c3fa28b843df28f5bfa320996d46de0e74c7a28bd0bef02aaaca14b1cec52baba SHA512 9b701c5c5a22b6aa94977a67bc40f3dc9df8337556952658a2a17ecaaa471cd7f7b5b8bf3a0088208087677555f0cbb8760c091b03b96ee70affe3e2b84cf6d5 diff --git a/dev-python/aiohttp/aiohttp-3.11.9.ebuild b/dev-python/aiohttp/aiohttp-3.11.9.ebuild new file mode 100644 index 000000000000..aab347bd3181 --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.11.9.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2024 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 ) + +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_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 9e5353e07200..b1a4cebcbb06 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,9 @@ DIST boto3-1.35.63.gh.tar.gz 891481 BLAKE2B 092f4380aa31e57b3c8f6ef41ea8f0a4272e55f7a71762a532f338482f08782a11d57bdbc9af3630348706c4009bd0d3cd56ef4b2f1394d2d003638717cef860 SHA512 4deab7682b0f4d80a4aa12a8660b7263908411bd8f38692f9fa8820c6a18a4ecc3443e7524794282a0c0f38a4b94a1d09b6737e84ff3e01b9c8ac93abca2a9ce DIST boto3-1.35.68.gh.tar.gz 901189 BLAKE2B f7449998af169c873319d7b8748035db72c3af7be6499453c9fe61f40cbfd724dce7cf003fe700f6046f43c887768f4c26dd52e491f5734a5ec55c5b54e360c0 SHA512 24582ed20764870e2491a2dc48869089ebc4371a279eff68827ce3a6a962568fc1738e52285fa89a3a846385b498bb233460c1d0ae3177d735ad20b2cef7fea2 DIST boto3-1.35.71.gh.tar.gz 903019 BLAKE2B 48bf56c54a8eaa52c1850078a92cef7e5acb06f2d9d551414d640c6f5c5f381f2edc4ae6f582d9c1578f68d78a272142033bd41caba95577af917a492e995edb SHA512 56df8d30c0d3efc71caa6d629354e1311d944c71b5568b4154fc93c315558d600e4411ccc80abca98cb4a3adf3a3ab4f4dbce22ca06184e11d720f36f33b58d2 +DIST boto3-1.35.72.gh.tar.gz 906195 BLAKE2B 42fa9727d0d35eaa2ea61580538923da30d57e2569dd2ff0b75a2f19ee29b0e5745e93724bf5145296794ee2ee51f3abe1bad017435e68ce9f12c61ccfd3bdf7 SHA512 c54bd53eb6c7753a310dfa26fa9080d5331b0e5ca4cc87c32265f045a615b406e2ace93e41301c6039108ea5be4aa5fd826b875b63253ca4b8c2f8c5892f7bcd EBUILD boto3-1.35.63.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.35.68.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.71.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.72.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.72.ebuild b/dev-python/boto3/boto3-1.35.72.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.72.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 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 ~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.10.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 9dc7d840627d..6da70db662ea 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,9 @@ DIST botocore-1.35.63.gh.tar.gz 13692343 BLAKE2B 41ded808c412e9af8f938cf64db1632478f77d082417afac1f34905e946c0459545afa46854a41458090eab26a32b2733fb164f374455d8bdefea35718182632 SHA512 7185f5a288f848e1f3810ab9fa4eb46467321af6bdd345a8de623722ee513ab89f43303955487b014a3c349ed69a62c7bdf54e5095c3f4ebfd254fab51443ca8 DIST botocore-1.35.68.gh.tar.gz 13887015 BLAKE2B f49ea77be07628c9c0a471a76b87bc2b2e0371afdfdaf6da2ad39fdc828376dff14681167a2989b440f37fc5754dae12c7160cb14fb82187acbcf07e34647fc3 SHA512 e31ff9022f29e4cacd9c6085e9c8741d799986746e34965c37e12d8ecfc3a5f4fed8e14045e9ce4f2f552f31d07641ffe8a0209d9d220b942e1b54c2e0d0f848 DIST botocore-1.35.71.gh.tar.gz 13908196 BLAKE2B beba990a19a2a6de3a10d9acd9f97c79872548a5c2bdb2e0944d69292efefd171a0f2e2c989da1551f07902f35b9530984cfe037ff6a9ac9168f9fc5dc5105d5 SHA512 e962cd711e8a9ee6df4e58b3bab22b5e9ded2d75d89fcabd50476789270af50513dcdd4eaeba9f7f778cb9055b4b0cadde0e436cdb1ef333b4322c9f128e910e +DIST botocore-1.35.72.gh.tar.gz 14003906 BLAKE2B 8d02bed4b6b39ff29ce981ed9bbca2acd1261c4d2514373ef299b6809126de90162c489dbece90e75e45e679bed2b5febaa5f48661b01168ed91a73f94ed5506 SHA512 b5b3941fe6bd0b8c150ca1443170c554314853def35641865479228d510cfc306b6ba5f70ff24c98ec34d3edd8c5da168f7351e6631c6df6837cd0f8b9f4f607 EBUILD botocore-1.35.63.ebuild 1477 BLAKE2B 8ba848e2c436928ab5bab36e735b148504d8b82228fad1eebe027605a34abed713b9dd7a671541d3fd51699bdef252fe3aa414c809afc461601dd1e42b22296c SHA512 221d3251da242b9eb5c5138fde3e3e5972f2a44d53ea78665302679928a3ba4a21c304973724fcdf7fd0f373f2ec61fb4e1994a4927bbe8ee8ecdffdea32a209 EBUILD botocore-1.35.68.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.71.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 +EBUILD botocore-1.35.72.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.72.ebuild b/dev-python/botocore/botocore-1.35.72.ebuild new file mode 100644 index 000000000000..0f88c5cbe9f3 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.72.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 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 ~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/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 46ab34d3d890..18e257e178c7 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,7 +1,9 @@ DIST hypothesis-6.118.9.gh.tar.gz 9487943 BLAKE2B 3c8d17d2763877107c7342d9a9825cb733de91ce6c99c88ed7536ac0e82d728f54d762c9b26cb02d742c470afc05c2798fb20e1f3c6f52d3b9d0e2c9cea9e99a SHA512 ba4f32892088a3a4d1a3d9ca2d28b9828cd7e2f4c4878733943f34f431014d4ba4dfe07729878b4c87cc295b6d6f219094c1f774ac115acd3b375ecc3c58d580 DIST hypothesis-6.119.4.gh.tar.gz 9490666 BLAKE2B 99a45054b90026317bca165915b2ffe3b3abfa03a98efc6181bd64f6ca851f9a90e4ba1b41ba4f3b2181de02818a91367f1c29523b78bca303da4eea31db1284 SHA512 003b01fd3e1e4ae2ea68f72b80063928dd56a069fdf8b6ffc73f6ffb3db4b048523564bd616d604d04a3ea55b19c01940ad7ba60bf1e88c54e29359ca0e397db DIST hypothesis-6.122.0.gh.tar.gz 9492529 BLAKE2B 1ee9d13b3d12381d84252c5e810b975705e534852a68eef4fa77462719ca33ecd161897cad84786dd2cc4d6bdd110e79fa16ef3b4690c97f13a236c3c8ad8787 SHA512 297766c88b52b0b45113715edbffec0c4d9ecf2126bc367b53f7de50ddb66a255660f9ed27ae7a680012f28f153f0070ece5fca657f521eadd8ebee6b83acdc3 +DIST hypothesis-6.122.1.gh.tar.gz 9492677 BLAKE2B 66f89d2388cb34e5df95bc73af69259c8460b0508b14b07b99d749443be44f0c43b20bfb1d2edddf844e97f18b20e98ceade1dc66d08ecfc8403fdb6f9a461dd SHA512 27e3fca0510cc4267f3ec4df112937fc1e06331d1498f0db1815912a6eaacd3fcb07705aed84db1f03212dae3bd3d4902071070c81694f9ae2df1a03d4964c14 EBUILD hypothesis-6.118.9.ebuild 2538 BLAKE2B 3034e0f2da145057186985efade07d9aba4e5daff531b81bce6286e83d1cd24264757fb3edebf42e647c6c79e0862bc935a429227576b2e1e42f11174392d71f SHA512 570c570ce5eb99107969be3d0a9900ceb5d43168b33e47b9e9ef6c249b895a5006b220c356c28b41cc20632b2c7d74affd26303b5df40589875bbb1452b69bcd EBUILD hypothesis-6.119.4.ebuild 2546 BLAKE2B a0d28f72abedc005d8e8cd2ada7e933f24a804b2c6ed69447971a7dda156157e9f964735da5bf6fcf75c29212d533df69a467bb4f607a28dd060540164d9aecc SHA512 91b00667808773833c2ec4671f80f665fcaa08e37ca3cbb4b12f18dd216ffb5a456caa36b9014f28950e4aaefda1d4b288fd119d2e679f9d214b9b3a694fda2f EBUILD hypothesis-6.122.0.ebuild 2630 BLAKE2B 6f0903d9f3a4a67f16c4c492ab7dbbefa22675185c9236e889018360c9eea618e3705d3a44cf760d74f7aa17d50197788f4895e17c8d8bed56d1559eb05fb974 SHA512 1c52efd3ab43e01b4943d5f9b35960e224cb69091922e0df9a058f1b12dfb1199e67e261e489a6e7c90bc254e92bb38a55abca7fb73ae48e800e5206d45ec32d +EBUILD hypothesis-6.122.1.ebuild 2630 BLAKE2B 6f0903d9f3a4a67f16c4c492ab7dbbefa22675185c9236e889018360c9eea618e3705d3a44cf760d74f7aa17d50197788f4895e17c8d8bed56d1559eb05fb974 SHA512 1c52efd3ab43e01b4943d5f9b35960e224cb69091922e0df9a058f1b12dfb1199e67e261e489a6e7c90bc254e92bb38a55abca7fb73ae48e800e5206d45ec32d MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.122.1.ebuild b/dev-python/hypothesis/hypothesis-6.122.1.ebuild new file mode 100644 index 000000000000..dde5562c67da --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.122.1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2024 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[@]}" ) +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 + ) + ;; + 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/moto/Manifest b/dev-python/moto/Manifest index 06115535df65..a33aa17275ca 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,7 +1,9 @@ DIST moto-4.2.14.tar.gz 4933741 BLAKE2B 4c50a808dc8f27cfbcd0ba234d268084ee9a32f36cb5d6af61aacc4ee79f7bf5cf1045147c4642472129eee37bef8bc2c1953d140260d39d7f333ae0f5e5cf95 SHA512 d4079118ed1d2eef9134575e33dc0ed749bff0293d753baa63a630dbb987914b9933445027abdc344bb93fa1d6e483baf8a337a444c9dd055dda50b095ff9937 DIST moto-5.0.20.tar.gz 6203061 BLAKE2B 0e2126c72eb7a0afbe5ef29251527e7e4822d125e7e107217e6a702e2c51aa274f7181cdd6dd1b0c724315f89e58415e1e89fdb96db6777fac79a85bc0f53421 SHA512 d7a2c4311cc0518761226d200c8691fa70871b779f5f01cf573e0f92e4677a6f9ab5b77b2005b36346b199f3f0f2921df9879d13b1bed95c363537b01a9ef47e DIST moto-5.0.21.tar.gz 6212667 BLAKE2B 6f1d991214ab4cfacab76db68a5a5b143adf6de226c0bda2b1c48e0d4f3cbd470b83419edf14cb46dbd35ae6f5129db305a4b07b20e9b2da6f746823939b35ca SHA512 a881426643ab1b3fa858bc8effa1816195ea907352aeb96e9a457a3108d8e712f77788f1e7476822484a3a829d68ba1d9f18a3dc990bc9e403b1c049f892064a +DIST moto-5.0.22.tar.gz 6303034 BLAKE2B 6607f14c2246a63c289ee0ab6b4168a5446e46a9616f680fc2f1ece70a413d0e31d3e078a108556e723e5b4b08657161e1e2224bc602ca60d6c5e935f37af50c SHA512 3f5dcf4f514e7c0864b9a29b26f795505d4604a26c4e062fab4f0414c7a8e009542957ca3c3c6e763e6bccdbd22b74791f3a01f6a52b87a155fe804efeaf9167 EBUILD moto-4.2.14.ebuild 6507 BLAKE2B 4b1e22f10011ddf1b62996ad7d2efb5181843f958705ce1816f223bc3892f8515429f37c24403b03774c72f7d334a544e5688818e0e31f527b39c12979628ecc SHA512 ad9705a1f4c495c7fc9cec848d97a8f0f4d39d81848cb9c6d56788c083aabf120d4c89e8d59518fac93bcdee8561ce1fe8eff89eb277cb29921285899dd2ed97 EBUILD moto-5.0.20.ebuild 5283 BLAKE2B dba3f9a538e58a36c8d8b12d8bca8d7ab9fdc192f84185a7cfc59f369cbc754a1df1bea3659bdc23a9e54f343ce5c791ab8d02fc6819d2aab221745383117759 SHA512 36dc240c79315f75c505be552c9d3bd81190c10f558de3cc9a6f83a4b974414302ccde2eebf49df9585049a1f7641a1162016d76136a956534dae74005281256 EBUILD moto-5.0.21.ebuild 5286 BLAKE2B 061c43d93eef821e5d7942532a9032689f192396a6dd47c2a0b812f0573f2a92890f5b52a87441c066f6d16dbecdfcfc8b35e4d055a2f0d1630c2b44b64403fa SHA512 90e383a2c1fe195cd34fdf4821d69997d0c435fc7dc3d65dde018362d5e0ee0b133514046bc0037fca909762683783f20f807b80eed0b693c65837a33c71957a +EBUILD moto-5.0.22.ebuild 5286 BLAKE2B 061c43d93eef821e5d7942532a9032689f192396a6dd47c2a0b812f0573f2a92890f5b52a87441c066f6d16dbecdfcfc8b35e4d055a2f0d1630c2b44b64403fa SHA512 90e383a2c1fe195cd34fdf4821d69997d0c435fc7dc3d65dde018362d5e0ee0b133514046bc0037fca909762683783f20f807b80eed0b693c65837a33c71957a MISC metadata.xml 553 BLAKE2B 1669d17d3e655aa3fb41a489229a5fbfa6a9cfb23c667e98fbbef931992c7e9645581b9ea12011601093586cba491a5557d68e5256edb9f387c4db362346edf9 SHA512 48ae3bd9be8c3bfb68f7022d0e7bb422c2a06157967809be302067facf91db825023859d18ccea89109931538b0e93181d54a31fcc967628df61a9a3112edd3d diff --git a/dev-python/moto/moto-5.0.22.ebuild b/dev-python/moto/moto-5.0.22.ebuild new file mode 100644 index 000000000000..6b7e14c1d8c7 --- /dev/null +++ b/dev-python/moto/moto-5.0.22.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2024 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 pypi toolchain-funcs + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + >=dev-python/botocore-1.14.0[${PYTHON_USEDEP}] + >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja2-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + dev-python/jsonpath-ng[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] + dev-python/pyaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + >=dev-python/responses-0.15.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/sshpubkeys[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/antlr4-python3-runtime[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +: "${EPYTEST_TIMEOUT:=180}" +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Needs network (or docker?) but not marked as such, bug #807031 + # TODO: report upstream + tests/test_core/test_request_passthrough.py + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests + # broken code? (local variable used referenced before definition) + tests/test_appsync/test_appsync_schema.py + # require py_partiql_parser + tests/test_s3/test_s3_select.py + tests/test_dynamodb/test_dynamodb_statements.py + # require joserfc + tests/test_apigateway/test_apigateway.py::test_update_authorizer_configuration + tests/test_apigateway/test_apigateway.py::test_create_authorizer + tests/test_apigateway/test_apigateway.py::test_delete_authorizer + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserDeleter::test_authenticate_with_signed_out_user + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_email_is_ + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_username_ + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_different_seed + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_same_seed + tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication + tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication + tests/test_cognitoidp/test_server.py::test_associate_software_token + # TODO + tests/test_dynamodb/test_dynamodb_import_table.py + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + tests/test_stepfunctions/parser/test_stepfunctions_dynamodb_integration.py::test_zero_retry + # random crashes + tests/test_stepfunctions/parser/test_stepfunctions_sns_integration.py + tests/test_stepfunctions/parser/test_stepfunctions_sqs_integration.py + tests/test_stepfunctions/test_stepfunctions.py + ) + local EPYTEST_IGNORE=( + # require joserfc + tests/test_cognitoidp/test_cognitoidp.py + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # suddenly started crashing, *shrug* + tests/test_xray/test_xray_client.py::test_xray_context_patched + tests/test_xray/test_xray_client.py::test_xray_dynamo_request_id + tests/test_xray/test_xray_client.py::test_xray_dynamo_request_id_with_context_mgr + tests/test_xray/test_xray_client.py::test_xray_udp_emitter_patched + ) + ;; + esac + + if ! tc-has-64bit-time_t; then + einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_acm/test_acm.py::test_request_certificate_with_optional_arguments + tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header + tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins + ) + EPYTEST_IGNORE+=( + tests/test_route53domains/test_route53domains_domain.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x TZ=UTC + + rm -rf moto || die + epytest -m 'not network and not requires_docker' \ + -p rerunfailures --reruns=5 +} diff --git a/dev-python/propcache/Manifest b/dev-python/propcache/Manifest index 355840adf20b..04e6b3d27cd8 100644 --- a/dev-python/propcache/Manifest +++ b/dev-python/propcache/Manifest @@ -1,3 +1,5 @@ DIST propcache-0.2.0.tar.gz 40951 BLAKE2B f3e6aed19e6dfd21c02e769a3fa3c5bb0042f0b46d3dbe71ac06d52a49cfc86c62770ed8589fed58872016b5f50905610de50e707051871b9c30930e262d9d0c SHA512 f99838627652ab13919d7f516530a91565a737fc411d728cad1492ce0ed44f25b0cefbdb6fa49b2ef516e7fee120e7c49686b6853691c5cd02f5f7db9a15d998 +DIST propcache-0.2.1.tar.gz 41735 BLAKE2B 9353846b481449f732751ce1bf419bf1d171b3e8fa5b4755637bab063677bfe8845da48c2cfc979936cd1af2ef559b6eb82368f9b9616b3b90a955f0b5bbeed7 SHA512 ce54baa27a9f4cec14d6db139721cb1af920e585153f541b6a192a22d805766b7a0248514fed9889d7073a611d05896fee6da1df526f2314206eca48942b860d EBUILD propcache-0.2.0.ebuild 1109 BLAKE2B 81a7b53537be9f49f69d39a698bbb0fc45819f4887acca4e695374ffd733dd3bd957f3ca5df03850013da65529d8fb22d50d1162ef9705d08c879ac71b891c95 SHA512 bde0328711f52513bf0183ec3fd0d6c5e3fbc0d0d11e33b7406bf4a0cd5f25cb9595c118e16f25bfa3c22608e3698f6e057d323999bc3bc885d5bc1f08ba883c +EBUILD propcache-0.2.1.ebuild 1172 BLAKE2B 00cea14c77e806e204579da80af1fc783419bf8b2b4b04a5a4845feacec14b6eec80e7ba7a709ffe974d4e317b78669b9e9333a40adc06a742810443a9dc94c2 SHA512 fb8de853b7ad2117b3ac7942f87653e10110a6da5ca5c0d58585a0cb32b9259877d5d921a9f0fa6000da5aa08d11663048ecfac033710e39e24b20430eba5d59 MISC metadata.xml 371 BLAKE2B 2aae9561b0b663dbdf1935d4417af8fdba00636b23ec09037bd14d0ab3bdbf6ff4b093a5ca901b50046134b6b4f25d72a09b544ca949663688d9e1c64ae49a4e SHA512 b4e36caa49357be56c1d07d75c29a30dd18c0cdf1e7e6edfd347748a3edc084743b2163f60e94b837477ffc6320e6140a721769a42d224d3963cc91a18d492bf diff --git a/dev-python/propcache/propcache-0.2.1.ebuild b/dev-python/propcache/propcache-0.2.1.ebuild new file mode 100644 index 000000000000..cfbbf5c36a53 --- /dev/null +++ b/dev-python/propcache/propcache-0.2.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Yet another URL library" +HOMEPAGE=" + https://github.com/aio-libs/propcache/ + https://pypi.org/project/propcache/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + dev-python/expandvars[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_compile() { + local -x PROPCACHE_NO_EXTENSIONS=0 + if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then + PROPCACHE_NO_EXTENSIONS=1 + fi + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + tests/test_benchmarks.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local opts=() + if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then + opts+=( --no-c-extensions ) + fi + + rm -rf propcache || die + epytest -o addopts= "${opts[@]}" +} diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 92a509453732..6f415c7d7323 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,3 +1,5 @@ DIST pylint-3.3.1.gh.tar.gz 1453572 BLAKE2B e756d72c0757a8d90491fddaa5a60cccedde043b4dbaf9162ccabd920bbb864bf109f619483474748a606dedb4bf889a57edb447ef77a40c7ee35e2019caf277 SHA512 86cb0019f53477346de44a7cf22b6ee6ec791d2cfc23ec0c1ffcc749752d52f255aa5dcfaaf7b124706ce8a87013d5e592c0896c527e10b8df06c974f440d3c6 +DIST pylint-3.3.2.gh.tar.gz 1454335 BLAKE2B dba68aead7d2babe885d4a94220e61ddc6c5759bd9703d2bbeb1c7d1c68b6bebce7cbe6d7b0cc18a7c8cfe32b7e0cc6be929e021e7a9223ae31839185c07558f SHA512 48f57bc74a47c8658cad9ede6bb8540077c72fc6b3e8d9d401ddd1d43daaf547637ad253af885ac503a79aa31c30de1b4b302c4d4001a18b68e064e505975980 EBUILD pylint-3.3.1.ebuild 2408 BLAKE2B 504a5559a36d94e351fe619945695b718b380c2f8671c8fc29556b4c2be7db2450535e67e8556ade5f34c8289e37e96adf10dbec576f0b8f4d975f55417584ef SHA512 250d4c374a74ec2d7b72c1ee88e1e7e849b16795760820e7b0b2c761b4b34f940ca0322e9760c3bf98c86003c3525200662f79e3f6a5b92fd532077fa84fc3fb +EBUILD pylint-3.3.2.ebuild 2416 BLAKE2B 283a910ff4bc02aecdca3319796045bb67116ec83e611aebe869225b3fe76ff7ea5507827a57d0e4df2fdb29834e5cfd5d1c647b92c80187b647ba24b045bafd SHA512 922e71235d7026e76bb779e99fd051ab8babb9773a0e86a5bc5f3af02da31ae95096f9fc6a6faf3a771f7d623183b99c663cd3f5c59cc9676ed6a973bf20dded MISC metadata.xml 1105 BLAKE2B aa9d049b732f9198685901a0ec31f4a615da8398ce1741558e7b2c3840890da0c5ac6a2a23e0fd4cd45fb443b92f69b3fe4fb7f9d7570b1a75a0d0784231f392 SHA512 5f5bb3e31554bdc0cdcdaf1d7df9194e32da649784124714783c5d280c7ab4a9f65317b5d5e6de47698b2f30a019051191cb7ef3066902b606e2582a31f01c05 diff --git a/dev-python/pylint/pylint-3.3.2.ebuild b/dev-python/pylint/pylint-3.3.2.ebuild new file mode 100644 index 000000000000..5ac06d70fb6c --- /dev/null +++ b/dev-python/pylint/pylint-3.3.2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 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 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + <dev-python/astroid-3.4[${PYTHON_USEDEP}] + >=dev-python/astroid-3.3.5[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/gitpython-3[${PYTHON_USEDEP}] + ' 'python*' ) + >=dev-python/pytest-8.3[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + 'tests/test_functional.py::test_functional[use_yield_from]' + 'tests/test_functional.py::test_functional[wrong_import_order]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + if ! has_version "dev-python/gitpython[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/profile/test_profile_against_externals.py + tests/testutils/_primer/test_package_to_lint.py + tests/testutils/_primer/test_primer.py + ) + fi + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/python-daemon/Manifest b/dev-python/python-daemon/Manifest index 9c383ba67b1d..bb62056d2bd5 100644 --- a/dev-python/python-daemon/Manifest +++ b/dev-python/python-daemon/Manifest @@ -1,3 +1,5 @@ DIST python_daemon-3.1.0.tar.gz 61947 BLAKE2B d6f24cb72a033401a2eb1149c359ec49e044b0d549ae8ccb337dc60525f3ad80efd8646a50a51e6ba0768a5e8e77a3a5bd5b1a5aea3b54c5546769a5599d49ad SHA512 d7641baba841af8724dd37b66db605d07a62c947f01ff6328c44aca56deaa5a0891b8fe3bbbf5840e16c7080402776676892f105aac900944a8d2921a12edba4 +DIST python_daemon-3.1.1.tar.gz 71104 BLAKE2B 56ab3f178233f4fffe64413d34046297f1a136b9e6843e5f90a05e2634bb6cad49dec39ec66d85bf3edd003127ee57a0ed772b192d073e8d7a935956b0992cc2 SHA512 faf074e8ef07b5cda32cbdd66f613d2830569d6a0316b8048e0173b65c45b5472a42a90edacecb811c4cd7daf1d239f898f8a939c4dfb807ef88455f2dc27a9b EBUILD python-daemon-3.1.0.ebuild 1108 BLAKE2B 51fb219d835e647379633f6e7775b32aaf45d7131c242b29e9daa42902888fbf03cb26ec9ac57bbb38c7323cd34c7dbe1d4158b63ffa80c515104ecaa87b80f0 SHA512 5802763e756bdc549c2f299c2d69314774fdc32dc96f98ff4374926f3633a4dddf7de91f7f4c8316d4b0b8c2ce581fca38e72c791363a308270aa07db849d28a +EBUILD python-daemon-3.1.1.ebuild 1191 BLAKE2B 78a50f4649a648cb3aaa7742ba4ccfd6dd60d0e0a01d7fd34d88ccd734e55ff63c752248f9135f12c66a3ced28102855a71466bdb1e4e844ce059fbff2bc507e SHA512 8ce86bd926935fb3c15393727e16c708c7b9f73cf415b51388365d9817623c7a74b2e633c233a8be41daa044bb55868b93697204341c0597fb70aac76b51e7e7 MISC metadata.xml 341 BLAKE2B 62d37c28a9bf9e9fc6e2dd9fc5295558eb395dac54a45e548ec7d6738fdebe42053cd2f85b160135fe8fe5828eb065bf7d95b17f3c76697ab6ca2f0e664ffb8b SHA512 83badd112e5e5ed2584cd883abc20b43a18585e7c1d006c4d4861f555e633225f251d7c5b05e2e8f94f74107e32a5eeffcdd3f1265feb463f7c521c7c7141752 diff --git a/dev-python/python-daemon/python-daemon-3.1.1.ebuild b/dev-python/python-daemon/python-daemon-3.1.1.ebuild new file mode 100644 index 000000000000..4352b0c42459 --- /dev/null +++ b/dev-python/python-daemon/python-daemon-3.1.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 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 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library to implement a well-behaved Unix daemon process" +HOMEPAGE=" + https://pagure.io/python-daemon/ + https://pypi.org/project/python-daemon/ +" + +# build system and tests use GPL-3.0+ but none of these files are installed +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-python/lockfile-0.10[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + test? ( + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # overengineered logic with NIH deps + rm setup.py || die + cat > setup.cfg <<-EOF || die + [metadata] + version = ${PV} + description = ${DESCRIPTION} + maintainer = + long_description = + exclude = doc + EOF + + # tests for their overengineered setup + rm test/test_{setup,util_metadata}.py || die + # setuptools insists on installing it, sigh + rm -r doc || die +} diff --git a/dev-python/python-multipart/Manifest b/dev-python/python-multipart/Manifest index c5df7c23ab21..f423e74bb96d 100644 --- a/dev-python/python-multipart/Manifest +++ b/dev-python/python-multipart/Manifest @@ -1,8 +1,6 @@ -DIST python-multipart-0.0.12.gh.tar.gz 92904 BLAKE2B 25076627fdcb3a4bfc9eda74218f9d6d30ea18517da00c312f50c9d3ae156894b29e83bd38d4e11d7d06732999ae9640243e660d2a037253b9f511772a6c737b SHA512 271ed29f3025be5c058a56ec56ce373348dc27b4c8130c17609bd48d73fc975b2ac8387d4989be578e1be01a618aad87c1d3ec3a37dbe73dc45813ec961842d0 DIST python-multipart-0.0.17.gh.tar.gz 94416 BLAKE2B daf9f5e2a94d804216fbf18778295cec3270139d5912ace80ab84d57d32115d7a53563d429f81fd2f0f55b9fe30b58f62ef1d095414f7bfe6bd3951dbb9d9e89 SHA512 52b5d5b154a18a2ae34ce7931076278b5a5edb2cbca5350c6898fd675fb57755cefc97642b2edae7e7d9903d877430da85f73347b9fcaaf1c20fa09dc12799fd DIST python-multipart-0.0.18.gh.tar.gz 95540 BLAKE2B fb68867f6035ee463c69c89df6b792bd8506df03386a1d61f223aa0fb63c2e6604c76377e9c356e55280c39e20052eced7c48869cf9661980626586054379ae9 SHA512 d4b888d95cbbbb70a66a8d756dfa479e96bf9cb7e754f8630a89e63dbdc06a9e237dd257c5924618030bfd03737d202029bbd5b50e483f72680177d3b0775629 DIST python-multipart-0.0.19.gh.tar.gz 95805 BLAKE2B fcd22b383aab09cc9dd1eaf6b6859d406b3439fbfe3460761f147ab8230f4cae118e44d3f3f067c03d4ff508b655c8f84d120765e233c87ae11b014d2d544051 SHA512 cd4f1dc7b5b2e4b29dbccb62f71143dc5ecfad419c12aca2d780d8ef0f3fcc1ef9f7e129b56daa48caef04c95e2e365157b9d945a2e40a5693ba70b2d1d80686 -EBUILD python-multipart-0.0.12.ebuild 658 BLAKE2B 4aab8ec01549b29855d383a393bf52c7dabd0b8ad9e291f1c89832653aa42b6d3abef5a6578f32c71d5aeca0b0f2ecfcd8da96749c1f7e413e6b95a8e6ef6f83 SHA512 68d1364a63b5a674d71d9142b712375f64cbbe84710c0495b5166966b9d43201b537b8a5ea0ce7b51c7320d55e26f5f35e4e74544120aeb77c4ffa8d61ba70c6 EBUILD python-multipart-0.0.17.ebuild 900 BLAKE2B 481dc6a2a690ca22ca5cb90a7be41d3c6df3a8b93d97e0d276d5c2cd5945fceead3f7e99edef6da13c6c92a2ec7d19ccd0fc010cb36a069ac7cd140d9a7f9788 SHA512 4f4f44d71e1727700b71512849fc9b5f9c6ae5cafb97b8e21e657ad70b5f24418de4386d31c018fa29170cce6a691fa63543c5d27ca8b649bb5b8f66e1e77777 EBUILD python-multipart-0.0.18.ebuild 908 BLAKE2B eb50291f00f8a6e2cc56dccba99cb41e329e7e66a85c970ce2a6822209a9a23e0cd458c203b4b0a26ecb4f2e2bc6042d97ba927df627d9a7bca41e813799d220 SHA512 ce3ccb1f4e8aae96bb571e9c27168c15a7f07a18473e102b81b968b7841dbce3ba483de4f28046c36c49783089ad83f1fb6987e523496cd55a30204053f8a76e EBUILD python-multipart-0.0.19.ebuild 908 BLAKE2B eb50291f00f8a6e2cc56dccba99cb41e329e7e66a85c970ce2a6822209a9a23e0cd458c203b4b0a26ecb4f2e2bc6042d97ba927df627d9a7bca41e813799d220 SHA512 ce3ccb1f4e8aae96bb571e9c27168c15a7f07a18473e102b81b968b7841dbce3ba483de4f28046c36c49783089ad83f1fb6987e523496cd55a30204053f8a76e diff --git a/dev-python/python-multipart/python-multipart-0.0.12.ebuild b/dev-python/python-multipart/python-multipart-0.0.12.ebuild deleted file mode 100644 index 09bf47f05425..000000000000 --- a/dev-python/python-multipart/python-multipart-0.0.12.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 - -DESCRIPTION="A streaming multipart parser for Python" -HOMEPAGE=" - https://github.com/Kludex/python-multipart/ - https://pypi.org/project/python-multipart/ -" -SRC_URI=" - https://github.com/Kludex/python-multipart/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - test? ( - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/tpm2-pytss/Manifest b/dev-python/tpm2-pytss/Manifest index d1391817f389..f3d689dc89af 100644 --- a/dev-python/tpm2-pytss/Manifest +++ b/dev-python/tpm2-pytss/Manifest @@ -1,8 +1,7 @@ AUX tpm2-pytss-2.2.1-Revert-test-skip-some-FAPI-tests-if-testing-agains-t.patch 3152 BLAKE2B 8fc273a652720dd11ba697516f30bcbd5acee740dfed649355f8e25de97394b1c7c5d1f338801f14fa9618445f85e850ab40238d78c601dd22ed6e2db686115b SHA512 1c713002e215f0b5be5c436753e390d9f2e3b8b8ca4350ea5246685ed8d6beb87d858fd7c9cd1b24908af0e1057dfe7474c6e091e95a782c3bc430aa327b50d7 AUX tpm2-pytss-2.2.1-cryptography-fixes-for-newer-version-of-cryptography.patch 1944 BLAKE2B b7f9e517427b2b25dc42730b7b39bf055f890b66c6f0b34e04ee495755fc98162c1af11d2520b9b08aa16396e1c574116e5ffb323ce41dbc0ab7fba4a2b4438d SHA512 ae6a8f9d544b4770a58821655cfd622cc6ed0d6e556cc40dc58097715ccf4d3fa84db82ead598409b50d73a2d63924d7519aa9ffef530456c65be1ae5ad13812 AUX tpm2-pytss-2.2.1-scripts-update-regex-for-defines.patch 1048 BLAKE2B 3d858726c61b216e5e22ed4af4ef0d34a68030d4260c15aa76f2516a3ccb130d6e6003e54fb35f8614e17751fdb91834ecd1b502825214bd29dba453c9e7ed36 SHA512 56033320e62b25a1b5da1241dd3fa8f1170d9320c575ca46a66fc255f26a9c807cd4425fada5cdd18626468281f3f9303faff4fd1e276ab2e0e2f7c1e0284222 -DIST tpm2-pytss-2.2.1.tar.gz 208114 BLAKE2B fe07f38a6c19bc2b2baf079184f39d3ef28268900a35e14bfa22abb61dd956fdb286560ab6d35d66160147296e590fa3dac3d015f9919e1966f43179c1bdcdb1 SHA512 0acaa37d118d71edb123c5e88ef5af5dd78a73b0f8db15500866b6799d98e4c6107f9da1b8c1bce1c9061e9df85d735a39d9335cea65cac0e058db83aed8ad06 +AUX tpm2-pytss-2.3.0-preprocess-as-C99.patch 897 BLAKE2B 7be1b909b918ac4506ff9db90a2803b5a3f60c482785774a50c8647d11d3a3f871482a23dedcb9f0db0bd547aa15a60ca3178535230fd5a42153d79788ca87a3 SHA512 bf7a08edf2e18cdae0d2fa2d024b095c9880a941b09a00b2cd10c2a66d3cfc1c5db545ac54615b072d50c1da8eee4a3342f652e7bf219d9f0ef94195a7bd8601 DIST tpm2-pytss-2.3.0.tar.gz 213848 BLAKE2B 7e9264ab53cfe666991150fe2c0efdd973f7b58b4968b557d6494156ba4d362bd147f580f2ef50b85ac1b43cd9fc4921d71eea42d5a14b9379f82d45b6a6b536 SHA512 d0f76aec77afa773ec0ed7878a0ca4ef3b3475aa64f219d7a5afd89cbca795457536b0a9b5ffa14704200dcb35a89df36f9fc799694f7cc3cfbf98ea551628b1 -EBUILD tpm2-pytss-2.2.1.ebuild 1193 BLAKE2B 8e2a9993c80247f2c5ea8bb53091062b3a1bff6facaa24c1c187bcb47a764088e29ff4204e108a5012ec92cf086b92b9072b9c81007cea642bdeddba93e7deb2 SHA512 6ab8a9f9a22fb9ba9d5248b49066c42a4b8fafb9c0776a00e56f46efb5759f536c99b661e15ecc88fa935687ae8deab618356c66dad576efdd79d2af190cff6e -EBUILD tpm2-pytss-2.3.0.ebuild 939 BLAKE2B 662aa0b8c670ebcd516142d748683c884f1c12cc6907926a8aeaf4a61cb462816a776491e27957a6902d5b57d15059038bb66fcf951bafb3fc2b7d21c620e980 SHA512 3ac390944f2cc22bad8cf3e084fdeb93f4414b751c108d7719e08e91424c90252f4bd225a149bef8a8d3f15e451ec6547910c69a7b8491445e072148542940d2 +EBUILD tpm2-pytss-2.3.0.ebuild 1004 BLAKE2B bea7c9d373d1076386a49756b4c6db831f922a514d8d35146eec5b2e9a7dac510fbdac5aa8b6ea37fce07598bff34fbd02aa93d0db2e9cddce57936dd6a8aaf6 SHA512 d6d046900dfaa88abb9fb92c4b9ae7579fe1b95a7156ee57b4a67988642a7bc8919a3f16ad0b138d21a00ccc9cd214244a3e2bafbaf6eea4c5c7e1c986de447d MISC metadata.xml 648 BLAKE2B e4de9aae579210454f1a71043de7073c1aa7ead9c5acdea48ec2c8ebf5665ebb6837f198b6de49f7ae58bd1f5062ed4f8ca7092df56d8904aecd16bc226d95cd SHA512 dd87ec10b28530281c08d57d86a5004178e4eda729a43690ad4ab84effe246b34d777ec56c66d61a1e0335d2b9c1599366aa55bc58477f7c2dfa4eec5ab7d9ac diff --git a/dev-python/tpm2-pytss/files/tpm2-pytss-2.3.0-preprocess-as-C99.patch b/dev-python/tpm2-pytss/files/tpm2-pytss-2.3.0-preprocess-as-C99.patch new file mode 100644 index 000000000000..582735bd81f3 --- /dev/null +++ b/dev-python/tpm2-pytss/files/tpm2-pytss-2.3.0-preprocess-as-C99.patch @@ -0,0 +1,21 @@ +diff --git a/setup.py b/setup.py +index 1b5f513..0e6208f 100644 +--- a/setup.py ++++ b/setup.py +@@ -184,7 +184,7 @@ class type_generator(build_ext): + f"unable to find tss2_tpm2_types.h in {pk['include_dirs']}" + ) + pdata = preprocess_file( +- header_path, cpp_args=["-D__extension__=", "-D__attribute__(x)="] ++ header_path, cpp_args=["-std=c99", "-D__extension__=", "-D__attribute__(x)="] + ) + parser = c_parser.CParser() + ast = parser.parse(pdata, "tss2_tpm2_types.h") +@@ -205,6 +205,7 @@ class type_generator(build_ext): + pdata = preprocess_file( + policy_header_path, + cpp_args=[ ++ "-std=c99", + "-D__extension__=", + "-D__attribute__(x)=", + "-D__float128=long double", diff --git a/dev-python/tpm2-pytss/tpm2-pytss-2.2.1.ebuild b/dev-python/tpm2-pytss/tpm2-pytss-2.2.1.ebuild deleted file mode 100644 index a14aa4203d81..000000000000 --- a/dev-python/tpm2-pytss/tpm2-pytss-2.2.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for TSS" -HOMEPAGE=" - https://pypi.org/project/tpm2-pytss/ - https://github.com/tpm2-software/tpm2-pytss/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+fapi test" - -DEPEND=" - app-crypt/tpm2-tss:=[fapi=] - fapi? ( >=app-crypt/tpm2-tss-3.0.3:= ) - test? ( app-crypt/swtpm ) -" -RDEPEND=" - ${DEPEND} - dev-python/cffi[${PYTHON_USEDEP}] - dev-python/asn1crypto[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/pycparser[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/pkgconfig[${PYTHON_USEDEP}] - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}/${PN}-2.2.1-cryptography-fixes-for-newer-version-of-cryptography.patch" - "${FILESDIR}/${PN}-2.2.1-Revert-test-skip-some-FAPI-tests-if-testing-agains-t.patch" - "${FILESDIR}/${PN}-2.2.1-scripts-update-regex-for-defines.patch" - ) - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -distutils_enable_tests pytest diff --git a/dev-python/tpm2-pytss/tpm2-pytss-2.3.0.ebuild b/dev-python/tpm2-pytss/tpm2-pytss-2.3.0.ebuild index 9ad2962b3fa8..bad0a03aac9a 100644 --- a/dev-python/tpm2-pytss/tpm2-pytss-2.3.0.ebuild +++ b/dev-python/tpm2-pytss/tpm2-pytss-2.3.0.ebuild @@ -38,6 +38,10 @@ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] " +PATCHES=( + "${FILESDIR}/${PN}-2.3.0-preprocess-as-C99.patch" + ) + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} distutils_enable_tests pytest diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest index 09c43ade984c..1e2d2ede5e06 100644 --- a/dev-python/treq/Manifest +++ b/dev-python/treq/Manifest @@ -1,4 +1,3 @@ DIST treq-24.9.1.tar.gz 85614 BLAKE2B cce700ae1f18b7e97953c45cb835786655caf47a0e425944e58f94c76a33c5948920c38f89283f50b51624f365326045d6ebb163c86644069f5bf548e137b9c0 SHA512 b8ed6ed5262073559babe8d0413a1f5369215a41ac7459441172a9086c654cf1dc7e51a0497d4c714726ae02d2163760cddde7008e360f37ebb4586b82409bb8 EBUILD treq-24.9.1-r1.ebuild 1319 BLAKE2B f4a5110d70e0a7d1119fdc9220dcc59a12ecd8d29f541c750f8b0bb68c5517c8693135e074525aae2c1d288eacdf7abba5ea874e53ba218863d0aa671d37db67 SHA512 e81ed5ccca09a2d1f931b542826827b35de4b149bab0bb553046e8e7307bb8a6d81d6a0c31dff486bcea0fa9ca2e1d640d00ec7230d614d0a6624186a91e8796 -EBUILD treq-24.9.1.ebuild 1129 BLAKE2B 16a4a17c4d8d24798a1def4dcb205e89483a1b829d1188f00533536e9cf9030943fc979d55633c33c3e0bf8286271e9285346302fd2a5deba7566e54f892197d SHA512 ba61d86364ca58de1938fedc41efbc4b86e708c3532ba9e39d4cf0acb0809afb72bde132b5587889c0c0ae2aba7a958a25431530de66578bf89796911691af76 MISC metadata.xml 675 BLAKE2B 503b618157c565652f3fcd2a4fc7b2a6fe7e4208e965b956ee166f3d682f0b7e2865f88f7b9c3227a55cb67ca4f21d61b11e6194d4f1e336abc8a9e6471e99c2 SHA512 a09304f23b2934c596ba809a93146be20f493d3326b9ac54c846654f7439218caa04f7b138efc8002061611336aac8be3747e3407ef67d1af640a64e07ebeb4f diff --git a/dev-python/treq/treq-24.9.1.ebuild b/dev-python/treq/treq-24.9.1.ebuild deleted file mode 100644 index 8d380daa71ac..000000000000 --- a/dev-python/treq/treq-24.9.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2024 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 pypi - -DESCRIPTION="A requests-like API built on top of twisted.web's Agent" -HOMEPAGE=" - https://github.com/twisted/treq/ - https://pypi.org/project/treq/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] - dev-python/incremental[${PYTHON_USEDEP}] - >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] - >=dev-python/twisted-18.7.0[ssl(-),${PYTHON_USEDEP}] - >=dev-python/typing-extensions-3.10.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/incremental[${PYTHON_USEDEP}] - test? ( - dev-python/httpbin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs - -src_prepare() { - # fix relative path for docs generation - sed -e 's@("..")@("../src")@' -i docs/conf.py || die - distutils-r1_src_prepare -} - -python_test() { - "${EPYTHON}" -m twisted.trial treq || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index 287d98ae566b..6d62fcb6ae84 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -1,7 +1,9 @@ DIST yarl-1.17.1.tar.gz 178163 BLAKE2B 88d864944829e4b69ae346b0c6eb205969e9f9d2326d46f1eb4ed0506516f71730731763daf56e8230b699d5775c053c4750f6a770422cad392199ba5c099074 SHA512 5c1c25a8b828694a6538e7a07d01fc5d14238b279f8db4d76ee247a4f043b3e836c292cf6a77bb5ba544ec43dee449f2417eb0a5aaed6954449043a0fea3f811 DIST yarl-1.17.2.tar.gz 178947 BLAKE2B 5cca5ef7fa2745f76c72ba0fbd54a62344f8961d365f6777812cec6c44d42d3a573f25db25b3afe7ff93775aaff8c4f71a6cf13ed86061e14e37cab984c0d7d8 SHA512 d99cfb5bb89f60b41cad021af5971e42439f47c77b24de0ab43c372cedb15ee18bfca478889f002a322e24838e2978c30923f965ea879ba52549644b2a957348 DIST yarl-1.18.0.tar.gz 180098 BLAKE2B bd49cb019cb0a7572ddb562aaf599929bfcd2f67758631d93fc0db90ea60919852f90ea196d6a5bdba9d03661d2bcbe82e2d51284c0ff6acc76b269e99bed5b5 SHA512 061b4cdb5d18718e847a45c5fdc854f75294be2198d5d803bf473eae06467a56188e36c672d31f083c7a96f213db831fe79c92479a43b63a40cc4a007062c0aa +DIST yarl-1.18.3.tar.gz 181062 BLAKE2B 41e0e6173bb257b643d7678e3011af7ea7f6ac8100bd68aae6e5a9af95e36ae95f83c516a11169fd1d1d669742b3a8878267533c81289ec56a66bb0d53b2db25 SHA512 1686c5ef1b5f3e1cebd121abb7916e45f4a9b08d941a80c34861e87f6121187ee7a553a373405a9fef2332177adf55ffe89bc9a3cabbf24e31905357fdeceba3 EBUILD yarl-1.17.1.ebuild 1473 BLAKE2B f99183ccce11f8e3fcd17a532a04763786f80d869058208f7187d0d4c38f0fefad85f0c842ec12e901e100e1236495d9702c21fd22844d67aa66b37a88f6289f SHA512 6aa9a0bce27b199af8f597b086153c2d1fb433039fa1cbc5553d610f1a358a2b5848e40ab4f93ff52640bf00532bcbaa6107fb683d358810cd3146dd83f19dcd EBUILD yarl-1.17.2.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 EBUILD yarl-1.18.0.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 +EBUILD yarl-1.18.3.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 MISC metadata.xml 440 BLAKE2B 10fd0e37c9be76c5d1dd90b9fd1cb1e5161fc5a7d2b51bcb5658a8c187a67d5f9573241733c3f9570e9fb7767bf84b38a6f8b2c212596627bea4e1686b7eb41e SHA512 c9e340124ed93cb0d52a0ae5abd43c10528197893c3d5ab57a0eb7046ebae5b80119f7b033d6697110c4bc064c0a8581d904788f6969cb52a433064067898cbe diff --git a/dev-python/yarl/yarl-1.18.3.ebuild b/dev-python/yarl/yarl-1.18.3.ebuild new file mode 100644 index 000000000000..2f428eea3047 --- /dev/null +++ b/dev-python/yarl/yarl-1.18.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Yet another URL library" +HOMEPAGE=" + https://github.com/aio-libs/yarl/ + https://pypi.org/project/yarl/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/idna-2.0[${PYTHON_USEDEP}] + >=dev-python/multidict-4.0[${PYTHON_USEDEP}] + >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + dev-python/expandvars[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + local -x YARL_NO_EXTENSIONS=0 + if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then + YARL_NO_EXTENSIONS=1 + fi + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + # benchmarks + tests/test_quoting_benchmarks.py + tests/test_url_benchmarks.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local opts=() + # note different boolean logic than for backend (sigh) + local -x YARL_NO_EXTENSIONS= + if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then + YARL_NO_EXTENSIONS=1 + fi + + rm -rf yarl || die + epytest -o addopts= "${opts[@]}" +} |