diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-22 03:03:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-22 03:03:01 +0000 |
commit | c7a7ec40cf928d8fc6a8241aa208272c008c7b4d (patch) | |
tree | 72e31c496e32182b70cfe385fbf03517b43bdddb /dev-python | |
parent | 9db1279f804d62da2c61cfb39fc2e62b9faf56dd (diff) |
gentoo auto-resync : 22:11:2024 - 03:03:01
Diffstat (limited to 'dev-python')
59 files changed, 1541 insertions, 431 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex a514734160e6..7eb98a47fa36 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/aiohttp-socks/Manifest b/dev-python/aiohttp-socks/Manifest index e7271e07edb7..e772d616eddb 100644 --- a/dev-python/aiohttp-socks/Manifest +++ b/dev-python/aiohttp-socks/Manifest @@ -1,3 +1,5 @@ DIST aiohttp-socks-0.9.0.gh.tar.gz 13590 BLAKE2B 1fb13b8607a9245d872d0ad45f50860492132c661d1a0f52fb846e56568d784f1545abab8f08bb2bd633460033f85982c80979c880841ccc40bcc0b2ae3f2ba4 SHA512 c19b8325270cbb660d9200e84c34a4c753097cdb282397bc31261c7082e184c947cab7821f63d326881f0ac4bb4104a813ebb8fc2b3df663f8891da246f0c789 +DIST aiohttp-socks-0.9.1.gh.tar.gz 13699 BLAKE2B 9d6f86fdb767b286f72b6b6a9c7c7abd5a4ee05f52bfe5c94830ee477a12cd1c97572e31acdb05ca8ea0d70a5a12bd23afff7b946859e7de3fa8ce4cfdafd18e SHA512 dd4f5c2a8a7c7af6d46293fd0213fedd3f75c0cf36b96c776aa05f7e1433d2032c7927f1b10cf74d801e5e294bd0cde066562abcd8b196aeb0e1c58a88de0423 EBUILD aiohttp-socks-0.9.0.ebuild 920 BLAKE2B bd409eca3366eba948855ed2567f3462611620eeda421801f8daa146432bc5ee25f43c505edf859fdc2b3bff821eb013bebfb224a04eff4a9bbad644290b8de2 SHA512 88abcbeaacab342baaeaea2fc1dbdf2e62563fbe2966fc7590b34fa77bac98da349c085deca1f41678e0689d03746014662c89be3c1fe8d05ec12a25a9193d10 +EBUILD aiohttp-socks-0.9.1.ebuild 923 BLAKE2B b597da5e82565794b97b125726f8639a6c7d1e332ea00ff057824ed01b298c1c9c4d7ee301b3940e9b1e9f9e8da39874b68c6720ad1ecab4f7be921df80ebb00 SHA512 d509de0955c5043f371752c85b5fa411ba3275a7eb7ab2ef55775815c8ac9b7d58660f5b46dac131c901c572a4ea5d55e315c98195a216c1b85106a5f7f01116 MISC metadata.xml 417 BLAKE2B d4d70073cac054e8ce04d03c7087377b3b9b420f1f4352da54de0f6f5ca836cb49774307f01df383888bac24a2bcf9a1c2ab6920f8be16ebdb40e80c253c65ff SHA512 79af7d419eb9fe518ca8ea2a6bd4e2e1cfed7b00a032fbfdc4b05d6c59d9d7ecddd789a70a3db890a55335f293b6ebbc35f74dd73968de82e5147c991534cc6a diff --git a/dev-python/aiohttp-socks/aiohttp-socks-0.9.1.ebuild b/dev-python/aiohttp-socks/aiohttp-socks-0.9.1.ebuild new file mode 100644 index 000000000000..da83dfcce838 --- /dev/null +++ b/dev-python/aiohttp-socks/aiohttp-socks-0.9.1.ebuild @@ -0,0 +1,40 @@ +# 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 + +DESCRIPTION="SOCKS proxy connector for aiohttp" +HOMEPAGE=" + https://pypi.org/project/aiohttp-socks/ + https://github.com/romis2012/aiohttp-socks/ +" +SRC_URI=" + https://github.com/romis2012/aiohttp-socks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/aiohttp-3.10.0[${PYTHON_USEDEP}] + >=dev-python/python-socks-2.4.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/yarl[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/tiny-proxy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index a421613308c8..c9cf6ff4d59a 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -2,6 +2,6 @@ DIST apsw-3.46.0.1.gh.tar.gz 912632 BLAKE2B b2c89def11102a00dde64fa7d7546f50e302 DIST apsw-3.46.1.0.gh.tar.gz 913223 BLAKE2B c0ad61e61a97471ef677ffe80f3f91e6520c95f8cece225a8086884f34de497714892e4ce0ca375f2ec66f48b8ecb4d38dd5ebdb57cd94050ef5eaee20d5d3ee SHA512 3cd81ceab03dadf10d9c10d645d33b962ba9ec55075bb193eb076f458dde11d5c5c6ec087ec31fc96d011ca1b339a9ffe07cb5d660b8205f6f156baaa0b18c81 DIST apsw-3.47.0.0.gh.tar.gz 1633544 BLAKE2B a84634948c760cc8e8d6be83b1667ff86c973a1e8c52172d5f91852d42fd25189b367357f0eb0cb3b7b3868b21553e5258427da0958b5c117e05e55c3496a2b6 SHA512 4b90c7f13dbed9015ce1b7215c9dd6d8889433917e123bfac642f271dfec1d8be929b41fa530e867ec4f068a8c4fc337a82043811e8afcb707b187a46db7e176 EBUILD apsw-3.46.0.1.ebuild 943 BLAKE2B fd208ce9e77fcb01697ac4f1cc3b4ec3aa04fff8d80bdf20ecd0dadc24bb7dd8c6a2013e83692f6ee77a169c80d60bc8b0daf416c27a9fb65ac0de037e99cc56 SHA512 c0d4c1a074ae0107bf885264e56ed97f46eceddc517bc1ec106a256c2dccce303a19cc6078b0b29ba53672d797329ffa95c08b5caf530e65786998af3a052ecb -EBUILD apsw-3.46.1.0.ebuild 944 BLAKE2B e89baa4b23ec845f98331df64c42cc644e69f2650c5a17d6aab7981cf8cb4fb2d3ed4b12b0d1befd58b784ef53cf32939beb6a76ad00a89b38e9c1ed70075a9c SHA512 27c0c8f3bad995536863cbd1fd53bca5009e4db1916db9a9104b1c76db6ede35c38cd62c3227e37f087f6ba5ac86659be578b6ee8a686f08cfc217e6e5002890 +EBUILD apsw-3.46.1.0.ebuild 943 BLAKE2B fd208ce9e77fcb01697ac4f1cc3b4ec3aa04fff8d80bdf20ecd0dadc24bb7dd8c6a2013e83692f6ee77a169c80d60bc8b0daf416c27a9fb65ac0de037e99cc56 SHA512 c0d4c1a074ae0107bf885264e56ed97f46eceddc517bc1ec106a256c2dccce303a19cc6078b0b29ba53672d797329ffa95c08b5caf530e65786998af3a052ecb EBUILD apsw-3.47.0.0.ebuild 946 BLAKE2B 1700bd4f3792825fa513414af87f9eeee8528ba767e21fb8818c29807e844e91d9bac632d82736bd0b7ee930d893638cfc64efa35d5870f83b688e8ac8a32870 SHA512 edb1078a6610d3ba67a7d83aec77f612b9453ccf36aba7801b7a07bd95ed205e8f773649a227813e2200c9ffc6ddde5e5d37bb427b6c0161d6ed7baebfc2b50a MISC metadata.xml 700 BLAKE2B 258344a1602daf3e081fdb4c94eda8af6e231def3f02fb80d63691b47d0a503c9caad80893386ce7ef42d6be2985906f3fc5cfedfe5a1044aee04c493f3d0683 SHA512 de73b4eb06d0bcf4c81e544a98ad15231b006d62fe22f6bce7e38740b941b98297fa1a38b00060ff83ae9f3259c5020c7071469f2a3f0d9e4f8f0301cb942081 diff --git a/dev-python/apsw/apsw-3.46.1.0.ebuild b/dev-python/apsw/apsw-3.46.1.0.ebuild index 06d7bde82c30..ebff5eb704f6 100644 --- a/dev-python/apsw/apsw-3.46.1.0.ebuild +++ b/dev-python/apsw/apsw-3.46.1.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" IUSE="doc" DEPEND=" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index a48144e58001..e4361ce0ce72 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,9 +3,11 @@ DIST boto3-1.35.57.gh.tar.gz 885077 BLAKE2B 4f3a29db5e76c706fbfd0afb3ec05d5518e6 DIST boto3-1.35.63.gh.tar.gz 891481 BLAKE2B 092f4380aa31e57b3c8f6ef41ea8f0a4272e55f7a71762a532f338482f08782a11d57bdbc9af3630348706c4009bd0d3cd56ef4b2f1394d2d003638717cef860 SHA512 4deab7682b0f4d80a4aa12a8660b7263908411bd8f38692f9fa8820c6a18a4ecc3443e7524794282a0c0f38a4b94a1d09b6737e84ff3e01b9c8ac93abca2a9ce DIST boto3-1.35.64.gh.tar.gz 892807 BLAKE2B bf2b899bfa3163efe20851079e764d99ccaf9c4a3555cc653363b42e018b9c5ce3bf3977d4fa0662de80c4163c4a97ff61842220d1cf21f6ff77c196fa6f6915 SHA512 3cb1f8ce15b2c7a977341c2f4338da6afa00ce359156bc48408d8f3c984a3ce8fc0da04c6897feb6e73bd4a5435d2b71a8f0e4d249880055ceda7b3e223a2889 DIST boto3-1.35.65.gh.tar.gz 894025 BLAKE2B 378eef8673f3ed9a6d1495d0c4182679edb7671bd358d6041cba955a7a59954a9f516dfe371080926da669c14a4d47179ed22ffb326fb60ac6782e4d4f6963f0 SHA512 ad2335b0b18915971f49d44249d87808ed7b70977b30894070df941e3a84d9acb215f95ed7176f97faf8a9065c039ac0919dd8500114f1cf2d55169fb989d5e0 +DIST boto3-1.35.66.gh.tar.gz 896770 BLAKE2B 734980f82893d889fce0dadfd753f2be84390fef6d1d482c36b913ce02f5e189440c83eef8d94a34195289dc5246c244498f994b8be7ab439a66f32a97991c1e SHA512 a2fba42ba874fa829048f1579dcedba0eb8405a1d8474c90ebb941d44a575ac5c08f5830e2548fde37726dee279eea403ec8d894c28af1a67dab44af2ea4074e EBUILD boto3-1.35.54.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.35.57.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.63.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.64.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.65.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.66.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.66.ebuild b/dev-python/boto3/boto3-1.35.66.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.66.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 6fb3769ef26b..80fb10f97835 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,9 +3,11 @@ DIST botocore-1.35.57.gh.tar.gz 13603794 BLAKE2B 23a4dc82e1d9667e75494c2fb651b88 DIST botocore-1.35.63.gh.tar.gz 13692343 BLAKE2B 41ded808c412e9af8f938cf64db1632478f77d082417afac1f34905e946c0459545afa46854a41458090eab26a32b2733fb164f374455d8bdefea35718182632 SHA512 7185f5a288f848e1f3810ab9fa4eb46467321af6bdd345a8de623722ee513ab89f43303955487b014a3c349ed69a62c7bdf54e5095c3f4ebfd254fab51443ca8 DIST botocore-1.35.64.gh.tar.gz 13718535 BLAKE2B 6fb1e8f858b9b5ea0796df76bed1df5b66dcce9eedd7e82c736def7b8f515354e157f1892f2a8b0c7d26cc4cc0501c122c0c8002c4dec0e175adf5c37e26a861 SHA512 d822ed760c0abf04afd2929a634fed9bb52ab9829a16cf31777fc832c7ec58594fbdd17e66f113332d1c63f9beb3310565aabece069941750fa1a172fdbf9163 DIST botocore-1.35.65.gh.tar.gz 13727546 BLAKE2B a910934f226ca55c2cc55763f7a3eebdfe299410b9a99aadab3d938b864056063649984527f161969a3b0840bfad1e0bab07042c49de1efc8d25a3e17d33c496 SHA512 d7116f80522c3f5bafb29b7688800752539ee2ff06e53fd6b2a9c9cf3f37f9dcb3a731ec08d2cf735f737cabff3f5aa8314df697748135c56902c0ff4a3040ec +DIST botocore-1.35.66.gh.tar.gz 13752979 BLAKE2B cd8732c85c471c8360e6680e574a098e039020a22e4634f8c1f00df104e80b462f80be88db5b8f58e4d230acee8334ac8a5730fa63b8ced1f26e30922596f7d5 SHA512 29cd9ddbe8e51c5610ff1616c772da362721960eef72e95bf16559f175fa4ab908d54bf095154c6743f0fdcb057c966352beea693cc10b00ec7bf590da3e7e50 EBUILD botocore-1.35.54.ebuild 1477 BLAKE2B 8ba848e2c436928ab5bab36e735b148504d8b82228fad1eebe027605a34abed713b9dd7a671541d3fd51699bdef252fe3aa414c809afc461601dd1e42b22296c SHA512 221d3251da242b9eb5c5138fde3e3e5972f2a44d53ea78665302679928a3ba4a21c304973724fcdf7fd0f373f2ec61fb4e1994a4927bbe8ee8ecdffdea32a209 EBUILD botocore-1.35.57.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.63.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.64.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.65.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 +EBUILD botocore-1.35.66.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.66.ebuild b/dev-python/botocore/botocore-1.35.66.ebuild new file mode 100644 index 000000000000..0f88c5cbe9f3 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.66.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/cliff/Manifest b/dev-python/cliff/Manifest index 155e94df9db2..f5d8d3aa42a2 100644 --- a/dev-python/cliff/Manifest +++ b/dev-python/cliff/Manifest @@ -1,3 +1,5 @@ DIST cliff-4.7.0.tar.gz 84250 BLAKE2B e49cb9b5e05ab37885df47b80489e41eaf7662cf39ce61bdcb545a6ef5496b786c94c60c2164af15ae9536af7a9841e723fa62091300b28a49beed8945941dc0 SHA512 f1e6a28fbedb911efae02a3827f019411b99afdc316fcb07b115ca2157dcd23bbcce72d2d63b9850bb5b1cb21a4787575528a26d178943f7aba2a125ed9b55e5 +DIST cliff-4.8.0.tar.gz 84206 BLAKE2B 91cee5b9b7233cf6d3df3dd07aee6f2aaf75f31a40d47ca8e3a15de713c82ed46344e5d5b05e304035fe418db99eadea54f535b6da8f56d4823c23e7db6cf422 SHA512 226b1f29adbe941b5c281db4bd37d0e2b195f1126b2944dd79c8766cb85deec79eaeb1b511d0964b7426fa02ef952e65e1e48c16d7566e24e4aaa8509f6e5cfd EBUILD cliff-4.7.0.ebuild 1075 BLAKE2B 17259cb68e649f9d3e7ec84ab73c75b3bbbdc127e54dd27ba3cc4134a8ed5f10cbc15921617087f6095f084371a0ef6f682b9f4d7f65d95178c21f278bb7693b SHA512 d16a9a6a74459a6b77608523b9e541b009eb4d8f31a9731264994cdf5a1a67033395bc25eb12d893030769f2fe3e29d4912cff063f660ff196a0a6bf9a0baa34 +EBUILD cliff-4.8.0.ebuild 1079 BLAKE2B 5f707088b1084ce0e1128d4d60ea53f170a5701a178a1fd1d3b1040c7de7eb3fe55679c6d5925b90a7c8e257844a1bef91e661f4dde07e00412630e952ead2c5 SHA512 34a17df51c455006ea7415ed08b97967d2c6997e49dad877ab5b96dd05a9292f272b84b9691b09008e107fe9391ed62ea43676b5fe263bcade3d7545a28f5581 MISC metadata.xml 712 BLAKE2B 367482d2ee04af7b55c217aaa49b5784333f66b1a25dffc0bcf5b639c90d69df0002feac780e36ca7a7c40fd40be424c8116389fbaf9ad5547ffb7f2f5f34697 SHA512 dfcdcdb8f473a5f9caaf281f3c408b21c15dee411c71f45ac0c2f79d2ce2ab5aa29bc59d5fcb1ee13db033509b38c27a3b9d5c07b6bd20a10e9933632f9f5657 diff --git a/dev-python/cliff/cliff-4.8.0.ebuild b/dev-python/cliff/cliff-4.8.0.ebuild new file mode 100644 index 000000000000..077da2073e19 --- /dev/null +++ b/dev-python/cliff/cliff-4.8.0.ebuild @@ -0,0 +1,40 @@ +# 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="Command Line Interface Formulation Framework" +HOMEPAGE=" + https://opendev.org/openstack/cliff/ + https://github.com/openstack/cliff/ + https://pypi.org/project/cliff/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/autopage-0.4.0[${PYTHON_USEDEP}] + >=dev-python/cmd2-0.8.0[${PYTHON_USEDEP}] + dev-python/prettytable[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-5.0.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/cysignals/Manifest b/dev-python/cysignals/Manifest index 465d4242fc22..e1da4b219973 100644 --- a/dev-python/cysignals/Manifest +++ b/dev-python/cysignals/Manifest @@ -1,4 +1,6 @@ AUX cysignals-1.11.4-helper.patch 3049 BLAKE2B 26ea0fb57e855d2fbc302d8ba84200ae541f4e28015ed447531a814ffbfa4a967be98ea94c0c77333f1b4adf80a58afbc73812676d56db0d9832a79e8c5ff104 SHA512 282714ef674177af58b53db9541106fac0bd54238b7e55c2754bcd553928fbc189413304471a92288139d83297b4b70330b50d5b23fa8ea078f4f1bdddaa8535 DIST cysignals-1.11.4.tar.gz 105100 BLAKE2B c21c5cae69332885dd4b9f13d0fbe9ab836466dd699f0d51908d129107ce4922f4076fafa8dce3650983fd69d25182464f9831545a8da3535699d36d198ec6a7 SHA512 b083a62bcca71634cdd21ca6c8d1363e7754ed97d6f2ad0280b0ae97fdf1264be3dc202acf67added4c12a0815420d9641269da1212b83472ea304883d3b85ab +DIST cysignals-1.12.0.tar.gz 65857 BLAKE2B 4a9bb56c8491814480a9deae053eb13574b480245418c743b1a99cc4fbe4c784c35e8518707cd6ced22174f032444e38daee16ab933b044f8942da2d1c47cfab SHA512 c4575f9d07f4d4c1c27a2e953b12693758babe79000fe62e2423ae484695f0ee813ebc2868ec74aa6c2c4e85d074c3a0db1524ad4ca58e1250fd1d4ca8386692 EBUILD cysignals-1.11.4-r1.ebuild 782 BLAKE2B 97d3178eae47abda676386e6450e181412c827de3ce0e4a2f06694763726e2933c210f19b6d19bdb4a7868d6b28f26afd7490f2fd747335f699534446945c50d SHA512 d0041db24f25adae35fe82b58386c6257b32830e6e8934bab1b9ed07f34d017dc4d35262c6e70643ce13e019e1f8fd363cc3b415819641d2350e28dca69ffb38 +EBUILD cysignals-1.12.0.ebuild 668 BLAKE2B 812670b5ca7fa11074fd6cd87cea1af5ebb38fde4b699cefb0237ffbc9f16e889f2f44b6b3a82e7e3f82cc764594045903632664f3f3ae33221d11ef72a9e4bc SHA512 417681f6e45260953023f03dc0e236bc025cb352c9824b864da23e128664ee2002cbdf2c577d7dfb0e33a0ad1073906d20045a170a5a681f2934609cd1d6a98e MISC metadata.xml 1243 BLAKE2B 468b28828e1fa906f91a23ed5e2825a77e3bad500f71e58732074abedbb11bacd1dbd6d60e49531ba2d84efa43b49ce1665158a410d5ffdd079203c294588929 SHA512 7533b618a2b050df3122aae90cb0c1dded97b82c28baca8ab7c295e7d37bcbfd0e4a762233190651e8bbadd91d901b673716aa04cf2d61b1969b2bb7a9e3be3e diff --git a/dev-python/cysignals/cysignals-1.12.0.ebuild b/dev-python/cysignals/cysignals-1.12.0.ebuild new file mode 100644 index 000000000000..16f65a6a5d1b --- /dev/null +++ b/dev-python/cysignals/cysignals-1.12.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 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..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Interrupt and signal handling for Cython" +HOMEPAGE=" + https://github.com/sagemath/cysignals/ + https://pypi.org/project/cysignals/ +" + +# setup.py has "or later" +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +DEPEND=" + sci-mathematics/pari:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index ae6c694937c9..b662a60ea623 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,5 +1,7 @@ DIST setuptools-74.1.3-py3-none-any.whl 1262070 BLAKE2B 967e581556dee96b068a762605e340a7dbdb7eedb62fc2224fa3cbff8c29c6dd8966831bf4d2c4714401c8beca6ff81ba64823ec55ce592ff3bf10ddee370975 SHA512 8dd7f782ccbfcef04462904f3211569a2ca0be7f370a75cd1d77b77c1f38fcfbea8fd401646bbf436c093ad4573e32f0a0eef030644df48817fde43ae59ce0aa DIST setuptools-75.5.0-py3-none-any.whl 1222710 BLAKE2B 40359574a10a14fb6fdef3a5f5a1febe61446ae1510a96236f0cf93d7cd4dbf3c3904bd77729d0877bcceed3d4fc55bad6e1a6eba9800cd4bbe9a394a829b81f SHA512 3caee919ed5f352d6ca92d648f438c4a18a42cc3f4e1bbfe58dfa43e86ebcc9345476c2119c165d0aa07353e1a4e6c9fbc296d2e41d089084395f13678e80096 +DIST setuptools-75.6.0-py3-none-any.whl 1224032 BLAKE2B 7a91cf811611082234c0d4d52970f81126c5908f6ef1fe8455e33870c6872d86181447bdb052e21a145558cd259983e73b6e18128a7d9f42478c716816c74394 SHA512 2c80b0bbcfa0d09a8a380b60ef9512d387129fba233e1aab83279caa5ca53ecc252f060edaef9ed00eb6d79312cd10fed82dd2491b723d50940828d1766aee89 EBUILD ensurepip-setuptools-74.1.3.ebuild 604 BLAKE2B a767b5faff2b0e321d03bb9ede76a11655067f25ee0358e7b7628468c755c8b2bdbfa8d8811d88cb3f724e08725dfe58f7283cb74dfbd51c5a8e6087955bf809 SHA512 e75c3a5b0f13197157cf3d81ded126c889085ca65921ce4b0b05f9dd3780b795977627689a85f1cba8b6dcdd78b550041da39551dcb18309e4189e5716526816 EBUILD ensurepip-setuptools-75.5.0.ebuild 612 BLAKE2B 1cc5e3edaf72885561b47a30db86d88fb25f0a0dc11d0461e346841fb2de9ded656c54003f8867da984a035556595015dea95eee6b2e6dd0e2bbd604ce0c81f2 SHA512 fdb3240d48a5642517ced7a777dd023643ca559568559347870e78db49e8fde54e61cffb8124980ab935f3f7358bf9f576d109c150f1e0eefce758dd85772c75 +EBUILD ensurepip-setuptools-75.6.0.ebuild 612 BLAKE2B 1cc5e3edaf72885561b47a30db86d88fb25f0a0dc11d0461e346841fb2de9ded656c54003f8867da984a035556595015dea95eee6b2e6dd0e2bbd604ce0c81f2 SHA512 fdb3240d48a5642517ced7a777dd023643ca559568559347870e78db49e8fde54e61cffb8124980ab935f3f7358bf9f576d109c150f1e0eefce758dd85772c75 MISC metadata.xml 316 BLAKE2B 17947c657b45cb01758e222aa6051a459bf0bd9a026a73c0df0ae0c3a0c901f6e2315d459ee37036ecd283481a8d97791d64688c108a0706e745a739e3f9e8f8 SHA512 af18f4ae51b253552752e14210789988c815d0dbf0e1d8ff7057e48a09303c4abc1fb240d6f7f15fc0993b33e4c8ee395c2755754b3a2cbfd4c3a3f0dad41cfe diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-75.6.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-75.6.0.ebuild new file mode 100644 index 000000000000..c48c6a133f1f --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-75.6.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/setuptools/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !<dev-python/ensurepip-wheels-100 +" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/environs/Manifest b/dev-python/environs/Manifest index 8e41bfe9c107..81f425ff7af5 100644 --- a/dev-python/environs/Manifest +++ b/dev-python/environs/Manifest @@ -1,5 +1,7 @@ DIST environs-11.1.0.gh.tar.gz 24227 BLAKE2B 5a4ebec604dedccf6757fa69f0ae9a5d426c23e8f0bcdbbe51f2ca190e2cfe4cebaa473656dedee4486bf7f61eef102b60a1553426ece78129aec65baded0ad0 SHA512 a7564a251228d3fa131af96a2cad312d8e3c3ba95fa56c4b0abf74a6040c70b77e147120f9646f6f3fd6339760561b63e920494fe26b4fcb1f2caac32f7d7703 DIST environs-11.2.0.gh.tar.gz 25195 BLAKE2B eba1cf8731db715c04345bc33100ef5bb2693a81e2815195164d56ada02eff8d65f3a2328e7d87b17c858df4cb8a7418120dceb49cf1e44c42dd25d249661469 SHA512 50d1e68fec2cd47a6805cb87ce8a1f7692cc3797ca30177189d3268bc91716671735dca8c085fcb5ed733e38e88b69354a6fc5b6a4ceb480e03ecf7d9a40391e +DIST environs-11.2.1.gh.tar.gz 25595 BLAKE2B 478818c964625965200b154ef9412a1d94ac9f78d507be0ebd378117613e7c7f8163c9db58225220ef9cde68367f973999a9914f13db6bdee02c83e9ee924518 SHA512 cd859e86b4308047ad661f3fa12788a117f70686e3f5dc7f55e876c9de38c6d2b75f208b488b99f3c9189080e8ebb45385fea45421d55e9b2f9a22ba4a3fbd86 EBUILD environs-11.1.0.ebuild 846 BLAKE2B b45e14c6b4165893eb20884587a81ecd4d9fd3fcf0333cfdaf7dcbd1371c0c7c576b2f1de64d81b3e1e5c00733d2c9ae56e9abee3501bb26df04813345a75763 SHA512 66cc6946c287dcaddfc5b71c63e475e62bb1701d750a83b97debe69a26ec655bbf9ae943d08972ee530e8b0fd1cfdcfad81affc596dca9b4db57dffe2ec11f90 EBUILD environs-11.2.0.ebuild 846 BLAKE2B b45e14c6b4165893eb20884587a81ecd4d9fd3fcf0333cfdaf7dcbd1371c0c7c576b2f1de64d81b3e1e5c00733d2c9ae56e9abee3501bb26df04813345a75763 SHA512 66cc6946c287dcaddfc5b71c63e475e62bb1701d750a83b97debe69a26ec655bbf9ae943d08972ee530e8b0fd1cfdcfad81affc596dca9b4db57dffe2ec11f90 +EBUILD environs-11.2.1.ebuild 846 BLAKE2B b45e14c6b4165893eb20884587a81ecd4d9fd3fcf0333cfdaf7dcbd1371c0c7c576b2f1de64d81b3e1e5c00733d2c9ae56e9abee3501bb26df04813345a75763 SHA512 66cc6946c287dcaddfc5b71c63e475e62bb1701d750a83b97debe69a26ec655bbf9ae943d08972ee530e8b0fd1cfdcfad81affc596dca9b4db57dffe2ec11f90 MISC metadata.xml 496 BLAKE2B a44f919cfe291f826a91438c9170dff83d39a184a192cd6208cc91eb50596a739d94335345f7289b8afd667a24b491fea5c9387721dd160031deb6ad5cf1aa6e SHA512 a3744511fce7b1a29b682ea7d384eef72bf08ef599ae88f01c9b4485abb1abe89f5731c40cadbe724cf8ac63726199128bb51e88c5c770196ed6a4326233f520 diff --git a/dev-python/environs/environs-11.2.1.ebuild b/dev-python/environs/environs-11.2.1.ebuild new file mode 100644 index 000000000000..28662b82e90f --- /dev/null +++ b/dev-python/environs/environs-11.2.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for simplified environment variable parsing" +HOMEPAGE=" + https://github.com/sloria/environs/ + https://pypi.org/project/environs/ +" +SRC_URI=" + https://github.com/sloria/environs/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/marshmallow-3.13.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/django-cache-url[${PYTHON_USEDEP}] + dev-python/dj-database-url[${PYTHON_USEDEP}] + dev-python/dj-email-url[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) + +distutils_enable_tests pytest diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index b9f18e9529e5..efef67ceb63a 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.151.0.tar.gz 12030480 BLAKE2B afbe2cb25e789aaa1aa5cf94e0b2a8e910cb097a885d6dc479af27e7836ac96a2a3db7b54b3fe5e060bdd4c0bdfa86dab3f0cab2e0ea176a6802d455ec7eda77 SHA512 3a8f55f457106779798e0bdf544c9bb9482967dcf0329a9a85f390a4acf8b9946ee56e43af798966c0958ae934426081bbf29cbb344071f2589b84937e85ed37 DIST google_api_python_client-2.152.0.tar.gz 12046554 BLAKE2B 019bf46e4c876cf77028e1c8d71983a1b37abe95001c713d3b9a5063781c4fb329ecd4137c1ce706a5266b8445f757261c31964b5a9defe0433e94573453091b SHA512 4dc7e551c4defa6a6607a5838e2f282a5a669f0bc6d8bfc676d90fb4394a898667e023c042ffab56c9ea9638256a6671d095d3a5b8c5af1e49f60d1b6d416790 DIST google_api_python_client-2.153.0.tar.gz 12059322 BLAKE2B dec9affc093262984d9f050dbc55a746d9747c6069b54a85edf14ad037b732ba614e4f0c3dfd0ef678f79aec598625ccd5ce80e942870999f5f0c147337e261a SHA512 c4066807e2e6096b90f6cbe51c20919429abd7c9b25fcefbdd849e290335d926e2b190ad3e61531681589176bbbb72c77f53858687bfee040b1dda36f92ffef3 +DIST google_api_python_client-2.154.0.tar.gz 12070143 BLAKE2B 91b2838116246e04fc93a155fb27792a2efa6e258eeddf29989c62229db7975b389435efeb6342d069358797539c57ea630c7bf7da64a0cdef7ceb4801586a85 SHA512 9728f4cda59919ddec28876f27b6e7716d96c9ba08088f064aa1ac0e0a4ccd1d7ad66e592ac8e2429f04520b64d8228fd3d358f7ae7d157048c9719fcb7b8cd3 EBUILD google-api-python-client-2.151.0.ebuild 1455 BLAKE2B 0c236e102819fa393880129e1ae048cce4a018e567de29e2d344a451a87dd0f261b05b5285ed660f8b36937cf0b2503eef3fee84ef7e64c3754269f5878a45bd SHA512 b2dc3d562f94b8ffc4c6b6fecbf7538fe676f1a8667e71886585231e0fa3ac2d1e0269d8afc3879f94e3c328faf99672bea5109275527236afc79e7b46fdbe1a EBUILD google-api-python-client-2.152.0.ebuild 1458 BLAKE2B de0b7e7284c45a3a6eabbe54d470e5f216b867e16271dcc0535533bf53683c634faacb3ecf5a21589336e75ff85ab3dbcc9011085dea646df2008a72b162f009 SHA512 2c627f313081d9d186b7a75bcaa8fec68e75ed8ab4ff8f76ac3db2808b8e1ae20cace68afd4e02479c55016bf83aad38edbadea7e4cc78f61dc8f9c91813e114 EBUILD google-api-python-client-2.153.0.ebuild 1458 BLAKE2B de0b7e7284c45a3a6eabbe54d470e5f216b867e16271dcc0535533bf53683c634faacb3ecf5a21589336e75ff85ab3dbcc9011085dea646df2008a72b162f009 SHA512 2c627f313081d9d186b7a75bcaa8fec68e75ed8ab4ff8f76ac3db2808b8e1ae20cace68afd4e02479c55016bf83aad38edbadea7e4cc78f61dc8f9c91813e114 +EBUILD google-api-python-client-2.154.0.ebuild 1458 BLAKE2B de0b7e7284c45a3a6eabbe54d470e5f216b867e16271dcc0535533bf53683c634faacb3ecf5a21589336e75ff85ab3dbcc9011085dea646df2008a72b162f009 SHA512 2c627f313081d9d186b7a75bcaa8fec68e75ed8ab4ff8f76ac3db2808b8e1ae20cace68afd4e02479c55016bf83aad38edbadea7e4cc78f61dc8f9c91813e114 MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.154.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.154.0.ebuild new file mode 100644 index 000000000000..58a0eb467bad --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.154.0.ebuild @@ -0,0 +1,50 @@ +# 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="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 ~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 + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +} diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index 1a05ec5601f2..e877bcc3326a 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1,5 +1,5 @@ DIST icalendar-5.0.13.tar.gz 119371 BLAKE2B ab0673af636b76682f1b0409df4333511c9cb19623dbdc639d84f46dcb9c14580ebfc1ea0465aa22b729852d5eaf76b12aa76041d189bcb3099f205caf43fac4 SHA512 df688298acc0bf3cf25aa08b16e149abab696e44540f11695a654065b90316189460481bde17d68e7c6760c1c4bfbbc74e9d7c7e3e640b5a1978d2c6faafbb78 DIST icalendar-6.0.1.tar.gz 98425 BLAKE2B 7f528b4f4be9ddbc3b3de5ed6f34c074d8dd43647e0d229941ed9f2fd7bbfd5ed4e44685b0ad9657c61aaa018153ebc370f2ca8fd56cb22e3b36a31d6671b696 SHA512 cc9806dd16f3b1fef875ffaac8e1d543e5ee6b133f4399d5ae8644500f63076a10f0e2fd7703c37b84bf0369e1a57b616b0c9b3f24559e4be944d821c83f1200 EBUILD icalendar-5.0.13.ebuild 889 BLAKE2B 4d6a990a21619b54b043a7d2d7694c057ee542ded547172750e735a37fe74c6660ef038947359e60e588524fabb368b4b64cc9ad3282ebe56e723c99ff5404ab SHA512 c9716fd1d6c2b14a96d9b43caa5607947324b8d8fb9196ecae0e6fb2ea6cb88a3d4f19a785cfe45192917bb715e9d5019a96f75f57a739db74ad6e9398d2d757 -EBUILD icalendar-6.0.1.ebuild 1032 BLAKE2B 31cf92f47306874799b64a9872ea52eb9e6e4fdc2a6387bbc3e8887387eca74405776434197f01a8d43e559d8611b29c258c2f59c4c5248328db58aa1bc38976 SHA512 e4e29727780103e42c16d378d2c45b573f0fb383b427cb4e79ef7f87595e010102a4246cf785b38e861fb3664435512d923420afe84992e395a8ee50ba638492 +EBUILD icalendar-6.0.1.ebuild 1031 BLAKE2B 3adae795a01ff4993cc38eadd43f69c7a5738664d9fc3dbf7d3ca82f8c8aade2f97e97fea6cfec0b34baebd18f471e3a5833637f94d31fa4c35523b47c6653a2 SHA512 b737bc2ef147d7b05100c9171832aaa1fcfc6485e6a8b2cc4512560626254d3d2c3f3f7c246eeada4e9365158f7d437a62283441f3c95d3881f5608846543320 MISC metadata.xml 503 BLAKE2B 284f63e95eb2d3015979a14774f8ff9df0df701b81f8aa2c7583f52d05973cfede1db8eb7904203b854165e10640cc50a0e3cf14d9aff090d9ff657c53098cee SHA512 d206db3c1255c8e475c4289c548f0224c7fc507aae513d3c15706998892ef8450400a97bd07dc7d52142a03cad4abae3595d5315d8912586440df74096edea67 diff --git a/dev-python/icalendar/icalendar-6.0.1.ebuild b/dev-python/icalendar/icalendar-6.0.1.ebuild index bc5a06104b5a..f968013258ee 100644 --- a/dev-python/icalendar/icalendar-6.0.1.ebuild +++ b/dev-python/icalendar/icalendar-6.0.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 8a69e8e9ec45..a346560e2769 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,6 +1,8 @@ AUX mkdocs-material-8.5.7-simplify-build.patch 529 BLAKE2B 60a246940983ca713b370b454fff74a36dedf1aec175e72455255b35164f75f7eb79144cff67df4b1ec143a4e19b043042c9bce562456133c917c27018c4862a SHA512 51b18f3faa4a3adfc9cf8ad1fa5fd63f787a3b2b9c9769b5889a2abab621ff6e14e034487f5573418405b26bc11155e44f7c6d50acea8baf9f45164fb3ec7984 DIST mkdocs-material-9.5.43.gh.tar.gz 14762388 BLAKE2B 49e5591aa3669c7bc8a8cd1969d3a54c7575958303742d5169023dd0e8c42ea6beabaa730b388e144d06dd402be7edac92a51d26ee40c2e90c2d19b8779afb6a SHA512 f7930ebcecb2cb37ec9a462f7a1a68351e73f745db36a85bac4c07797582e0a64a28936ccb85f0125ff5d3940768627f5b51c425b2d3b886663e904c607ae629 DIST mkdocs-material-9.5.44.gh.tar.gz 14764147 BLAKE2B e0aaed852abd060eee0b9049798a327a4ddc5969a84289b8aa983b0dfbe926b2e0dfd13525593c2783106bca882adfcfad7961c2eb0363a1f4a4131c364c42c8 SHA512 9a0c8d4a52c8b44b9c8e84b57839d5ddc3080eaa136cb6effc3da8eb9d08a2ef0c0898ff875afabc1783ea548653a9b00f00db67ceb48d52f323a93795529465 +DIST mkdocs-material-9.5.45.gh.tar.gz 14703865 BLAKE2B a48e2e00bf0c1511e58e3f621656aa23227f0e579b96f83d09666328c815dc67cc8015b5f5400e08dd371e022740f0d46f6f550d1e35880485adf75a9352a8e9 SHA512 1a55d96fbc9872c754570633b094a8e605ef5be2cfe41f5c47d4f1af8ba5bedf9c4e419748716f8c8014a2b661d6ff73e6e98bdb3396568c64534e08f676f11b EBUILD mkdocs-material-9.5.43.ebuild 1795 BLAKE2B d40d456ef9179a103d8cb796cff20423c5c8f17bd036e9d47fe8afbf54ae8b187c5da92b7d3cb58325bd713e0aa8588e815d34653d3fcd361f3b6bddd96c5a25 SHA512 33821bf437ceb16c01028223d98b111b02f1d128a52763b32f13c15cd5f2bdf2d976fa353b98233ef5bf40e2043e3b954be2f8eec46d98cfea39c550ab70b529 EBUILD mkdocs-material-9.5.44.ebuild 1798 BLAKE2B 732691faf3be1adef90d241b9a1477e69a5b0331a53afa1b3b396ac93f573aa1d9f0790b1abeec3b4f8596ae1eebd07bef6590260823356f1150168fa7785394 SHA512 0648cd95360d3104f3211c358bc977446f25eeef327d104ecb40d2bbff3a35c1c718e65ed662a3933377b82eaea407d537f3ccab857d9d1cacc5911bedae915d +EBUILD mkdocs-material-9.5.45.ebuild 1798 BLAKE2B 732691faf3be1adef90d241b9a1477e69a5b0331a53afa1b3b396ac93f573aa1d9f0790b1abeec3b4f8596ae1eebd07bef6590260823356f1150168fa7785394 SHA512 0648cd95360d3104f3211c358bc977446f25eeef327d104ecb40d2bbff3a35c1c718e65ed662a3933377b82eaea407d537f3ccab857d9d1cacc5911bedae915d MISC metadata.xml 1133 BLAKE2B 539649e3b6efda18535738e45078b7b35f8226034b18c40ff5feae249a4dc5aa6b4a1247a712564ab5b7cee1f62eda4e3bbb709ea7970d2fc279bc48ab1ee934 SHA512 72a58ba3f100cea6653406c3a314b1b67225d118fdb8323e54b6ae9bcd2224a00d01cee96b6564fbbf19de6e5fe5db54143aaa56ca2b7cf8c56fcd8c8c5cf6ef diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.45.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.45.ebuild new file mode 100644 index 000000000000..8f658065d0a2 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.5.45.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=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-10.2[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] +" +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest index 7883ef0076fa..4518694e0b37 100644 --- a/dev-python/osc-lib/Manifest +++ b/dev-python/osc-lib/Manifest @@ -1,3 +1,5 @@ DIST osc-lib-3.1.0.tar.gz 99632 BLAKE2B b0cbb070ae4e68d24080bea1aad7522c4ee37195f361ad1bf588e2ad7942e7a73f65dca69da8b9b0a9aaf74f503a16b26428c40b279f5cf41c7c8ef67872bbad SHA512 51067ea92e070f478d7eaa3f3678920aa859850a3c2f9e96c8d97dd7d67dc5c26cc9c53070f7d04d5a591f181be781c9d89d78614cff57204c5a233e6f8d4ad5 +DIST osc-lib-3.2.0.tar.gz 99180 BLAKE2B dfa1bb53245599154feea88733e9bfda0251ccf21aaa1e661f862215e3dc0105fdfaf2d916e2454b93bbe8c5c76f70cdf8bf0fb7a3f71756e51c3b3d3159abd7 SHA512 3942ebfa17b2f292c3703dae9f9edf4b8fef256fbd9f3df4be71451b2920f37720b195d25b945be0f69cb8c93cda1652926c7015a511a3e8e92833be3623f295 EBUILD osc-lib-3.1.0.ebuild 1511 BLAKE2B 3dfb3291e2121daf872ce3f8c01ce67f050ba6a438d0b0a979a1363ed2d95f2b9f5f34bc3e0f9bbc49f93deb66f6738642a9650ffd3091d048eceeb444017e97 SHA512 6fe5ed025c8357fa267b2dd5a845eb64abc46acb67276a0795f5802d383dc380ba0accd326a1d7f4e84e02e90a1ad6f503cc0332c8b368423e4e1a931e05e044 +EBUILD osc-lib-3.2.0.ebuild 1514 BLAKE2B 0bfa029b5df57f3ae5008642d1113fdeff6f1c6e42226be62637a8232c6f73d5d3bcd3285a2881a779e28a38cdbd5bb90e78d424bf663830e5bc85ffd72df9e2 SHA512 5515d7a92645120a09f82a73ec358623ed6f632753153d5091382996ae24a9a84a4567b87d36e1de0ea09538e5dc537e369f5813e0ed045ca95e6b36337721f1 MISC metadata.xml 836 BLAKE2B de71d2a55a0b65cdabf503321d91f3e708f50189e6a06e11ce96f0d273286e1a6b5a871726dfe33784b91e941463500c964cb85c583241b003d3742b1d91c92d SHA512 e132c2ed9283d65464a151c918ac4ca91793ce850c7bb0a7b63178ddd42cb59b69b036acce0a8d0078f4b1b778a2361ca6a6f6e01d83e12cdc76dd8682b5b281 diff --git a/dev-python/osc-lib/osc-lib-3.2.0.ebuild b/dev-python/osc-lib/osc-lib-3.2.0.ebuild new file mode 100644 index 000000000000..610d97559111 --- /dev/null +++ b/dev-python/osc-lib/osc-lib-3.2.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 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..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A package of common support modules for writing OSC plugins" +HOMEPAGE=" + https://opendev.org/openstack/osc-lib/ + https://github.com/openstack/osc-lib/ + https://pypi.org/project/osc-lib/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/cliff-3.2.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.14.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.15.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # need to skip all tests under TestTagHelps class + # checks exact help message, based on another unittest runner + sed -e '179,$s/test_add_tag_/_&/' -i osc_lib/tests/utils/test_tags.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest index ee2f84a62a09..94564ce79332 100644 --- a/dev-python/oslo-log/Manifest +++ b/dev-python/oslo-log/Manifest @@ -1,3 +1,5 @@ DIST oslo.log-6.1.2.tar.gz 95653 BLAKE2B 2cbac1274b8409faeefe2dc1d070acb264a9f1089369eb11bd16dd2f62d978f060c4845b76e38fb9c18cd832d06f18ecfc60098adc28cd98693271d1584b1816 SHA512 5eaf8ac49a7658e60116cea20207687050c911e2d93361942fd33d4bc321f67e4cb48d47e15faba95e0e31f945b5d6b46442ae8b2d39c8603879677e8f2dad09 +DIST oslo.log-6.2.0.tar.gz 95864 BLAKE2B 146c824f1f6c6733d7d1ed541b592a6fdb06c6739fdad03f7d65d1b21079347c9e1deb91984dcd65dd0fa0d1fc0435d8eec9b150800fbd160588347ab6411137 SHA512 50a5f948af9f1989246d8aefb00755a8859fa796c21dbef90dc2ae6757426b5df4b80db3518e0ec68e96198757dfb40da497821096681bda56e91c4c67430671 EBUILD oslo-log-6.1.2.ebuild 1354 BLAKE2B 941ef1ba17533ab38dc2b900d157bb8e00525bcd6f09562234813fc88d00c2b8cb9600b47ed7dff707a6e07521cbb32118614cabbba2470b4350c27e0513c136 SHA512 321ee66167afdb94ca79686dc807ca8c90d79fa121fc0835c238a02eee0e0d5ddd9e762e076c67b3f3364435ea6ee282095847af16fa75e1f8a0693996755c21 +EBUILD oslo-log-6.2.0.ebuild 1357 BLAKE2B a429d40adb1544469364dbe24ee737547f66a60680e35b398ad8c346ef59217031a905a8cdb7c57ffb39725d505f18c011e65b2a9f95d582d9a47a007c243f5c SHA512 6e3b3ab40612857423a4f5a13a03513ae276baec5f19c3d337223b2b261dee02b21638296a3395ac1e7ae99b9a0a70c9dca9363018d5ef58840690b317c2d6fe MISC metadata.xml 914 BLAKE2B 47a0937cefc2cc4c8c4300f4aae699a42c5d659cb6017aa01b87aca14bdcb9f47256c3417cc0178999c452a35ebccd915b020b537a4d688d1d00664b7be1332d SHA512 dfeb43d43608a56c60e62046f1fbef6c6cc794431917d7734caf0b3afb5d1b761c1a04ee01ab0fc4d6051c39a984d6edb25663dae2cf94354192d5f2b8abd6e7 diff --git a/dev-python/oslo-log/oslo-log-6.2.0.ebuild b/dev-python/oslo-log/oslo-log-6.2.0.ebuild new file mode 100644 index 000000000000..771fcebe9837 --- /dev/null +++ b/dev-python/oslo-log/oslo-log-6.2.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenStack logging config library, configuration for all openstack projects" +HOMEPAGE=" + https://opendev.org/openstack/oslo.log/ + https://github.com/openstack/oslo.log/ + https://pypi.org/project/oslo.log/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-7.1.0-r1[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.25.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + test? ( + >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest +distutils_enable_sphinx doc/source \ + dev-python/openstackdocstheme \ + dev-python/oslo-config + +src_test() { + # requires eventlet + rm oslo_log/tests/unit/test_pipe_mutex.py || die + + distutils-r1_src_test +} diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index f121130d46b7..4fe7788ca03a 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,6 +1,8 @@ +DIST pydantic-2.10.0.tar.gz 781980 BLAKE2B 8880070271bc7bbffe2805699119077437dda3ed011b8dcb6e231eb235dff7e767c1412208a13af6699fc519d5dccbd5345456b76cda816a6460b23055455a4d SHA512 a50d5dfd8c9dd565a432744ff2f31a697d9d0ea6d1d71a69f973f45e75156413937c302f24af34736fbd566f391fcb1e94ab7a06884465cbfa0659ba2f15f117 DIST pydantic-2.10.0b1.tar.gz 777569 BLAKE2B 6fdde0673b28feb51921417b501b8a9fb43b36d94f5e564f96d04d09bacc34710be7a7d1b72d8a4e17fad493824b5fc556553d5508bff3942303191dc8501e49 SHA512 ef1fb40fb3601949455901b645d9333b37bc7fd9b53b7882ba81e1824a4f123981a3e32e9654e45b29695257c7bcfc19eedde30263862769d8e1c887d9b11d43 DIST pydantic-2.10.0b2.tar.gz 781700 BLAKE2B 82a3d8e4ab99113ca3e5ac46e058d1844d0870ce4fd5d6ada2ef23cebfc19cb040c4af553088b07904b857609e872caa7d20946536c5ed77fe4a452093e52cf3 SHA512 93ffa34b34ced16746b1f3e53218b863284f08cb1ec2f966cd024826926305c69b8b3bdfb389b9f1a2f26e5b678b054c20cd15bb2849cd665457977e9338b5e8 DIST pydantic-2.9.2.tar.gz 769917 BLAKE2B 4e34fda6a9e8e8331278d0b7d0c2dfd61bde637c126fa6dabf78a09c6ef993f84dc8df6af421c8fb6d69c8e1c387a40e4bcd38cbe02f5ac521c6c70821735763 SHA512 2aace9e79a98bd94e5dc626736a245051912a11fdce36013d2ad2f96b266052386a3e12b259dca30ddc38b63c6b00b5bcc9cd5e80f7805de4d8701064f0982aa +EBUILD pydantic-2.10.0.ebuild 1496 BLAKE2B 1b5ea6383a113f0799ca0abf8ef24a555499bbb6db6d59da148b1000f7ac2530dab5a540bcd2c210ebe1110494636d5adb2ed80d94056c4ed5ef625816045428 SHA512 ddb806f33880737db1d6b281b0d9f223629207059457ea6cca2b868db70583726bd083fbd1a7b333511478c68b4931a6f9afa0fee851a49bcf5dd33bbe3f555e EBUILD pydantic-2.10.0_beta1.ebuild 1496 BLAKE2B 0fb261b608dc7fde7be7722f573eab42e1e2560786ac5583ae3c3279e249893958443d19072117c81d7bc8e66151593591082d4121c42980307659a108a977d8 SHA512 ee025bebd84bbfb99bad8a0dfae9e7fe143174ab2d71f5989f3787203e70960ace10d47367b2f35ade5eeb6c87471786292c747bc726fe40bcf88ed29de6b9c8 EBUILD pydantic-2.10.0_beta2.ebuild 1496 BLAKE2B 1b5ea6383a113f0799ca0abf8ef24a555499bbb6db6d59da148b1000f7ac2530dab5a540bcd2c210ebe1110494636d5adb2ed80d94056c4ed5ef625816045428 SHA512 ddb806f33880737db1d6b281b0d9f223629207059457ea6cca2b868db70583726bd083fbd1a7b333511478c68b4931a6f9afa0fee851a49bcf5dd33bbe3f555e EBUILD pydantic-2.9.2.ebuild 1551 BLAKE2B dda3c5b670b38a7c4fa6c87b4be9c50b4ce5cf67bf30b75e751bf78978ba09bbb5e648a7a8966bac9456b526116c0f6e9e7e2508d85165774a739ed67303ab09 SHA512 e181b11f10e7e9b01085500262d82f796814feab369d2b941b485a4bc1a2bfc08c6cc24d2e2c8d71e61f670b2b6e15a152ee838fbd098aab349e8476076a0c0b diff --git a/dev-python/pydantic/pydantic-2.10.0.ebuild b/dev-python/pydantic/pydantic-2.10.0.ebuild new file mode 100644 index 000000000000..a6e5a997d8ae --- /dev/null +++ b/dev-python/pydantic/pydantic-2.10.0.ebuild @@ -0,0 +1,64 @@ +# 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="Data parsing and validation using Python type hints" +HOMEPAGE=" + https://github.com/pydantic/pydantic/ + https://pypi.org/project/pydantic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] + ~dev-python/pydantic-core-2.27.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + test? ( + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/dirty-equals[${PYTHON_USEDEP}] + >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}] + >=dev-python/Faker-18.13.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # require pytest-examples + tests/test_docs.py + # benchmarks + tests/benchmarks + ) + + if ! has_version "dev-python/cloudpickle[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_pickle.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/qiskit/Manifest b/dev-python/qiskit/Manifest index afd4637ae9a5..bf8b4950ebd5 100644 --- a/dev-python/qiskit/Manifest +++ b/dev-python/qiskit/Manifest @@ -153,6 +153,7 @@ DIST pyo3-macros-backend-0.21.2.crate 58088 BLAKE2B 05dd49983c8aeddc47cd94f6cd58 DIST pyo3-macros-backend-0.22.6.crate 66312 BLAKE2B ec0b11bee1ad2192e8d95cebab0075d6ec5bf628e3344b86fb8e20a6d0bc1f891b56ccfa4622840a609480581f32bd211b9a3d1dd989716cf255efe3fdc89331 SHA512 87463939b5a5674e30e8ca05ae747f652f8679f0c5c85d20967e9910ad853768a769a914580e82e409188fe4add80a3117ccb9da24c250406bc6f76fe4453799 DIST qiskit-1.2.4.gh.tar.gz 10825861 BLAKE2B 5a916fc3b726d3f623c5c822a475248c5e5ebe6c5d4ff9485d0177714c335cf87d29b7b911535df7a5f9076ee24e7d2c8116d9062ae4e1d689c83e3805607665 SHA512 46e7c83f9a4b3c0e99a6328fc50ebc30bc57aabf0773c229575734bac606649fb6e2d82f1b3de01983a8fb29a2416a813ce020d8d2c87714ad28a6d14ac5fcb0 DIST qiskit-1.3.0rc1.gh.tar.gz 11125834 BLAKE2B 6ff50d28fa8b8d3490e5ada449bc5a8cd2549ceef9d663decc3c172a1a63600f5beaed80693bab6406fb48f6a55aa2646f99a231009eeea651e06f8cda906116 SHA512 a7c8a8920a53a9fa4ea043a8f1432d9c93443d1cb4826576f68ca81d4edd2f9575ec9e30e9230fefdab816650099d5fbeb10b92a5a0de236e1433613da8367f1 +DIST qiskit-1.3.0rc2.gh.tar.gz 11127183 BLAKE2B b7c1b9f27397f7031d449ba796d9c43e5f985869b083f8b6985008c58ea12d23eb70fd7936eebc2b67a703306d4c0cb687b53f0dae7ca0815494d36d429eb3c7 SHA512 2e5a764175a0da0f2c0be4c3ec994762b1aceb6cafc1029d49523a23f9af8e15ee76d3191c7b0fcb1f89cf130f5d2471a01e8ea7c6d1caaf064bb2991fd33196 DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 DIST ra_ap_limit-0.0.188.crate 1283 BLAKE2B 265a70d088ed76500cdbefa04d1b2778d54985aa978b806e9ebb016348556559799b8ac889c00aeff51d4ff08f3fa86cd3be3742f5896916edbbda49bca1946e SHA512 01d56844fb4437959e93fc3394d674848eaae3365d271c01ba5ff12fc05d4a1d11eb4145ee89a65eb5ba12db4075e8102ee31df55c569c8ee5ad6d383f9f451a @@ -246,4 +247,5 @@ DIST zerocopy-0.7.35.crate 152645 BLAKE2B 8f13123c9d9257ac5a5c6954d38c3510fa6586 DIST zerocopy-derive-0.7.35.crate 37829 BLAKE2B badeb7fa5e0bfe93a6788d93fd297604ed31de526b121549300ead3c49d450f49265f499e2e7ce606dcce2b59dd01f7fa817b8fbb3f237475185c5b42f5299c4 SHA512 dbe23573b62a6267d7bc8c744320b75b2fbda03b908c1d175211f7394374fe182bce58021e25485c10671d726b2007f250565dfe53134d51c89293bb607e9feb EBUILD qiskit-1.2.4-r1.ebuild 7702 BLAKE2B e3ceb4ab5f827fbeb68584f04f51ee4cbfb7b4cf0459c7ad8c489842f61b0a23786e3c10fe2843501bf4275ff178a5425c2a34007620756fdc7fe02ecd416ef2 SHA512 811495ad9dd46054c2edb0cd5915d483cbf0ea186f6c5c8ec17d6f97e2affd3eb8f62974085c4cdb7514d78773f551b83ea942eeff5c5570530c7488a1a17cd0 EBUILD qiskit-1.3.0_rc1-r1.ebuild 7618 BLAKE2B 016721df9e78f1d25f7582b6cf12c0f9f48ef8c175a6ae13f9ca69d16c75c8cfab9591dbcf1dd556e17c85016af5e4cb4729b9b374a94c57f04a270f2bc53b1e SHA512 8ff665b0588ab6871a2f5e9efe92577cb6ae8e999f9864cd682c98c65e18fc19e4f985ead5db431b3906172d5451afb4279eaa4bd623b8deaf4a52febca7c44f +EBUILD qiskit-1.3.0_rc2.ebuild 7618 BLAKE2B 016721df9e78f1d25f7582b6cf12c0f9f48ef8c175a6ae13f9ca69d16c75c8cfab9591dbcf1dd556e17c85016af5e4cb4729b9b374a94c57f04a270f2bc53b1e SHA512 8ff665b0588ab6871a2f5e9efe92577cb6ae8e999f9864cd682c98c65e18fc19e4f985ead5db431b3906172d5451afb4279eaa4bd623b8deaf4a52febca7c44f MISC metadata.xml 1087 BLAKE2B 3b20c74331333cfa3c08d2422ae65ba620ffbc331f9889d5e23a0a64ff169efed37d93df50131862b13dfe7a72cbca5af4c2a916315ea521fc063e57f6bdc198 SHA512 1bd62897d647ee140903ec4732831155683c131ab7c2ebb99bc1ab04b03e805b372b09d25846ec0a0d8bb0dd6a930c234db46c0bdd89f23a0ed376e9402475d2 diff --git a/dev-python/qiskit/qiskit-1.3.0_rc2.ebuild b/dev-python/qiskit/qiskit-1.3.0_rc2.ebuild new file mode 100644 index 000000000000..86853089155e --- /dev/null +++ b/dev-python/qiskit/qiskit-1.3.0_rc2.ebuild @@ -0,0 +1,309 @@ +# Copyright 2022-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} ) + +CRATES=" + ahash@0.7.8 + ahash@0.8.11 + aho-corasick@1.1.3 + allocator-api2@0.2.18 + approx@0.4.0 + approx@0.5.1 + ariadne@0.3.0 + autocfg@1.4.0 + bitflags@1.3.2 + bitflags@2.6.0 + block-buffer@0.10.4 + boolenum@0.1.0 + bytemuck@1.19.0 + bytemuck_derive@1.8.0 + byteorder@1.5.0 + cfg-if@1.0.0 + coe-rs@0.1.2 + concolor-query@0.3.3 + concolor@0.1.1 + countme@3.0.1 + cov-mark@2.0.0 + cpufeatures@0.2.14 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.20 + crunchy@0.2.2 + crypto-common@0.1.6 + dbgf@0.1.2 + digest@0.10.7 + drop_bomb@0.1.5 + dyn-stack@0.10.0 + either@1.13.0 + enum-as-inner@0.6.1 + equator-macro@0.2.1 + equator-macro@0.4.1 + equator@0.2.2 + equator@0.4.1 + equivalent@1.0.1 + faer-entity@0.19.2 + faer-ext@0.2.0 + faer@0.19.4 + fixedbitset@0.4.2 + gemm-c32@0.18.0 + gemm-c64@0.18.0 + gemm-common@0.18.0 + gemm-f16@0.18.0 + gemm-f32@0.18.0 + gemm-f64@0.18.0 + gemm@0.18.0 + generic-array@0.14.7 + getrandom@0.2.15 + half@2.4.1 + hashbrown@0.12.3 + hashbrown@0.14.5 + hashbrown@0.15.0 + heck@0.5.0 + hermit-abi@0.4.0 + indexmap@2.6.0 + indoc@2.0.5 + is-terminal@0.4.13 + itertools@0.10.5 + itertools@0.11.0 + itertools@0.13.0 + lazy_static@1.5.0 + libc@0.2.159 + libm@0.2.8 + matrixcompare-core@0.1.0 + matrixcompare@0.3.0 + matrixmultiply@0.3.9 + memchr@2.7.4 + memoffset@0.9.1 + nano-gemm-c32@0.1.0 + nano-gemm-c64@0.1.0 + nano-gemm-codegen@0.1.0 + nano-gemm-core@0.1.0 + nano-gemm-f32@0.1.0 + nano-gemm-f64@0.1.0 + nano-gemm@0.1.2 + ndarray@0.15.6 + ndarray_einsum_beta@0.7.0 + npyz@0.8.3 + num-bigint@0.4.6 + num-complex@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + numpy@0.22.1 + once_cell@1.20.2 + oq3_lexer@0.7.0 + oq3_parser@0.7.0 + oq3_semantics@0.7.0 + oq3_source_file@0.7.0 + oq3_syntax@0.7.0 + paste@1.0.15 + pest@2.7.13 + pest_derive@2.7.13 + pest_generator@2.7.13 + pest_meta@2.7.13 + petgraph@0.6.5 + portable-atomic@1.9.0 + ppv-lite86@0.2.20 + priority-queue@2.1.1 + proc-macro-error-attr@1.0.4 + proc-macro-error@1.0.4 + proc-macro2@1.0.87 + pulp-macro@0.1.1 + pulp@0.18.22 + py_literal@0.4.0 + pyo3-build-config@0.22.6 + pyo3-ffi@0.22.6 + pyo3-macros-backend@0.22.6 + pyo3-macros@0.22.6 + pyo3@0.22.6 + quote@1.0.37 + ra_ap_limit@0.0.188 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_distr@0.4.3 + rand_pcg@0.3.1 + raw-cpuid@10.7.0 + rawpointer@0.2.1 + rayon-cond@0.3.0 + rayon-core@1.12.1 + rayon@1.10.0 + reborrow@0.5.5 + regex-automata@0.4.8 + regex-syntax@0.8.5 + regex@1.11.0 + rowan@0.15.15 + rustc-hash@1.1.0 + rustiq-core@0.0.10 + rustversion@1.0.17 + rustworkx-core@0.15.1 + same-file@1.0.6 + seq-macro@0.3.5 + serde@1.0.210 + serde_derive@1.0.210 + sha2@0.10.8 + smallvec@1.13.2 + smol_str@0.2.2 + syn@1.0.109 + syn@2.0.79 + sysctl@0.5.5 + target-lexicon@0.12.16 + text-size@1.1.1 + thiserror-impl@1.0.65 + thiserror@1.0.65 + triomphe@0.1.11 + typenum@1.17.0 + ucd-trie@0.1.7 + unicode-ident@1.0.13 + unicode-properties@0.1.3 + unicode-width@0.1.14 + unicode-xid@0.2.6 + unindent@0.2.3 + version_check@0.9.5 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-util@0.1.9 + windows-sys@0.45.0 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.42.2 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.42.2 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.42.2 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.42.2 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.42.2 + windows_x86_64_msvc@0.52.6 + xshell-macros@0.2.6 + xshell@0.2.6 + yansi@0.5.1 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +inherit cargo distutils-r1 + +MY_P=${P/_} +DESCRIPTION="An open-source SDK for working with quantum computers" +HOMEPAGE=" + https://github.com/Qiskit/qiskit/ + https://pypi.org/project/qiskit/ +" +SRC_URI=" + https://github.com/Qiskit/qiskit/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT + Unicode-DFS-2016 + || ( LGPL-3+ MPL-2.0 ) +" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+visualization" + +RDEPEND=" + >=dev-python/dill-0.3[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/rustworkx-0.15.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.5[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] + >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] + >=dev-python/sympy-1.3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) + visualization? ( + >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] + dev-python/pydot[${PYTHON_USEDEP}] + >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] + >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] + >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] + test? ( + app-text/poppler[png] + >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] + >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] + >=dev-python/networkx-2.2[${PYTHON_USEDEP}] + >=dev-python/qiskit-aer-0.14[${PYTHON_USEDEP}] + >=dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}] + ) +" + +# Files built without CFLAGS/LDFLAGS, acceptable for rust +QA_FLAGS_IGNORED=" + usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so + usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # strip forcing -Werror from tests that also leaks to other packages + sed -i -e '/filterwarnings.*error/d' test/utils/base.py || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw + test/python/quantum_info/operators/symplectic/test_sparse_pauli_op.py::TestSparsePauliOpConversions::test_to_matrix_zero + test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin + test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register + test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_fail_to_assemble_circuits_with_unbounded_parameters + test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_schedule_circuit_in_sec_when_no_one_tells_dt + test/python/compiler/test_assembler.py::TestCircuitAssembler::test_circuit_with_global_phase + test/python/compiler/test_assembler.py::TestPulseAssembler::test_assemble_user_rep_time_delay + # tiny image differences, sigh + test/python/visualization/test_gate_map.py::TestGateMap::test_plot_error_map_over_100_qubit + ) + + local EPYTEST_IGNORE=( + # Breaks xdist + test/python/qasm2/test_parse_errors.py + test/python/transpiler/test_preset_passmanagers.py + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # docstring mismatches + test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_meta_lines + test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_multiple_entries + test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_no_meta_lines + ) + ;; + esac + + rm -rf qiskit || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # Run the Python test suite rather than everything under test/ which + # includes the 'randomized' suite. Upstream run that in a separate CI job. + epytest test/python +} diff --git a/dev-python/qstylizer/Manifest b/dev-python/qstylizer/Manifest index 883856615fbe..a84b57139121 100644 --- a/dev-python/qstylizer/Manifest +++ b/dev-python/qstylizer/Manifest @@ -1,3 +1,5 @@ DIST qstylizer-0.2.3.gh.tar.gz 20813 BLAKE2B edb19f9bcadee3229a1d98cc7170ba7bbab266fea74ab42987380dd8aec0ba4d02dda0fb7522f2cfbc52feb5646e44ee1603528d3331315ddcbcc18095a9ca76 SHA512 ba5188f702d4fbd43d963be206c75d55710bfe63accc84aea3bfd03ad06a0cb484d50b538c2d1d6a7ce21055d0b2eefb2cb35a732b929f5477033a8ddea945c0 +DIST qstylizer-0.2.4.gh.tar.gz 20822 BLAKE2B 6ecb70d2d9c602fdd13b2927cffde40e555e9bb6fa9855cc79b395eb4783452128ad4a6c7a428b13e8050b3df8c1bd393c649d42553058b7ef6653f1ac8f1cd8 SHA512 e55d9486f5cb15c0365fa17cded858b71b0fe33e6df777e12800f0a360e7cffade55c0f88089a20e76cb5b3d2fc8cdfd0d514466b7840c20c397a236657ad665 EBUILD qstylizer-0.2.3.ebuild 991 BLAKE2B 654aa65f2da981454416dbb3d247de6369a9cd083aee103396f4970165388861c3bcc817581b9f16b43039e447c0c4e57970c8eaf1de00570c8c66ceabdb5802 SHA512 40eaac2fc40fe72c1676435ee60ae8d181e43862be1129f4d5ad6ef79fe559fc00e7ec9d6e9179d93e64d5d958dcbe57cf3e10b2a314779bb3b60bda42069a72 +EBUILD qstylizer-0.2.4.ebuild 991 BLAKE2B 654aa65f2da981454416dbb3d247de6369a9cd083aee103396f4970165388861c3bcc817581b9f16b43039e447c0c4e57970c8eaf1de00570c8c66ceabdb5802 SHA512 40eaac2fc40fe72c1676435ee60ae8d181e43862be1129f4d5ad6ef79fe559fc00e7ec9d6e9179d93e64d5d958dcbe57cf3e10b2a314779bb3b60bda42069a72 MISC metadata.xml 402 BLAKE2B f1daccc941b52dc697ea2c8650c120e029ca3842c84b6e50588deea6f025a0cbfcf98b44c148e3de93305c46447fc80b78ceb40e6bca66a031b8e7de82fa2c45 SHA512 2e9f118f13f27474c66ae421dda5a8a8cc18d7aac7cb8ec79532f7b44360aac180c27fbce11448ba03e2815de7c3747bcbc61da3fc5eaa51a80ac4aabc243b83 diff --git a/dev-python/qstylizer/qstylizer-0.2.4.ebuild b/dev-python/qstylizer/qstylizer-0.2.4.ebuild new file mode 100644 index 000000000000..a73a48d3b655 --- /dev/null +++ b/dev-python/qstylizer/qstylizer-0.2.4.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 + +DESCRIPTION="Stylesheet Generator for PyQt5/PySide2" +HOMEPAGE=" + https://github.com/blambright/qstylizer/ + https://pypi.org/project/qstylizer/ +" +SRC_URI=" + https://github.com/blambright/qstylizer/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/tinycss2-0.5[${PYTHON_USEDEP}] + <dev-python/tinycss2-2[${PYTHON_USEDEP}] + >=dev-python/inflection-0.3.0[${PYTHON_USEDEP}] + <dev-python/inflection-1[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme \ + dev-python/sphinxcontrib-autoprogram + +export PBR_VERSION=${PV} diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest index f09fb9d213eb..52540ae31047 100644 --- a/dev-python/s3transfer/Manifest +++ b/dev-python/s3transfer/Manifest @@ -1,3 +1,5 @@ DIST s3transfer-0.10.3.tar.gz 144591 BLAKE2B eb25a7efabd3fbedfb93fb85dc94c53a2ad1e2ad5d72b0fb82355b50e9211adf2f1ad49dfec01dbeab5c59095c315a0a06ed60bfbb86b507375e67c52ea6d4b7 SHA512 63ad855ad5918daf0f1a6d2240ff15d96a0ad399c7248a1886d3b36bc445dcc2b64dd38f177653037e1a1216ab30cc08aa19c2822e5d0d1df5cfa302a50c4e3e +DIST s3transfer-0.10.4.tar.gz 145287 BLAKE2B 0b15068862236237287243237639310d35de942b0d3d399edd5ee924195ee8f45b2badea4b02f8dceef64f034111a810910b8208cb6e0c5db070b39f5c39f615 SHA512 671d95e9f507bdca8cf53b88cd28285f9c2ae1456fcb24ba4a61a75d30e8c8fa8b2a4faa8c8364114dc3e5c57f630d5b61575847b167e37b3de44b42c45f6a63 EBUILD s3transfer-0.10.3.ebuild 875 BLAKE2B 5633e466ca9cbf235efb6caa8c49b75ed818fc164a2c2e2774541769502294d197120b4e80a287083382dda1c24c29350e64473a3e35cfeb7b03e53a5c7fb978 SHA512 547724841b3c854971428858bfe622396efbce10ff96166e74c72fe94199170ecbf7bcdf6479bba25be4498259710c2b1c152da5cd08d856d81376debcd8fd2e +EBUILD s3transfer-0.10.4.ebuild 882 BLAKE2B 15909ab1297a6198d7be2f44a673a16c55da69adc346564925e85e317120844fcab3f9c258afcf9e561d83483587098319cb7bcc8ae34661a8fa74df65e0017a SHA512 cac5de4484f627dc646a5ed39ce27d4c2ddcf21b3ccbecc2d4206a280a01b5f56793cb5301188064cd1ef27478322e02e73f4d9e59de4b4cbf617c095725522e MISC metadata.xml 503 BLAKE2B 7b8bc8c7e251064ab7becbccff47ab889e54362d3350cf2b78529b60a95a2f52f39b42451c2a26af30ea8cd3fddd9c950c3b40d07d1c72bc6b0730817d7f4680 SHA512 25529c55cc73bca86f770a069f995e2f6f6494d436b52ae24e5b7e1523bf8f62bcfe5ad8e3f727456897a5f9c0ff9b8752ccaba4d3b65b62b5d70b9a3c4b0b43 diff --git a/dev-python/s3transfer/s3transfer-0.10.4.ebuild b/dev-python/s3transfer/s3transfer-0.10.4.ebuild new file mode 100644 index 000000000000..7a6c4efa0f1c --- /dev/null +++ b/dev-python/s3transfer/s3transfer-0.10.4.ebuild @@ -0,0 +1,39 @@ +# 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="An Amazon S3 Transfer Manager" +HOMEPAGE=" + https://github.com/boto/s3transfer/ + https://pypi.org/project/s3transfer/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/botocore-2[${PYTHON_USEDEP}] + >=dev-python/botocore-1.33.2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # 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_src_prepare +} + +python_test() { + epytest tests/{unit,functional} +} diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 7050cc7dcd1f..adf8e89841d2 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,6 +1,10 @@ AUX setuptools-62.4.0-py-compile.patch 3704 BLAKE2B 9a5e70d2556b059be0ef060abd1db71298cd0e9aa1e2795d92cea5cdbaf0c82f4433e1a0c3095f4bc41bc72a457b63142253fe46c712afa1d7855a5d43607bca SHA512 48d7c065e2d8c29ce6e498effe6d79f9caa0f37d7cf6cadd0ed02c48d196a4d8a10a73cfa26744d6f74b48c63cd28a4074b161a6aae18c6169f6d8fffb044b1e +AUX setuptools-75.6.0-disable-trove-classifiers.patch 1383 BLAKE2B fa3bc1822badca21e102ea4f360ba4975906aced16a274622f69cfbb3a720d67cbbdb8f4d7a15e4545f3b96528f2e284e85116139ba0788c80ab6eb5cd4d3414 SHA512 9011ef7551479d9512f880a91c27ee1327fca2d19eb5e97bcbadbdf243f8de2cffd6351d4a03f5ee5a6b2442953b544d70e1c30106618582758290568d3af6e7 DIST setuptools-74.1.3.tar.gz 1356471 BLAKE2B c59476710f10aae77f8b466ce2b072966a889b13c3e2e2a9524497ce43893bcd296412f8e0be8a3ccaa9be46b429680c11fe291095a65a185243701fa667be6c SHA512 7892d1ff0a1cd90f6cd367536392bf2933d354eb61d5177a01218b253bc254b51e74c040601adf35aff1652f1e1c6dbffca3cdce3f4fc32b8bd23c36cd885ddc DIST setuptools-75.5.0.tar.gz 1336032 BLAKE2B 3e06713c45212ef64b0f041089aa0621f3c12b850c9716e21181e91192378bb0596f81cfd6c484c3ec2d6f7e29ea7967fb17a7e5bbc2de996968be4fc47c2c32 SHA512 353ad99bb946d5ed07139f3a6d5f0efc9a4ca9721b060fce9095ee6fc74ac0e832fd0ebf7b2d1d68c71021db30561c5fea6abdde42174981f26002390a1e0e67 +DIST setuptools-75.6.0.tar.gz 1337429 BLAKE2B 65ba2e3de8dd0c86ab0ad59a5dc99a860ef5b59f357272eb2568347a496d853ef8e12a2d456dee3effe6f100bfb8d29e2f9f60123b58d791003ce3cddac23e8a SHA512 bdc12309165912f8de84e6f4ceaaf8f6b05dc1506a9205201784eb740346d773a7701af9b570cb13c272d81dcc0b4928e53ea1c4bb7c179debf479701c35bb6e EBUILD setuptools-74.1.3-r1.ebuild 4470 BLAKE2B 2d82fe6ef9827cb2e6e4be0df31ba27fc52be1f68e3e1401155048ff4941e88f17a8242baaeceef4968eb8db77a000ec91454de8ff920cacd308f860efac64aa SHA512 6d08c4a600c286ac315ba05d9949c9bda01f84017bd0226b24e2599fea090d1b926c5210ba639849dd841c4ff22f5610cba8e73e702a7e1e663f10c94e659926 EBUILD setuptools-75.5.0.ebuild 4583 BLAKE2B 44454c89580bd4b79a2edb138a787145b783d005f00b581a0e0ce406b92d4f8f5336f830f3c14119a81b818bf240278f9f940a0199c8162ccb86a481dec44f66 SHA512 9513f25796d2135df67d93097edf7a203c91526aa5b508f4cd5deac590d4600f2dbd23fed7d9b1c50a2e5f912e3e1d355458979b5fe9fc2027a9cf969a070db9 +EBUILD setuptools-75.6.0-r1.ebuild 4712 BLAKE2B 164d92873857ef4886604fabcc95e972ea7c5dfc21aaa7ef239ae179bfebce1c87ad50f697a5434f5a222c259be3ee14146826a72ea7dbb302d6b556920f35da SHA512 a9e3c4b063685d0b2f1293d8a67dd2de9ae21b42e41eb4d25e6bad89011b1322859a124e69441b50f00cd83254ced33fb1d69c0afb5cdcaad181cab8c4430034 +EBUILD setuptools-75.6.0.ebuild 4583 BLAKE2B 44454c89580bd4b79a2edb138a787145b783d005f00b581a0e0ce406b92d4f8f5336f830f3c14119a81b818bf240278f9f940a0199c8162ccb86a481dec44f66 SHA512 9513f25796d2135df67d93097edf7a203c91526aa5b508f4cd5deac590d4600f2dbd23fed7d9b1c50a2e5f912e3e1d355458979b5fe9fc2027a9cf969a070db9 MISC metadata.xml 469 BLAKE2B 4a26769b09a3785586b22db850b7fc5c4818f31c3ace9cc94476d35df05e50edf6721f3c95ec615c3b2efe071ef284a54ea2d53566316ba653f7830bb48f80bf SHA512 dd682c4ad2e59a97094ebdabe4d1063e2319ed05e1fe9d8c2fafe069badb3b4cf8bb6d9f50e09d2128e2a081c1c69827407ac8aed644ebf70eb4ca1bc9a57319 diff --git a/dev-python/setuptools/files/setuptools-75.6.0-disable-trove-classifiers.patch b/dev-python/setuptools/files/setuptools-75.6.0-disable-trove-classifiers.patch new file mode 100644 index 000000000000..c5111e985f61 --- /dev/null +++ b/dev-python/setuptools/files/setuptools-75.6.0-disable-trove-classifiers.patch @@ -0,0 +1,32 @@ +From 0d9e8bc7d6df86381ac56770dc95fc75276f49ef Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Thu, 21 Nov 2024 20:40:14 +0100 +Subject: [PATCH] Add an option to disable using trove-classifiers package + +As requested in https://github.com/pypa/setuptools/issues/4459, add +a VALIDATE_PYPROJECT_NO_TROVE_CLASSIFIERS environment variable that can +be used to disable using trove_classifiers package even if it is +available. This can be used when the system features an outdated +trove_classifiers, and therefore incorrectly triggers validation error. +The change is designed to be absolutely minimal and non-intrusive. +--- + setuptools/config/_validate_pyproject/formats.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/setuptools/config/_validate_pyproject/formats.py b/setuptools/config/_validate_pyproject/formats.py +index aacf4092b..0b05ab17b 100644 +--- a/setuptools/config/_validate_pyproject/formats.py ++++ b/setuptools/config/_validate_pyproject/formats.py +@@ -210,6 +210,9 @@ try: + """See https://pypi.org/classifiers/""" + return value in _trove_classifiers or value.lower().startswith("private ::") + ++ if os.getenv("VALIDATE_PYPROJECT_NO_TROVE_CLASSIFIERS"): # pragma: no cover ++ raise ImportError() ++ + except ImportError: # pragma: no cover + trove_classifier = _TroveClassifier() + +-- +2.47.0 + diff --git a/dev-python/setuptools/setuptools-75.6.0-r1.ebuild b/dev-python/setuptools/setuptools-75.6.0-r1.ebuild new file mode 100644 index 000000000000..a9961b9303cc --- /dev/null +++ b/dev-python/setuptools/setuptools-75.6.0-r1.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_13t ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !<dev-python/setuptools-rust-1.8.0 + dev-python/jaraco-collections[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-4[${PYTHON_USEDEP}] + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2.2[${PYTHON_USEDEP}] + >=dev-python/wheel-0.44.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) + !<=dev-libs/gobject-introspection-1.76.1-r0 + !=dev-libs/gobject-introspection-1.78.1-r0 + !=dev-libs/gobject-introspection-1.80.1-r1 +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.5[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.10.16[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}/setuptools-62.4.0-py-compile.patch" + # https://github.com/abravalheri/validate-pyproject/pull/221 + "${FILESDIR}/setuptools-75.6.0-disable-trove-classifiers.patch" + ) + + distutils-r1_src_prepare + + # breaks tests + sed -i -e '/--import-mode/d' pytest.ini || die + + # remove bundled dependencies + rm -r */_vendor || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # broken by unbundling + setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata + # fails on normalized metadata, perhaps different dep version? + setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_pyproject_config + # TODO + setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist + ) + + local EPYTEST_XDIST=1 + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + epytest -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} diff --git a/dev-python/setuptools/setuptools-75.6.0.ebuild b/dev-python/setuptools/setuptools-75.6.0.ebuild new file mode 100644 index 000000000000..8bd616a1e315 --- /dev/null +++ b/dev-python/setuptools/setuptools-75.6.0.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_13t ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !<dev-python/setuptools-rust-1.8.0 + dev-python/jaraco-collections[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-4[${PYTHON_USEDEP}] + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2.2[${PYTHON_USEDEP}] + >=dev-python/wheel-0.44.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) + !<=dev-libs/gobject-introspection-1.76.1-r0 + !=dev-libs/gobject-introspection-1.78.1-r0 + !=dev-libs/gobject-introspection-1.80.1-r1 +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.5[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.10.16[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}/setuptools-62.4.0-py-compile.patch" + ) + + distutils-r1_src_prepare + + # breaks tests + sed -i -e '/--import-mode/d' pytest.ini || die + + # remove bundled dependencies + rm -r */_vendor || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # broken by unbundling + setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata + # fails on normalized metadata, perhaps different dep version? + setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_pyproject_config + # TODO + setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist + ) + + local EPYTEST_XDIST=1 + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + epytest -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} diff --git a/dev-python/simsimd/Manifest b/dev-python/simsimd/Manifest index 9de66981b136..1d9ad6280771 100644 --- a/dev-python/simsimd/Manifest +++ b/dev-python/simsimd/Manifest @@ -1,7 +1,5 @@ -DIST SimSIMD-5.9.11.gh.tar.gz 204255 BLAKE2B 6c67f47bf2beb41b8f6e091874c808a9be0da307d6bc7af5d6cca62435d1a4199cff7444b8b9f0ce04dbdd779641d635b8e7545512cfeb782ca81ef0f6e74e2e SHA512 eae6b0a509198de09a6d47c207554cc330ad1242b3a1d98d74d0fcb0c960052de1765e05d2bbe4bbb295224266dc393890a159b7fa933c6d7725685a5e50d1ec -DIST SimSIMD-6.0.6.gh.tar.gz 208136 BLAKE2B e9c3027d278a73ebc5b9f89454bf3ccad68b8ebe82ccda0da743769c5932e28f3bcb2e91e6a08badc03ac65c9e1949480b30f17f2a686972ffc22e2905952eb0 SHA512 8d8bc13e1342a42245827f36b1b544e4d8dc9e496b34b7443fdc98747880b477d4f2a6e4a425054717538057d7f4da75573b621c717b59f63f3a6459f90b1480 DIST SimSIMD-6.0.7.gh.tar.gz 208361 BLAKE2B 682105bfc9dd4b730618ae18622666ac1cb8b1b542acaae78f0d3fac830a513ecb8491e7ba603e4a35a97608ee4b3d3a2f5e2eb4e5bd51f7a0625423641cbea2 SHA512 c65beb5df6db2f6b5fbbdd8fc5d043bafb29239a6ad459cc2a6a81314b88759dbb35ea848fb16c8c61f354f271dae08adb4c7fd92cd5b6817191897e96c476d9 -EBUILD simsimd-5.9.11.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc -EBUILD simsimd-6.0.6.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc +DIST SimSIMD-6.1.1.gh.tar.gz 208900 BLAKE2B 3f2f450eff1494bb80734e571d7e90c1b3ffe4687260a9dd499e135e17354dbe1b46f65abf3ecd262d8e500cdfe6b6f0b37f2607f009b6d13be4bcb3ec846fe0 SHA512 338bd6c12647f0231bfa5f1f22538c3ebfa3a838abcbcc86bee21ed8713dd72701f62245e143e3546b6299fd324221b72abd9b2d7041fece5ea379a65ffd95cc EBUILD simsimd-6.0.7.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc +EBUILD simsimd-6.1.1.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc MISC metadata.xml 349 BLAKE2B 363881beeefbf65de7e0ab30fe5da642deefc0bbe2aeef0b4c3395a3c570f1043cb3d5e08927536a48597a44d447ff4853a5b15fffa65bbea5533377b0d6e413 SHA512 75756bd2cfb9adbdc59a2f4e3ed29c7d5daf53f427da661a9dbe6b3746ccb8ca031f650a7e505ef817b13c231cb725ca1e6eeb490be39b29e2883ca7d52f0368 diff --git a/dev-python/simsimd/simsimd-6.0.6.ebuild b/dev-python/simsimd/simsimd-6.0.6.ebuild deleted file mode 100644 index 3b7152ad7a71..000000000000 --- a/dev-python/simsimd/simsimd-6.0.6.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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/simsimd/simsimd-5.9.11.ebuild b/dev-python/simsimd/simsimd-6.1.1.ebuild index 3b7152ad7a71..3b7152ad7a71 100644 --- a/dev-python/simsimd/simsimd-5.9.11.ebuild +++ b/dev-python/simsimd/simsimd-6.1.1.ebuild diff --git a/dev-python/sphinx-argparse/Manifest b/dev-python/sphinx-argparse/Manifest index 10d5746f4e9c..0356f7533055 100644 --- a/dev-python/sphinx-argparse/Manifest +++ b/dev-python/sphinx-argparse/Manifest @@ -1,5 +1,5 @@ DIST sphinx_argparse-0.4.0.tar.gz 15020 BLAKE2B 73118f56ff82d52f04066b9d500aebc77eb5a0fecd03fa69f382c0f2afc0cbffdd395da707cf37b59f039e93935f8d5c3fe0e0f7a2820d3b6509dd78b37b0d74 SHA512 b96050da6c02f87c54f9dc9146bed955e99258df740b467575a2b3e9919fa8c4c6d30a736dab24360086bfc0d7d09c4bc7a818700af2c7846eed3a3b99053d65 DIST sphinx_argparse-0.5.2.tar.gz 27838 BLAKE2B 273b08c02ed9d43483988170857389c3e933a850774a721e59049c8c42c82f85cfd60aa324d8189a9f06993166bbe079449fff48a4947c271a8ebe19cbb13d86 SHA512 d200099392f7ab657f98b98bf0a02992baa5e2762805f4b066cc971a8181fb53ea20c522fbc1927e7be73cb69725c31a0aa9433b59a1deea0d1a805321fa77dd EBUILD sphinx-argparse-0.4.0.ebuild 579 BLAKE2B 1b61a1631046f67d3b72740a603c97ccd5f60062e8dc118734b84f9eb0f2f3c8b432804ea66cb0f52b19a99e6a166e29d0b4ea7f8bd4eedbafe68dc86e1bef11 SHA512 31e3015cdb6ea1648aa6d28f53e499a88f6b063328f28c5452c26153082020954104139049d39ca9a505097826c5349e3e1eb75489498d15156eada4335a3e05 -EBUILD sphinx-argparse-0.5.2.ebuild 699 BLAKE2B 6dda98290a0be187eb1058168df1fbb6aa6abe7db5245969982b43913c0b59fdb46fe770fb548682f112817406f579380f9bcd3c9881be74a851ea8ab9022942 SHA512 f6335a25eb8f41ea3f4b1087ded95310f5f6f6cd61af390e0beead9a8b6be6a59a123970fc3101f636095f79a506d837b7e7afd5f8c54e8f0083757a8b02918a +EBUILD sphinx-argparse-0.5.2.ebuild 698 BLAKE2B 031e69dcb1051d278de7064be7f09b75b8bb9d963aad55e84409e1c598ecc4afc16632b4bb2cccd4bc5fa297f05416fea9c071b7e3dbd9a28e39d4fc29c59cbf SHA512 4d5da5ff896abe2d577d2c5cdf7bc633d685a673fa1747419a7029a0a26bab1ea26ef044016d34bb71bc39448622e367a5cff9aa05b951e1d846b33a09b20c8e MISC metadata.xml 523 BLAKE2B f4a83087116be073af18f7ac28d01fb3b72f2896fda9e1df574a163851b249d52d721405ddc070db87cfc5dfa875cce6e8d8b8ba348abae950663c99187837e9 SHA512 204eefa35c37d4ac110fc6f7a2cb76771961ffa6a58b044260bfe650c7c836d49d7d48f36e29772d36266f16ae93f51e09a93d03c64c0b6de860ca49beacb3ac diff --git a/dev-python/sphinx-argparse/sphinx-argparse-0.5.2.ebuild b/dev-python/sphinx-argparse/sphinx-argparse-0.5.2.ebuild index 39fba4f60b8f..9884e6193fe8 100644 --- a/dev-python/sphinx-argparse/sphinx-argparse-0.5.2.ebuild +++ b/dev-python/sphinx-argparse/sphinx-argparse-0.5.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" >=dev-python/docutils-0.19[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx-copybutton/Manifest b/dev-python/sphinx-copybutton/Manifest index 402bc9ae4025..0170fe72d53a 100644 --- a/dev-python/sphinx-copybutton/Manifest +++ b/dev-python/sphinx-copybutton/Manifest @@ -1,3 +1,3 @@ DIST sphinx-copybutton-0.5.2.tar.gz 23039 BLAKE2B 5a440865610dbcfc8abc8a10c38832439d5f588a26a8641374cada3cc181a0ba2a19e62b287a296c1879f25342ce8aae1ade080126f837e5ad9291c152a30c6e SHA512 83f61526d8a20f70b0de63a5bad89ed4ae4f3cf5cd589f1a1e2e91f08f4d45a05acf780a4cf3703d4490ab93c9c9bb18c11d3170b8011c2254aab0334940ab2d -EBUILD sphinx-copybutton-0.5.2.ebuild 514 BLAKE2B 73bc706ccb8cafb954476aed33f9712d82886922e4125b579792e9576bfad3e61d27b5b951bf334b29252112c8bfb075ce6f6abd2d4a48b1ab61e1daef6a4ff6 SHA512 a0020d94838e21fd3a612ae02b27fa93117c397fb8e1fe15c440b6d13d82ddcb55cd29eeddf7dcb9dc2226020e2e739fa6eb7e993fbedbded2719a9fbfbc9a7b +EBUILD sphinx-copybutton-0.5.2.ebuild 481 BLAKE2B c8339ff49209e9c8f7a72a118d5417325e3045436739f2760600557cc9bf298007984a5bfafe0610b2c640625b4af9208338953b4557874414a1bae21f779eb7 SHA512 2e9e4858a57f8454bd66a9380dbd0c95e5c43c122f4526603663f1b83b2dd9875f7391f4ff5d0e3169723103b0d0a4cca9de68344b257c2d70575bddd5f6f04e MISC metadata.xml 561 BLAKE2B 9b79bc70ff34e5be3453d71f1d9547f2c83096e9d7a32eb2dcf38d9868d766a7f7bceb6df1f28a6ac375a47ec2c7ff98008a99ef5233e85bcc3199f48f607e9a SHA512 3b1d64928d68a420b99470ecddcaaf3b36d8ddf3009d44e0580a15937c126e275938a5835d2900e2d30101034a2b2ba0fb1bb58cbda68fcf3cb84aaf36d50b25 diff --git a/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild b/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild index c8e9ad393a9c..3934e50147b0 100644 --- a/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild +++ b/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild @@ -13,10 +13,8 @@ HOMEPAGE="https://pypi.org/project/sphinx-copybutton/" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/sphinx-6.0[${PYTHON_USEDEP}] " - -distutils_enable_tests pytest diff --git a/dev-python/sphinx-inline-tabs/Manifest b/dev-python/sphinx-inline-tabs/Manifest index 8e3b3fa18618..3d2585c1968f 100644 --- a/dev-python/sphinx-inline-tabs/Manifest +++ b/dev-python/sphinx-inline-tabs/Manifest @@ -1,3 +1,3 @@ DIST sphinx_inline_tabs-2023.4.21.tar.gz 42664 BLAKE2B e7f00bb220a194d6aad2285af793b540233d3a4122c82c34c28d03e62fa463252dff7624470f3abf4e5cd9028c9abfabc0b663fc56acee809bcd10d1bc886038 SHA512 d5c856821ca3d2b251733fe200465679dc875d66719851f89b6e38fd1898e40a2bbc97975b6bbdb7bf769fb67038bbb8dd94282504adb0977c57e8d1cf3fde5c -EBUILD sphinx-inline-tabs-2023.4.21.ebuild 454 BLAKE2B 17edbdbd77d84f1764ab61d3d2bed6f365fb3d3279a83cb0009b8583ecc2ee37eee2109e47f49321e4795e839f4fd754e7b96c9e2e693933bd67280086defc2e SHA512 af3ac00c27248463a40a4baa41ad8e5bbd2619582bdf2c05cb1b883471e3a1a39a0d18c8f98bf9bef19cd81a715f4c2821a423636e1fb3582cdba400ec7579dd +EBUILD sphinx-inline-tabs-2023.4.21.ebuild 422 BLAKE2B f55c98761f7732d6a299ff36faadc2c8ed60e3c2e07aeefdf561ba8e703dbf8f32cae54ae6ff08c69e17b850973120b012de8677f6b342382c05d70f334e49c3 SHA512 437402326a9d64fcc3a516d917800bfb672328cad8720bd918654dfbd0a26b2b109918577763d85db0a985f6fe9e2ce2acb9a47e52978a61fac36c7680327783 MISC metadata.xml 553 BLAKE2B 3ce0da208e9abb45c8ef8be913c3f9253de38a71accacfc0edf9e01b94b2d2bf4a8979ce2613b4f756f749d5b28cc0c3de6fafe7fc42d778a4d617c23cb39192 SHA512 2b0fa9391c56137c743d5fe4cf4bffb98ea7a6ae526f4afecda82180aeafc49c21e6edbd3630bb1c4094e115720e54c79059945b525633cbde34fddc268b42f0 diff --git a/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild b/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild index 26218e365229..f9bc9837d61b 100644 --- a/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild +++ b/dev-python/sphinx-inline-tabs/sphinx-inline-tabs-2023.4.21.ebuild @@ -12,10 +12,8 @@ HOMEPAGE="https://pypi.org/project/sphinx-inline-tabs/" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 arm64 ~riscv ~x86" RDEPEND=" >=dev-python/sphinx-6.0[${PYTHON_USEDEP}] " - -distutils_enable_tests pytest diff --git a/dev-python/sphinxcontrib-autoprogram/Manifest b/dev-python/sphinxcontrib-autoprogram/Manifest index f5fcbaee301a..8b6ce07ce409 100644 --- a/dev-python/sphinxcontrib-autoprogram/Manifest +++ b/dev-python/sphinxcontrib-autoprogram/Manifest @@ -1,3 +1,3 @@ DIST sphinxcontrib-autoprogram-0.1.9.tar.gz 18843 BLAKE2B 9a081113ea2f315618926e6ab88c81fd875899431f95539e9bdc343a88e9422345ef36c442d3697bec9199b8723959e12300a0c26cfd9ec36a2dd18dc76392ea SHA512 f0b4ebffda493c41a88b6fb30f12952bf136134823125e81a473fa9015d11f724aa07e9a6c87295039d1044cbc262971fbf2745e325393cc13627a1b159bc686 -EBUILD sphinxcontrib-autoprogram-0.1.9.ebuild 596 BLAKE2B 59ec0002e149495c77df466e55d57e0c3533539e772f8cd6f2604cb3ec726b65f3cd2c68884b67fcd12b2cf3b458e9548feb378043cb6f63270ea84d165f3fde SHA512 c7442c4b8657c4e66bfba7056eb491f064e58d426b33175cfbaac03682b1fc260a9085f225d0c59d35d782154e4112e8e011877be7ab1438884d2e55e3dcfca3 +EBUILD sphinxcontrib-autoprogram-0.1.9.ebuild 595 BLAKE2B bd572110c949a2a74dea2e3ebc112fdfc54587f28d46b0c28fba59ef1e951df467655fd28e45252318e82f425b988b3596d7731b449ff548ccb7de0b77729f86 SHA512 86e4aba3512d83168ee6ba0497f417cc68e3a674e6908d1fc39405fa8f8150092dccec0ed63d2c98b4531fc019f39eb8aea70085bf743a188bd1b51962e6247d MISC metadata.xml 424 BLAKE2B 96d750d640436c2d490ad5f35a4c5e45a16ea1204a5b10f6bbe8cf888c727992f618b8105ee86336d1d9bbee297ae6b2db496cacac87a0641b5db743801b6c53 SHA512 9dd43782fa92f9f6429390baa5a88221b6a7247d672641d3de12461fb3a658a038a665f34340c637095c1f387b14474216a291eed2df4ab05ecc6ae0ae6856de diff --git a/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild b/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild index 803032d23ec0..4b879b734b18 100644 --- a/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild +++ b/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 arm64 ~riscv ~x86" RDEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] diff --git a/dev-python/stevedore/Manifest b/dev-python/stevedore/Manifest index 62ed70a32b27..68c42196b998 100644 --- a/dev-python/stevedore/Manifest +++ b/dev-python/stevedore/Manifest @@ -1,3 +1,5 @@ DIST stevedore-5.3.0.tar.gz 513768 BLAKE2B 7220e422b4b84bfc236d77707ff79eefab3724f98f253f9d94761941cdc7d47f7a2a9cd428810d16189bf1bbd51f899c3c5d6492f06397a422efc4067fdd0558 SHA512 b08ba776a03ea5776d73ff6ef2aa0bca7de05c3228172bcec6eb438cec8f64ff821d7fe5b34873822522d51f71532ba9c182a396a915459966ffdbc3cada20bb +DIST stevedore-5.4.0.tar.gz 513899 BLAKE2B 6fda4d24f51ef9dd25db8adf28832ff30308415feaac0416c4fa93d3cdc185ed99ee82b8d6f93c8fbf4ef747827dff4f95494dccd4c89bc926727a1964380570 SHA512 b377f79c3d467fc910b6a85bb1788f85982f6e0df561b5187ac06652301ca357d274048e1538b0d641d1159c1de973edfa2146561946a965ac86015a88b7cce0 EBUILD stevedore-5.3.0.ebuild 1101 BLAKE2B 49622dc2355a17f22046a430ead31ffc20f6de5b37375678f34677c22aaa4234f2764cb0fc2d01656e2127f915f828146caaa9bdd64ee90260481f5ce191aea4 SHA512 ca7d356a63daf674ff94a10b4c5d6cc184b5251c2ff3b44f406687f09111d4594b2ee1142fa24c6f1ffb0e112b4bdfce818e73631195c676f644c375708a8e4b +EBUILD stevedore-5.4.0.ebuild 1105 BLAKE2B 6b1e49e4368c1be09668db3d86e96c1b89f42bf65e28492fc2a48a07fb31348ecf11cee0f5ffa36a126e8b2074454340627feca93931f2666901b570c3251d8b SHA512 671a1e475ea128f68fbd1c6cdd6ae6c95851091357df9fe7c082a66fe7e60dcd8bee38b25ac821a231c5d4f521056b6507792eb9090ed81802849324cbe3b50a MISC metadata.xml 522 BLAKE2B 3ed51cb439d8350ff3df20a20a803c14bb11c9e0e5b15bd661f5780513f88a38f8a4d80703f6a7764488aa721f0fbbbf9a25d4fccb0f9916423198daa539bb69 SHA512 d08e11153dbb878de8f93d7a8293ddf2469adad8a2c436ef652f5c7cda7696a91f914260b841b3e64b3aab37d70dc76b1c369a08b9ef4bbd4f7c33c6a0ece690 diff --git a/dev-python/stevedore/stevedore-5.4.0.ebuild b/dev-python/stevedore/stevedore-5.4.0.ebuild new file mode 100644 index 000000000000..aff3b1bee66c --- /dev/null +++ b/dev-python/stevedore/stevedore-5.4.0.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 pypi + +DESCRIPTION="Manage dynamic plugins for Python applications" +HOMEPAGE=" + https://opendev.org/openstack/stevedore/ + https://github.com/openstack/stevedore/ + https://pypi.org/project/stevedore/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + test? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest +distutils_enable_sphinx 'doc/source' \ + '>=dev-python/openstackdocstheme-1.18.1' \ + '>=dev-python/reno-2.5.0' \ + '>=dev-python/sphinx-2.0.0' + +python_prepare_all() { + # Delete spurious data in requirements.txt + sed -e '/^pbr/d' -i requirements.txt || die + + # Also known problem, inside venv + sed -i -e 's:test_disable_caching_file:_&:' \ + stevedore/tests/test_cache.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 52058a81994d..ea23ab99ac82 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,3 +1,5 @@ DIST stripe-11.2.0.tar.gz 1362386 BLAKE2B 56e22671886efe3e2b8d3c7f41402f5dcf4320e3ceea8d0ed9cf2813ba682ead62e9af796ef94d05f5eb18f678c55c36a1005902fdceca5ce9a9b5b4ac204193 SHA512 9344845d6b9b89886ea6ec2918b4ce53545141232aadaadfbf3f7bdd6522b1ee1bfe57f0145e69c0edeb66fb01dedb3a9fd7263410f7d2fbae7240c68ac87936 +DIST stripe-11.3.0.tar.gz 1367031 BLAKE2B b46cae95059a1aa7087743772b5cb23456e64b276befa852b0c13ce417f624ac6d9a90e64a43aeb3d60941ad73cc87afa114d4161c5e5b3e5ae6033b4378f6c1 SHA512 4b8934653f138b86f7d64977f2817fc0ad54a89d794521af7d1f193ecdcbb366e78ece286a3c768f946d281aba998443e675e6db66fcd3a0084641053e55a182 EBUILD stripe-11.2.0.ebuild 2575 BLAKE2B 62eb57a013e436e4fdc3c4547563cba2fc3c77f48f5afe86f8a84c25fa5f6bc691b8f28aed3b2ee8e3d87b4820eda165b3865c552ede91f8d58038cd0b7c566d SHA512 037e48922a2a38fb5c125495b54a8876ca56db806f6b3b3c33c955ddea66122af8b79d4dee7999817f8b305d766c3deaf573f9392ed4a5c353f90a7aad5902f2 +EBUILD stripe-11.3.0.ebuild 2578 BLAKE2B 155744e53fff566fdb1605586ab59be6fb9bb056e6e9ca3a2314436265156760e4b462a7effa39a496125829eef4095b3d4f3fdaadd3f8280901d70bde3748de SHA512 4f20c27def982a82d7c647a1e7dd897cabbc6b761ea00367bf22bc635cd1f0a1f91a0e6ec486d88c4bcab7229221bcfadddcea3f156311a9d9c99451b52ed616 MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-11.3.0.ebuild b/dev-python/stripe/stripe-11.3.0.ebuild new file mode 100644 index 000000000000..eb697bfc26cb --- /dev/null +++ b/dev-python/stripe/stripe-11.3.0.ebuild @@ -0,0 +1,93 @@ +# 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="Stripe Python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="telemetry" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.192.0 + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +src_prepare() { + distutils-r1_src_prepare + + if ! use telemetry; then + sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # exception message mismatch with aiohttp-3.10.0 + "tests/test_integration.py::TestIntegration::test_async_timeout[asyncio-aiohttp]" + "tests/test_integration.py::TestIntegration::test_async_raw_request_timeout[asyncio-aiohttp]" + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p anyio -p pytest_mock +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 6626c1fd85c1..316ec6892c26 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -6,14 +6,8 @@ DIST rs-async-zip-c909fda63fcafe4af496a07bfda28a5aae97e58d.gh.tar.gz 51763 BLAKE DIST tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.gh.tar.gz 37106 BLAKE2B c30d1c33f6f52e2bc83823eb6319f8a3e462b7c7408fb6a08f995747857ef234f81db4135a04f9d183095fe473a4087f8f0cb89d8f87ef4400285d2ce034ec22 SHA512 4abbc4240ed129c92da8d616e27a6df0f24cdc85a0803acfdae588ca91f9e5b8d482e3ac88b2e657ff68917b1b43cef1e7ef3c887f624659b231fa5a13fcae68 DIST uv-0.4.30-crates.tar.xz 45786704 BLAKE2B 72a5828c5c504859248312e0d796a6505e4d0546218c8f7f99e37843afdf9496ea1ba4b1f094979299de417accca7f021e4f8971e467429e7d986ed9a3fb2008 SHA512 49abd05fa9e14b1bdb1b4d26f1e68a2038d57bd25c756440bca209b513de42fd8d33ce6e1333392dce65ab427285651809b44e024758359688af5fb87efc19ed DIST uv-0.4.30.gh.tar.gz 2832043 BLAKE2B 11c0d090161b9aa6d6e84d0edb15701c8eaba8281579653d6b0ba84003933f82ec5b71c3c33689e5324e51de70b7af41e4799f35fb45f57ce6d58fafa371a615 SHA512 4930c863aae71ae6e6f5b7ba20ff30ffe4c044f6980f973110d0c8c3079cb4aacbe774fe4577eb8d9c16f5d41d2cd0974c0fe63cf0d10e065c6b8d4cf553b80b -DIST uv-0.5.0-crates.tar.xz 45831504 BLAKE2B 0a95463b47729d40cdaf852ba556626ed3a1d2122f5d5a8bc6c401b95c836fa0ac0726f2aeaceb10346d65c0aa3c5250598c3219244fc3b957d26ee16968d443 SHA512 b991d9aeeec6b4e5d3f3f11a51c66f929560cc75bfc9379f090ba75b243056d4cf174326f8cb31b7aefd7e60e445e05b6799d9d7a8021b0893de436dafb384ab -DIST uv-0.5.1.gh.tar.gz 2839701 BLAKE2B 5b4ec310a9979583b1f75355ed7a69f9b40ee397464c031b2ec36a1852e9d60b66223719cda6d6f3edff1901e60426bd0e662da7c346082a9d8889ef8b411bec SHA512 eb60061df14a6fee3295097af92bb63b71bc61f56d422db2fe6d61b7d65eba002aed57115e1ffa9e6382fc4b29a38c2e4821e9a75e1114594751dea6e8a02d0e -DIST uv-0.5.2-crates.tar.xz 46304440 BLAKE2B dabe98041d7b041b2dc76f95c6aa35f115b8f9754b1c5559f18b1826108299924d4a71bc2e830ff18145ca61dacc50007d4a9dd1edeb9c9e1be9976f763cc1d0 SHA512 eb0ed382236e13ffe3d4490eed1e9a9cb27df649b4a9dbf7383c9f90de0bd351b70b7f73be333372a5845d0229456c869ebd34a53065536818c0efb4689bec49 -DIST uv-0.5.2.gh.tar.gz 2886231 BLAKE2B a9b1228915a9108fdc97f37f6b61a68cef068df4d536b6d4a2673b726c755e730c677b28b3635da7838e6efbcc3f02f841396992d135e2263793d68e80ce6cfe SHA512 226afbf9f50d5d90758216895549ba64600e256e6290a605ed4c017ed7728412773d4248432fe49a741febfb70d74234260ba4adad69d74a6b828ad6a699a58e DIST uv-0.5.3-crates.tar.xz 46488584 BLAKE2B 896f56ca633f3bdfb167df1a93c12358613ff2c42aaddfd3ac42eaff6812e4b78a5bedbdd4f6ce14b871cf778836e1bb8fed81134309411551dd6f36d67d6313 SHA512 ecb51b4e8fbe5f73c3bcba9706a6976a9b7eeee31e161463ff8923bd97ba6f0374e471b89e71cc090806561c2ed2fe9b2ad987934d89d0d8d96b88534305aa3b DIST uv-0.5.3.gh.tar.gz 2908026 BLAKE2B 0b9393a5d0cf8833e3e4bd9cd3374f689c5295053f02b4e750512f57a02844126d91e2538e044d4fac719a573ad13f592fe99ec1bcdd233b409e1dd9e32a3e9e SHA512 00afce159326a0551ef09d6e0fa82270b9baf40ba47ed3ef5e56b73e272f56d4d9a410fdc3e832989218c0997f7778a2d339b87171e69fed55baacdf2d48b556 EBUILD uv-0.4.30-r1.ebuild 3614 BLAKE2B 9654a85e33048055476f675bf61b1e82a55b22bd08b14753e72372912aa20b74011f2c99c939607b5343f6f800cc8490a7afb323ef7f653d14d1dfce339f6e48 SHA512 0ddc3394f0f4ef685efa08e4b5f40d2615f74d8672cdd1c098c5edd2f0c0de7e65705979955584bdf359ab7eca75967b5753cea63aad117b3f876eb05dcf736d -EBUILD uv-0.5.1.ebuild 4551 BLAKE2B 4b85cbea6143374a8f2485d1d780277dbd38eb0e6fdca65f3ac888c9bb9932211d87050c2a9b14c9b36d142034bb9b8f6f956824f79fb5245d1138f741dd10a9 SHA512 de1b021f127b4898447ef616ef7ddece1965be985659da5ffbcfb59ab681ba71c6c252261317d5331b099be1b1f31f0db144258d11564ee2ee4de43cd6afdc51 -EBUILD uv-0.5.2.ebuild 4338 BLAKE2B 9a1feddd40d2004de60aa93460c359c2648b56af5e20ca49a2829876e26e09f7d647f8c73a35c917fcb569c0427fe654f734a8e1feb9ec8c799cecd50d8b5dc6 SHA512 6d2debde87f099715c36de4efe9982531b140e8943b60d56d53c2effed951a63d28f52e142ca212cc39a17f55bfb2f24a4221f81387d6c11215d92d15251c1d8 EBUILD uv-0.5.3.ebuild 4334 BLAKE2B d7d64dde25c7b9790d266e7f47bf388c7418fee30f6237c046af21034f8d53d3e85067099e6e039c94300515165de03803ca5f0982f84c4a49c2f053ffbd4dbf SHA512 6c6f36b63d7a6a76ceacbc65513aeff40f581b15b300ca6e81d8a09f7551c063e39e068c0f6389367f1abce96fb0ed2f8f0898737f9c99145d7f0c1635e867a8 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.5.1.ebuild b/dev-python/uv/uv-0.5.1.ebuild deleted file mode 100644 index cf59953b7c5b..000000000000 --- a/dev-python/uv/uv-0.5.1.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%/version-ranges' -) - -RUST_MIN_VER="1.80.1" - -inherit cargo check-reqs - -CRATE_PV=0.5.0 -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # remove patch.* that breaks GIT_CRATES - local reqmw=${GIT_CRATES[reqwest-middleware]} - reqmw=${reqmw#*;} - reqmw=${reqmw%;*} - sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Once installed, they are preferred over system Python install. - # Disable that because 1) autodownloading software is bad, - # 2) we do not want automatically downloaded Pythons to override - # system Pythons installed later. - # - # The user can still manually have uv download and install - # Python via "uv python install". We are not switching - # "python-preference" to allow the user to override the system - # Python with these explicit installs. - # - # Relevant docs: - # https://docs.astral.sh/uv/reference/settings/#python-downloads - # https://docs.astral.sh/uv/reference/settings/#python-preference - - python-downloads = "manual" - EOF -} diff --git a/dev-python/uv/uv-0.5.2.ebuild b/dev-python/uv/uv-0.5.2.ebuild deleted file mode 100644 index 87f34119feb6..000000000000 --- a/dev-python/uv/uv-0.5.2.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%' - [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%/version-ranges' -) - -RUST_MIN_VER="1.80.1" - -inherit cargo check-reqs - -CRATE_PV=0.5.2 -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest index 63a663c9ec6d..59601194e2b4 100644 --- a/dev-python/uvicorn/Manifest +++ b/dev-python/uvicorn/Manifest @@ -1,5 +1,7 @@ DIST uvicorn-0.31.1.gh.tar.gz 728604 BLAKE2B 4f8f4e34bc6b13f6f0866a6890855a5b3bf9aad179de2fdeab40fdb017f76acfaa1cb7c9bd97d55d2ea5cd513afc3b6857ae0613912f6be55dc1d17cf810b213 SHA512 2ceab852cd7819fee592cf2507fa9ce8cc80f19dec0492fec621e6eded4a47edecbe4fe559a8474dacff260546ba146e33af9cab964e121356797fdc9a2dae28 DIST uvicorn-0.32.0.gh.tar.gz 728882 BLAKE2B 8ab5341b23a97fbf4e8d6cf046f71ef09831bd7914c631fd1683eefe8a2aa8377b572443c180505f0413d5c04462519aa7fd848623d9765905add47650dad19e SHA512 66bfaf0ff37507b90fa63d4a9d3cdb8ae7aa70629ad9bcf52a391abd2c85e67cfce066ba8fb39d9e8f7781bdbad52a03ac9beb9cdbc91af59c29bcf2654ba8b0 +DIST uvicorn-0.32.1.gh.tar.gz 729220 BLAKE2B f092a1ff0fe08469afbeb9ee244e290bf42ecdb5c56f429386a2c827719d1d85b577cdf9eaeab3c487574593c2716ffa4f7887ec364bab34fbf19a63ff7f62b5 SHA512 f965d37108ee7867cc6d49983156e47d21cda7b252f5ac67daa5b3a258c741238625fdc508e9cdceb4762dc24b808f2c1895fedf8abfd50438af708dda86e36e EBUILD uvicorn-0.31.1.ebuild 1794 BLAKE2B c68b0774aa02f20a704eb865c0eefa51684fdaca2ef62856e64342186a99eddfc9419d73d2cf49d954387624be3e2669e2fde67da2cfe5532ff8480fb626a39b SHA512 71123f9d9e61042d9669cb2bab95685aa13f4c5ecbbac72c74ea80bd92a6cdd462b5c539a8115223fb31813e4c720f13f8d3a6d789a65e195485b3119bcde0e7 EBUILD uvicorn-0.32.0.ebuild 1964 BLAKE2B fdd4c66c36e174f6f839be01218275e853aef50da6b0642dc6c3e1a17122ded283a4fa5c1ee03db95e5cc440701bfcffe35f36e6f7356540b2cf6ce274a68db6 SHA512 4ffff41a0be23faf03ac298f5daf7b48d3a32640d8833189f76a2ed4f49f9fdb936892ba4d6bd861b3753837ed0c0a87e79c6d339557e5267cb72f0935329302 +EBUILD uvicorn-0.32.1.ebuild 2263 BLAKE2B eaebf9909870d4873d8d4a17eccd68bda4ae237e1b3cd3df056e55d872d4306fc91bdc47a8e98746ea66b8e5705b487dae44abd92b5a6bdd03af7eba71821e83 SHA512 1f4735a9596e6eabddc5ae267cef47bb597b968efb3f6417097812dc16c09cb625590aaec4d6ffd31d0db2a4a5a6c9308629904e9a5838d038fca408262ec094 MISC metadata.xml 451 BLAKE2B af9be617c95128297e3455b503e198e13c373244094f6aa9c80837945c3f9f023f1874efa28d4ffa8b241feb9a4e8c7f3d3534e96966733bd5593bffb90904a5 SHA512 4d76bab5c20f7cad81fa56a28c9be07bf2c2ebc412fc647f073215d437a2550eca247b8419df71d04200d0fdf545520684db0b6f4953e73848f69a4f4ad6931e diff --git a/dev-python/uvicorn/uvicorn-0.32.1.ebuild b/dev-python/uvicorn/uvicorn-0.32.1.ebuild new file mode 100644 index 000000000000..7a3bd73bc24c --- /dev/null +++ b/dev-python/uvicorn/uvicorn-0.32.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 2021-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 optfeature + +DESCRIPTION="Lightning-fast ASGI server implementation" +HOMEPAGE=" + https://www.uvicorn.org/ + https://github.com/encode/uvicorn/ + https://pypi.org/project/uvicorn/ +" +# as of 0.28.0, no tests in sdist +SRC_URI=" + https://github.com/encode/uvicorn/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + >=dev-python/h11-0.8[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/a2wsgi[${PYTHON_USEDEP}] + >=dev-python/httptools-0.6.3[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + >=dev-python/websockets-10.4[${PYTHON_USEDEP}] + dev-python/wsproto[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/watchfiles[${PYTHON_USEDEP}] + ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # too long path for unix socket + tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers + # TODO + 'tests/protocols/test_http.py::test_close_connection_with_multiple_requests[httptools]' + 'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[httptools-max=defaults sent=defaults+1]' + 'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[h11-max=defaults sent=defaults+1]' + ) + case ${EPYTHON} in + pypy3) + # TODO + EPYTEST_DESELECT+=( + tests/middleware/test_logging.py::test_running_log_using_fd + ) + ;; + esac + + epytest +} + +pkg_postinst() { + optfeature "auto reload on file changes" dev-python/watchfiles +} |