diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-07 10:28:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-07 10:28:02 +0100 |
commit | 24beafaaa74162a20d550f2ee7c4997724e34d95 (patch) | |
tree | 837cc95f211fd637e2a0b4f52355baf389f58db1 /dev-python | |
parent | 2fe3545788a28893084c9f3b6f992cff1230505e (diff) |
gentoo auto-resync : 07:09:2023 - 10:28:01
Diffstat (limited to 'dev-python')
27 files changed, 789 insertions, 13 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 1706ec9effd5..cc2ea4fd9529 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 540a668ad40c..3555c888fb0f 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,11 +4,13 @@ DIST boto3-1.28.38.gh.tar.gz 694902 BLAKE2B 2f33b0e1015c3fa15d16c990f709a782ddc0 DIST boto3-1.28.39.gh.tar.gz 696213 BLAKE2B 2a71b9ca5416d6eb1fbd2b21c67c2eca95409acced1c67b8345355d61eece063f589c2cb81ee4c81fd2dda54e66268d8269a8bb2f251a6d95c51a18366b5d861 SHA512 cd62663568aabc87de3d0c669b7cf131072aa596d9a341a19a357d8a289458ebb1e18b6618ab454753d0d385b53d450aaf836b5fb1bf04d30b40b6b314308908 DIST boto3-1.28.40.gh.tar.gz 696495 BLAKE2B 297a32f989dc0c1bc8f0a5cd797c5f2d52ea9b83fc202b0889fdf89e7233693fe3a61972d30bf58f05e528f62c8ffaf24ea255c4ef1972b70b546c8c13b692b5 SHA512 2493d647a5a8c399fb3e3a4a9bbf64d242ba78263d33ac8e019036035522574ecc39a5fd0bcbddf2492aa3bd1401ac3c24f0ec92c6ac62cb2898a8fbeedd8651 DIST boto3-1.28.41.gh.tar.gz 697348 BLAKE2B 83ec56d2e2a4f9ebad061f1b7650425a074d53427f4c691c23d5d9746c14bf6c4326bdca17b13a13d70723dd8e62d2e9977452ab9664556cfa63a93043c9b832 SHA512 bdd62739f532919803cab3303d11cf5362fbca8f1b6045e53b584705b8dcce7eb0d17fd1fdac02ccd49386937f1d6edaadfca5b1b3ac02d42dfe629123e31ceb +DIST boto3-1.28.42.gh.tar.gz 697860 BLAKE2B c5a4550a222a7ec7d2f09af1e06bfdbcac9251d5bb0dea089ce6a87fae2f62852cde76c0931755a2a343c4e8d38953a87e6ba32d377edfd7519b3ab9d0346962 SHA512 e63eb26f7498794578ebe9bd599b8c50b6c765cc87903dcee729d8a169d5768d5bffe56535afdde139db0db887882b306fdc45e54cbef322e4607cf6318fa1d5 EBUILD boto3-1.28.30.ebuild 1508 BLAKE2B d38a9300c2cfd40239efbe4b7bad251a3fa5e723b438fbfafbaea76fbfb252832aba45f875aa0afb984a9ae2f4e8a4e64499d9ddff4ea1e3d1ddb0ea3fac5f65 SHA512 9c1ce9d3f807344d2040fa6200070589fbbc6f0ac0eea1146255c18412faa70a90632836ad2f0450c902ef57bd274ed537ec1633438c91b27fc76af981c7b895 EBUILD boto3-1.28.35.ebuild 1532 BLAKE2B d9c16eb4938ac7488765eca7dc3d5d55402c5aeed4b4e380c9d0433a4e18a94cd11938b43fbe3584b95bc36fec90557a1cfb6017a41fa70807bc06b941e3eca6 SHA512 2d6bd178dd4b7b9b30ed092f69ffdf01e4450eae8e5ee86bd5dcced4370f6f49a440067ae598e126d7ca0f50f9c1212e734ccbd5073fb4fcdef8850327b57763 EBUILD boto3-1.28.38.ebuild 1532 BLAKE2B d9c16eb4938ac7488765eca7dc3d5d55402c5aeed4b4e380c9d0433a4e18a94cd11938b43fbe3584b95bc36fec90557a1cfb6017a41fa70807bc06b941e3eca6 SHA512 2d6bd178dd4b7b9b30ed092f69ffdf01e4450eae8e5ee86bd5dcced4370f6f49a440067ae598e126d7ca0f50f9c1212e734ccbd5073fb4fcdef8850327b57763 EBUILD boto3-1.28.39.ebuild 1532 BLAKE2B d9c16eb4938ac7488765eca7dc3d5d55402c5aeed4b4e380c9d0433a4e18a94cd11938b43fbe3584b95bc36fec90557a1cfb6017a41fa70807bc06b941e3eca6 SHA512 2d6bd178dd4b7b9b30ed092f69ffdf01e4450eae8e5ee86bd5dcced4370f6f49a440067ae598e126d7ca0f50f9c1212e734ccbd5073fb4fcdef8850327b57763 EBUILD boto3-1.28.40.ebuild 1532 BLAKE2B d9c16eb4938ac7488765eca7dc3d5d55402c5aeed4b4e380c9d0433a4e18a94cd11938b43fbe3584b95bc36fec90557a1cfb6017a41fa70807bc06b941e3eca6 SHA512 2d6bd178dd4b7b9b30ed092f69ffdf01e4450eae8e5ee86bd5dcced4370f6f49a440067ae598e126d7ca0f50f9c1212e734ccbd5073fb4fcdef8850327b57763 EBUILD boto3-1.28.41.ebuild 1588 BLAKE2B 7868e2dbbe0ec485326e70c75cd785d0d369de83650d28b6501faaa4d21a8c1952c68c1e06659d1c4f70baf420b70edfb714e82d60dc9dfac2f494cc42066317 SHA512 a16a292694a5fd614ab03939fa6131614b287c8e475a83f40f463f0051f6404aa85413713038de60089b6489fc5fa9688bedd1d66ce578ed3fb0cd1b3c237d72 +EBUILD boto3-1.28.42.ebuild 1588 BLAKE2B 7868e2dbbe0ec485326e70c75cd785d0d369de83650d28b6501faaa4d21a8c1952c68c1e06659d1c4f70baf420b70edfb714e82d60dc9dfac2f494cc42066317 SHA512 a16a292694a5fd614ab03939fa6131614b287c8e475a83f40f463f0051f6404aa85413713038de60089b6489fc5fa9688bedd1d66ce578ed3fb0cd1b3c237d72 EBUILD boto3-9999.ebuild 1532 BLAKE2B d9c16eb4938ac7488765eca7dc3d5d55402c5aeed4b4e380c9d0433a4e18a94cd11938b43fbe3584b95bc36fec90557a1cfb6017a41fa70807bc06b941e3eca6 SHA512 2d6bd178dd4b7b9b30ed092f69ffdf01e4450eae8e5ee86bd5dcced4370f6f49a440067ae598e126d7ca0f50f9c1212e734ccbd5073fb4fcdef8850327b57763 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.28.42.ebuild b/dev-python/boto3/boto3-1.28.42.ebuild new file mode 100644 index 000000000000..90e1b0ce7382 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.42.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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} \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 50b11cb096a2..ac7bc9bef908 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,11 +4,13 @@ DIST botocore-1.31.38.gh.tar.gz 11926426 BLAKE2B 1f668a23e52f3033f3b12e6dfeb086d DIST botocore-1.31.39.gh.tar.gz 11927900 BLAKE2B 28b1fe5beea5b586b3bf6434ad3ab32b8f781ae79ddc39a142a53f5e87d136bcad4e1d1baaeee2afc4b09c3e4b02f583817d6471d09dd145b881fafdf71c73e1 SHA512 2dc271ace551ff4c9a25d6ed4c3a31dbdd90cb0f1c4088e1c71b220e20f4b7008fd41b2682c838c5e3fe911c35758a99502fe874c45c51092a83150a14d25edc DIST botocore-1.31.40.gh.tar.gz 11933400 BLAKE2B c01958831fd477db79c7b723f799abfb2f02c85bf1ea67adc6ecb2bfba13b0f945e30e11a5d3103a3bd54f913c9386327127c5eaba792b6a42e8a4bfcc21d4f4 SHA512 7bbbb9bf9821bf6d24425de4694d1d0c871350b3fbb59488ff543c1569b41e669abfdc815840e1c912c3ade20e78a7fa8600f0d88ad220cee5bfc31b3138ed66 DIST botocore-1.31.41.gh.tar.gz 11935773 BLAKE2B 6bf4c1f7c3b3d9115c53f5cc833688097d0282eaacc868156fc9d29721e9d9cbf75e31d34ebba5c65b543be7bdccd6848de7cac5f8fb43d1fac63896b6e3f39e SHA512 add75b55a3c6941cd96100ca9ce846f616d638ce18bad658776acfc8b9ab9526da48069393a2ea54d24e93a25141ef2496837b04395956f82319f9a3d8fe5ad4 +DIST botocore-1.31.42.gh.tar.gz 11936544 BLAKE2B a1da9ec08885f84c458f621420560429fa4705bef5790c2ca7c39758c7caa407fb9ec415414c8c5e604f06cc52dc085f0061e4f926dad87c8cb25631ec9d64de SHA512 767903bce078f61780beeff0c1fa47f753c8eb4a0beacc78934a7d16dac27944f3ef20c4f9533b296bbb1edaefb1c5e244ccc3fb908d57273b733a062892d25f EBUILD botocore-1.31.30.ebuild 1827 BLAKE2B 52ad52588a26e5f1af6dc5f75059fc5d4821e7b7cbb583b07713f3f6af6d6076593df2f22c957ea39813f70b9c0b00eab67b9a9dc174baafa3594326debc3540 SHA512 e4e23357c944e848d0d638977e7053de952e90c6b8d74ca16a25b0ff37a70b0f5bcb6e60022dfdee7c81d8d792d0a28c6acc6f37eac69c2274e36f9a7c808750 EBUILD botocore-1.31.35.ebuild 1834 BLAKE2B 8209ad43b9caa70c98744edf36645c8a660c86e61d2640787b8fd452c6ead5ebaad53ab332d74bb242a32ed673577231abd7a39b60b1122c9c30a6e1c46e9eff SHA512 8f2ff2d43225813fbba24106ed6df42810fe25cb3012288d3922dd57717e2608df205c7e2e6a6687f4089448ad7f8eb6b6e1575b4b51b76727351d4bcbea9155 EBUILD botocore-1.31.38.ebuild 1834 BLAKE2B 8209ad43b9caa70c98744edf36645c8a660c86e61d2640787b8fd452c6ead5ebaad53ab332d74bb242a32ed673577231abd7a39b60b1122c9c30a6e1c46e9eff SHA512 8f2ff2d43225813fbba24106ed6df42810fe25cb3012288d3922dd57717e2608df205c7e2e6a6687f4089448ad7f8eb6b6e1575b4b51b76727351d4bcbea9155 EBUILD botocore-1.31.39.ebuild 1834 BLAKE2B 8209ad43b9caa70c98744edf36645c8a660c86e61d2640787b8fd452c6ead5ebaad53ab332d74bb242a32ed673577231abd7a39b60b1122c9c30a6e1c46e9eff SHA512 8f2ff2d43225813fbba24106ed6df42810fe25cb3012288d3922dd57717e2608df205c7e2e6a6687f4089448ad7f8eb6b6e1575b4b51b76727351d4bcbea9155 EBUILD botocore-1.31.40.ebuild 1834 BLAKE2B 8209ad43b9caa70c98744edf36645c8a660c86e61d2640787b8fd452c6ead5ebaad53ab332d74bb242a32ed673577231abd7a39b60b1122c9c30a6e1c46e9eff SHA512 8f2ff2d43225813fbba24106ed6df42810fe25cb3012288d3922dd57717e2608df205c7e2e6a6687f4089448ad7f8eb6b6e1575b4b51b76727351d4bcbea9155 EBUILD botocore-1.31.41.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb +EBUILD botocore-1.31.42.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb EBUILD botocore-9999.ebuild 1834 BLAKE2B 8209ad43b9caa70c98744edf36645c8a660c86e61d2640787b8fd452c6ead5ebaad53ab332d74bb242a32ed673577231abd7a39b60b1122c9c30a6e1c46e9eff SHA512 8f2ff2d43225813fbba24106ed6df42810fe25cb3012288d3922dd57717e2608df205c7e2e6a6687f4089448ad7f8eb6b6e1575b4b51b76727351d4bcbea9155 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.31.42.ebuild b/dev-python/botocore/botocore-1.31.42.ebuild new file mode 100644 index 000000000000..7cacb5c3f634 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.42.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} diff --git a/dev-python/build/Manifest b/dev-python/build/Manifest index eb6abdc5a841..1f9322652ac7 100644 --- a/dev-python/build/Manifest +++ b/dev-python/build/Manifest @@ -1,5 +1,7 @@ DIST build-0.10.0.gh.tar.gz 41509 BLAKE2B 0b1967af6fd0e47e8de5a6efcab879a37231b399965c4b52d9f952ed4fd64e9606b40f8e34ca18fb634ac5b42e3fa63995e6da292b10424f5ea0bd9fd49a46ca SHA512 e7ab783cc2b228e49c3dd15be7e25150924f26611994367b145cc2d43d7f89597c018cd4ca5cd8b31280d965421d314c80e4b97cf3e00f6cf73d80a3b081e7d1 DIST build-1.0.0.gh.tar.gz 43246 BLAKE2B c26c664cd627a0a070c71cb230b682526ff0f291a620edb402a797eb2baf4ab3e2d32f228241d4e495ee517b60873bb8a7086ea55e3270502a5cd3b650000a79 SHA512 4aac1e9c0402163ce50b4054d9b383cb86f20cda21e09c859ec106c7333a77bc01295371df438f3c04176799b9a57d0501ebf1a01461ad372ceef710120e08f1 +DIST build-1.0.3.gh.tar.gz 43412 BLAKE2B cb707b21582a1f7a5f649dcaf0fa7d30d253641a51c6af1284b17df46ad877af5280b5d1a07ce7eb90ef468d0f850e3e85dba1f24f7942c6ba432789760ae670 SHA512 c2c67ccf407bb1780c90e02bbc2692b8b10cfe441f445c05d38a675f3498d1d6f94306dcbe270c181e14471f1dd3712e2cba33a4792f6140e2e9f0aa3c8e7b81 EBUILD build-0.10.0.ebuild 2117 BLAKE2B d204f7c4ca4efbdb5ee444b43633a01099982e07111c445091ae78d721cae728c94d3546e485bc8df3822cc75700b2a2765b395d7bd8ab626ea72bf004e6ed0f SHA512 a241af073d82a5fb98a34ea4372c658eb04bab556a3fdc6ed40021576ad48389ef6dc671cc7f460cb8db969a7deedf8b8e0244ef69604bbefc869b8ea6021408 EBUILD build-1.0.0.ebuild 1516 BLAKE2B c794b9da972e1e44b92434007233c3a2dd4a2120ea2327b66ffb5b6a0f5a31972e53b2e4dbeae4d27f5d3a97ef535560c72ff1f49ad632bbae2e8861c88b8bbe SHA512 f90fd9c2175629e21abcf0868993f20e1b182f59fd53f03da40e327af0fb71299908161d241fa10d8309a29e415b3738770a2d0667feabd297d1bbfbb043874d +EBUILD build-1.0.3.ebuild 1516 BLAKE2B c794b9da972e1e44b92434007233c3a2dd4a2120ea2327b66ffb5b6a0f5a31972e53b2e4dbeae4d27f5d3a97ef535560c72ff1f49ad632bbae2e8861c88b8bbe SHA512 f90fd9c2175629e21abcf0868993f20e1b182f59fd53f03da40e327af0fb71299908161d241fa10d8309a29e415b3738770a2d0667feabd297d1bbfbb043874d MISC metadata.xml 361 BLAKE2B 1c46e1d83bec4a8aaedd932af700865009735ff75e3af63ef7c08f7c00883d5f658f86aec981cd48c8ef0ab0a287250a3a4fdfad42fb434f6c06d9f33f72f7d6 SHA512 89c86db40833c86e25f387c5bfa8952b62e983714be85af1e8ca2a6ef8a402b94cc32dfc18cda8d8850736aaabdb46c153743af9bcb027e86b2c1f085f6f2369 diff --git a/dev-python/build/build-1.0.3.ebuild b/dev-python/build/build-1.0.3.ebuild new file mode 100644 index 000000000000..b0fb7340096b --- /dev/null +++ b/dev-python/build/build-1.0.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="A simple, correct PEP517 package builder" +HOMEPAGE=" + https://pypi.org/project/build/ + https://github.com/pypa/build/ +" +SRC_URI=" + https://github.com/pypa/build/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-19.0[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/filelock-3[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-2[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-9.1[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-1.34[${PYTHON_USEDEP}] + >=dev-python/setuptools-56.0.0[${PYTHON_USEDEP}] + >=dev-python/wheel-0.36.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # broken by the presence of flit_core + tests/test_util.py::test_wheel_metadata_isolation + # broken by the presence of virtualenv (it changes the error + # messages, sic!) + 'tests/test_main.py::test_output[via-sdist-isolation]' + 'tests/test_main.py::test_output[wheel-direct-isolation]' + ) + + epytest -m "not network" -p no:flaky \ + -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index 6f98bfbda22f..48aadfcb5c2a 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -1,7 +1,9 @@ DIST dask-2023.8.0.gh.tar.gz 8539262 BLAKE2B 3ce61191bca458e32ac88904460f8ee843f34ddc9be88d0de7f56a90897dd599d70012f92b5063b5df996bc61c85c16b2d6b745e1a334847d8b66f66721bc422 SHA512 9afee3571e58b0f923347e2ec06c80ab5e4f35abb23e0635777170def0561cf1df6c940844cad1efe112059909020cf6435147b9003c4a449eba98d38d9eefab DIST dask-2023.8.1.gh.tar.gz 8541743 BLAKE2B 485a88354d3aa54ff1f6afb1bd4a8b3317a6a48b519bef4dadf1bcbb240f21e54eb165f2c076ea8aa9b5753fd8714af26453858d7fe154bb015489f89b8114be SHA512 4ca231236e5d868f8fbb69b38721e495a44fbc982a53ea087ef68085c4df2cc99526b5a66b7fee93a3b63a6cd621f8448b877b98370b3dfe1a32e386dd91e73e DIST dask-2023.9.0.gh.tar.gz 8541973 BLAKE2B 06e04377f8f7d0e6a6487c1c2aa52e61a8ab73a04455e9a6d7da238bd747d7ac6cf1526f645f0c874f2588f28708139f8fb1fa0271e6166442be6a15ce68b9f1 SHA512 eadc3a9cd5d8d960d8006db2641e5513a093b4818c1cd4de058d70f088ef1cfd74413abcf0bbba757d9188de4b3c103a3fdfe4ce76f14554b589540011c53835 +DIST dask-2023.9.1.gh.tar.gz 8544717 BLAKE2B 786ca3bda6b356acdeb56070964aa25e136f9976322ae5dbaf5895eb181fc1b7582ae4731de12e7881287433d4f502dbbc5002840ebc443403a9fa76df438693 SHA512 1bf0a028059dfba70a131648f4884a6c9a091cd2d550dc7968cb2a8728ce5ef405c351f100001ab2ce48470634577104924fdf4b6dadda32308b4b5a62b3200e EBUILD dask-2023.8.0.ebuild 2634 BLAKE2B f34d0f231c2a4b8e56b0f6bfb5c6de73c86b7ee99057d138db13d146b6dd73743a9df05fc27d52e7b4c9d894ed173cfe952075b744bab0d82186ce5aeda60721 SHA512 d88db20fbe8f8dd85879c385dce2ecef5796f6be883eb158be3481ebf82c88d0ca46ce6a1b7894842f75ddcdd6f5028cf88a2c0d8a365680294c2fb30c7717a1 EBUILD dask-2023.8.1.ebuild 2690 BLAKE2B 0fb80034035c15515794ce8e2fc146b179d593ad7acf03d63d464ac757452c0163d4ef65b2c6fbe5197446f3e5a8ff9a9274025887d9d0ff54323803fcd625f3 SHA512 99bfb1009e403d4aa5530c6353216757b391efc23692d20b3c285856a0812ee185b1c57ba13ebe32616fbfc791a9c6916daa9661e556350d04b52b1ee135f708 EBUILD dask-2023.9.0.ebuild 2690 BLAKE2B 0fb80034035c15515794ce8e2fc146b179d593ad7acf03d63d464ac757452c0163d4ef65b2c6fbe5197446f3e5a8ff9a9274025887d9d0ff54323803fcd625f3 SHA512 99bfb1009e403d4aa5530c6353216757b391efc23692d20b3c285856a0812ee185b1c57ba13ebe32616fbfc791a9c6916daa9661e556350d04b52b1ee135f708 +EBUILD dask-2023.9.1.ebuild 2745 BLAKE2B 16fc9fa5481e2d5a6578bd1e413a9f2d9325a70bdcb3cf27a67bf04a125b8f25c408caa7c8b03886c6da7df85a472918035caac495ac8a097fa9435bcec07836 SHA512 d41be063c2a4389045d5ae61ae82b43964791ae142232aad716e7938900670afa21a1a425721682e3799a6a308653838777452bedad150c2ce997b7c1217a977 MISC metadata.xml 724 BLAKE2B 9af7553cec2b66228a21f146372d86b8d620048d68f94c1fd09006c8ee7ddaa4e212c2a359b937a5ee37ac23df01e10af0796e8b4cf952237cb4c73a2dff7ca0 SHA512 89b83402c13b06f7adf10cd1cc08b96b90dbc2ca3b5c0c6c422b6e2394e03fd51346306479557c11fcfdbd4a81a574890f2367228ea38531b5f05c02a30b8dcb diff --git a/dev-python/dask/dask-2023.9.1.ebuild b/dev-python/dask/dask-2023.9.1.ebuild new file mode 100644 index 000000000000..7e6a97864b43 --- /dev/null +++ b/dev-python/dask/dask-2023.9.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" +HOMEPAGE=" + https://www.dask.org/ + https://github.com/dask/dask/ + https://pypi.org/project/dask/ +" +SRC_URI=" + https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/click-8.0[${PYTHON_USEDEP}] + >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] + >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21[${PYTHON_USEDEP}] + >=dev-python/pandas-1.3[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/toolz[${PYTHON_USEDEP}] + >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] + test? ( + dev-python/moto[${PYTHON_USEDEP}] + dev-python/numexpr[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # fails with sqlalchemy-2.0, even though we don't use it x_x + sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die + sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # more tests relying on -Werror + "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" + dask/array/tests/test_random.py::test_RandomState_only_funcs + # TODO + dask/array/tests/test_reductions.py::test_mean_func_does_not_warn + dask/tests/test_config.py::test__get_paths + dask/array/tests/test_linalg.py::test_solve_assume_a + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" + dask/array/tests/test_image.py::test_preprocess + dask/tests/test_system.py::test_cpu_count_cgroups_v2 + # require sqlalchemy<2.0 + dask/dataframe/io/tests/test_sql.py + ) + + if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # fails if pyarrow is installed without USE=parquet + # (optional dep, skipped if it's not installed at all) + dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_rerunfailures -m "not network" +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 3277208f3094..f296bfd821ae 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,7 +1,9 @@ DIST google-api-python-client-2.95.0.tar.gz 11044697 BLAKE2B 1a28798146d2f321f0455dd092430cefb6d15ddc3469ba0b5ee2aab6546c4c56477379e970ac4b0eeb1a969d53a5ea002206145c046bbfa89c1b6d65dad5a2d1 SHA512 3e8419d4de8e1604365b47bc13ebb69939f2c86bc46e1e08277a3766a23f03660c25ab9113a13b6abbfee2afb4f49678144bb11c4a423c4cf05c83717863183e DIST google-api-python-client-2.96.0.tar.gz 11464696 BLAKE2B 5cec3b123ffe03f812909dd2f1aeb723ceacd657a5e3e796f358fde5c79fa274fb45a01a2857c9fbcb5431f00384792b1c3f721fafbf2c58e6732bb352539dc7 SHA512 94b59d38df431b1624192946f84229f100870c44eaa304f740dc1ff8973bf54f9c1bf59315aa826f122ec4b46c21507d4f2c5f691a18804e57d81379848346e8 DIST google-api-python-client-2.97.0.tar.gz 11493962 BLAKE2B 243ee33b169f13e311839a3c57a4922a7ef8c09be9ffb02520580bd11b894ffa1116479abd0942503627d958f4553bc1e921a20c9ab05a4cd1386f585ca286c5 SHA512 bdbe64c3186347f111138963e70411f13ba3a8fd342cac5e93d8415093404c8ade9f53b3d81c8fb6e876095eb0016dc4efc1de9e61df1e308d6d359a3578db96 +DIST google-api-python-client-2.98.0.tar.gz 11651975 BLAKE2B 11dbe1ef86243d948887490421926c951339714b79ae62746b2c0b016505cae6e62dad8102f93ea48031dd686f21ad353210e5ac9843ab39fe9bb1d87eac4580 SHA512 dbf2b2bf6ae8934f7d2c20369eecc0ee00d21d96615e064bacdf4999ebda4a58897b0cab463958bfa39404fe7c1b922168710ef30d5f37849a076c409e2d12e0 EBUILD google-api-python-client-2.95.0.ebuild 1314 BLAKE2B 4b94f53adfddc78245531b7528b46e0f22ea97b1c3a2f856657d9239308e302abb13d95c75f7118e12c459f8350c035cea63691a55db8c9c089345bb1353e67e SHA512 ea3465da7f85594297f735b66d1e2378e2b2eceb530da38dda71ef2ff0ab26f5abddc8c0cfaafbd34abb040e114c67e55c71aa9a3e84fcede68ee298b1f32fbe EBUILD google-api-python-client-2.96.0.ebuild 1316 BLAKE2B d6d158b0cdd8c45d8d79dbc2977291d7e3342c7f53da3adcb227708ae8f3161413381d971dddf63b941a32b94133a6cd4c661d7b76863a5d3162db0495fdceaa SHA512 762a1b2c0e8c06f60e01fd9045abc4255999039a97e86145bdbe8ea7727d2bbfd3defd6c6e932a726f0efe001cb0364d1640f2a808c531ff57ec66d8740d9d13 EBUILD google-api-python-client-2.97.0.ebuild 1316 BLAKE2B d6d158b0cdd8c45d8d79dbc2977291d7e3342c7f53da3adcb227708ae8f3161413381d971dddf63b941a32b94133a6cd4c661d7b76863a5d3162db0495fdceaa SHA512 762a1b2c0e8c06f60e01fd9045abc4255999039a97e86145bdbe8ea7727d2bbfd3defd6c6e932a726f0efe001cb0364d1640f2a808c531ff57ec66d8740d9d13 +EBUILD google-api-python-client-2.98.0.ebuild 1316 BLAKE2B d6d158b0cdd8c45d8d79dbc2977291d7e3342c7f53da3adcb227708ae8f3161413381d971dddf63b941a32b94133a6cd4c661d7b76863a5d3162db0495fdceaa SHA512 762a1b2c0e8c06f60e01fd9045abc4255999039a97e86145bdbe8ea7727d2bbfd3defd6c6e932a726f0efe001cb0364d1640f2a808c531ff57ec66d8740d9d13 MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.98.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.98.0.ebuild new file mode 100644 index 000000000000..0194f9640998 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.98.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + ) + + epytest tests +} diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index b819d9e6de55..b15bbc3ac530 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -12,6 +12,7 @@ DIST numpy-1.25.1.tar.gz 10428993 BLAKE2B ee3edaf5416ac858b995f0cb8df75962af0161 DIST numpy-1.25.2-patches.tar.xz 7212 BLAKE2B 718331b2d9f8380df239bf2ad9c24d79924e08797825d7c8655124a55e059790f96641633cdb42c597646764ca9efcaf277d5f5b75f042f533c28f2a81d5a5a8 SHA512 bcc0c55710b8d874e1dd9a57fad5698e09e3c96254922db32a8beeae9a5a54532cb0660d3ce43ca68e70fa7227bca9e0d12a0298aa6972ad2cbcecfe4aee3e85 DIST numpy-1.25.2.tar.gz 10805282 BLAKE2B f138eaf237f3e8052cafbe9fc98b4b62fb0748079df8599fc0950624c856294157410a2ec6fe381eaa8386b1530a39f7037ae1887c9fcfe2e77a3d7ad1ca0171 SHA512 6846d558c227329b6e700965ffa4c7886a7ca5f35234a56d734bc8201d19f7ac87d8ea081094bca13685130dce7bfb98ee4aa3a9dbd538288f10f1d9d82fb699 DIST numpy-1.26.0b1.tar.gz 15632046 BLAKE2B 72991e0a1a9b63ac9a3014b78348aa0bc512c2e22c3959d5466f92e2df8649aea56dd949e8954921fc29302f84e38748665597319fa9baa8154a85b34527e12f SHA512 c099a61ad58e142b29eac891b746c93425a337912df8da5e5a6b36c53f9069f56dd7ee0807b1773eca23a7e39b355e6c13d419cbdd36d35c2ab0a77cb14bb5b5 +DIST numpy-1.26.0rc1.tar.gz 15634820 BLAKE2B db9d9d6288681c1a49d612599c206c6f0964010222f24e0507e500cdb34a504b07202b561d14cd7b06c587668b2ad46c8bb72ecfe0e64a86cd3bbb498c9c2b5a SHA512 1c0e3009d2a45b0cf65aa95e317510a200e7cf9a5b985bed428ad1d65180b6df37cc3a597039335c5147cad23770e56e0bfef8ebb920b7e62c4b75664189a234 EBUILD numpy-1.24.0.ebuild 4196 BLAKE2B a7359b00b007339381f458502457b2d2f9f07daf4f9affa239944de9ef3afef4318d063d7a934da394707d3ba5d53b043f68bb59f903ded5847122f0fce35567 SHA512 90500a1ee3a0a5a9ebd741dd9c870e6d57ec27e5da7dc4fc4dcac46f59212cabd777f806110180c11a55c4ffccbfdcaf0d0b5d1598beb5359779b6d6ba6a1c00 EBUILD numpy-1.24.2.ebuild 4366 BLAKE2B a7a396b29efaf6a07bd68f76e0cae0d069f530a4d4d915b89cf5a47a42a4e9cf29215089f0a8f819fd24961280fe83f103f28b6be90758eb78f3f408ab5eb23b SHA512 b1186214bf08642b6ca267d0a84ec03c8f4b6256e728eb17d789eb34a43760bf87ea18696ef30b12494bff23a3b8b6f1980085c900c5341c8d43b8da468549f5 EBUILD numpy-1.24.4-r1.ebuild 5214 BLAKE2B 87986c0f034dcdbeffcb51ca3c90546b16fd1ded2a43744f29ca0210a2b496b8e85e6bd8dfd229b72c496d7cdbb0cfbf4d4ceb81a290786ac55fdb1bcfd18cea SHA512 5932b2c7f0ca7cb5774b9fba9282579384b563bacef63bbf84f69e15c5b86ba72f058660fd44f8a46fdc7088dca8646ff264378da69de017044bd2aaf0e642b9 @@ -20,4 +21,5 @@ EBUILD numpy-1.25.1-r3.ebuild 4444 BLAKE2B bc98460d27c6acd233ed219af855f93da93e6 EBUILD numpy-1.25.2.ebuild 4985 BLAKE2B e1198966b4a4089d9d186e43642583584ec9b1b940bb95645f6e9af0157426dc7ee32b8e12539577e4b83b3ed75843fce390f43460d172fe5c0aadf72bf05075 SHA512 32eb023e960217fe71be663ee0f62952eb9c7c36b8779e53007c848dda5b42823faad8066e3127458ce854d1000c8db244348a570a19e297ea32ec68015bcb03 EBUILD numpy-1.26.0_beta1-r1.ebuild 4224 BLAKE2B 90904364e576538fdb9e0b1818fbe523968eb92d94a670578e3a6ce2caef497f18d4f22abd5bfd437045a662e69a88cd5406efeb6f624607f227906975a55b38 SHA512 8f7966d86f514cf054798d2f7713dde10d3cdcac56fcb1553821793b1f08a4d898463808bceb6db963a104a22ad6a98af096f2f3ea66c9f17339b6023ee383f4 EBUILD numpy-1.26.0_beta1.ebuild 4116 BLAKE2B 2e5c723691678ce26459c9e4bacb8530f7694a7fab2255fb8c828cf8f1772e2bc26a98d3c2b6ceab535d8d80f9224f4b4b081d2a223aa82d01e6436589fde14e SHA512 d42ec9bcaeefb4b02ab7cae81e9d817bb418ab36252eb44cb327860a1982cf06dbd2132932fb1030f46c2eddc94f95717fdf6c87d19d93591bcce3234d7dd8e6 +EBUILD numpy-1.26.0_rc1.ebuild 4116 BLAKE2B 2e5c723691678ce26459c9e4bacb8530f7694a7fab2255fb8c828cf8f1772e2bc26a98d3c2b6ceab535d8d80f9224f4b4b081d2a223aa82d01e6436589fde14e SHA512 d42ec9bcaeefb4b02ab7cae81e9d817bb418ab36252eb44cb327860a1982cf06dbd2132932fb1030f46c2eddc94f95717fdf6c87d19d93591bcce3234d7dd8e6 MISC metadata.xml 932 BLAKE2B 7a4af31f613bab05ff542da48bf6ff1484d9df2459f559516e71329451dd739d3df0fead507c8033d94ab9ed516b68efe7f21819a8cd6ca303643d8c8bc34e86 SHA512 32cb8c1ab61521a02cbec38f6ea383f074e50d46aa3462ddcb85710f9d348e8e628cf2a5725e3cd921cc32f02885a1b5f02125639f0ec885384eeeff7f468a06 diff --git a/dev-python/numpy/numpy-1.26.0_rc1.ebuild b/dev-python/numpy/numpy-1.26.0_rc1.ebuild new file mode 100644 index 000000000000..bc6646bd3079 --- /dev/null +++ b/dev-python/numpy/numpy-1.26.0_rc1.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_REQ_USE="threads(+)" +FORTRAN_NEEDED=lapack + +inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi toolchain-funcs + +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE=" + https://numpy.org/ + https://github.com/numpy/numpy/ + https://pypi.org/project/numpy/ +" + +LICENSE="BSD" +SLOT="0" +IUSE="lapack" +if [[ ${PV} != *_[rab]* ]] ; then + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + >=dev-util/meson-1.1.0 + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] + lapack? ( + virtual/pkgconfig + ) + test? ( + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ' 'python*') + dev-python/charset-normalizer[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + append-flags -fno-strict-aliasing + + distutils-r1_python_prepare_all +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dblas=$(usev lapack cblas) + -Dlapack=$(usev lapack lapack) + # TODO: cpu-* options + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # Very disk-and-memory-hungry + lib/tests/test_io.py::TestSaveTxt::test_large_zip + lib/tests/test_io.py::TestSavezLoad::test_closing_fid + lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load + + # Precision problems + core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals + + # Runs the whole test suite recursively, that's just crazy + core/tests/test_mem_policy.py::test_new_policy + + typing/tests/test_typing.py + # Uses huge amount of memory + core/tests/test_mem_overlap.py + + # TODO: crashes + lib/tests/test_histograms.py::TestHistogram::test_big_arrays + ) + + if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then + # Degenerate case of arm32 chroot on arm64, bug #774108 + EPYTEST_DESELECT+=( + core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + if use x86 ; then + EPYTEST_DESELECT+=( + # https://github.com/numpy/numpy/issues/18388 + core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow + # https://github.com/numpy/numpy/issues/18387 + random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto + # more precision problems + core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 + ) + fi + + if use hppa ; then + EPYTEST_DESELECT+=( + # TODO: Get selectedrealkind updated! + # bug #907228 + # https://github.com/numpy/numpy/issues/3424 (https://github.com/numpy/numpy/issues/3424#issuecomment-412369029) + # https://github.com/numpy/numpy/pull/21785 + f2py/tests/test_kind.py::TestKind::test_real + f2py/tests/test_kind.py::TestKind::test_quad_precision + ) + fi + + if [[ $(tc-endian) == "big" ]] ; then + # https://github.com/numpy/numpy/issues/11831 and bug #707116 + EPYTEST_DESELECT+=( + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]' + f2py/tests/test_kind.py::TestKind::test_int + ) + fi + + case "${ABI}" in + alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array + 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + ) + ;; + *) + ;; + esac + + rm -rf numpy || die + epytest -n "$(makeopts_jobs)" --pyargs numpy +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + distutils-r1_python_install_all +} diff --git a/dev-python/pkgcraft/Manifest b/dev-python/pkgcraft/Manifest index d38a4dad1846..af7895196a0d 100644 --- a/dev-python/pkgcraft/Manifest +++ b/dev-python/pkgcraft/Manifest @@ -1,4 +1,6 @@ DIST pkgcraft-0.0.5.tar.gz 400237 BLAKE2B de78c1570ce8080742d3afbff2c9078b56fb14e7b097bd09b47c5b21a5de1062989835c9c12e4efd9d4be4aef7e9dec1350606700d80c5482cf81d1d2c4febc0 SHA512 2366180189314cafa4be8a180eed62a8c994bfd862ebc5292e01d9cd2585b9eca082535e405924ad758d6f89309c5e64727242a52f95f6e71aa6aff3495edd57 +DIST pkgcraft-0.0.6.tar.gz 406538 BLAKE2B 5c90b57cb11e9f754cd695989994b3a9be52007482981c997f2e361fbbb72aeb0810d7f41dea1cdcd74c47840bb1c3b2cf225c967ba76b01769da93f909d9911 SHA512 ddd7bf77a3509156e8c16e5aeeb94a5f4530d9d1a3e6617d3974adfae7b46f0b0d31f4828dbd70261b42c883e776bf7572ca2fe8e23c9216637d886b9d8811cc EBUILD pkgcraft-0.0.5.ebuild 1892 BLAKE2B 13713a1d09b9a72baa53085b22d41f05cc5181aed2a944961cf7b94a5aedd371b4a82d390489cb8a51b896da64287ddcb83fae3b05d1d1bb2bb0498c754c3f85 SHA512 d6fe89e517c85881d465724965e19f2e8a2c8aed188161383d6d65314a88a0724946d3d8dc88022832b74cd3e804a7906eeaad83d9ec0871cfc429260f68cca1 -EBUILD pkgcraft-9999.ebuild 1900 BLAKE2B d19ad6e7d3362cc7a76c71584931083f03d214aa2bb847951750d83803c0d3754970b11068959821605497b43acc55ff0f95fd2e54c10b84f191c18f8f2e7125 SHA512 a29c5560e9a1941bac0a32415b4c80e68bce7e92c1a10e6de57559ba8d55ea3aec410a0576286206ba7aca7c28886a81ba6727f06ef95c5048c9299c71fc50e9 +EBUILD pkgcraft-0.0.6.ebuild 1956 BLAKE2B 4ac2107068511d2897d9ec4fd9a4968951ce6c707ac2b6b68bdacb2a42a9a2c541d66a09ac57160004344193688bb078f21481e81f45106e5afa91b9e4ca35e1 SHA512 1d8e8e1a4151fd50fed281590d7327656a690e64b82c84e2850519dfc7cbcb0a914b8e0363190eeb4c0a26d0d2db9753795a2827ffea15aa9dce091c036af20e +EBUILD pkgcraft-9999.ebuild 1956 BLAKE2B 4ac2107068511d2897d9ec4fd9a4968951ce6c707ac2b6b68bdacb2a42a9a2c541d66a09ac57160004344193688bb078f21481e81f45106e5afa91b9e4ca35e1 SHA512 1d8e8e1a4151fd50fed281590d7327656a690e64b82c84e2850519dfc7cbcb0a914b8e0363190eeb4c0a26d0d2db9753795a2827ffea15aa9dce091c036af20e MISC metadata.xml 454 BLAKE2B 5085311aaebe3c2cc696fee5da4ee272e47936a4f729c2007efce94097087a987985fb972df477fb72eead3402555924ca8b8f183b69af357453ad93daeb946e SHA512 ba7457ec4b43f1664042599d4e23506e496d1f2212ea7aa02c58fd9d796915dace2817bfb1c71e6f022e9490215248e2a705b223a087d91255b97b23f82f9c23 diff --git a/dev-python/pkgcraft/pkgcraft-0.0.6.ebuild b/dev-python/pkgcraft/pkgcraft-0.0.6.ebuild new file mode 100644 index 000000000000..96f8ad5480d3 --- /dev/null +++ b/dev-python/pkgcraft/pkgcraft-0.0.6.ebuild @@ -0,0 +1,81 @@ +# Copyright 2023 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..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for pkgcraft" +HOMEPAGE=" + https://pypi.org/project/pkgcraft/ + https://github.com/pkgcraft/pkgcraft-python/ +" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python.git" + inherit git-r3 + + PKGCRAFT_VERSION_MAX="9999" + PKGCRAFT_VERSION_MIN="9999" +else + SRC_URI="https://github.com/pkgcraft/pkgcraft-python/releases/download/v${PV}/${P/-python}.tar.gz" + S="${WORKDIR}"/${P/-python} + + KEYWORDS="~amd64 ~arm64" + + PKGCRAFT_VERSION_MAX="9999" + PKGCRAFT_VERSION_MIN="0.0.11" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+examples" + +DEPEND=" + <sys-libs/pkgcraft-${PKGCRAFT_VERSION_MAX} + >=sys-libs/pkgcraft-${PKGCRAFT_VERSION_MIN}:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + virtual/pkgconfig +" + +distutils_enable_tests pytest + +python_prepare_all() { + if [[ ${PV} != 9999 ]] ; then + local actual_pkgcraft_min=$(sed -En '/^MIN_VERSION =/{s/[^0-9.]//gp}' setup.py || die) + if [[ ${actual_pkgcraft_min} != ${PKGCRAFT_VERSION_MIN} ]] ; then + eerror "Expected minimum pkgcraft-c version: ${PKGCRAFT_VERSION_MIN}" + eerror "Actual minimum pkgcraft-c version: ${actual_pkgcraft_min}" + die "Mismatch between setup.py's MIN_VERSION and ebuild!" + fi + fi + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install() { + # Conditional because these aren't installed officially right now + # and the naming is just for convenience. + if use examples ; then + while IFS= read -r -d '' file ; do + python_newexe "${S}"/examples/${file##*/} pkgcraft-${file##*/} + done < <(find "${S}"/examples -type f -executable -print0 || die) + fi + + distutils-r1_python_install +} diff --git a/dev-python/pkgcraft/pkgcraft-9999.ebuild b/dev-python/pkgcraft/pkgcraft-9999.ebuild index 5a3929c9bc02..96f8ad5480d3 100644 --- a/dev-python/pkgcraft/pkgcraft-9999.ebuild +++ b/dev-python/pkgcraft/pkgcraft-9999.ebuild @@ -3,45 +3,48 @@ EAPI=8 +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 DESCRIPTION="Python bindings for pkgcraft" HOMEPAGE=" https://pypi.org/project/pkgcraft/ - https://github.com/pkgcraft/pkgcraft-python + https://github.com/pkgcraft/pkgcraft-python/ " if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python" + EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft-python.git" inherit git-r3 - PKGCRAFT_VERSION_MAX="99999" + PKGCRAFT_VERSION_MAX="9999" PKGCRAFT_VERSION_MIN="9999" else SRC_URI="https://github.com/pkgcraft/pkgcraft-python/releases/download/v${PV}/${P/-python}.tar.gz" S="${WORKDIR}"/${P/-python} - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm64" PKGCRAFT_VERSION_MAX="9999" - PKGCRAFT_VERSION_MIN="0.0.6" + PKGCRAFT_VERSION_MIN="0.0.11" fi LICENSE="MIT" SLOT="0" IUSE="+examples" -RDEPEND=" +DEPEND=" <sys-libs/pkgcraft-${PKGCRAFT_VERSION_MAX} >=sys-libs/pkgcraft-${PKGCRAFT_VERSION_MIN}:= " -DEPEND="${RDEPEND}" +RDEPEND=" + ${DEPEND} +" BDEPEND=" - >=dev-python/cython-3.0.0_beta1 - dev-python/setuptools-scm + >=dev-python/cython-3[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] virtual/pkgconfig " diff --git a/dev-python/pyaml/Manifest b/dev-python/pyaml/Manifest index 97b1428c055b..abf80130ade8 100644 --- a/dev-python/pyaml/Manifest +++ b/dev-python/pyaml/Manifest @@ -1,7 +1,9 @@ DIST pyaml-23.7.0.tar.gz 20805 BLAKE2B 797b2b5d2121f3b0f67445d4b3a55b13d0716d5eddd5dc83a08b767d293b486e9985203f4e2571a7c8d3010b9cac9093e9353517f6414cd5b89cdcfe5d39c85a SHA512 edbe58a3a7f1216a2463ac56af829c38b12b7194429691a92cb7f28ca926094e324d6e44d3fb64be40239dc8a6dc61d72946b107f5210ca83e73dec18b1428ef DIST pyaml-23.9.1.tar.gz 21479 BLAKE2B dd684dd290cb3666ff823782d5252fea663ebd8801112765a1c4d18e1020072235a61f9d04df77da07bfb53074b1f3ed6a3a69776282c601768d14e79bb2ce41 SHA512 697ec54818d1c9117af768b2dd9e9269d78cf64416ea35673bee6b874f7b712be95467cdab73552c7105c38be73edb0a9a91fa924b191def7e39ed86b0eb8fd9 DIST pyaml-23.9.2.tar.gz 21955 BLAKE2B f397a88c89be6b7caa3752209ad3d0755882e3c638e94af53e57907bdcfb8ef31b34890f8942f7b482d1b7d8945644e8f86137e4c0d78fafce32a35833ce0095 SHA512 70f5bb9b883649d1051a39ba5e9aef262534571a92719612acd7f7ce98dd02317a31a78f75e3fd0db38f4448880dde13a03d5f667b02d381dfce31afef32c2a4 +DIST pyaml-23.9.3.tar.gz 24312 BLAKE2B 8b44aa6d515618d96a6272a03eb4df78bdea1e5cb71e4d13db1016cabf7c867f6c781da948297bc9f5718b3a06a7b5175eec54d416b8d352f5e23558048f961c SHA512 99171a227e3de2f8bb72148d1e1d526747575006bd812e162e2e8d176a7856c4033dfcef6da86f65a4a80a5f5298470b8de40af412cd01acb89ed8694ce97520 EBUILD pyaml-23.7.0.ebuild 601 BLAKE2B 892a43a2009fdb8779f02dc3a8d79c6abf0c1824bd71ff4b4dba4759375c6dc0263d17e90b15a83a22d432512d1c9522393c5797fa0db0e4a1d028c049aeebfd SHA512 fa3e1defa501ace7f1c6c1a778ce9865937390c12893b0fc665d596d76179ac8832397b4a24eebcf8a6127b0f9bae22ba1b95ee073bceae7de5580fe852837a9 EBUILD pyaml-23.9.1.ebuild 604 BLAKE2B 4d7b86356b5480c24f2562f5aae63ea99c8fdee250952349546cf8a7b7be27ffd30261df3c19051756d00b3d45ee3f1455342950021c091088ae7821742f8638 SHA512 83584617f5ce360ced493906fcd311f11ecfdfed3b772c0aff679b14f4473ae3fdbe7be30a385aa1c810806ac99901220f22d48820460f57f7cc611091d826e9 EBUILD pyaml-23.9.2.ebuild 604 BLAKE2B 4d7b86356b5480c24f2562f5aae63ea99c8fdee250952349546cf8a7b7be27ffd30261df3c19051756d00b3d45ee3f1455342950021c091088ae7821742f8638 SHA512 83584617f5ce360ced493906fcd311f11ecfdfed3b772c0aff679b14f4473ae3fdbe7be30a385aa1c810806ac99901220f22d48820460f57f7cc611091d826e9 +EBUILD pyaml-23.9.3.ebuild 604 BLAKE2B 4d7b86356b5480c24f2562f5aae63ea99c8fdee250952349546cf8a7b7be27ffd30261df3c19051756d00b3d45ee3f1455342950021c091088ae7821742f8638 SHA512 83584617f5ce360ced493906fcd311f11ecfdfed3b772c0aff679b14f4473ae3fdbe7be30a385aa1c810806ac99901220f22d48820460f57f7cc611091d826e9 MISC metadata.xml 470 BLAKE2B 725657a34cdcbddf146ea3163af81fd22f78b895281e7dc2192b8c1f49fa9ec868e41a38bc371ce61160535ad0c5c1d8741109858cb8e3eafb40a77d623c3ecf SHA512 c64f440d674396b0a750780cbc5ab1a5003be1d3357b39a792cb9490870c768ab740266575cf6780f173252a893f6fa93fe9d4f414647274e520c4bd4b579c67 diff --git a/dev-python/pyaml/pyaml-23.9.3.ebuild b/dev-python/pyaml/pyaml-23.9.3.ebuild new file mode 100644 index 000000000000..a49398baeb97 --- /dev/null +++ b/dev-python/pyaml/pyaml-23.9.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PyYAML-based module to produce pretty and readable YAML-serialized data" +HOMEPAGE=" + https://github.com/mk-fg/pretty-yaml/ + https://pypi.org/project/pyaml/ +" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/unidecode[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/pyelftools/Manifest b/dev-python/pyelftools/Manifest index 13fc94f9f7f0..94d199235534 100644 --- a/dev-python/pyelftools/Manifest +++ b/dev-python/pyelftools/Manifest @@ -1,3 +1,5 @@ DIST pyelftools-0.29.gh.tar.gz 14176561 BLAKE2B 441260492f8cd512445249700a79f1d823ef96f6213ab9183e17160b76efe51493c28d2ae8ecea79acf45e78987b4c24940441e9bc0a3deaeda0ee4fb72b58c3 SHA512 0eba3b029a734abe9f8df92cd58bc967f10bf9f61c3a419bdbc5e637200844dddd947bcb485e8ebbe2eeaa7f7e91efc6500316af51aace1db051a658cf61153e +DIST pyelftools-0.30.gh.tar.gz 14115024 BLAKE2B b7974bc1a51ff5ba6ced17aac44e3911ff8d892564a3bef07ae6a5fc261eb7d2eb02170678c4d0bafedaa9e393fa4ca6d2059c420436ea73aa4f6aa7b49a894e SHA512 5bd4c797f90307e351d541b8de8f76124c66e497b68b811f7012e1271c902beb6ab530a424b338777d12277d44f9b5f89f049e05d9fc2ec36a90b6fa16f1c1a4 EBUILD pyelftools-0.29.ebuild 964 BLAKE2B b61e00d9591d490e8be38770ea4a1a93b721c3a43d02470f5393ce520b60d7374f3f66d8335dc61b3ace3cd41c488274b4fedae56cce14a71f96b3fd76cc4796 SHA512 94012cfc6c4a3925d96a86ca079bc9aeb0bc3a2e8a602415edb70e68c89309b02b7acd19678cdf3e331bf04cf97e32b576e480d46d2ac268b4f50598bac12aac +EBUILD pyelftools-0.30.ebuild 862 BLAKE2B b1fb1a0ab4fdd12cc1a6b384a4b137d159a0054b39d3f60358d47d2c7f931f05a67a070753c503260723b92ab87fb984292a23f5500d0e71a2df07971b99e65f SHA512 2c75bd113d94ff4ccd85ac0155ee1350f1176ad78738180e01ae36b7a985998de4214ec58033df81486964123e25aff66824ecccb51ae703d02ac2030eb03209 MISC metadata.xml 395 BLAKE2B 18e95b29b16eeee438d7391b2370b4955f631578117df6bdf841f50af5c52c688a16e5819b521a37b7737ae0cbe8705c399c2483dd2c066e6e21a7c9b81ec477 SHA512 6ae9650404b3213bb2e1dcc730e782672cb35bc24e3f4b35b02a74d7866ddbda2fc2dc37809856a7e064968502f02d78e2cd1b7a078f44beadd62566913b9f08 diff --git a/dev-python/pyelftools/pyelftools-0.30.ebuild b/dev-python/pyelftools/pyelftools-0.30.ebuild new file mode 100644 index 000000000000..8d04f7b51519 --- /dev/null +++ b/dev-python/pyelftools/pyelftools-0.30.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="pure-Python library for analyzing ELF files and DWARF debugging information" +HOMEPAGE=" + https://pypi.org/project/pyelftools/ + https://github.com/eliben/pyelftools/ +" +# PyPI tarball lacks some test files +SRC_URI=" + https://github.com/eliben/pyelftools/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +python_test() { + # readelf_tests often fails due to host `readelf` changing output format + "${EPYTHON}" test/run_all_unittests.py || die + "${EPYTHON}" test/run_examples_test.py || die +} diff --git a/dev-python/tldextract/Manifest b/dev-python/tldextract/Manifest index cd9ff447947e..1768d39e93b0 100644 --- a/dev-python/tldextract/Manifest +++ b/dev-python/tldextract/Manifest @@ -1,3 +1,5 @@ DIST tldextract-3.4.4.tar.gz 105688 BLAKE2B 070fdde3f71b09a9f5409f7a9a0eb8a0a0855ffca4fbf1926146d21de11af4ed893d796932384df7b1713a52f10c7b367ba7f154d15fd7da2c72a71993c4454d SHA512 f6b4a7ed984c95e66838cda951058281e5e05bde74d02c6e5a6cd0345dc99703179303123905a095a46afe4c05dacb94a09677b6aa4cbf018df22e7bc2809a40 +DIST tldextract-3.5.0.tar.gz 109922 BLAKE2B 5ffac02db8b32150988a8958dd3c038c54c141af1b3642de126c4f8eeb95cbf1ee38e898512f3abd1ff20e4c17cb85ece7b53dd4e36a2c063777c076af083310 SHA512 95ad41f2957f5bada03706930d89add7c86361547303170c155d2fe60916d7052d4b19ba67a32ec35da58ab5ff7153de6085e5fa0898cb4a9dd5ef47710d983b EBUILD tldextract-3.4.4.ebuild 806 BLAKE2B cc8eeda9d0b939182cfe8db5f06573847cb634476c5d2638ae92acdfd7adccfe78fdfaa610ce418d1ef41ee93f304f2d55b930b5c8f7daec1f339488f9342b7d SHA512 3f5f73ff477603fdf798760252e78e16fb4eb017f00dd61bc447d579cfefe67b0cd5edd974b2a323137961afefb4d7f53b7dce9051b76bf3f4a2fcf237a944fa +EBUILD tldextract-3.5.0.ebuild 829 BLAKE2B 126dceb1f339dbefaffb54e730bdec5c0caa57117ae3fb6ddc791855d68b6bc50ceacaa5f86688c71a31d7f2917749be24a9a1bd734f44eca62d2793c92dd28a SHA512 fb95410ce317c856e7bc4622261a7c52be21c0642187a27d09551f410733f1109dafeb2c0d68d6dc06ca0705daf715fd076d59f23a8eab56f99065512f1ea3a7 MISC metadata.xml 560 BLAKE2B 4d6e6aa7507ce4734371e8b8442e8d4840db0d2896f7e7430438bc9b700edf6c8546fc3beb1e17d489013b6cc49d1daf805581d6fda29f51109e7a643b0e8965 SHA512 4e7ed8a1876afc62954ee58937557182099ea2289633d2d279a2982bb32a8de261163f0b83ba44c257b8c087c007b1bb462ecad69df1115a024a3a9c8ea1fe9e diff --git a/dev-python/tldextract/tldextract-3.5.0.ebuild b/dev-python/tldextract/tldextract-3.5.0.ebuild new file mode 100644 index 000000000000..be98388a4866 --- /dev/null +++ b/dev-python/tldextract/tldextract-3.5.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Accurately separate the TLD from the registered domain and subdomains of a URL" +HOMEPAGE=" + https://github.com/john-kurkowski/tldextract/ + https://pypi.org/project/tldextract/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/filelock-3.0.8[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] + >=dev-python/requests-file-1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/trio-websocket/Manifest b/dev-python/trio-websocket/Manifest index 72ba0c9f5d11..b8f1ad6bdc4b 100644 --- a/dev-python/trio-websocket/Manifest +++ b/dev-python/trio-websocket/Manifest @@ -1,3 +1,5 @@ DIST trio-websocket-0.10.3.gh.tar.gz 45109 BLAKE2B 7adad8bd59b2350d7b8e50e88710c8b9844e8b34c712615e058a6045d575671043c527ac4330941431502affc7c307d61c1f9c1b328c579a622ff11ea79fbeb6 SHA512 8ff50030c9616ea8baa9627f229304fbb72528fcc97d1e5ead90acc3c7d683751c0d98e9c4f779d4d65fc765b00b6ec93b6d3384070a76fe18d3318af7afa975 +DIST trio-websocket-0.10.4.gh.tar.gz 45490 BLAKE2B d681cc3ec9537e3c3e943831405d45a226fe61aa2482d9c9944520d5a3ecc2bbe974e63e666a5117f6bcfca2240a4b1c22a3304e6bb15fc502154df22fdbde44 SHA512 30b6655120a0117cda9707b793bd8a00fe0e8a578450c7fcc8fba2bb505aaf898aee355cec5e1faf13ff7da791a793816c675c01ac0d7047dc0ac6734508fc6c EBUILD trio-websocket-0.10.3.ebuild 942 BLAKE2B 28192586d874bd7b23107ff33f4c8f77dfa3991ddd1fb8c9d72ce9d541328208672875701c45cb3b0798a8850189df39afe1e97de276b801a170ed7879721232 SHA512 c01106d8ebbb8a3a2c40179de9933bef0a1b34119c656e010474130741a0d862e6cf747a98866635fe7dc137ce308184d6c483ecd7ae97dea6d22198270c2643 -MISC metadata.xml 409 BLAKE2B 68c9d1ab2984909315d2ec3f91f2703cc0941911fb049c35614c2cdc935e55f0f2440f6624aab4838f0d7d07e3e5717d19c7138660e82f8a3cb237e610a974e1 SHA512 c9d5e6f956b40d03d0a062ded846c507e783c55404a76b75141004df7d43e6a8bf5810480b4286a6bdf2d48c30aad51261e48581abb8799c107b924cd8131170 +EBUILD trio-websocket-0.10.4.ebuild 947 BLAKE2B 1fcd00ee0af5224f03dba89c9e28d9fd0079a7094233ad7c751681798b5022382162210338ba7876e2ffaf6cff2cdb360784fdec5e132e28d7ded9488e9f5daa SHA512 54d20ca66e74d4c7ea14ca0245488efb1917957d6434d46b4740c54e83ed3669afd1d1e4767fdb5ee8ac09b29f8b4196925f73fb06cbb1dd12172817a492f837 +MISC metadata.xml 408 BLAKE2B 40171491e2126391058f6449ba63a69aad29f7d16c03a97b39905cbf143fc38806dca77b21a207b1f53d7eb3df65db83e12f77fde88031a077658066747ba26f SHA512 b473e4bc56819d9c96df120c986d74a11a7bdcecca07398488056241653156ced82e1099d8dd6fa4bd6425b5e9b9a313f26a2e9860387ad3ce3e6c1d0b9ec18c diff --git a/dev-python/trio-websocket/metadata.xml b/dev-python/trio-websocket/metadata.xml index f92b85725b72..681f9a70ad2c 100644 --- a/dev-python/trio-websocket/metadata.xml +++ b/dev-python/trio-websocket/metadata.xml @@ -7,7 +7,7 @@ </maintainer> <stabilize-allarches/> <upstream> - <remote-id type="github">HyperionGray/trio-websocket</remote-id> + <remote-id type="github">python-trio/trio-websocket</remote-id> <remote-id type="pypi">trio-websocket</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild b/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild new file mode 100644 index 000000000000..0366d3541bc6 --- /dev/null +++ b/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="WebSocket client and server implementation for Python Trio" +HOMEPAGE=" + https://github.com/python-trio/trio-websocket/ + https://pypi.org/project/trio-websocket/ +" +SRC_URI=" + https://github.com/python-trio/trio-websocket/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/trio-0.11[${PYTHON_USEDEP}] + >=dev-python/wsproto-0.14[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p trio +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 8d58dc02e567..41467771463a 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -6,6 +6,7 @@ DIST zeroconf-0.90.0.tar.gz 150318 BLAKE2B 5239571a4b65f736a799b285d11221636a26d DIST zeroconf-0.91.1.tar.gz 150551 BLAKE2B 220e6b5684d503c7d1c594196ffa7ecc4f06975accad2ad64a6dd0a75881326110bbf897e74a2a176307fc392fc9fce903c77bbf9fc70fec84f193072bd7a016 SHA512 852946a2f823de1dc25dda5321ec23c67e3893fd8dcf55391e001afb01eb4c8143813aaa0950fddbea6634975eb0904a6e3b500cbe082e843da301c0cd704e9a DIST zeroconf-0.93.1.tar.gz 151476 BLAKE2B 46a866c6d8268c4688b33c1da04a6a31ef3556fb9264df2e85b038ae832cfdc7567139bff01c9324a4087b449b2dd5ba9688eccfaa0892af49f5cab3ad735600 SHA512 ee5f8aac916f05fc6518e76eb4ee40dd0df507cde1a5f25edfb15ded6ac36d2026283d6160ec7b71ee0344648e181e06ebf0559345ac4b2078f5d9cbf1a83eea DIST zeroconf-0.97.0.tar.gz 152115 BLAKE2B 53b514ca3e42c75bf449255db0494de66bdbec74495fec45fd26185ec27d255de0745644b03650cec7a0acba3440075c52058b1a862048fa58587ed5d45907fa SHA512 4a67335e42ffd60236d61fce77b36f747ee71038066e65e2d72e7be3ffa6bf075120b657067aadda89a814dc354a7e26a48627df55782869caa9d95e0956d361 +DIST zeroconf-0.99.0.tar.gz 152347 BLAKE2B 4be99604737d1dc630c949a4afaac2c61132ffac830eea5976018502e5ac8702e67f2e302e0996e1a10aa4db407610dca61928ac07e8e53d110167e6057d7bb4 SHA512 8016ca617df6a78bc8a8f9f49011e3ae2571d5a60b87d126b60b7ee7e2cb07abe7477d27f33959978a43c79de5db42aee32fd63be9985a51f939fddf99aee37c EBUILD zeroconf-0.82.1.ebuild 1401 BLAKE2B ec07b3d0fe78b2c2b2e0d5d8788ea328276285391b34214e0af5be9c5024a2f4ca316fc9a7e2c8954274d007c29fa92efaccd59f0e4ab4d52e35c54d2d221e55 SHA512 d940ebfe06d7d0c2bb508167fe7f09807862d22135a4bd4091510b6c4e968d5597393dd0b12129b1d8111c2de438869da92848ad2ef76c9fe8a7c1f4cad78de0 EBUILD zeroconf-0.86.0.ebuild 1403 BLAKE2B d07578674fad1d652289551e5862b54500d22a916e0e30cd8f5923bd5cf868b3e84775021b0a78748915f5f2ea0d929f1f5962607b5232d589ab4e22c5030849 SHA512 cce3574cee318737268207a2b2a5410641c3ccf1851b52c061e5ff4aed8415f40195730151bde8a28e9101f631755d1eda9d29e290126b4330dba72f9c1a633a EBUILD zeroconf-0.87.0.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc @@ -14,4 +15,5 @@ EBUILD zeroconf-0.90.0.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bc EBUILD zeroconf-0.91.1.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc EBUILD zeroconf-0.93.1.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc EBUILD zeroconf-0.97.0.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc +EBUILD zeroconf-0.99.0.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc MISC metadata.xml 395 BLAKE2B e1ce7a8fbd6d50fd59fbce671a535a3af2fde79dcc98f146c4e361759e61ce6d7e4e241866262fcd78744c673212d1946830c3d7628956b498a98d0af36d4c3d SHA512 544cb62da7212926b63c4e19467fc3e3f7c8210320a8096dc913a846d392e9a09c2b9860312f88effc8ad7a54e0329149a68012b08c674663af5779957e037f9 diff --git a/dev-python/zeroconf/zeroconf-0.99.0.ebuild b/dev-python/zeroconf/zeroconf-0.99.0.ebuild new file mode 100644 index 000000000000..b3ff07347a6d --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.99.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + + epytest -o addopts= +} |