diff options
Diffstat (limited to 'dev-python')
33 files changed, 937 insertions, 23 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex c5148bd6127a..0a6559170ea2 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index e2aabdacdc4d..184b2cce745a 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -3,9 +3,11 @@ DIST aiohttp-3.10.5.tar.gz 7524360 BLAKE2B 57ca70d1a075ae7f9ba9b86a19be52e05e885 DIST aiohttp-3.10.6.tar.gz 7538429 BLAKE2B 55df48ae6321aa9d18ecf02ea16a34a328ad36ec87b0af77291c89684cd8de1fe35617187a700229c056f062ea50e8bd2249c2adb4e39a0899cab6fcd5521ac4 SHA512 9f5a989db03a1c9ae7a67c2888259466a4e9d3926f6e7bd8c31bb7981b7378dd8712a839e9c746e3502cbcdaef03b5c9dfe5fd65d0fde0af938bfbf4c7341327 DIST aiohttp-3.10.8.tar.gz 7540022 BLAKE2B 8407815a0f65035032c9c59174642784a9ad5845d6655c32f29369d3a7ffdd63d52310ec61ed3a106122a4aeb22ed0db5264a353b7e483bb63021cdd9526b5b6 SHA512 f19a58e698908faf164592037d57f1d133e064616b5552df26639a9a7248e90a960cb1b070dbbb90c058579cbdcc4edb72b2846bd20ab2867b4b0c670ddd177f DIST aiohttp-3.10.9.tar.gz 7541983 BLAKE2B 3bcfcd09c537fbd2a976f95b5c8387280ec0256bbc231b2bc5a07a1524e6926bfdebd182b1365d950b5a1465f44c4db004a645af7490c57cd4637978595fa6d4 SHA512 0b52ba3ff2c78113117f56818ab177791f2764b2e5ce6531ce5b0481ab9d22b4fe621d70c1c2067eab8cfdd423a2cf0fdaefd8b13231aecf0491326bdf12d1a0 +DIST aiohttp-3.11.0b0.tar.gz 7587019 BLAKE2B 7391adbb55819deaf4a70f6b8a6a55bb5ded9a0b932ed5597585f3c1ae669575ecd4050df8757f7ada42cedb1301027f4aa1b6c027d6f7140bb5612d4268b926 SHA512 9754c51e63b20ff4df28d04897e630165bb0da6bc2924cd43a610d5679b3a87f82d9c0eebc0c2d6eb82c82c37b4908e7ff73ed801df7956846ac1a260219e61d EBUILD aiohttp-3.10.10.ebuild 3231 BLAKE2B b01b0371ad6d00306bd680f014b0ddef64647f112c585f8be9e8dc58c8681ee39b18cf24fc100cd0e769184b12d29a0774fbe3d57d4c0b6ba37435a208577d7c SHA512 54ebad2883f2857802ce6f1dfa49ef2470a32e3278d2be81e07865ee037d6d4d90d53f902a719db97beb7aa5619c998de74de9316d009b46fbb09fce0ec018af EBUILD aiohttp-3.10.5.ebuild 2927 BLAKE2B 29d95839a6f30f2dd64fd2a8e9b34cbd43932f0b87c8492b13d0b8dc50b590cdfeefce33ff24b6249da913db8ff11ab148cf824c7952c197ded287a4dbe128ab SHA512 ebed49d5a8c321251208200e4adae397df80965ad9b2c7ada52953dc9db6c345db01deb5c853bc9d617dc176a3e5ef02d70c9e8d113739d3b10199e54d48b893 EBUILD aiohttp-3.10.6.ebuild 2931 BLAKE2B fb789384124297bc544d655c1adabecada904c13c563692849f7f60b5ad743fbc230c0d42c5fb3e4fc6f9b393a61059de28e3415c978d142f76abe4eb117d341 SHA512 46ab2520b680e195ce70b3e99e3ff86e21c7840fef98b0e49040b3d27c2dec633ece8a5db1bb21b638408846138b15325e63e4e82b54bd272aa09eb50add8094 EBUILD aiohttp-3.10.8.ebuild 3236 BLAKE2B e5d9a8592472994fbc06eed4c17a41ed2c1b0d849021af184c371d88b31f7fcfcac5508c4420269a0eae7904cb61bcade485f4c9f78201cc1e6041e3b82ece54 SHA512 113bbfc2b890208a577749cfa3edd77a17c8be90915e4211341bba3d2eb01d06be450e30073584b0475f2c5f52114888cc227316552f2ec774cf5b04cedd6450 EBUILD aiohttp-3.10.9.ebuild 3229 BLAKE2B c6d4c8d553d1a80907344f47213a51956e8c98008af1d0b2db6e7c56bdb97c9e9955752c2d58fd23ec8c3639c08cdfd8f6913aba27b5689b2018e648163d14b4 SHA512 d8903d209b54864ce9ecc56e7ae86dbe9f039391367250510aaf1e78c8b3bb760f04aa6d2ae4df7f31c7bc572283cc50c3464980f1278a3d113cde2041a05032 +EBUILD aiohttp-3.11.0_beta0.ebuild 3420 BLAKE2B ef8163376f554628ee7c238520266c4fd5d4231fb25e99fdd698e811b9970073ee29ba05eab20c4f205a2c4ccaf9cfbb714990b6372c7d66c23d7777dc58204b SHA512 17a9f5488e1c343c32a0603004ee6a7f47c04378f7fa1706155dcf412acd4c64f2506b960cab321150792754662c89d84c41de1e8e94dd6df8d1c0d82cdf0c7b MISC metadata.xml 490 BLAKE2B 5233af0b5e2668b1eb62278b05b62f24f1ab90f6d05b20dd9f1c5b54b846919c3fa28b843df28f5bfa320996d46de0e74c7a28bd0bef02aaaca14b1cec52baba SHA512 9b701c5c5a22b6aa94977a67bc40f3dc9df8337556952658a2a17ecaaa471cd7f7b5b8bf3a0088208087677555f0cbb8760c091b03b96ee70affe3e2b84cf6d5 diff --git a/dev-python/aiohttp/aiohttp-3.11.0_beta0.ebuild b/dev-python/aiohttp/aiohttp-3.11.0_beta0.ebuild new file mode 100644 index 000000000000..eaba4e21c548 --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.11.0_beta0.ebuild @@ -0,0 +1,128 @@ +# 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-5[${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 '/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_request.py + tests/test_benchmarks_cookiejar.py + tests/test_benchmarks_http_websocket.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 af1eaaa6a253..063e500d2607 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,9 @@ DIST boto3-1.35.39.gh.tar.gz 872172 BLAKE2B 1baad362b9bfcf68ea89c9ba9ea473fcf2451a71be8121a443830622114b3577ae83500aaa0cbef86115e24d276ffa5660fa6e9c08d2358fa493367405fc8dd4 SHA512 4244e71a3773d9abfa419c34220fa2c44c90a93b11b8338535582aee8fe9cd788672d6833ae97f1b32fb6479b9be97f1b2db953f24b403b07f2ee3153bc833aa DIST boto3-1.35.44.gh.tar.gz 875230 BLAKE2B 68c4fa6739a5d9cb720670a1bc14079ffac4b23101bd27367ec81675a34d717341c87257864a658c60d8a0c5fdea298f73db979b6aa64f65e9ea54479005d33b SHA512 6ff24f42088ae9f77b5e1ff033fab34c6a0c0f7fc46cf9cbe172b3151cf259e48c3804981afbc8de893dc2541105a04bc00d6becd3220c18243bda7ed206740b DIST boto3-1.35.49.gh.tar.gz 878577 BLAKE2B 8f9ddf29eaad2f91a9ba670b268ac987f7f813dea52427a559b245111042f84b8593158bf1f3dbec353b9fb92116be39e739326dbdd70366589ee507a994da4d SHA512 3a1aa9bb8c8aa384abdc2a139273364c49f608921ff9c4ce9e96b4b93d11bb145a45ac65df6245912ba3be6d4e8f0df86e407d74610837b149f81712529b3152 +DIST boto3-1.35.50.gh.tar.gz 878776 BLAKE2B 23b43830c16657e688bec46b65ae784fa8f70c5849f809bf71a4ab73533d43efd76a56bf0694d99a488bffed42896f034fe0b4680705093bd59d0dd86904c721 SHA512 91b66821f5698f09ef61851fe8419cfbe2b85f1a586858a490d12ef63ef2309af76b5393aeeb3a6b31a74a1d2dc46712750fe4b75dc627dc55fd681a5b019edf EBUILD boto3-1.35.39.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.35.44.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.49.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.50.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.50.ebuild b/dev-python/boto3/boto3-1.35.50.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.50.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 2880aa0e0ff3..cf44fb0497b0 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,9 @@ DIST botocore-1.35.39.gh.tar.gz 13458607 BLAKE2B 631b16d9a4acf1a2c594318f20fb9755aebb5f4b390388e1c4348874948b08a8ae3b571378383fee55d9228983f89f334d208fedd2fbe3e233d9b546490ac204 SHA512 642e5c82c22c0186addcd527985132790a046f7388ab2d0fb5219476d610a65bec2d7a6e3b0123328601f91f570ae4050449b58d0ec61f5e4291abbd7407d12e DIST botocore-1.35.44.gh.tar.gz 13472693 BLAKE2B a38fd45888ee1e77d7dec3fbd5aeb9f94cd825d1d54bd11a467ef9938753724958fc28eae4316d1802c729f02874113b028a929afb3de64400723c144d5d0eef SHA512 52f6c507efe175deef4e824c038f2db620f35f53f62a1372815b9c75a3638e371d89a8aa19f481f4ee29e58e5c30e5f9083fe14eb08048f80cd0f9aa1730841c DIST botocore-1.35.49.gh.tar.gz 13473579 BLAKE2B 0b1a0e8ec76ad0d4ec677532626c4f34383828415ae6a6dc318a8e7864f2756c5618e0086a02f29726844e585895492b0e80d5e944e67fa5c233122a35a75eab SHA512 abcbcd3e8c5c4704755f83290aa8c65ee703c5f75cecab45d58451e2960f341e73042b61c28fd42a671562b25795255392d13db60c6c9d2f944f04ede6d3e78d +DIST botocore-1.35.50.gh.tar.gz 13480380 BLAKE2B c75e98122762a9f061006019c3e8b12b3b374dc98236943e7d566a12faf791606e15e90cabd80e7ebe1b0b8f7cec8f39ca4d0852c80b95347bf5953cfbcdbd15 SHA512 41af923db98efcf885661ee9fc7debdd659df66a56b6bacda3aee5aeaa5eb774668e3617485c06eace75b7aa71f04abf7c6481c7d5a5a0c170f9add37ca8a8db EBUILD botocore-1.35.39.ebuild 1477 BLAKE2B 8ba848e2c436928ab5bab36e735b148504d8b82228fad1eebe027605a34abed713b9dd7a671541d3fd51699bdef252fe3aa414c809afc461601dd1e42b22296c SHA512 221d3251da242b9eb5c5138fde3e3e5972f2a44d53ea78665302679928a3ba4a21c304973724fcdf7fd0f373f2ec61fb4e1994a4927bbe8ee8ecdffdea32a209 EBUILD botocore-1.35.44.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.49.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 +EBUILD botocore-1.35.50.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.50.ebuild b/dev-python/botocore/botocore-1.35.50.ebuild new file mode 100644 index 000000000000..0f88c5cbe9f3 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.50.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/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 5cdbddf790b0..f24f6d3483ce 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -3,9 +3,11 @@ DIST cfn_lint-1.15.2.tar.gz 2444882 BLAKE2B bb1e47da23087a667cfc3a1a36af962ad0db DIST cfn_lint-1.16.1.tar.gz 2328621 BLAKE2B 034738d924ac720a1e85569d65afd47c4cf0cf81b8187f03de48e968872b0c993d40a56b7a6b5c751e252461ebe29b750cdc6405ebc4733020bcc28f8c6887be SHA512 4348ef8b9cc125c71b62ced41ecc16d6aaba7c194a95e28bc99a1cc49e4a931f1e6726286a9f31fd7f0a4692861e62efb9cde4482762f230aea963866aa8081a DIST cfn_lint-1.17.2.tar.gz 2526962 BLAKE2B 76feefa1bcce6a0957ce028d6041ac49b475cf25bd843e7de30b1d05d797e55d4189d9deba087f569f94f2f8fc40b11c3ecddcab1593432abf0da1bd26db6da9 SHA512 79fa133244cfe1239648209da9e8bbb2e50435bc5c18b6f998c90eb09536a760dfae62507123c22295098bf0866b1ef0ed05853debb00e651b75651921401530 DIST cfn_lint-1.18.1.tar.gz 2553280 BLAKE2B 9dbe580c17a542e21f3d262dc531dff048d9c67bd1d5c04a5545aa0ea9d5169b5b9ed29622a07d15418c706bef39883418762a5e45beee35e19270bfc385e8e7 SHA512 31a800114c8e8f7e469bbc64a43000f63de092532171a419bf4a0c1ceaf6eb76c1c58d741b86d7a762320de2a89bb6796cf52c4d5edb83dcdf88d6a8ef0abbfe +DIST cfn_lint-1.18.2.tar.gz 2742664 BLAKE2B e83933f8b9af6fefef84d9905be35772d7a62eebe86e75e4fae680b39588ec0e11dac418ddd41a7ac9d716a0e62c8e16671240d5d7971520e9d552d6dd1dce41 SHA512 c6eeaa7a7ce847233adcd6edde5166d304870ca01dc5b84bb5b9c5c1730fe820c7c33195ef34a3db581a66a0976b359f8f15a8c4677a8a37b5f11c2d2feea526 EBUILD cfn-lint-1.14.2.ebuild 2173 BLAKE2B 5e4c47efdb2519007e70bb5a736e25ef396631a967b23f6057e450a31358b2bf16fc3d85a30259dd2414e85a185784504b6d330a6568edccb8880d230fb81327 SHA512 da3c99f559c87c3b50c75a2055b1ca0fecc2eaf12f9601460efb853a31569aa081668ae2f300b4f0f1bb551dccba1c1b65bed2aa1cb60bbfbc09295d75cec3fb EBUILD cfn-lint-1.15.2.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a EBUILD cfn-lint-1.16.1.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a EBUILD cfn-lint-1.17.2.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a EBUILD cfn-lint-1.18.1.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a +EBUILD cfn-lint-1.18.2.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-1.18.2.ebuild b/dev-python/cfn-lint/cfn-lint-1.18.2.ebuild new file mode 100644 index 000000000000..086f03ea08df --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.18.2.ebuild @@ -0,0 +1,70 @@ +# 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="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.91.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index c4647cece8b7..62532ddb607b 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -9,6 +9,7 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.2.src.tar.xz 141241032 BLAKE2B 38a3f528ddae7cd738236a317551fdb94acd8fb736a57def15b75e1ed2f6572e1370fb3f1e4ff261d3cfb87df7d50d4db8fa9e70dc5e3dde617af09eb059fdd3 SHA512 e98ee405f5c30004b39f0de0470400dd2965adf4cda4b47a1d3792ae362ed43eb45e96a9b1689f31e1064e0b39252379270bd95bf8081cf9b92ecb9b371bf43b DIST llvm-project-19.1.2.src.tar.xz.sig 438 BLAKE2B f5bc0cc43bc10ee2438289d62aa8169cbb9e0ea598381b4c744e6a09daf710650fbec0656a9ac7c0e6f84a0ff3541fe223fa9efc61fb3d4c496cad9df7b9edd4 SHA512 307cd88116e68f901229fc2f6db72bad5f964bacee178e2efad3419cec277b5a7e23fb347386fb4e83e1886551bbc78d187259518193cac7654573ee17e3cb63 +DIST llvm-project-3f4468faaa9525ad615118675c3c68938f4a8d5f.tar.gz 221860252 BLAKE2B 6c531df34163dc0879c79b029a13215d1bef2cd95bbaf4a6d5e10b81a8352236283d40f14b62e23a57cc1cf8edce138fb6e2720ced2397d6469c5863564c626d SHA512 4aa485f4547e210cf8f6f8147c4adab3e75afe77f1e4e1bc4718fe681b64bdcf8937f843964542f8ead90ceef52cc0fd4bd8275824d1a4c6961eddafc7d35115 DIST llvm-project-9aef0fd52a0b2bf31cf3bae8a0693d6df8db6e04.tar.gz 219987707 BLAKE2B a3f0acd0fd3b66c3a826ac6760653fa6ea893ffba7587cf4a14f472026a9d9d8bf6b63c26d8bc39e83936afe6b735496bd88ce6c00d16abe1d0ccd1f9a644302 SHA512 5104669d78930363afeba045dc27a4c36ca8bb7537d432c765e023cbd91155b248c3a60d4768e1f8690c88e82d4ff95a44fb73f26d25d6646dddc857992485ba EBUILD clang-python-15.0.7.ebuild 1202 BLAKE2B b655ab7b2fa3a5334666e42d36e1e7773be8910f5a47fe8792be04fafbc0c9889cf74d5ca4671863b5244b874133bb353feb4b1ac119e52486ac18d3ff7c6760 SHA512 eb99a86e826ff46d78e1f97a7db1c867e0fc4c9d0036de31407d83dc4de1b8cf80e36ba186d6d8a825209bbb4312d7120b96cbf59d6cb5cf598a3ffb754bf75d EBUILD clang-python-16.0.6.ebuild 1203 BLAKE2B 7baa638bb302b5b97aea34e62d28035f6e2e7aab0bd626bae94d9b3ba9e776316a81003b55ae8a71008b13a664569c8587df927c5f925591addc99a2b4381832 SHA512 a2b00fe7edaf1cb1bb48c0e93555fbea3ef929f16d168b27e1ec1e3f38989e3220e6df1ab847ac2020faa7d44d957c6af7ec0723418e248677a40e29c071ddb2 @@ -18,4 +19,5 @@ EBUILD clang-python-19.1.2.ebuild 1205 BLAKE2B 609f06035ee58685b352f56b62925947f EBUILD clang-python-20.0.0.9999.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be EBUILD clang-python-20.0.0_pre20241015.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be EBUILD clang-python-20.0.0_pre20241023.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be +EBUILD clang-python-20.0.0_pre20241029.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/dev-python/clang-python/clang-python-20.0.0_pre20241029.ebuild b/dev-python/clang-python/clang-python-20.0.0_pre20241029.ebuild new file mode 100644 index 000000000000..7f3de6814bbb --- /dev/null +++ b/dev-python/clang-python/clang-python-20.0.0_pre20241029.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index bf3a8db1c93e..555edf3c782f 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1,4 +1,6 @@ DIST python-api-core-2.21.0.gh.tar.gz 223405 BLAKE2B 696489182ece170ab955193e8940a2235cc07892b5bcc319abe482bf7b673545b95dadeb5c1b49624d772dc36c9bcf19d28a91ad6aae07ef3215002eabfe6d5e SHA512 f1517c2ed4027013bdd7c11c4dda0c5ee67450c78247907422b3bcdd8d2f83958fb3ee6c65749056b2eeb734b05d584f4e9a9d0d133e220e3779602ef22e5527 +DIST python-api-core-2.22.0.gh.tar.gz 222827 BLAKE2B f6098dce83c01f47c81e9348794f4015e3c9a82ce6b1b8d6292f3e55f69eb490544e8f1831f4e50aead2308c5490c9cb954a39f8565244bccd2a9bd5771e1015 SHA512 b5b6f2cd2ced4e74b50f93efe74bc2027f2761aee55aac1c4421d68aaf785550caf14343b4f92df9b17a6207ecbdefc5625fefc3fc5cd6ef006d79cdde4da119 EBUILD google-api-core-2.21.0-r1.ebuild 1577 BLAKE2B 91aeee0e522c8740fbf97502681fd7e7c1f64fea901cdcf90d10c233b598238d16959d2afe37e0b4eba1057416e5fc6c8623ce9ac05f0818d6ac779fdb7f2c60 SHA512 1ae27e4bdb904072e05675558abcbf061f2a7cd647ca0a68fd8abe373fd64159a97861a0b977e321e74bf88d465c219c9d3e7e0940e1dc32021fe3d5688c0c52 EBUILD google-api-core-2.21.0.ebuild 1946 BLAKE2B 2bc9751de68c1072642a7c834b7707d8456af3bb3f957eee8932576781202b49c089a5cb6902c42db23ad56680b850531fd341128bee19a71548d7c5f3754d19 SHA512 bfe5b327f67db8541b36c1ff60850654217559fee0704714dfc677e9c637e365e9c46fee8b20ed6ee034b4fbdadc6a1302c8b479b1cd44ff7b1cbe653158ad89 +EBUILD google-api-core-2.22.0.ebuild 1577 BLAKE2B 888d8aff0c08467c882e48c2a5317383b3957b2a30d90c23f24ecc3c89d6748157c0b0a4b9b49c52b5f5323f210e9d165b9eb9ac1987ca153ea8413ea4118bf4 SHA512 6c0bc4ee2af95a53c94ee01c6b36353018529aff2ac89ff2ba756412de6d6971cdbeeafae0990c0b2d7697741b7f37050a8b76a2c81baaac2c6778cf620924a4 MISC metadata.xml 655 BLAKE2B 9f829fc055ac2dd507c5bb1a83e2ff3386fbc668b9193c4a1a7281c217ba2e4ecf157d79a250cb2ac8a036369d1d3105cbe92a7bfef29b58734276331d16d19d SHA512 44124eb2c21c48dd0759ff1e76fe05eaaa9312dd5a1a93bb0ab2d459a4be37223c349f7ed303e4c390ba76b3757c06f3ae2a5a9c5bb307967b6c439a09b8cbaa diff --git a/dev-python/google-api-core/google-api-core-2.22.0.ebuild b/dev-python/google-api-core/google-api-core-2.22.0.ebuild new file mode 100644 index 000000000000..3d0ae9c0fa06 --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.22.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 2020-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 + +MY_P=python-api-core-${PV} +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE=" + https://github.com/googleapis/python-api-core/ + https://pypi.org/project/google-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html +" +SRC_URI=" + https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="grpc" + +RDEPEND=" + >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/proto-plus-1.25.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.19.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + grpc? ( + >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # The grpc_gcp module is missing to perform a stress test + tests/unit/test_grpc_helpers.py +) + +python_test() { + rm -rf google || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio tests +} diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index aae251f0b57c..d7056205b554 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1,4 +1,5 @@ DIST grpc-1.67.0.gh.tar.gz 17317493 BLAKE2B 81aaf9a4d293dd41d9d068e81eb8a9898b610498722dd6f9c5ff88118fc5a31a936ac83c7cdb4f56c288d131c7721beed8e307dd91bf3de5cc25951cdb06de5a SHA512 5e76a3147ca051e5304d5d64eefe124cd446dd5d7bd9a65667bae5474b59f70b32368d225e8345c9414bddb968c1390b8bcd08ed97abb62b543528289b29ec35 +DIST grpcio-1.67.0.tar.gz 12569330 BLAKE2B 597efd14625898daf8c7aeff65e1d5aac4e08f7152263784c41f6b9bf0b83b8774b01ada85bfd461191d34c547296be82b994694585a57ee306d6aceebf4a9dd SHA512 201ca2548b68561135a06de971dc5a2a87bebbb6e48b4aeca23389fdd3046a11677a440af75730a0ce7cc2b7c9c7e3ab4a43d0e040c803768d04a27be645bc4e DIST grpcio_tools-1.67.0.tar.gz 5159163 BLAKE2B 54a7db77514033c4747d20a13fded114828fed23f649587c649f5ad2716d4bb31b80eeda560d55ae087a564cb9d34563a612cc91df581ae6b9a761f307828397 SHA512 f9644b4424aa68f1ae4d679c7b635db9bbfc0b493c76caf7d2e9fe0a49e5e81b6f146666c8dba3fc1d1c0db141f8fb362dd0ede0842c34cb178009412a672ec5 -EBUILD grpcio-1.67.0-r1.ebuild 3551 BLAKE2B 91c82242fb5d5787cd66a36d6d2204c7cbeb63fd36be7a45d3e8c937fefcb319773612a8fdf1905057d093677c6fd9c543f618d896e7f55557c1530c1967684b SHA512 2ebda666f7105bfc3493730ce57373af787da4063932d74b86d4109ae1dc23af2414076ec01df68dae25956f519460b66d7e3ab9fe3a8e774e3359909817d7c8 +EBUILD grpcio-1.67.0-r2.ebuild 3263 BLAKE2B 9ecadd30dc752ed9615ad5e69aa98066a0c062f2b273e226fc50079a3834e7a9a1104c88e58ab089aaca6a96259fc975b0c0c02f0837bbb97dd0b93e48c750d8 SHA512 d468faec5b85b5ae52999d8bf8ed454cac09405271749c69e72f62d28040e6da639568afb800102f45ed8eb9747d7c503b0672d5cd557b1c65ab7d7367751c18 MISC metadata.xml 359 BLAKE2B f52910dcf3d43b85556cce901ebcad89f3aaa992fbb366fcc905858634eac2add4d14a83bb4e534d64278e11653e28e50a3349cd641dd97949e7fb53a52d0dc3 SHA512 78ccb4fe497528d5dd9135feb3613038b9686b7892ac04136419cd7ccb935f73b5783dba0b1392b643bb1aeae24a73559c19ba14a1c51483b818e83a5c681a24 diff --git a/dev-python/grpcio/grpcio-1.67.0-r1.ebuild b/dev-python/grpcio/grpcio-1.67.0-r2.ebuild index 92a90bd06766..184b99207647 100644 --- a/dev-python/grpcio/grpcio-1.67.0-r1.ebuild +++ b/dev-python/grpcio/grpcio-1.67.0-r2.ebuild @@ -17,15 +17,14 @@ HOMEPAGE=" https://pypi.org/project/grpcio/ " # Tests need other packages from the source tree, so use a GitHub -# archive. grpcio-tools is required for tests, and requires a bunch -# of bundled libraries However, we also need bundled abseil-cpp, -# so take that one from grpcio-tools to avoid two sdists. -SRC_URI=" - https://github.com/grpc/grpc/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz - $(pypi_sdist_url grpcio-tools) +# archive. sdist provides bundled library sources (git submodules). +SRC_URI+=" + test? ( + https://github.com/grpc/grpc/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + $(pypi_sdist_url grpcio_tools) + ) " -S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" @@ -33,7 +32,6 @@ KEYWORDS="~amd64 ~x86" DEPEND=" dev-libs/openssl:= - dev-libs/re2:= net-dns/c-ares:= sys-libs/zlib:= " @@ -52,14 +50,6 @@ BDEPEND=" EPYTEST_XDIST=1 distutils_enable_tests pytest -src_unpack() { - default - - # reuse the bundled abseil-cpp from grpcio-tools sdist. - ln -s "${WORKDIR}/grpcio_tools-${PV}/third_party/abseil-cpp/absl" \ - "${S}/third_party/abseil-cpp/absl" || die -} - src_configure() { export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" # system abseil-cpp crashes with USE=-debug, sigh @@ -67,7 +57,8 @@ src_configure() { #export GRPC_PYTHON_BUILD_SYSTEM_ABSL=1 export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 - export GRPC_PYTHON_BUILD_SYSTEM_RE2=1 + # re2 needs to be built against the same abseil-cpp version + #export GRPC_PYTHON_BUILD_SYSTEM_RE2=1 export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 export GRPC_PYTHON_BUILD_WITH_CYTHON=1 @@ -102,10 +93,10 @@ python_test() { # grpcio_tools supports bundled libs only, and requires different # flags unset GRPC_PYTHON_CFLAGS - pushd "${WORKDIR}/grpcio_tools-${PV}" >/dev/null || die + cd "${WORKDIR}/grpcio_tools-${PV}" || die distutils_pep517_install "${BUILD_DIR}"/test - popd >/dev/null || die + cd "${WORKDIR}/${MY_P}" || die local protodir=src/proto/grpc/testing local testdir=src/python/grpcio_tests "${EPYTHON}" -m grpc_tools.protoc -I. --python_out="${testdir}" \ diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index d694f47c0114..c978c96f320d 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -9,6 +9,7 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.2.src.tar.xz 141241032 BLAKE2B 38a3f528ddae7cd738236a317551fdb94acd8fb736a57def15b75e1ed2f6572e1370fb3f1e4ff261d3cfb87df7d50d4db8fa9e70dc5e3dde617af09eb059fdd3 SHA512 e98ee405f5c30004b39f0de0470400dd2965adf4cda4b47a1d3792ae362ed43eb45e96a9b1689f31e1064e0b39252379270bd95bf8081cf9b92ecb9b371bf43b DIST llvm-project-19.1.2.src.tar.xz.sig 438 BLAKE2B f5bc0cc43bc10ee2438289d62aa8169cbb9e0ea598381b4c744e6a09daf710650fbec0656a9ac7c0e6f84a0ff3541fe223fa9efc61fb3d4c496cad9df7b9edd4 SHA512 307cd88116e68f901229fc2f6db72bad5f964bacee178e2efad3419cec277b5a7e23fb347386fb4e83e1886551bbc78d187259518193cac7654573ee17e3cb63 +DIST llvm-project-3f4468faaa9525ad615118675c3c68938f4a8d5f.tar.gz 221860252 BLAKE2B 6c531df34163dc0879c79b029a13215d1bef2cd95bbaf4a6d5e10b81a8352236283d40f14b62e23a57cc1cf8edce138fb6e2720ced2397d6469c5863564c626d SHA512 4aa485f4547e210cf8f6f8147c4adab3e75afe77f1e4e1bc4718fe681b64bdcf8937f843964542f8ead90ceef52cc0fd4bd8275824d1a4c6961eddafc7d35115 DIST llvm-project-9aef0fd52a0b2bf31cf3bae8a0693d6df8db6e04.tar.gz 219987707 BLAKE2B a3f0acd0fd3b66c3a826ac6760653fa6ea893ffba7587cf4a14f472026a9d9d8bf6b63c26d8bc39e83936afe6b735496bd88ce6c00d16abe1d0ccd1f9a644302 SHA512 5104669d78930363afeba045dc27a4c36ca8bb7537d432c765e023cbd91155b248c3a60d4768e1f8690c88e82d4ff95a44fb73f26d25d6646dddc857992485ba EBUILD lit-15.0.7.ebuild 913 BLAKE2B 38afb1ee0c64d7480ccf1c84c6c1ae0e1ff5f75a0b52272b68d50717a338f143214329245bd650e107d8091ffe1bef6b29293a4b47d147122ea6cea64b448b92 SHA512 fc58e9f0ba65f388830a4e935f448126eb61f2dcf6fa40750e6feaf8a5943fb259bd3c1db3877767e4ba9ade75f6204de8a33c14630176a34fa097e522a0a051 EBUILD lit-16.0.6.ebuild 921 BLAKE2B dcfe57279dff5c6d80fdf5fc115c76c8ae5af3c8c7fa5da0f1c5592a3428b5a3ecd5c5feef4635c139d4d2d7a7edba53d07a53ba6525b778767c906daf6fd252 SHA512 d5c0943678b3e65cdb148bac517e1ce9700ff8a65c63796e0d4640a28d1086c7bb95f9b6c2d6507c379521cc320108b12f7c4165b4c8c4ff10d56ade2a90a438 @@ -18,4 +19,5 @@ EBUILD lit-19.1.2.ebuild 1035 BLAKE2B 72c71b240c838db20d73d99d7cc77c342df723b8bc EBUILD lit-20.0.0.9999.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 EBUILD lit-20.0.0_pre20241015.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 EBUILD lit-20.0.0_pre20241023.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 +EBUILD lit-20.0.0_pre20241029.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 MISC metadata.xml 340 BLAKE2B c9ca851e49b4ab48c015686e983ec988f60c34ed0af77abd7bc03d046002f79f74b9b463ecb97db89f2230c1593af7acdaf6651fc51fed4aa92a459d07aabf18 SHA512 3fe8262ce6b971364162fbdbac3b02bf02f0a64896c8a2564e2a2998bd6e6bc74463bf9104e3f4ffaa9f5c1a16c877fc864b8a4f056ca0022f741799bc00f217 diff --git a/dev-python/lit/lit-20.0.0_pre20241029.ebuild b/dev-python/lit/lit-20.0.0_pre20241029.ebuild new file mode 100644 index 000000000000..d862b4f8cd03 --- /dev/null +++ b/dev-python/lit/lit-20.0.0_pre20241029.ebuild @@ -0,0 +1,45 @@ +# 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 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index f1ce6ca03071..5c68269a969d 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1,3 +1,5 @@ DIST pymdown_extensions-10.11.2.tar.gz 830241 BLAKE2B c4048ae6931e7c540b8fd97080daa2290df74be76933874c91db09edac49a272c079d8767b15f28ecee0bf2efa3569179f236d6c4e703dd0d324feabab8da3db SHA512 9636552de1a9ae4519e1c6d7ca7b9c6cd0eb8b4be27a844ea926937cfa00add0b9ca8894f3b8f95e7c95ef0b6012e9a5d0c5b8d0f9aa20d7300fb4878c6f91da +DIST pymdown_extensions-10.12.tar.gz 840790 BLAKE2B cb0567072847b37a1717259dac2db06ca780d35cb6cde7b0b969f6b3cedf62c03db0f229f7d45feb69062bf5d62e149cb8ced7330a380e3e2ba30a5696138ce8 SHA512 4bf1decf0b44ea05b0df4a147f0aabdc9182e14f4dc5f731c74f851764f9a9bd38a3bd2a1a0e619ca6aa3c0898989f4cc97df500e9cd7a6067e2d75722b113dd EBUILD pymdown-extensions-10.11.2.ebuild 716 BLAKE2B 27275e4a6432d8f8c4d682c5ce0bec5ffec05f9768b39d3e74652aa092056fc1e39100799150e4346f5a23a14e8dedd5690041098123dca668987c637764f262 SHA512 3d170cc203987a3d7f2513a96323769f5eca4991706555d8a93cf22d087d6854e357eb885a1e5089c1853a32eb936607e442f2d27a6e83024a682748c477fd0f +EBUILD pymdown-extensions-10.12.ebuild 719 BLAKE2B ae1ad392f5db068b381c94da4d2f347d5f5e42530e27c7417ac6443a8961c890a5fba8f32fae1ea314d5e036523813791b051721106bc4e76d3abeb770451286 SHA512 0aa712ee104fe3f72d072bdfe49f4544f0549c0f978bfa0cec5388cbb4b05d4fe7dce19f5fa7e6c015ed3795b90f2977c66f03332350b1dd7f3dd8b10b1cf68e MISC metadata.xml 536 BLAKE2B f417ab2132b06eadbf1785654080084c4ef694f983e223ade83d5c77213e4443203a498a168efd68e4a3b1cccbe019c5b88716ac851719b9197deba9d2fd5411 SHA512 51304b48f9e296abea376be300053e041ea331f93e1ec7a2a3cdf10eea0ed6e9b8f04cdcbbed7920b46c60d5f6ce9337e3e25635516871d7b080eb54bfa16f57 diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.12.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.12.ebuild new file mode 100644 index 000000000000..8447dcb9ba40 --- /dev/null +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.12.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-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 pypi + +DESCRIPTION="Extensions for Python Markdown" +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions/ + https://pypi.org/project/pymdown-extensions/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/markdown-3.6[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest index d6be593e4dfc..1253195734de 100644 --- a/dev-python/pytest-httpx/Manifest +++ b/dev-python/pytest-httpx/Manifest @@ -1,3 +1,5 @@ DIST pytest_httpx-0.32.0.tar.gz 43824 BLAKE2B d373703f5614e7d3d75631bef7c316ae0e5e1963eb1ffdff3fd6a10c65e095e44d1bf09eb81dd9b90492a8e44f19d650875f7302d4843854622df620eb146bde SHA512 fed3b83e4b3162f1500f3a591650aca5a0c09a1a640c5718ae00d4a3e3e9df8b6a90ec4cc1a1e77b6d2be7de80dec8fe69d8fb601de164c7ad84322acc1eb7d0 +DIST pytest_httpx-0.33.0.tar.gz 51708 BLAKE2B c4b4a5bc41c44b982dcfe81f09ec4b3ee1eeed9cdc52cea6889988692bfb312eb7c4105cdcd60fadbbf0602236e2e5baf3c1a448248189214c0ec77cde8a3ea4 SHA512 96e3b5e0264f61644ed22fc809f35d0b2b255aa2ba75a5bf33d165c35276f2b731689b70cfbab5b5c901b1be4ff59c4b21704f8b15453582a6095611380830c8 EBUILD pytest-httpx-0.32.0.ebuild 732 BLAKE2B a3ad5fc22688cb84f7baa7bb374b2554232cd8cbd0bf771470d668b0eea9e7adfeb23842dfb33d97d92521ee747d43b03e859c88d63f9c83cddb942dd737e31f SHA512 0e5131898dc35a0beb5a146b34cdd0aca86731f720a73a0d913e529cdee635f924d0ba5c0ab27a6f3003ba142b1adc1f115ee0e1cb5f66196fa0a921019e6454 +EBUILD pytest-httpx-0.33.0.ebuild 735 BLAKE2B 4c9a72d110909e5659e45ec2d33019285936cfa8b2323a862af757e9eb9c50b0e6a170deb10a7a7187ea73b4fdfc48e87c522f7ecb136db09a0602a383d1c7ca SHA512 2138642a7f7a9e6888973790d07307a008f3985c108a0bf292b6c37b216a4d51dfd50a23d5ddeecd82bcf99bdf34130032299855bdc5d38b52e41d0dc24b5ef9 MISC metadata.xml 468 BLAKE2B e0f824f05936a831a958b027366ba18cad85307ac6c81b74b299f58270bcff53e06f32b2471d6433bd7014ffde83ddb24f787c07632453d14f4ee6e4679ffd10 SHA512 16bf024801db3c0d7b789cd1f16520a1ff2520e8b3e2abbeeff5b1192c19b8ac64f55fa678c922f8a817debcfe05242ce11e0164a00422445d7301858718b359 diff --git a/dev-python/pytest-httpx/pytest-httpx-0.33.0.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.33.0.ebuild new file mode 100644 index 000000000000..609a6666899b --- /dev/null +++ b/dev-python/pytest-httpx/pytest-httpx-0.33.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-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="Send responses to HTTPX using pytest" +HOMEPAGE=" + https://colin-b.github.io/pytest_httpx/ + https://github.com/Colin-b/pytest_httpx/ + https://pypi.org/project/pytest-httpx/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + =dev-python/httpx-0.27*[${PYTHON_USEDEP}] + =dev-python/pytest-8*[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest index 83cf1e360444..75dc212d2a2e 100644 --- a/dev-python/python-tests/Manifest +++ b/dev-python/python-tests/Manifest @@ -19,5 +19,5 @@ EBUILD python-tests-3.11.10_p1.ebuild 1591 BLAKE2B 41988aa6074078cd26dc08004cd74 EBUILD python-tests-3.12.6_p2.ebuild 1502 BLAKE2B bce969e4a5147fdfe4cfd0f8c5f6bebc9ed452bb53e658dd6c71c2bd75d01ad1962bf4365e9e36b44726a17d08b767f24e240048be4234f5a8c5d2ea66cdcec4 SHA512 882090e5cdf1cd7eb43a363b000b11a45e4f3ca4f5c94130c238ec7961037b29d30477b267ec5230be60cd1dceb240247b24fe43f789cde326829ff25c06db7c EBUILD python-tests-3.12.6_p4.ebuild 1504 BLAKE2B 711a2ab62015c8113dfca9a02a57301add78b0fabefc09b629096f2fc0e1bd68157e517ceeb807fc04cabb81910eed3e5546e5f3adcd9a12b59c49718fafd6bc SHA512 69677a1276b7b746b10e268cc573a8ac62aa108288d810a18ceae4aa0f797ffe228903cd2d1e53aab4e45b42872fd15432f93226b19f2d9bf726cbec5d480ee4 EBUILD python-tests-3.12.7_p1.ebuild 1506 BLAKE2B 303f4aeec330d08e1a08ffc961b19c782e90ce76877c41d76c7f5848d357a7511ae02b9ff1ba5b1f5d1d81e4b7d4e5f1379e6c4fca4bdd0df45d092ecbcb6c70 SHA512 91b522e6ae42b1dccb7f5da2225961e5bb3d591b8e0465a01fb52f0fc8a77b87faa183e63501ae8a90a8b2e80d424b306325d9118fcd4c0a4219e21d599fc9a8 -EBUILD python-tests-3.13.0.ebuild 1511 BLAKE2B 11c5c028e5d7538a72863931bb8138489fe1fafeb5392100f2c9ab746f4591def43b154ec44e7ef5b93df64b22b46d734e341c912779c9cc3aca96939ca754cf SHA512 1d7f898925d1f311dc6cc7fa38bbb8f59b1beff8fd4763d1cc71c7a6468238f340757f0d003ef1a32ab7ffc4218e23938c672c6528273f60c2837b877c02c8a1 +EBUILD python-tests-3.13.0.ebuild 1508 BLAKE2B ef602d53cc64bca83113707f71e66ba676c0e8fd21608da23554f6e130ccbdee6a480abd385c896e5eaaa2b34d62ff17f8d255c5a6cd92fcf234703dee6028ba SHA512 e089e2577e78b9393322e071531b263a6c4a9a0bcdca2e181647158256b4c5470a4071641a41c383305a20013ce423fdc2ff06db133d1ac06d60c6292b612ae3 MISC metadata.xml 320 BLAKE2B 4a0e2e1a1885c485f99da97298accb9b35bf3bfa9b5e442ad0a92ed13e9e5b5d754bd10fff44e90862e7277aa11ebff8e41354cff1d63307258ed25ba9336d2f SHA512 5c78ec7965ba88dc488b4fa2a39f19f27e34c1ed770d03d13bb9f8b5b39257288957ede00ec85b46fff42f24e052960f0cfe94b48e2269465e0afe44adcdac99 diff --git a/dev-python/python-tests/python-tests-3.13.0.ebuild b/dev-python/python-tests/python-tests-3.13.0.ebuild index 8b8ce61edb90..18359c06c7b9 100644 --- a/dev-python/python-tests/python-tests-3.13.0.ebuild +++ b/dev-python/python-tests/python-tests-3.13.0.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}/Lib" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index e5a5744f1b86..5af98bfa145d 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -1,5 +1,7 @@ DIST qtconsole-5.5.2.tar.gz 439219 BLAKE2B f354d3e6132142a3da52a1cb6b290d0a07b13920bc9f33f7fb29eb307cc5b653beccc5d28e53f7cbe7483147adb6e34ffc584718a79b814c9ce2c37b57a768fc SHA512 f79e51903fe5a1164a90c0905c308d2bce066bef2c61fed2b5bb7e757a9cf56875cdd14665df9284317497cd73bb544ae09e0b23c63b527bbd4bc90b874009f6 DIST qtconsole-5.6.0.tar.gz 440531 BLAKE2B f8d9e1ec45f310152b2c779df71c048ce6f704f8a9f366b6ed415a3dc8988553f45c4ac63fa08425e22124048e7946a4b40aedbbb15e90306bca5138426d91fe SHA512 ccd8f7b87d218237827bd52afc160cc8c00e9feecf90cde39aff55509831bdc9c4799499c91ed13538ce52a4011ed289f194662eef55b98efe09a2b9a5bd5427 +DIST qtconsole-5.6.1.tar.gz 435808 BLAKE2B 74476bfa85e08dfdd3bb0595531253638957024a2a5c9ec16e5eefa3677cf57756ddacdbf21405e93da1b5101bb4a354970ef86c786db02c52ca92e40877bbc0 SHA512 1bc2cf75019186ad439033ca7e262fb0e3172336b15573fec1da4925830c26f33117229f7552cdd26a3691b0c9facaf0073c640aea8098c3599aed38e7621392 EBUILD qtconsole-5.5.2.ebuild 1684 BLAKE2B 9d2984a34b05203ddf430006d94e800474aeb880c2a0e16eadde409dbdc8b5c74da812abedac79e934239b5a68a527b34e6be3ffd658ea5ec37632447d792c72 SHA512 84b1a81bde38bc3f40249abc73f61ec9a8dfe7256e491b1e7265ed72c3918291a78a72935c3b902d22908192988b594c0511b5ece35635bfaf18fd77364f7358 EBUILD qtconsole-5.6.0.ebuild 1641 BLAKE2B b9d7f9e104ff8728c95905bf035076d7e800a6caf056bebc0e435347359de442f9263a2a7c44d6e7618adee0b4eb4f9a1b5695970f1c15e2338850801b80db55 SHA512 c731c921901bcd2b891956654ff01312e3d66475bf516ee61000e40f7f5ba4202f1533862fcef8abdd73c2b3c9bec7d08ad88727529c7305a56b06bb797da54e +EBUILD qtconsole-5.6.1.ebuild 1644 BLAKE2B 475e93a4e76e18aa6aa1be266a354669391ae01a5372ae89433cc06c8ca73cf2986925e61bcea572d544b3b0d4c88d7cd2fd9d09181e4ece32cc3999ea18f021 SHA512 1b018e998311e362712126c98003fac7676a19d6d442a69600b972697a6104ddda31109b50ebe2710a46d637365222c7caa6f7bd5b96628c3b9b5523b23277fe MISC metadata.xml 690 BLAKE2B f2ddc6515f66ac4549e99bd6f152c16431875508bf12b6319e0e6a2b1596d86abc50b87ee424d3876eb55e92d1a506ade6567cbad535b4b2b54fad924a1891a7 SHA512 28bb7360ac7775d9c72c4d0f34d4c9a35c63905c4e870722236cc6c66e98f6c0eb165c8d7a9ce28948b25808a053dd1bb667d1f4783ca95319bb216310dc9f60 diff --git a/dev-python/qtconsole/qtconsole-5.6.1.ebuild b/dev-python/qtconsole/qtconsole-5.6.1.ebuild new file mode 100644 index 000000000000..c9b6137a741c --- /dev/null +++ b/dev-python/qtconsole/qtconsole-5.6.1.ebuild @@ -0,0 +1,65 @@ +# 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} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Qt-based console for Jupyter with support for rich media output" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/qtconsole/ + https://pypi.org/project/qtconsole/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + >=dev-python/ipykernel-4.1[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-4.1.1[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.4.0[${PYTHON_USEDEP},gui,printsupport,svg] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] + dev-python/QtPy[${PYTHON_USEDEP},svg,testlib] + ) +" + +PDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO; expects exact HTML, so perhaps fragile + qtconsole/tests/test_jupyter_widget.py::TestJupyterWidget::test_other_output + ) + local -x QT_API + for QT_API in pyqt5 pyqt6 pyside2 pyside6; do + if has_version "dev-python/QtPy[${QT_API}]"; then + local -x PYTEST_QT_API=${QT_API} + einfo "Testing with ${QT_API}" + nonfatal epytest || + die "Tests failed with ${EPYTHON} / ${QT_API}" + fi + done +} diff --git a/dev-python/simsimd/Manifest b/dev-python/simsimd/Manifest index db10b2a38a11..52e8e30bacc6 100644 --- a/dev-python/simsimd/Manifest +++ b/dev-python/simsimd/Manifest @@ -1,5 +1,7 @@ DIST SimSIMD-5.8.0.gh.tar.gz 183559 BLAKE2B 2df0eac6eff58bc6c460b37cb7c523eae5d7e77d516bc7182ef3b39d033a1028d40536aaf99ad8ec8c28b4908ff873079ff0ca3d74acd1f763b0faaa5d4e225e SHA512 4e68050379dfe42e6c36a88a0defad0d941c873bda66cb4c65bd8367b07bca99a5c5d6eec7c8e39b15ad1b8e5bcc9dc7f43457d8552e9d72faefb88b03ad6f9b DIST SimSIMD-5.9.2.gh.tar.gz 201732 BLAKE2B 2ca654f964fba71e54b8383390021fe87a731a85cac2509319944a3d0c0f60a09a7c1cf2fdb16a78ca20f3b7618e40960f2eac6c65fae6a06e583504df35890a SHA512 cf32776e05b91784d9a3a7d86a73a91549a22ce4612124f88412bb12bd356c654ce4e70c6a436f731d832a65cba8827d1100ff26f2b88fcaa234057f17d19aeb +DIST SimSIMD-5.9.3.gh.tar.gz 201742 BLAKE2B b0bb57f6f2ae787b73a42997126f0bb8dce5dbf0f052d9145a6b79d72ac922e4da5c382e9c1a0104b6f8199c1f23dfa513f8a9134f772e4e25264678b030e908 SHA512 308bd69c41d2b668d4c4a147afdb2ea27aea6d8210affafe321681dc56542f59d241cc4a767d82fe9f85938545ecdd7f96c2533067d503529db730ab10ecc73e EBUILD simsimd-5.8.0.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc EBUILD simsimd-5.9.2.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc +EBUILD simsimd-5.9.3.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc MISC metadata.xml 349 BLAKE2B 363881beeefbf65de7e0ab30fe5da642deefc0bbe2aeef0b4c3395a3c570f1043cb3d5e08927536a48597a44d447ff4853a5b15fffa65bbea5533377b0d6e413 SHA512 75756bd2cfb9adbdc59a2f4e3ed29c7d5daf53f427da661a9dbe6b3746ccb8ca031f650a7e505ef817b13c231cb725ca1e6eeb490be39b29e2883ca7d52f0368 diff --git a/dev-python/simsimd/simsimd-5.9.3.ebuild b/dev-python/simsimd/simsimd-5.9.3.ebuild new file mode 100644 index 000000000000..3b7152ad7a71 --- /dev/null +++ b/dev-python/simsimd/simsimd-5.9.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 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=( pypy3 python3_{10..13} ) + +inherit distutils-r1 toolchain-funcs + +MY_P=SimSIMD-${PV} +DESCRIPTION="Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm" +HOMEPAGE=" + https://github.com/ashvardanian/SimSIMD/ + https://pypi.org/project/simsimd/ +" +# no sdist, as of 4.3.1 +# https://github.com/ashvardanian/SimSIMD/issues/113 +SRC_URI=" + https://github.com/ashvardanian/SimSIMD/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="openmp" + +BDEPEND=" + test? ( + dev-python/pytest-repeat[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + fi +} + +src_prepare() { + sed -i -e '/-O3/d' setup.py || die + if ! use openmp; then + sed -i -e '/-fopenmp/d' setup.py || die + fi + + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p repeat scripts/test.py +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index a9ad2dbfb67e..2eef092ed6b1 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,6 +1,8 @@ AUX virtualenv-20.26.3-ensurepip.patch 1231 BLAKE2B e70cb1a5f8dc8ccf6e08fce67aa3485c0f584937d8e7b693f0d0859d6ec9d9b16bf1492b9abe96d4c8c8eb12814eaa54f76ed8e318f3871ee956189ce08b3dff SHA512 86c98d7ce4a9ea073c72cd103cbce66ed720794fa4fa2b68ac19382e3c4f53303613aed80a6984a68cab513cb198d648c5c6f103308eacb3c7306b72e4321129 DIST virtualenv-20.26.6.tar.gz 9372482 BLAKE2B 7e91c8beb59c3c3f4d538af425916abe94151efedae3f643c573f6c0dd05a37cfc42b5e61cbdb73e02fcc5adbfd34a0ffa5096790975890fe9d17f626ea5687c SHA512 9d403a835c66f9b7f733d3720f459b9450dddd5cd9a76358332da20dddd309918177d3d7782304e11f56f48755d901feb4eb9b708c3719241bf389f29bf0ba04 DIST virtualenv-20.27.0.tar.gz 6483858 BLAKE2B 661a8e208eecb4cc27edd515c09e4541fca6a00285a7f4dcc798c37c602a505460cc53f699a33589dca2f686534bec188c48ae1001e52979febd1787760b2ef7 SHA512 1d0e1e32af8685d0e426823acaa3b73a1a8f60195a0627585b897d1c3d785b2cc67331c6e7f414589e5a61b84f6aecaffdaa4baefa51390bf23ebb3be2e2ef78 +DIST virtualenv-20.27.1.tar.gz 6491145 BLAKE2B 807f4b2f699098ef3ddff3fad6af9244f1a33468522395a1cfb4e937cdb44b83c54224c4abafb65ba00b266b68b0e91eeadef5b1c4a175dd0c3288f5ddbce073 SHA512 36a84a3ada9ac79fbd6c23f77b45742421af0fdbb6ff4a83660ca3fe0d2a9b2e34e0bb5df633362bb98fcba042fd6d7e5f82587efa124cc1d7cf076df260fea5 EBUILD virtualenv-20.26.6.ebuild 3420 BLAKE2B f14f7f0d059ee5d5c4b1a18b4068d41ad6bbce2ee2bcd49b1cac89d896398f1a72a4a41caf041b1539a5b7c85fee4ec6fb5e92882ea52d184e70dc11e3e351c6 SHA512 5daf437d02672dfd5381844336edb86e3c83a07ca521d72a9f16fe467620a1abd454e4f85f0ca9c6a9db910d30b343dc52bd2737d5cb872e580947d71e63e670 EBUILD virtualenv-20.27.0.ebuild 3428 BLAKE2B 357c6a685e462336f5aa62e316143111454b7c32d75d56f080074099d81aa86705a58638b35db827d2c69642618959ee80a138700948695a051ae4f7f9513be4 SHA512 43f379b79040c4acb4e2e26a868b7ad8ce35b39dd11cfa7082728231e90cc14eb94b33427050c375418eac9aae24f05d3e6f4cf7440c71eae01bcd2dd3a3be94 +EBUILD virtualenv-20.27.1.ebuild 3428 BLAKE2B 357c6a685e462336f5aa62e316143111454b7c32d75d56f080074099d81aa86705a58638b35db827d2c69642618959ee80a138700948695a051ae4f7f9513be4 SHA512 43f379b79040c4acb4e2e26a868b7ad8ce35b39dd11cfa7082728231e90cc14eb94b33427050c375418eac9aae24f05d3e6f4cf7440c71eae01bcd2dd3a3be94 MISC metadata.xml 406 BLAKE2B 97fee04c2662c5c36b6e16538284def46eb2454424770f42edf2567ed804ca15c4e969c714c57573f897b0946246577ab6e35204ed1f3f1735713d8ab5d24667 SHA512 356d42db463b63a3b3a55c1e98eb661de0a10aa6a5fde4f8b3f888ec73020c6679e86efd8dbb0b3e4a5a720af95e658612ba460fe548e081a90beec75fb9c1b2 diff --git a/dev-python/virtualenv/virtualenv-20.27.1.ebuild b/dev-python/virtualenv/virtualenv-20.27.1.ebuild new file mode 100644 index 000000000000..acc7255ef749 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.27.1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.12.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] + ' pypy3) + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_TIMEOUT=180 +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-20.26.3-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:<[0-9.]*,::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + ) + case ${EPYTHON} in + python3.1[23]) + EPYTEST_DESELECT+=( + tests/unit/create/via_global_ref/test_build_c_ext.py + ) + ;& + python3.11) + EPYTEST_DESELECT+=( + # TODO + tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x TZ=UTC + local plugins=( -p flaky -p pytest_mock ) + if [[ ${EPYTHON} == pypy3 ]]; then + plugins+=( -p freezer ) + else + plugins+=( -p time_machine ) + fi + epytest "${plugins[@]}" -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/waitress/Manifest b/dev-python/waitress/Manifest index a2374c0791f6..9451c2a0ea2b 100644 --- a/dev-python/waitress/Manifest +++ b/dev-python/waitress/Manifest @@ -1,3 +1,5 @@ DIST waitress-3.0.0.tar.gz 179393 BLAKE2B 266130e3f0610098c29fe11076f58c8f938439c9b80e9630b917e829b64c88d06803c9208137b220827ed1deb8e9ba2c396dfcaf8d92435ee738d580dbda6f26 SHA512 8b391eb194fce32fd78c1a20cd1afe8caf20e7e0c622e4be2b1ec7d3831cb5a607cda0637d08dcd3a55f2e8c84817abdad4636bf2ca260b12a774dcfa68b9176 +DIST waitress-3.0.1.tar.gz 180560 BLAKE2B 20f7372ab2df88a9d67a7d7553f88d8024702e7003f5482aaa125ec89d00db1c5f1e1ec4f924a83b87613b871b440d4e56c72dafb450a9e107f756069afe811a SHA512 131492515d1c7c82e9dff0688c2f36f79594a2b1c6cd767ee29bfba53764aa514c8e2eeaef4319142df01001c850337954474745880541b6c9f8c39cd2ea5113 EBUILD waitress-3.0.0.ebuild 783 BLAKE2B dac24fff4ed3712da0ae956fbac25974342d4f7081451a604b1e91f9bef29047936d40916477cfeef1b9a8746d68eee4c2459da12a7985c9b0c4918581df6f17 SHA512 8b224afce8c42b8358fe02e2a1634ff801986414d11fdcd10cba38be21c0a42de37a0b3457199af55aa582ab305add8c8163ba8e28cf4226c82e1c6d720ed494 +EBUILD waitress-3.0.1.ebuild 791 BLAKE2B 4389da7e151f95167cf8ef85e1fc5071b47840dba961ff43fc6d338aef81151705245e7598450d6d455a4a0dec89f69f4e81b9037d9f16321e9bdeacc92e186b SHA512 bd0c15a99c6122205069366bd8feffad5f4a36a9a3b25ae57533f9c0081540bc4715bb03da4f506137f971530639bd7ae5690cb944ab784c7336b2e3bce40750 MISC metadata.xml 404 BLAKE2B 384598e80742dbc76ff25fab9b93b3e5ad1f730c9c55782257a6e7ce2724f631213301d4a213bd1a20ffc0bc97bfbb2ae4759cf9ac6e31d9728f645fbb69cb9d SHA512 5315d60706055e2def0e41f4d8ed99bcb54f99524fc6d23ffbe36a28faa315801dbbfba02042ae217e3a9db2dbac430085500603d88cfb0fab25d0a587ccee0e diff --git a/dev-python/waitress/waitress-3.0.1.ebuild b/dev-python/waitress/waitress-3.0.1.ebuild new file mode 100644 index 000000000000..5721ef370703 --- /dev/null +++ b/dev-python/waitress/waitress-3.0.1.ebuild @@ -0,0 +1,32 @@ +# 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="A pure-Python WSGI server" +HOMEPAGE=" + https://docs.pylonsproject.org/projects/waitress/en/latest/ + https://pypi.org/project/waitress/ + https://github.com/Pylons/waitress/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fails on some systems, https://bugs.gentoo.org/782031 + tests/test_wasyncore.py::DispatcherWithSendTests::test_send +) + +src_prepare() { + sed -i -e 's:--cov::' setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index fc6c6308ea53..fa6a2ac440a3 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -2,10 +2,12 @@ DIST yarl-1.13.1.tar.gz 165912 BLAKE2B dfe4f9ac09c66d05b6d072cd6676d1753f97224d5 DIST yarl-1.14.0.tar.gz 166127 BLAKE2B 7974896144ef23309aead8935f18fe717e39b982bc75eb3c828eaf9a1d01b413c2bbb270344160a396927fc32571928c67eae46146920cc6908e2e3f74e90cd8 SHA512 8cc9d1aaa6fcccdfce5ea0a0ac3f89b81c5719568b76e66637e9a7baa0637770523f86495f70e28f94f166579e77d72afd708cef1306dafcd8093c7fb2a1d3f0 DIST yarl-1.15.5.tar.gz 172410 BLAKE2B 49d31ed31466921a04d1e83d98c6ec742aaa71a7675da9c9ee4f99ce4ca6813cd471e92e8ee78e4c33c3ea2efe981b8603bf677100b1e9b8f6de3324e2c43074 SHA512 d1219971f5bc90e1d1f4b256a8e90fd98433086cb326f658bd68bfaefd97c12c0ff8121ab16fdd047236f29ce6c3907ea6b0afbde3526fe8ec290dec379ca732 DIST yarl-1.16.0.tar.gz 176548 BLAKE2B 038934a1ef05c78fd04702ed4519c121b7e9c5e6f41069e179cd7f09c178da9e6a73ab14cf5083dfa0597b24ed351dac0d937f419c58e510c9eb695c3639d2f3 SHA512 ee3933aed6ac0cc5df24cd0e8f3d3d560348b4a7c960562a7bee16e105b6104e24c5720388cd4a1ae20f796f27bf0ce8c599999d554e3cd790c6db27c6799d22 +DIST yarl-1.17.0.tar.gz 177249 BLAKE2B e84d042ed3028989e69e59621f123deda905c3ab9c4b99e58cf8f306ca4599ef4525d93838dc1595f1cdf8028fc6708fd3d5b7a698b0ca9bba1ac4e754a218f4 SHA512 bae5ae31ddb072c9a1f6902cb87dbfbf194e8a67532da336658382a647961e1290166500ac358528681e406ba99b76825293eac6ec042a480c018c421a135610 DIST yarl-1.9.4.tar.gz 141869 BLAKE2B 367eac4674bf1190122f10bb1dc1c4f3d5e4263e1d95ff2b871067d55a894dc19a6bb5a6c673d1bed28b3c5f77c704799568edfe639d50f0ae10313eb847352d SHA512 e4f7917f1625b40125abae9a13d61795f97e8cf489735e15cf58476e97c3bcf840b1452482f1f7a737fbb2bdd1dc7bbcfa882d0a7f76a27dfb3aea72b7a66c82 EBUILD yarl-1.13.1.ebuild 796 BLAKE2B 16e9a01b478ad995c8a34073006ebcc360ad178141e6ac7c349c13b8dc43ec02b917e5f00c08f059adbd7cb73d55e1739eb872f7c636a0d73ec7c6221119f42a SHA512 4d0382077dc2685f7cb7abea52171fbd2d03217381f94f6ca7cdf3553d9d709ba4cd129a748d55c6ded11d0d64e70d4f1dd9d66ddc3e8fdafc4902b5611b4c57 EBUILD yarl-1.14.0.ebuild 1366 BLAKE2B dd784fa7a0a2c53621a204d64b575f7bd22139cacb39f6b6734642602f78475041a91e27d683d1d4c35865b0d0310eaa220dddf4a27e20fb9cf8f934867364ba SHA512 900bf14d5bf8a3e5317275813f7a51ae13993f8bfbc3dab27d881be8b021c4bf4b1ef8ef8178a71ea3328a068887949b7f048cfeb863bdfd4d3cfe2e10092831 EBUILD yarl-1.15.5.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 EBUILD yarl-1.16.0.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 +EBUILD yarl-1.17.0.ebuild 1481 BLAKE2B 88327ded19ba58b8f9b8eebb3211f16d03a110d7ff55edd667263256c420d5e12f5fef0ee46047914b5b8f68f3f9042dd7f36b38fdc41214426e3b6309447826 SHA512 33889a7a3b0203656a1de970120b8490a4d306e7151f48a5d3affed423305ed78ea8944ceac13541d8b259ddc9b65a91df53b4fdb85b2840bb2f605400181065 EBUILD yarl-1.9.4.ebuild 789 BLAKE2B 4461b765d466a6739bb0b4667fd5e9212df330a19bf5542f28b4849c6248a25665e40931b2e7229fe6090e3b8a3ec3c638e196c9941adb49756b461545a24115 SHA512 03b1f95382c35e728842477f97acf1b7db5375117fe7e05e80ff6d6a6f5b67e97ddcb3a0f805a127da9600eebca31e07e4e001078bee72578d7771cabe58dc24 MISC metadata.xml 440 BLAKE2B 10fd0e37c9be76c5d1dd90b9fd1cb1e5161fc5a7d2b51bcb5658a8c187a67d5f9573241733c3f9570e9fb7767bf84b38a6f8b2c212596627bea4e1686b7eb41e SHA512 c9e340124ed93cb0d52a0ae5abd43c10528197893c3d5ab57a0eb7046ebae5b80119f7b033d6697110c4bc064c0a8581d904788f6969cb52a433064067898cbe diff --git a/dev-python/yarl/yarl-1.17.0.ebuild b/dev-python/yarl/yarl-1.17.0.ebuild new file mode 100644 index 000000000000..2f428eea3047 --- /dev/null +++ b/dev-python/yarl/yarl-1.17.0.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[@]}" +} |