From 2ca31eebd5b7496656193e0aa6ae39200d69a017 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 16 Aug 2024 12:22:56 +0100 Subject: gentoo auto-resync : 16:08:2024 - 12:22:56 --- dev-python/Manifest.gz | Bin 270382 -> 270366 bytes dev-python/bcrypt/Manifest | 2 +- dev-python/bcrypt/bcrypt-4.2.0.ebuild | 2 +- dev-python/boto3/Manifest | 2 + dev-python/boto3/boto3-1.34.162.ebuild | 53 ++++ dev-python/botocore/Manifest | 2 + dev-python/botocore/botocore-1.34.162.ebuild | 76 +++++ dev-python/btrfsutil/Manifest | 3 + dev-python/btrfsutil/btrfsutil-6.10.1.ebuild | 46 +++ dev-python/cfn-lint/Manifest | 2 + dev-python/cfn-lint/cfn-lint-1.10.2.ebuild | 70 +++++ dev-python/clang-python/Manifest | 2 + .../clang-python-20.0.0_pre20240815.ebuild | 53 ++++ dev-python/cypari2/Manifest | 3 + dev-python/cypari2/cypari2-2.2.0.ebuild | 34 +++ ...ari2-2.2.0-regen-bindings-for-each-python.patch | 25 ++ dev-python/hypothesis/Manifest | 2 + dev-python/hypothesis/hypothesis-6.111.1.ebuild | 103 +++++++ dev-python/imageio/Manifest | 2 +- dev-python/imageio/imageio-2.35.0-r1.ebuild | 106 +++++++ dev-python/imageio/imageio-2.35.0.ebuild | 103 ------- dev-python/lit/Manifest | 2 + dev-python/lit/lit-20.0.0_pre20240815.ebuild | 45 +++ dev-python/oslo-serialization/Manifest | 2 + .../oslo-serialization-5.5.0.ebuild | 46 +++ dev-python/pipdeptree/Manifest | 4 +- .../files/pipdeptree-2.18.1-fix-pypy-7.3.14.patch | 16 +- dev-python/pipdeptree/pipdeptree-2.18.1-r1.ebuild | 59 ++++ dev-python/pipdeptree/pipdeptree-2.18.1.ebuild | 51 ---- dev-python/pydantic-core/Manifest | 2 + .../pydantic-core/pydantic-core-2.22.0.ebuild | 167 +++++++++++ dev-python/pyocr/Manifest | 4 +- dev-python/pyocr/metadata.xml | 4 - dev-python/pyocr/pyocr-0.8.5.ebuild | 8 +- dev-python/pywlroots/Manifest | 2 - dev-python/pywlroots/pywlroots-0.15.24-r2.ebuild | 48 ---- dev-python/qiskit/Manifest | 9 +- dev-python/qiskit/qiskit-1.1.0.ebuild | 287 ------------------- dev-python/qiskit/qiskit-1.1.1-r1.ebuild | 304 -------------------- dev-python/qiskit/qiskit-1.1.1.ebuild | 287 ------------------- dev-python/qiskit/qiskit-1.2.0.ebuild | 315 +++++++++++++++++++++ dev-python/qiskit/qiskit-1.2.0_rc1.ebuild | 315 --------------------- dev-python/sqlglot/Manifest | 2 + dev-python/sqlglot/sqlglot-25.12.0.ebuild | 121 ++++++++ dev-python/stripe/Manifest | 2 + dev-python/stripe/stripe-10.8.0.ebuild | 92 ++++++ dev-python/twine/Manifest | 2 +- dev-python/twine/twine-5.1.1-r1.ebuild | 83 ++++++ dev-python/twine/twine-5.1.1.ebuild | 80 ------ dev-python/twisted/Manifest | 6 +- dev-python/twisted/twisted-24.7.0.ebuild | 3 + dev-python/twisted/twisted-24.7.0_rc1.ebuild | 162 ----------- dev-python/twisted/twisted-24.7.0_rc2.ebuild | 161 ----------- dev-python/uv/Manifest | 5 + dev-python/uv/uv-0.2.36.ebuild | 109 +++++++ dev-python/uvloop/Manifest | 2 + dev-python/uvloop/uvloop-0.20.0.ebuild | 87 ++++++ 57 files changed, 1750 insertions(+), 1835 deletions(-) create mode 100644 dev-python/boto3/boto3-1.34.162.ebuild create mode 100644 dev-python/botocore/botocore-1.34.162.ebuild create mode 100644 dev-python/btrfsutil/btrfsutil-6.10.1.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-1.10.2.ebuild create mode 100644 dev-python/clang-python/clang-python-20.0.0_pre20240815.ebuild create mode 100644 dev-python/cypari2/cypari2-2.2.0.ebuild create mode 100644 dev-python/cypari2/files/cypari2-2.2.0-regen-bindings-for-each-python.patch create mode 100644 dev-python/hypothesis/hypothesis-6.111.1.ebuild create mode 100644 dev-python/imageio/imageio-2.35.0-r1.ebuild delete mode 100644 dev-python/imageio/imageio-2.35.0.ebuild create mode 100644 dev-python/lit/lit-20.0.0_pre20240815.ebuild create mode 100644 dev-python/oslo-serialization/oslo-serialization-5.5.0.ebuild create mode 100644 dev-python/pipdeptree/pipdeptree-2.18.1-r1.ebuild delete mode 100644 dev-python/pipdeptree/pipdeptree-2.18.1.ebuild create mode 100644 dev-python/pydantic-core/pydantic-core-2.22.0.ebuild delete mode 100644 dev-python/pywlroots/pywlroots-0.15.24-r2.ebuild delete mode 100644 dev-python/qiskit/qiskit-1.1.0.ebuild delete mode 100644 dev-python/qiskit/qiskit-1.1.1-r1.ebuild delete mode 100644 dev-python/qiskit/qiskit-1.1.1.ebuild create mode 100644 dev-python/qiskit/qiskit-1.2.0.ebuild delete mode 100644 dev-python/qiskit/qiskit-1.2.0_rc1.ebuild create mode 100644 dev-python/sqlglot/sqlglot-25.12.0.ebuild create mode 100644 dev-python/stripe/stripe-10.8.0.ebuild create mode 100644 dev-python/twine/twine-5.1.1-r1.ebuild delete mode 100644 dev-python/twine/twine-5.1.1.ebuild delete mode 100644 dev-python/twisted/twisted-24.7.0_rc1.ebuild delete mode 100644 dev-python/twisted/twisted-24.7.0_rc2.ebuild create mode 100644 dev-python/uv/uv-0.2.36.ebuild create mode 100644 dev-python/uvloop/uvloop-0.20.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 7c6a3e24358a..c641b48261f0 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/bcrypt/Manifest b/dev-python/bcrypt/Manifest index 247f9488ba70..115967da2dfa 100644 --- a/dev-python/bcrypt/Manifest +++ b/dev-python/bcrypt/Manifest @@ -70,5 +70,5 @@ DIST windows_x86_64_msvc-0.52.5.crate 827905 BLAKE2B fd5dac198bfbf29878cb461a733 DIST zeroize-1.7.0.crate 19039 BLAKE2B 2f94a5025f409bd2b96a456d2f78a34c6b05b5554abe7ef3fad2a55a8fcff8a6a1b971be660aa4c2954ab7d6e89bebc431036e349edef74711292f9f64b1dbae SHA512 9d31e3e76e8c861309a3579c21f6da5fd6b056c7d7a350427445a1a832e8827204804783f7f9b808acaa2148efef883d9078bf84943b1db55526bba5bf5a2756 DIST zeroize-1.8.1.crate 20029 BLAKE2B 092eba034cd35ec47290020e0c2b213177ff5dbe14ab9e7f0b4ef3cb1ecbc42fbec2b951414e26ab00bc65aaddc2c93eddd5a1963b27c6cd613ac71c65d5cc24 SHA512 dd40ebe98b98fd742608d4066b5ab66caba94b2e679428fcaff9fe547d8cd6ff2360dc85d671ee9183e32fb79cb554d00d6aef9eb8f3d8ad0ec92d0435aa4ebe EBUILD bcrypt-4.1.3.ebuild 1990 BLAKE2B 801cc018add210adc6604947537ddff6392acb106085fca8245ee3723a6532d55a0fce5bd2fca3b048be36c0d263824592fc2d89d9205a42f656e5e5ce8f201b SHA512 3a02876b4de6444252b1f00f8737b2685c1b1c4b0c7c41b723bdd940f138b64f23c7305cbfbc1a996778461096116a240e0715102d1bdc448627b476df374aff -EBUILD bcrypt-4.2.0.ebuild 1614 BLAKE2B 196c7e63d4853eaf3b223fa1cec7da00352fdded5ddf22199c7ff69c7ef4f4104c8e4cd8709bd30980068b9d1dbad15b588977cfd9a701c975a2ee4fe93b8d91 SHA512 5dbbfaef6c4a17a9a948fbfdd8173fd9bd64ac3e89fb5fbbff4276ecf0743a0b79d3adbab0eaef3826b96f75d06c5e75709eaddce6527eaabf2ca3f0882219a3 +EBUILD bcrypt-4.2.0.ebuild 1613 BLAKE2B a515247a1d4963e3d9e9db1ca866afb58e6bb0fbc9941cea739be7cb71ba032a70a9de0c7759a737af7e4e51b57bab38bda93a5a7831d0e870c7e80ea5f3591d SHA512 95f5e9c19ceadfff11d037d4fbf0178d431091c4df4eb1dce09a4640f7b9e9f5c00a4cc3bfd11c083706bf73fffbe838afd1380f349957f95375883e6fc79d0f MISC metadata.xml 486 BLAKE2B 874ef427438f2a2adc0529010628dd40505fd2597e267b8e51641d95b4c3bd8dab28d0fcd86c23f24c3abc866bd049d5e44438b282a5a13b023320491303a5b5 SHA512 de2e0a2a60b83a660a7c51315816a2762d9ebdb031656b8968da641d4e3897e4f5eb7a3432f828182f733ee4ffd17f11e8fb97d9a72f1a7eec56bb2f46978293 diff --git a/dev-python/bcrypt/bcrypt-4.2.0.ebuild b/dev-python/bcrypt/bcrypt-4.2.0.ebuild index 5c2aeb1d788d..fd42c3074c86 100644 --- a/dev-python/bcrypt/bcrypt-4.2.0.ebuild +++ b/dev-python/bcrypt/bcrypt-4.2.0.ebuild @@ -64,7 +64,7 @@ LICENSE="Apache-2.0" # Dependent crate licenses LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" >=dev-python/setuptools-rust-1.7.0[${PYTHON_USEDEP}] diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0720878dd75c..3846d38383ed 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,10 +4,12 @@ DIST boto3-1.34.158.gh.tar.gz 848930 BLAKE2B 5db04b9eee08f5418a595e736f075fbe22b DIST boto3-1.34.159.gh.tar.gz 849599 BLAKE2B e21979dd33413d63dfb905cdde8351a89fb3a431ee0873ffc3cbb8e9681c207842c5d2c288622736c0ac7516ef0d607d6ee5caea9877c1b7f177c0cae7125f9c SHA512 6fe6528240b0f1ed78e1b4ccba104c238075d8daff3b2224f03912a48f9278d1d92d8caf13951128e25e19d49e895492e463dc8aaa3d903982ebbacbbf727b21 DIST boto3-1.34.160.gh.tar.gz 850214 BLAKE2B 74e8bfecc23086301750ec55e265c57d9085ca292ed9155948e46deb2531860b01336ab341371421333b041f6ba4f4a9114926969d39620b2ba508541ee0fc90 SHA512 ad443616bb4a04fc9e3cceee462d4f06c17c5096853b69e4ccaf1c319bb48fd0bd0131cb3de496b7d05f194818e36c8a165578c5afc3304a7d628936ddc478c9 DIST boto3-1.34.161.gh.tar.gz 850347 BLAKE2B 22e07b72898be28df3547b4a32b4340d9b8267c65d876daaea5b0c1f31a38516964eae11a16fc074d1b9b476fde970976784fed1965a8deef1db74b387699ee4 SHA512 90ffe03ced6546cd271d36cf38a5ebe7fbadcd46c1036a74be238b8006ce29795964e10861ec56920f2ceb5a83b8001029c1b0ea1a75a536d3e025ebc84315a3 +DIST boto3-1.34.162.gh.tar.gz 851050 BLAKE2B 9fa176563d1f4d3477b0c90d178c7ca0f25e0349f642cac703f5ad855417ae5cad693e4ff1e71081a39cf98b3783afd1af8cc7dc4f019c3ffa3483e2bbc65621 SHA512 610738151c6a96abd7df884071f781a17009336789e5cf3fa6d204e724475a8f946a2dd7dacea254f843adeafac4b57975af5c590be0368e5fff0bbcc4858289 EBUILD boto3-1.34.149.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.34.153.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.34.158.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.34.159.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.34.160.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.34.161.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.34.162.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.34.162.ebuild b/dev-python/boto3/boto3-1.34.162.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.34.162.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 e898c226fdb0..500e3e4214b4 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,10 +4,12 @@ DIST botocore-1.34.158.gh.tar.gz 13282704 BLAKE2B c244a36093cdaf57ac82dc11a3e9d4 DIST botocore-1.34.159.gh.tar.gz 13286596 BLAKE2B 76548a1a0dacbaeadb4cc95cdbb50f22bc8b61e8b9645caf1d36cde94fed824d0bcc7349626e33792593bcf715e4dd3978f2dc4d4dfeaf8a1bfcb428f99ee8a1 SHA512 1687ab7897dbe68189e812193c9c2134753c0bdd72af109516a2a3bcdda53c16edbb0e76b8f6cd7df0fd29e16de33f78135a3c560444b6d9c5291b3e558c2a03 DIST botocore-1.34.160.gh.tar.gz 13290395 BLAKE2B 609ade4e363b1c65409457e187c09e8eea633ab7d482bae5be3580093ca404ae82363e9785d07b65dee3504c63e5c4dc6521717a6698c97f7a404f58103c8e8f SHA512 655348a9e7f88ad0abaab3d0b4bb380ca16c705a1035eedecf44e8b546583720f0f6d01136b0d333e5828069c4d45c7f27530ba4b7f8c3ee684bd4cd0e233ce4 DIST botocore-1.34.161.gh.tar.gz 13290428 BLAKE2B 9a12df5e533560039d69225ef04345765cdefa11546210a2ad791d38532a54536a0c8705c29c1293b31fec7589f0512fa6f01570342d6f1fbba9a3278c06700f SHA512 8c59cadaa2cedefaeb11057f344c1488c879629199f6e5038c49668cbc814ac1ab68031893c401a5f8baecaea333929822997e81e4f644ebfb09a3af85b7a189 +DIST botocore-1.34.162.gh.tar.gz 13292394 BLAKE2B 4456beb1f4cafe67d5a48ea3ae972d369d89c47a5b9b534f78d3977fe5a6f199a44130f54619d133d2b872b7260319398b8c37e0a262412b8dcbb1ac4daac718 SHA512 0002227f03545b6aaffd920b5e5f70ade96c13faf9adb185e76684cb25465a93ca89711d046f435e164e5c377e4c9fbb7155d4b1037875e03cfc4fe6508e034c EBUILD botocore-1.34.149.ebuild 1665 BLAKE2B 1171f3bdcbe2eada97adf58c2011691cb51300028737903ec51e9fea4d80943dc3e199f4a1671be350ca2cf921e5dbdd4e7c8ca4658261143646cf9c0c82f522 SHA512 db8027472dcb87b167d63ed89910783e104513361b9191f5e2e2928a2904493c22d9629aa206f61206c4f29c6a9c43e8208c57a9b9bf99b031101b915d326674 EBUILD botocore-1.34.153.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.34.158.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.34.159.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.34.160.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.34.161.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d +EBUILD botocore-1.34.162.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.34.162.ebuild b/dev-python/botocore/botocore-1.34.162.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.162.ebuild @@ -0,0 +1,76 @@ +# 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/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 + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # memory use tests, probably fragile + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/btrfsutil/Manifest b/dev-python/btrfsutil/Manifest index d0727d824539..1c95db7061d9 100644 --- a/dev-python/btrfsutil/Manifest +++ b/dev-python/btrfsutil/Manifest @@ -1,9 +1,12 @@ +DIST btrfs-progs-v6.10.1.tar.sign 566 BLAKE2B dc18c0048716e422475c6630c26c74e09b3595fb8c5c1a1826464eb837d16edfe7d5fa1f418631ae4d380b24bc3fb91fa79ba1e9b1d42a2534838558362ddc18 SHA512 a8a1805ab22feda9f0535841d44120200e48d6d3762ae98f3323be09c9bd7905ff69f21066a8de1fe5cb34a3113879b73ae030a74ccc74737f06dafb32093375 +DIST btrfs-progs-v6.10.1.tar.xz 2670604 BLAKE2B 7a2631b8462bb02be0936861a42b868907bd4f4e365293f9c95744b963e769b81248ba0a290fca517d689ff9f93d8709cc37e217264b2dac1469a47349f97e8c SHA512 cd10747d1f5f9377abfdf209b517791d3eb13b417c0be65fd5c0c044b01063125b4176c178345387bb3deda7a3a379953f31d46d7834854455a5dbfbf967aa97 DIST btrfs-progs-v6.8.1.tar.sign 566 BLAKE2B 843eada2b00a2370522edc95d79bcfed88bd24233e647946d4807322550593e4d5f5bb5efa6652c754dd0965dc3e389bc97698a0bd8fc5d0e850bea94de98e72 SHA512 84ebaa6ec27aa5bc87a323f5c6cc82a860fada7311ab8319127de3592294c1076d25959e412f8387d54bad3b8ff838ce39c4db4b04a658b2de2eaa7c976e2b09 DIST btrfs-progs-v6.8.1.tar.xz 2652968 BLAKE2B 34406dedc6d97bd94a498c3bbb424d34a59b8251b37f9a40a87740f96db77780a4cd76c88055b4d9e4f673b4a3621503a6bedb67ceaf20870fb26c10f49b74e0 SHA512 b5f0694e56eecf1956313b3406610c2e22658ace51a636d79efe996780bb0b03fed95e68a8c9a11dd8649958c0e7dbc7417bb479859365d47b52e478f6830d46 DIST btrfs-progs-v6.9.2.tar.sign 566 BLAKE2B 4cd95496d355444c7d3e582a7e6c05fbb55683008b1585a26f38aef6cceb1afd5e80c9611518d6bd92dc1167798d4012c4bcab2f9bda752c459d94cfa6f3c477 SHA512 3fb04e1894e231abde388a39d2f0c90f43c1a1494622c2158fab9b94bb340e064404bcf96e24d913c60aaf5e06ade42fbb91a479949109b329682bb089f66bf2 DIST btrfs-progs-v6.9.2.tar.xz 2661684 BLAKE2B 38ab189ac8271ba8d68b74e82569159c671cca1cb946f56ccab28b6b206cb6ee5b330d83afc3536b7e0d7399da3fb01e368809c1ef4a64b843ea88796ebd28bd SHA512 1df9d5456d07a035c38c17795996a4fc621eeaa244ef54383d4387205826d2a6e971910e55031d20bb1baf23193efa7439e110312ffd8471f07aaf8c0baca20a DIST btrfs-progs-v6.9.tar.sign 566 BLAKE2B a2e26047775bcc407b8f5aa8b08b0708a01c84a8cd649e50a935e15d04e2ee917010fc98df0dfb80320ee25a8dbfbbbabbb1f155489f32391544100956ba9636 SHA512 1e8304b3df013a841e82a8656361946914d35f680b5bc547c1599fdd98a75b66e2b1f869c8b043d7532182318c2183e699a9d6101ab4b1544618d2c8a25362e1 DIST btrfs-progs-v6.9.tar.xz 2663052 BLAKE2B 9fad691327b6290b3ba0e1a638576b65e4e4d6c8f32549ea0f10188fdb40028315abf5e330976ff7a5efb6a258d0008e7602ae81ba0339888f474dc056791798 SHA512 e97907b377040371f4742a45345ec720e0cb8e0cf9ee5fdc60618ce2bc76f572725ec32e1a178fd57534f73affd3eeb5e6cfebf23734f04583bbbef858d913b2 +EBUILD btrfsutil-6.10.1.ebuild 1238 BLAKE2B 1904eaec33f42d219dd58c5b51f7089e3e8c576d8115ccfdf1f56f961b8b9a5aeb83d04bb56085feb0888d8485f47e8281366bbec1021de7edb38027a971d73b SHA512 2246a860eaa1de64d17d76cfb27243c914211d1473573be9540883c6eae55cdf2545cb2d56624685c2a75a045bae302baa010cb68bab180584ef38bb6791b9cb EBUILD btrfsutil-6.8.1.ebuild 1172 BLAKE2B 8257e99ae21fc7c9bca15380f56b02b0e5e88e70cc3b5c4f2dbb35f2d2ce01b6dc938bb490cc149201a6953c344ad8572c86e7c86ad805a07ad807935eafc90b SHA512 a8b0ac33f2c866234bf4275ef815e8198e9a1fab4d588538d7944ae792d45f10ed4b6573f5881cc7d20c96e0ea74a75029eb3dcb2a4df3b13f6ec8d51b7e7b0b EBUILD btrfsutil-6.9.2.ebuild 1296 BLAKE2B dded62236c18d26a163d898136c19bb3d8be688d1d6c87ed713c05bfe60cec84475fd36f17868ecbe6ee761c96fe3e545992a4364a6b25da8ee877848e6c7479 SHA512 e7b7ee702f67837cf0b4630e34a416b89c3f027b4666d1455b5be1f759c610135dbdb93bc87edd53a800960d2e601749077d8cb81c37fdd2e9579d2ed0c62179 EBUILD btrfsutil-6.9.ebuild 1296 BLAKE2B dded62236c18d26a163d898136c19bb3d8be688d1d6c87ed713c05bfe60cec84475fd36f17868ecbe6ee761c96fe3e545992a4364a6b25da8ee877848e6c7479 SHA512 e7b7ee702f67837cf0b4630e34a416b89c3f027b4666d1455b5be1f759c610135dbdb93bc87edd53a800960d2e601749077d8cb81c37fdd2e9579d2ed0c62179 diff --git a/dev-python/btrfsutil/btrfsutil-6.10.1.ebuild b/dev-python/btrfsutil/btrfsutil-6.10.1.ebuild new file mode 100644 index 000000000000..15d87b143716 --- /dev/null +++ b/dev-python/btrfsutil/btrfsutil-6.10.1.ebuild @@ -0,0 +1,46 @@ +# 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=( python3_{10..13} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dsterba.asc + +inherit distutils-r1 verify-sig + +DESCRIPTION="Library for managing Btrfs filesystems" +HOMEPAGE="https://github.com/kdave/btrfs-progs" + +MY_PN="btrfs-progs" +MY_PV="v${PV/_/-}" +MY_P="${MY_PN}-${MY_PV}" +SRC_URI=" + https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.xz + verify-sig? ( https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.sign ) +" +S="${WORKDIR}/${MY_P}/libbtrfsutil/python" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +DEPEND="~sys-fs/btrfs-progs-${PV}" +RDEPEND="${DEPEND}" + +distutils_enable_tests unittest + +RDEPEND+=" !sys-fs/btrfs-progs[python(-)]" + +src_unpack() { + # Upstream sign the decompressed .tar + if use verify-sig; then + einfo "Unpacking ${MY_P}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \ + < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + else + default + fi +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 7ba561dd9c3b..fccf4f7b94e3 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,5 +1,6 @@ DIST cfn_lint-1.10.0.tar.gz 2415724 BLAKE2B cf7193d56bd5a6957e6f76574bb9fa0b678a2629791787d19cd4fe5d192c2cb4e2814154534aa3eb01bd61cff6e608ef113e0daf3d5c187aa12fdfee50e11678 SHA512 3690f7deef98897a2da3f9cfcc5495fdc3b90e0b685a628d67625f4d75114975ee0d9c1117a54578df274d0223cf393fa04dbab79abe266dbdcba43843fd6616 DIST cfn_lint-1.10.1.tar.gz 2415680 BLAKE2B 17b9216da0af3409b69ecea3222b65e414fd850cb603a9e274e3c90140a0287fe20d42330df1e704779693097676ee1e2ad16929b89d0de61093fd5f3d0a9889 SHA512 13de688bb8b08e592f4be82f62ddd2be76c8f373d7e7e38e42ee38c0e3f579a34b153954e13d7916d72461806847a5e7494af7b786080cdd4266f683728f4f9b +DIST cfn_lint-1.10.2.tar.gz 2417546 BLAKE2B 3074651be3334ae396367c60d7fef78cc8978a84405b9e5e5c17283450620988b8b027048e0c2422d6bbff0abf285beab3731e643e2bc0013032d7a4c19b04c4 SHA512 f1476364edd1997f795d7185ee99b1dc462f7f266e1c0d9bfa50bf8cff0d85f77a615c367cc98238ec57124e4098d5a894f91cc7f6c5cdfd1d7b9d07735391b3 DIST cfn_lint-1.8.2.tar.gz 2377269 BLAKE2B 8f4266c6d90f50f614f203a4b34ffc15397c973e8af07510c64e21bd80f1c4dd0f5bf6283268cbc69fbe505d6c945cc058ec0f06b05e868b3149941ab28b3948 SHA512 2605c5880960e3bce2822f2d9b9bd221d4ab7d77a4d9a1bcbdbf6df8f50492877daf704f84157946519a9da96f9d3de5ed5e65629d259726a10e1fb38c963950 DIST cfn_lint-1.9.3.tar.gz 2562556 BLAKE2B c8816021cfb83e2c0d915cc58e7c099bf8ff0640b0562ddf3a7bcfca250e7d4fa03480ff99b5eef4fb103a77aca9a2b3c5266a30b19cddc899f7c0ccb3ca88d6 SHA512 fd75a60b7249bb3f0865d4a37b70d5f64012879b332dfe240f7d7eddc5ae48674e7372b959dd6964f8d0c028c0b75dc78c25caf0ebb3e5186bb6b2b7004e1212 DIST cfn_lint-1.9.4.tar.gz 2563835 BLAKE2B 50694ee3982cda4e6df6aa2e8be2c0ae3182899947897d71764426f7fa14225ce44248af42e3d74e1b0159f216a02bc41f6675ab04dd09210bc66419913a5fdb SHA512 345d3aaa1dc6dfa1049061b4563c0f705510e69058e2184e7220f3dba776522967115a273e5044032a02b96c985a71acd4c1c31f7a71d819309d74dd60242456 @@ -8,6 +9,7 @@ DIST cfn_lint-1.9.6.tar.gz 2519342 BLAKE2B 17d14674853cae9a8eb0c3dfc05486a42e9f5 DIST cfn_lint-1.9.7.tar.gz 2519610 BLAKE2B a454027a85bb55770b91ab4d801ffad807a2b9200e88872e2149485bb17196e050e0eea02db9be6bd705f7b427d825b5510cd0e78ff4d0db2cefa988be138782 SHA512 b6fff3b56f78b85d7335d33fa93e41003311c60f008ce56ae3f373ec32b2105ad40bc68210bd15ee88cc4bcb9f6cd61bfb1367773ff870cc4ec1807aec011100 EBUILD cfn-lint-1.10.0.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 EBUILD cfn-lint-1.10.1.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 +EBUILD cfn-lint-1.10.2.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 EBUILD cfn-lint-1.8.2.ebuild 2173 BLAKE2B e5d36838ac6fdbef143deed68652896c380d7d3a143a0c6f9b5e4efd38283f98a50f8169bbedba9fe826c1c306b56efc0f7f28c1a911cb85305748f996127c1a SHA512 262134549b6fa7a30a83feeed58ea5cfbb45a1f778b116238f5603c2e4e22243b5d63b2ce979c05a8d21990f3887e86dabc28f5ff08edb36cb44f2b866e53c3e EBUILD cfn-lint-1.9.3.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 EBUILD cfn-lint-1.9.4.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 diff --git a/dev-python/cfn-lint/cfn-lint-1.10.2.ebuild b/dev-python/cfn-lint/cfn-lint-1.10.2.ebuild new file mode 100644 index 000000000000..4ec420c8b216 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.10.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.89.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + =dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index b121e6676a48..bb553005bdc5 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -8,6 +8,7 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad452222be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780 SHA512 508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5 SHA512 b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826 +DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 BLAKE2B 691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324 SHA512 2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 BLAKE2B a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277 SHA512 c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5 EBUILD clang-python-15.0.7.ebuild 1202 BLAKE2B b655ab7b2fa3a5334666e42d36e1e7773be8910f5a47fe8792be04fafbc0c9889cf74d5ca4671863b5244b874133bb353feb4b1ac119e52486ac18d3ff7c6760 SHA512 eb99a86e826ff46d78e1f97a7db1c867e0fc4c9d0036de31407d83dc4de1b8cf80e36ba186d6d8a825209bbb4312d7120b96cbf59d6cb5cf598a3ffb754bf75d EBUILD clang-python-16.0.6.ebuild 1203 BLAKE2B 7baa638bb302b5b97aea34e62d28035f6e2e7aab0bd626bae94d9b3ba9e776316a81003b55ae8a71008b13a664569c8587df927c5f925591addc99a2b4381832 SHA512 a2b00fe7edaf1cb1bb48c0e93555fbea3ef929f16d168b27e1ec1e3f38989e3220e6df1ab847ac2020faa7d44d957c6af7ec0723418e248677a40e29c071ddb2 @@ -16,4 +17,5 @@ EBUILD clang-python-18.1.8.ebuild 1203 BLAKE2B afd17079dd42d349bc5b0a93415be0f26 EBUILD clang-python-19.1.0_rc2.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be EBUILD clang-python-20.0.0.9999.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be EBUILD clang-python-20.0.0_pre20240808.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be +EBUILD clang-python-20.0.0_pre20240815.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/dev-python/clang-python/clang-python-20.0.0_pre20240815.ebuild b/dev-python/clang-python/clang-python-20.0.0_pre20240815.ebuild new file mode 100644 index 000000000000..7f3de6814bbb --- /dev/null +++ b/dev-python/clang-python/clang-python-20.0.0_pre20240815.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/cypari2/Manifest b/dev-python/cypari2/Manifest index 49b4394c3d7d..56ea01327943 100644 --- a/dev-python/cypari2/Manifest +++ b/dev-python/cypari2/Manifest @@ -1,4 +1,7 @@ AUX cypari2-2.1.4-regen-bindings-for-each-python.patch 1337 BLAKE2B e3223252db7834088400d9b1856ef9c15a63e3375847445cdcfd3d8a9e735c1d238e508ff2913825f4a0834e1e4e8b9468151d5bb77a2ed087309d54b183cc7c SHA512 a4588ffa8d9d2ec6e9bcab76876540e5e0da2bb9b56f927825737d030bf938e5fe10f84bca61dc2277f9842bca02db2c87c46c136565e5ef37b2190ce45d9029 +AUX cypari2-2.2.0-regen-bindings-for-each-python.patch 884 BLAKE2B 692df0215f33390a964bfad85be740dddebe8b74134eaa12f1df962e39f904f6da09d36e6188cc9c5a6f2ddfe1392f0dcd206b560a42f9ab7d9cc968441bbc3b SHA512 0d05d8c386f5c345bb248abcc5b524e7d46649e583740ecad514947cbf5e2ca46fb8853367d8dcd81a1a336653d29fd82a05359f2daa0caddc243651f8269cba DIST cypari2-2.1.4.gh.tar.gz 127038 BLAKE2B 0d4998841a9a630ea062d7096845771a9a250ed66b68f99988ded6442724559089e8dbbce13ef5c6ad467705c65b2ac9fc5889fa9c40b9665083af558280b81a SHA512 b5926281037aebb899c1a433a0ca106cdfafcb8cb7abb863268ff8151dbc52ee21dbe1d09dde632de1640a4cc4d37f59bebb0e379d61ac2fbdf9fffcf3ba4775 +DIST cypari2-2.2.0.tar.gz 127530 BLAKE2B 0ce2e3f157d63c20a257b3b7eaf9a06bf241893193bd561c8980ecb38e698b2ca6679a74958a2398944753e6445c1ab5b063b14e408ef0395a9eaf9e0d7cc8db SHA512 5ba237feb1910bd7182a3c3e8e1409209d4f6e68c9f8966c3bd0ad2f6e66193b4dc3006f26fcb507cac7e6d1ee32ec6d5dda612290d8bd3b3350c8243dd89616 EBUILD cypari2-2.1.4-r1.ebuild 931 BLAKE2B 0ae3872d2e10f7f2a13fc250bf7377985aaa9a6bf873fcb24f83518a3d33d92b83c6b22a3da49488cbd9d44cef2f970553a1d98da3bb4a61cac017aebf302340 SHA512 2dfe1738f94a35e423cf7b23d8e50da1cc50fb7195f63ea2b04e836e4ede13e3ac17f804b0c0f86fc3cb220db2c193b900652fa081ee0639130b8f18697917ab +EBUILD cypari2-2.2.0.ebuild 719 BLAKE2B 68be76df9033afe70e3aa04e8b208109057dd5922f857cbef07c0f4f3919fc8885ed96c9d8a2c821b403d915066334af76288a9fb49382c60c6e6ddbd947f18c SHA512 703e8ee334707956b1bf3a2fdc541a1a7051dd0218a7de0aaadaa30d2ad9fb19e3388ff20bb03280b8eb1a2740e7e74cb0e6419d256c591c887dfa7cd725accb MISC metadata.xml 763 BLAKE2B bd41f69c681be66fb8d70d606f9dcaf586fd5b37399a1ce9bbb97eb3b2042272f681ed15d9f8e0654b34323672aaff784582a81c28f40e41385450ab233000ab SHA512 c9d7fc5d6ea9f9b4d995710f642aad46d83b3ba3222f089b601d4653e7e79966803c8d0b82683df232e44c2aee79219c4bf3965cff63265bbe480f4dcd03cf02 diff --git a/dev-python/cypari2/cypari2-2.2.0.ebuild b/dev-python/cypari2/cypari2-2.2.0.ebuild new file mode 100644 index 000000000000..1f98ecf02515 --- /dev/null +++ b/dev-python/cypari2/cypari2-2.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=standalone +DISTUTILS_EXT=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Cython interface to PARI" +HOMEPAGE="https://github.com/sagemath/cypari2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="sci-mathematics/pari[gmp,doc] + dev-python/cysignals[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +BDEPEND=">=dev-python/cython-3[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}/${P}-regen-bindings-for-each-python.patch" ) + +python_test(){ + cd "${S}"/tests || die + "${EPYTHON}" rundoctest.py || die +} + +python_install() { + distutils-r1_python_install + python_optimize +} diff --git a/dev-python/cypari2/files/cypari2-2.2.0-regen-bindings-for-each-python.patch b/dev-python/cypari2/files/cypari2-2.2.0-regen-bindings-for-each-python.patch new file mode 100644 index 000000000000..9e69c6e43121 --- /dev/null +++ b/dev-python/cypari2/files/cypari2-2.2.0-regen-bindings-for-each-python.patch @@ -0,0 +1,25 @@ +diff --git a/setup.py b/setup.py +index c1775b5..5051c6b 100755 +--- a/setup.py ++++ b/setup.py +@@ -12,6 +12,10 @@ from autogen.paths import include_dirs, library_dirs + + ext_kwds = dict(include_dirs=include_dirs(), library_dirs=library_dirs()) + ++# Generate auto-generated sources from pari.desc ++# This needs to be done before build/build_ext so the generated pxd is moved ++# to the build directory and installed with newer setuptools. ++rebuild() + + if "READTHEDOCS" in os.environ: + # When building with readthedocs, disable optimizations to decrease +@@ -28,9 +32,6 @@ if "READTHEDOCS" in os.environ: + # Adapted from Cython's new_build_ext + class build_ext(_build_ext): + def finalize_options(self): +- # Generate auto-generated sources from pari.desc +- rebuild() +- + self.directives = { + "autotestdict.cdef": True, + "binding": True, diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index cc74ecb26729..96e2ee12a626 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -8,6 +8,7 @@ DIST hypothesis-6.110.0.gh.tar.gz 9476232 BLAKE2B 69ba7c4872608a69ae18e35fa895ce DIST hypothesis-6.110.1.gh.tar.gz 9476363 BLAKE2B c5d14004658c05626b6f673ad41657c209df0efb13d865cdaf35c7480561bbbb407fb998b64a2750e47c360e44d61dad6fe81cbcb26b33319b536f0d9ca0bb72 SHA512 a070a0ef3c18f2e40b55e3192b7ce033d729c46b4c0328a98cbeb2495a5b224689e44d61f5bf0b4d1d27548f65a00b7e5e9127b803ec2c70ee4f4f05e2925075 DIST hypothesis-6.110.2.gh.tar.gz 9476926 BLAKE2B 8fb0b250e9c49f56d9b0d077db6305ab86c21eed4739605d3a45423cc0d5695be0e27cab351263f7c3526b26453aee38d6b794464052be6154b4158a776cc873 SHA512 2386f75b91e42e20babf5fc78fcc1ed22391bfa144f318074b0efdb4a1575a6db597aa3c00e756ddea24b792f49d9d6269b6aebb8f8aa8c497e98d3bf2771749 DIST hypothesis-6.111.0.gh.tar.gz 9478014 BLAKE2B 2ca3f9b1f01105b57e0a4636e7d8308914a3673ee044612c3307392e1f2ec81370cef93b08d52fa940165607c81a8362ef40240c8911dee1ca3b66c6b043745c SHA512 efd2ee38b95cbb435aa2c613f023b4219019ec3bf29c19245c72c352251e6736de0a9d0e90d84e2817275989825a169ab8f64c74e85c6abd20853196df3c74a4 +DIST hypothesis-6.111.1.gh.tar.gz 9475914 BLAKE2B 90604318db1a47db4eea8376c943c077058f3158c6c5220aa5f60575cc85c8cf97ed2ad435c7351141939e5b6773d013cf27e4ef9ee64bea2705596b3e4fecc7 SHA512 40e73843ba4477a9bd75087b42f92b6e483beac72dc8684a3d20e90b764f2c0773479a44b6107b237bcf17d347aad45a0ecb23ec54e19da08860e1fa86e5e772 EBUILD hypothesis-6.107.0.ebuild 2585 BLAKE2B 1687b228255becec81edcbb2c7279a6a33ec75e18ac25e60e35a2aeed0ffccb3263da6de1b1a9950734d8f187df2d6892cfa33abe6dc4986936bfaf6feac80cf SHA512 69c9552dae1cc44bef13a844de12ce9e3e916fbab66610f2755d22ef7513b0d0ee50f5cbe22669a33528bd63acdd96fe52357a58c328921355ff5e3b79397b99 EBUILD hypothesis-6.108.4.ebuild 2593 BLAKE2B 434f71f7fad97f9e06d3e0a459d8d724c7000ea5ee8712f382c9c8f3746550159b272d208d926d389d87c8198452c410197e55a5e8cb5fec33c8a38719d6bf6f SHA512 5447fcdfaaaa7f15efa13eabee95232a4ac40c248ad5a3c9c7c26846e1868ac1ddd62bd3c6cd8375f7a5cb3ad322ee9dbd737699069ee7f1df2bcfcfcde84aa1 EBUILD hypothesis-6.108.5.ebuild 2593 BLAKE2B 434f71f7fad97f9e06d3e0a459d8d724c7000ea5ee8712f382c9c8f3746550159b272d208d926d389d87c8198452c410197e55a5e8cb5fec33c8a38719d6bf6f SHA512 5447fcdfaaaa7f15efa13eabee95232a4ac40c248ad5a3c9c7c26846e1868ac1ddd62bd3c6cd8375f7a5cb3ad322ee9dbd737699069ee7f1df2bcfcfcde84aa1 @@ -18,4 +19,5 @@ EBUILD hypothesis-6.110.0.ebuild 2593 BLAKE2B 434f71f7fad97f9e06d3e0a459d8d724c7 EBUILD hypothesis-6.110.1.ebuild 2593 BLAKE2B 434f71f7fad97f9e06d3e0a459d8d724c7000ea5ee8712f382c9c8f3746550159b272d208d926d389d87c8198452c410197e55a5e8cb5fec33c8a38719d6bf6f SHA512 5447fcdfaaaa7f15efa13eabee95232a4ac40c248ad5a3c9c7c26846e1868ac1ddd62bd3c6cd8375f7a5cb3ad322ee9dbd737699069ee7f1df2bcfcfcde84aa1 EBUILD hypothesis-6.110.2.ebuild 2593 BLAKE2B 434f71f7fad97f9e06d3e0a459d8d724c7000ea5ee8712f382c9c8f3746550159b272d208d926d389d87c8198452c410197e55a5e8cb5fec33c8a38719d6bf6f SHA512 5447fcdfaaaa7f15efa13eabee95232a4ac40c248ad5a3c9c7c26846e1868ac1ddd62bd3c6cd8375f7a5cb3ad322ee9dbd737699069ee7f1df2bcfcfcde84aa1 EBUILD hypothesis-6.111.0.ebuild 2593 BLAKE2B 434f71f7fad97f9e06d3e0a459d8d724c7000ea5ee8712f382c9c8f3746550159b272d208d926d389d87c8198452c410197e55a5e8cb5fec33c8a38719d6bf6f SHA512 5447fcdfaaaa7f15efa13eabee95232a4ac40c248ad5a3c9c7c26846e1868ac1ddd62bd3c6cd8375f7a5cb3ad322ee9dbd737699069ee7f1df2bcfcfcde84aa1 +EBUILD hypothesis-6.111.1.ebuild 2593 BLAKE2B 434f71f7fad97f9e06d3e0a459d8d724c7000ea5ee8712f382c9c8f3746550159b272d208d926d389d87c8198452c410197e55a5e8cb5fec33c8a38719d6bf6f SHA512 5447fcdfaaaa7f15efa13eabee95232a4ac40c248ad5a3c9c7c26846e1868ac1ddd62bd3c6cd8375f7a5cb3ad322ee9dbd737699069ee7f1df2bcfcfcde84aa1 MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.111.1.ebuild b/dev-python/hypothesis/hypothesis-6.111.1.ebuild new file mode 100644 index 000000000000..d401f55b2788 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.111.1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !! - - Enable support for the app-text/cuneiform OCR engine - Enable support for the app-text/tesseract OCR engine - pyocr World/OpenPaperwork/pyocr diff --git a/dev-python/pyocr/pyocr-0.8.5.ebuild b/dev-python/pyocr/pyocr-0.8.5.ebuild index 69b87eb15528..ed8f9f8ba154 100644 --- a/dev-python/pyocr/pyocr-0.8.5.ebuild +++ b/dev-python/pyocr/pyocr-0.8.5.ebuild @@ -17,11 +17,10 @@ HOMEPAGE=" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="cuneiform +tesseract" -REQUIRED_USE="|| ( cuneiform tesseract )" RDEPEND=" dev-python/pillow[${PYTHON_USEDEP}] + app-text/tesseract " BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] @@ -29,8 +28,3 @@ BDEPEND=" # (tests apparently do not require any backend installed) distutils_enable_tests unittest - -RDEPEND+=" - cuneiform? ( app-text/cuneiform ) - tesseract? ( app-text/tesseract ) -" diff --git a/dev-python/pywlroots/Manifest b/dev-python/pywlroots/Manifest index 3b1e858bc26c..bcd80dd04bfa 100644 --- a/dev-python/pywlroots/Manifest +++ b/dev-python/pywlroots/Manifest @@ -1,6 +1,4 @@ AUX pywlroots-0.15.24-no-import-version-check.patch 592 BLAKE2B 24ef9a82a3a7c62e8b0669cd25e6cd984a633ebf8f276436f48d54f6064119cceffe400a8c386e6407f3063fa678bab10d4151e0a5976041eab0ff36a16b7c6b SHA512 4a93ebad7670ba6ff41e68030b33a15d7545f244fa5b982fc3dd12c3a349e70f2e59267c9d6f2383a80e2376243118cc46bb4b3d9027abbe3cd9d69d1be5ebf8 -DIST pywlroots-0.15.24.gh.tar.gz 85570 BLAKE2B 0c7ba0be6159152488785298028bb1feec20e2380357060a850dab417b3fb1fccb4a9e6cc6564d2b7f124bf4fc454789549267e9036b0b4559e5fcd4c6f06196 SHA512 b29b76cf18a65b2ef19d15ecf018a9ba44119d60ee61435967d17f06d5f7544d2117f2e9a81574734c71591a237b00c8584a5cc6d6adb928f39f11170f21ee94 DIST pywlroots-0.17.0.tar.gz 99439 BLAKE2B 0f4153e5d4e7786d52d2a66614c4c92d29d0ef57be74ce8e7b23ed244c361a551b84606493296b99b4b1f48f5c862911f48aa32f3e7d5bd1c0fcedcfb1240474 SHA512 20b93845f26f1942bc111d12de24acc17af24cd70abd644a66a4b43e3622fa2cb9323c7dc846a5708c5cb63631e77020350231a67d3b6702ac5882fcd31411df -EBUILD pywlroots-0.15.24-r2.ebuild 1003 BLAKE2B 19a6ce2c6c9fff501e2a4274ac1254d6cf22b693b1451c7e3e61d09f4d8ff1b93b98ef6242c683e4f48527b0d022f971bcb3b016541ad7a352c28c3cd8bf9060 SHA512 83343df9d58b79b6abd76d9706ddfd236eae1a05bb975dcfdf0561371f43687f3c34c9c194ebb8a363e005ea9c54ce84d12f70893f80d1593741425ecca81c21 EBUILD pywlroots-0.17.0.ebuild 1201 BLAKE2B 0dd380bd84ac683278553bde69b0399aaafddc4e4d5780110a9f8d16858a0f375b943be46328d393493cc0d8f24dfc4adca14a6518ab69fa0357896661e98440 SHA512 28b4fb9fd3bbb03970bcd78c743af61075cea5bcf99c32c26ea2ee92d8022e8e54ae0b728d5a87732ed9bc6e9de2f90ef68428e5672289161dde24266fba40fd MISC metadata.xml 351 BLAKE2B 8c8ef3ef1d58928c0a15fcd756e4d1c94b2793626c9b4e9cbeb31443119cb47fa4975063547065cbc6e06f327ec7d36beb5e74973fd3d372ad4f7feeac3410ea SHA512 b4840e4149647c29e358b64d3de99a0f2b148a4d7d123d7ef7df67cf918a3f599d3e199ed7ef4d0d39bf8ccc8e4630058db4ae3a2260119ce1c5d255bf2dd9c8 diff --git a/dev-python/pywlroots/pywlroots-0.15.24-r2.ebuild b/dev-python/pywlroots/pywlroots-0.15.24-r2.ebuild deleted file mode 100644 index 6c3c93aba474..000000000000 --- a/dev-python/pywlroots/pywlroots-0.15.24-r2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="Python binding to the wlroots library using cffi" -HOMEPAGE=" - https://github.com/flacjacket/pywlroots - https://pypi.org/project/pywlroots/ -" -SRC_URI=" - https://github.com/flacjacket/pywlroots/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86" - -# See README for wlroots dep -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/cffi[${PYTHON_USEDEP}] - ' 'python*') - >=dev-python/pywayland-0.4.14[${PYTHON_USEDEP}] - >=dev-python/xkbcommon-0.2[${PYTHON_USEDEP}] - =gui-libs/wlroots-$(ver_cut 1-2)*:= - x11-base/xwayland -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-0.15.24-no-import-version-check.patch -) - -distutils_enable_tests pytest - -python_test() { - # No die deliberately as sometimes it doesn't exist - rm -r wlroots - - epytest -} diff --git a/dev-python/qiskit/Manifest b/dev-python/qiskit/Manifest index 51b9d0ccb71d..15d88d903b3d 100644 --- a/dev-python/qiskit/Manifest +++ b/dev-python/qiskit/Manifest @@ -154,10 +154,8 @@ DIST pyo3-ffi-0.21.2.crate 66160 BLAKE2B 759622fa3a41bcdb48170983c4e194898415f8d DIST pyo3-ffi-0.22.1-py313.patch 6315 BLAKE2B 55f9c5d45356e8c4b2a86da0f489788de576d7fb4c7b124a87d953e8d3a850fbeb05a1af8e6f34edf252aeda40445f711f4409a3a80df7442bd4676c1d8969f8 SHA512 f6e6e2498bbd8b60e013b4cb6e1f1eda764292e3cd91ba5800fe798521f462bb97f1e621711513d52c263f7b394821a710252425cfb0de0f1c4457882dd138ab DIST pyo3-macros-0.21.2.crate 7920 BLAKE2B 60ceb626fd1ffeca7e81ebc721bb4cfebd99bb708d48bbfdd296b250ed41471f82e8657715e1f58840423ac11d8c5a84a6107a7037affdea4e0c2cc561514ed7 SHA512 95335a55d57346107fdc7591d51e36aa0a985d6c44a875475a0ed52df25d33b21a7b922fdab0eed190da9708968e79f7cd50bc683b6d210eb068713a915ac7f4 DIST pyo3-macros-backend-0.21.2.crate 58088 BLAKE2B 05dd49983c8aeddc47cd94f6cd58f10e41ad6f4ec57006908cde4fe3edbcf6814058d7843a88c9dbeb0824f840ad3509414c52e47fffe5ad4b730f791c9a3f19 SHA512 f8488ba0a68f1ae20d053e2323d065f03b40c24231a50b05205b100e973ae50bc7bb9c25e4d37df56f4cfa73d2001655ce9685078d1017a4a90bd7945c01b833 -DIST qiskit-1.1.0.gh.tar.gz 9734708 BLAKE2B b188fe116ff5d0fa498e2b5c829b61950043163528ff39a51701d4f497a9dc0e1ffa27c518833dec84198682477c3398e8edb737d74b4f321b70fb3971b25a57 SHA512 7830b004b32461918ae5a739ee0dc1043386877f22f5112607828f6100e8b7b8b00fd946f465a1ae160fa1f6c40c1339dc743c7811add1c03e20c67d206a29e4 -DIST qiskit-1.1.1.gh.tar.gz 9741147 BLAKE2B ffacc2ca98fe9e5de995e44e45f5bdc463accd9a2f42d045c37dbe3571b0cd71ef78a5a89e2661cfade40bb1cc2fcdbae37733853f690c7c31b649760de30cb2 SHA512 90b241e87b7a7d6399101269d6f33c14ae8195e988a10c2a2ae5512c0e14b4a30d85845ee6ef79e1c322bccac4a036c3343fb9c362cd123305e05250cf47ec6c DIST qiskit-1.1.2.gh.tar.gz 9740466 BLAKE2B 72c962d4dd875cd29fbbe3d873053726074cb9db9493834efdea89fdaa1992a2b93c8ac93f8a5928c5c5685b75a976fc502b4500fffd4ebf2ef35aab179319ac SHA512 7d0054957298de2243e4bf1f9ae27c30a6dbaa0fd1253f407927878bc299ed2466bbf6e90c42874678e4f863c3262c15571b4a8cbafcf0f883998146111d8f87 -DIST qiskit-1.2.0rc1.gh.tar.gz 10922664 BLAKE2B dbf1f3b578fde251ea168c2836599446e1e35592c191e5870bde29d17259eb609c16a6e873211836306e9c3822cf7fcc2ad50aa03dd0958637c981c67ddfef14 SHA512 837de76d94bce3e6ffaefa67fb17d9a8030073f5eabfb503c3494c019af97a5470a3500f71825ba9814814db86e6e7451761af32cf71f25fe3c37523bc81bf6f +DIST qiskit-1.2.0.gh.tar.gz 10923268 BLAKE2B 1b28cc2aa3a5cbe3302cbf42b2bc8b31edb837066dd72b07bac75a1ce3eaef460327440cc79e904e7263b86dd39214474e3ace3c97c285399d59bcdce93124a8 SHA512 7c933f72dbd88972c0ae9ecdca4fdded721feefd8d2dbfb2f96cba0e2924883eb99ef729f4744af8ad25a8ba907582c2f64f553954d9da8b649abc772712919c DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST ra_ap_limit-0.0.188.crate 1283 BLAKE2B 265a70d088ed76500cdbefa04d1b2778d54985aa978b806e9ebb016348556559799b8ac889c00aeff51d4ff08f3fa86cd3be3742f5896916edbbda49bca1946e SHA512 01d56844fb4437959e93fc3394d674848eaae3365d271c01ba5ff12fc05d4a1d11eb4145ee89a65eb5ba12db4075e8102ee31df55c569c8ee5ad6d383f9f451a DIST ra_ap_stdx-0.0.188.crate 16911 BLAKE2B 28e11f1a24412ebc7436bd938efb2f9491e5843e13ebacbdee3bc9451274bd29175855e56d41fc4d4b4c1a7868ab59521c41f718f141f7bc6366678662f010e1 SHA512 c8c2582c69668edee1756fec64197a3d4ff70cb3670b8db590b08050e7042ae6f89a0e1d78fc23fbd1b0338173c87cc9c27b5fd15272f6c17b7393c3b77c5d32 @@ -255,9 +253,6 @@ DIST zerocopy-0.7.32.crate 151096 BLAKE2B 12c7c329ec0e0865467af08306ff4b55ce1e39 DIST zerocopy-0.7.35.crate 152645 BLAKE2B 8f13123c9d9257ac5a5c6954d38c3510fa658624442f7e03cdcc6db5a0977d9f26bb4e277be172b7872ec365cf6e58ac742e5578636f7698f9f37093e9249d9a SHA512 17fcb31c029ae89c01e5bae5fb2bb46bd434120199a3dc2c7fe0012dbbcfe2a0bb38934c4a7d3a4920e3fe47c097403beee554fefa54b66cb390f8b1de638d3c DIST zerocopy-derive-0.7.32.crate 37623 BLAKE2B 8b583d39d7bf9c3dbbba578120751c664f87363c5ba3fc45f6506a4059b9e599c43d9fc7bd498a257ff7c9d872af77d39bebdb0e65fb8009eaa2ae9903dece46 SHA512 3ce8528871fd18d6abe92b98503927451d25791c9c4af0ba39a3b6ba2006030bdc137084d080e9b1ac8b5ddf5f2121e0a3ef34bb2033a040f2c72c8149a9fc0d DIST zerocopy-derive-0.7.35.crate 37829 BLAKE2B badeb7fa5e0bfe93a6788d93fd297604ed31de526b121549300ead3c49d450f49265f499e2e7ce606dcce2b59dd01f7fa817b8fbb3f237475185c5b42f5299c4 SHA512 dbe23573b62a6267d7bc8c744320b75b2fbda03b908c1d175211f7394374fe182bce58021e25485c10671d726b2007f250565dfe53134d51c89293bb607e9feb -EBUILD qiskit-1.1.0.ebuild 6426 BLAKE2B 5837b7a4a2a1b499c32d481ab61e501f11dbf3c313aaee1656d2efb01741bd046b90e14f454955243386ec5900694733edb6124d85c0fb579d9725fce1791ae9 SHA512 7d20b4018d74f1ce8d3ff6b277ffa318e8acb9391f69f695830a2a14302aace98b03616961c7b0a88601dea59eac74a0ff8250c8abcb96e0d96aa1f7558de776 -EBUILD qiskit-1.1.1-r1.ebuild 7135 BLAKE2B 7c98ffdea1a31b43538bdf744db1289e7ad3a571aab785b6c558ce9974301b140373aeacade21bedeed711194227ceb3427e4883458af170e6da3b442d6493ef SHA512 f45fb788c4bca9e1c1a2e68c1def367fe7a5088284ab355d246d99d462f085cd9ac4216e8b82b9e394f248b2c9d86468325e4fc076fb700edff09b193a9cba41 -EBUILD qiskit-1.1.1.ebuild 6506 BLAKE2B 2d2d6497cca3e27a5b0f2e9ce78ff273c8afd6d474c646d93231e25a22fe2f414db6a4bad04334b0aa2fcc035a55f5b6263c6cb08b89085d7b760285729cc199 SHA512 d42ec0e2e6b94feea4fa004742bc1f1ddadd90d2ae1fe8d55ab0b3fa0129998013f6ea58d63e046220ee7802bb8c3d6149a96650502e4f44e1a5e0df6eccec8f EBUILD qiskit-1.1.2.ebuild 7135 BLAKE2B 7c98ffdea1a31b43538bdf744db1289e7ad3a571aab785b6c558ce9974301b140373aeacade21bedeed711194227ceb3427e4883458af170e6da3b442d6493ef SHA512 f45fb788c4bca9e1c1a2e68c1def367fe7a5088284ab355d246d99d462f085cd9ac4216e8b82b9e394f248b2c9d86468325e4fc076fb700edff09b193a9cba41 -EBUILD qiskit-1.2.0_rc1.ebuild 7750 BLAKE2B f096cfcc84adb4133c59d8148368969a11fb790ec582427d4df694c571db55d61300c1e20a84d4395a2b58c487a964a8572f3dd5b5c6c27ee798b4061cebc299 SHA512 e2fff72ceb6977029f041edbcac536188107dceec7238c9f598aaf2019f9a84369db111a65c800722de2afa282846b86cb3fa6570196d790c5d001403c63633c +EBUILD qiskit-1.2.0.ebuild 7750 BLAKE2B f096cfcc84adb4133c59d8148368969a11fb790ec582427d4df694c571db55d61300c1e20a84d4395a2b58c487a964a8572f3dd5b5c6c27ee798b4061cebc299 SHA512 e2fff72ceb6977029f041edbcac536188107dceec7238c9f598aaf2019f9a84369db111a65c800722de2afa282846b86cb3fa6570196d790c5d001403c63633c MISC metadata.xml 1087 BLAKE2B 3b20c74331333cfa3c08d2422ae65ba620ffbc331f9889d5e23a0a64ff169efed37d93df50131862b13dfe7a72cbca5af4c2a916315ea521fc063e57f6bdc198 SHA512 1bd62897d647ee140903ec4732831155683c131ab7c2ebb99bc1ab04b03e805b372b09d25846ec0a0d8bb0dd6a930c234db46c0bdd89f23a0ed376e9402475d2 diff --git a/dev-python/qiskit/qiskit-1.1.0.ebuild b/dev-python/qiskit/qiskit-1.1.0.ebuild deleted file mode 100644 index dcff5753571b..000000000000 --- a/dev-python/qiskit/qiskit-1.1.0.ebuild +++ /dev/null @@ -1,287 +0,0 @@ -# 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..12} ) - -CRATES=" - ahash@0.7.8 - ahash@0.8.11 - allocator-api2@0.2.18 - always-assert@0.1.3 - approx@0.5.1 - ariadne@0.3.0 - autocfg@1.2.0 - bitflags@1.3.2 - bitflags@2.5.0 - block-buffer@0.10.4 - boolenum@0.1.0 - bytemuck@1.15.0 - bytemuck_derive@1.6.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-pre.1 - cpufeatures@0.2.12 - crossbeam-channel@0.5.12 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.19 - 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.11.0 - enum-as-inner@0.6.0 - equator-macro@0.1.9 - equator@0.1.10 - equivalent@1.0.1 - faer-entity@0.18.0 - faer-ext@0.1.0 - faer@0.18.2 - fixedbitset@0.4.2 - gemm-c32@0.17.1 - gemm-c64@0.17.1 - gemm-common@0.17.1 - gemm-f16@0.17.1 - gemm-f32@0.17.1 - gemm-f64@0.17.1 - gemm@0.17.1 - generic-array@0.14.7 - getrandom@0.2.14 - half@2.4.1 - hashbrown@0.12.3 - hashbrown@0.14.5 - heck@0.4.1 - hermit-abi@0.3.9 - indexmap@1.9.3 - indexmap@2.2.6 - indoc@2.0.5 - is-terminal@0.4.12 - itertools@0.10.5 - itertools@0.11.0 - itertools@0.12.1 - jod-thread@0.1.2 - libc@0.2.154 - libm@0.2.8 - lock_api@0.4.12 - log@0.4.21 - matrixcompare-core@0.1.0 - matrixcompare@0.3.0 - matrixmultiply@0.3.8 - memchr@2.7.2 - memoffset@0.9.1 - miow@0.5.0 - ndarray@0.15.6 - npyz@0.8.3 - num-bigint@0.4.4 - num-complex@0.4.5 - num-integer@0.1.46 - num-traits@0.2.18 - numpy@0.21.0 - once_cell@1.19.0 - oq3_lexer@0.6.0 - oq3_parser@0.6.0 - oq3_semantics@0.6.0 - oq3_source_file@0.6.0 - oq3_syntax@0.6.0 - parking_lot@0.12.2 - parking_lot_core@0.9.10 - paste@1.0.14 - pest@2.7.10 - pest_derive@2.7.10 - pest_generator@2.7.10 - pest_meta@2.7.10 - petgraph@0.6.4 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - priority-queue@1.4.0 - proc-macro-error-attr@1.0.4 - proc-macro-error@1.0.4 - proc-macro2@1.0.81 - pulp-macro@0.1.1 - pulp@0.18.10 - py_literal@0.4.0 - pyo3-build-config@0.21.2 - pyo3-ffi@0.21.2 - pyo3-macros-backend@0.21.2 - pyo3-macros@0.21.2 - pyo3@0.21.2 - quote@1.0.36 - ra_ap_limit@0.0.188 - ra_ap_stdx@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 - redox_syscall@0.5.1 - rowan@0.15.15 - rustc-hash@1.1.0 - rustversion@1.0.15 - rustworkx-core@0.14.2 - same-file@1.0.6 - scopeguard@1.2.0 - seq-macro@0.3.5 - serde@1.0.200 - serde_derive@1.0.200 - sha2@0.10.8 - smallvec@1.13.2 - smol_str@0.2.1 - syn@1.0.109 - syn@2.0.60 - sysctl@0.5.5 - target-lexicon@0.12.14 - text-size@1.1.1 - thiserror-impl@1.0.59 - thiserror@1.0.59 - triomphe@0.1.11 - typenum@1.17.0 - ucd-trie@0.1.6 - unicode-ident@1.0.12 - unicode-properties@0.1.1 - unicode-width@0.1.12 - unicode-xid@0.2.4 - unindent@0.2.3 - version_check@0.9.4 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.8 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.42.0 - windows-sys@0.45.0 - windows-sys@0.52.0 - windows-targets@0.42.2 - windows-targets@0.52.5 - windows_aarch64_gnullvm@0.42.2 - windows_aarch64_gnullvm@0.52.5 - windows_aarch64_msvc@0.42.2 - windows_aarch64_msvc@0.52.5 - windows_i686_gnu@0.42.2 - windows_i686_gnu@0.52.5 - windows_i686_gnullvm@0.52.5 - windows_i686_msvc@0.42.2 - windows_i686_msvc@0.52.5 - windows_x86_64_gnu@0.42.2 - windows_x86_64_gnu@0.52.5 - windows_x86_64_gnullvm@0.42.2 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_msvc@0.42.2 - windows_x86_64_msvc@0.52.5 - xshell-macros@0.2.6 - xshell@0.2.6 - yansi@0.5.1 - zerocopy-derive@0.7.32 - zerocopy@0.7.32 -" - -inherit cargo distutils-r1 - -MY_P=qiskit-${PV} -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.14.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() { - # strip forcing -Werror from tests that also leaks to other packages - sed -i -e '/filterwarnings.*error/d' test/utils/base.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw - test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin - test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register - ) - - local EPYTEST_IGNORE=( - # Breaks xdist - test/python/qasm2/test_parse_errors.py - ) - - 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/qiskit/qiskit-1.1.1-r1.ebuild b/dev-python/qiskit/qiskit-1.1.1-r1.ebuild deleted file mode 100644 index 854b99273f90..000000000000 --- a/dev-python/qiskit/qiskit-1.1.1-r1.ebuild +++ /dev/null @@ -1,304 +0,0 @@ -# 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 - allocator-api2@0.2.18 - always-assert@0.1.3 - approx@0.5.1 - ariadne@0.3.0 - autocfg@1.2.0 - bitflags@1.3.2 - bitflags@2.5.0 - block-buffer@0.10.4 - boolenum@0.1.0 - bytemuck@1.15.0 - bytemuck_derive@1.6.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-pre.1 - cpufeatures@0.2.12 - crossbeam-channel@0.5.12 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.19 - 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.11.0 - enum-as-inner@0.6.0 - equator-macro@0.1.9 - equator@0.1.10 - equivalent@1.0.1 - faer-entity@0.18.0 - faer-ext@0.1.0 - faer@0.18.2 - fixedbitset@0.4.2 - gemm-c32@0.17.1 - gemm-c64@0.17.1 - gemm-common@0.17.1 - gemm-f16@0.17.1 - gemm-f32@0.17.1 - gemm-f64@0.17.1 - gemm@0.17.1 - generic-array@0.14.7 - getrandom@0.2.14 - half@2.4.1 - hashbrown@0.12.3 - hashbrown@0.14.5 - heck@0.4.1 - hermit-abi@0.3.9 - indexmap@1.9.3 - indexmap@2.2.6 - indoc@2.0.5 - is-terminal@0.4.12 - itertools@0.10.5 - itertools@0.11.0 - itertools@0.12.1 - jod-thread@0.1.2 - libc@0.2.154 - libm@0.2.8 - lock_api@0.4.12 - log@0.4.21 - matrixcompare-core@0.1.0 - matrixcompare@0.3.0 - matrixmultiply@0.3.8 - memchr@2.7.2 - memoffset@0.9.1 - miow@0.5.0 - ndarray@0.15.6 - npyz@0.8.3 - num-bigint@0.4.4 - num-complex@0.4.5 - num-integer@0.1.46 - num-traits@0.2.18 - numpy@0.21.0 - once_cell@1.19.0 - oq3_lexer@0.6.0 - oq3_parser@0.6.0 - oq3_semantics@0.6.0 - oq3_source_file@0.6.0 - oq3_syntax@0.6.0 - parking_lot@0.12.2 - parking_lot_core@0.9.10 - paste@1.0.14 - pest@2.7.10 - pest_derive@2.7.10 - pest_generator@2.7.10 - pest_meta@2.7.10 - petgraph@0.6.4 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - priority-queue@1.4.0 - proc-macro-error-attr@1.0.4 - proc-macro-error@1.0.4 - proc-macro2@1.0.81 - pulp-macro@0.1.1 - pulp@0.18.10 - py_literal@0.4.0 - pyo3-build-config@0.21.2 - pyo3-ffi@0.21.2 - pyo3-macros-backend@0.21.2 - pyo3-macros@0.21.2 - pyo3@0.21.2 - quote@1.0.36 - ra_ap_limit@0.0.188 - ra_ap_stdx@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 - redox_syscall@0.5.1 - rowan@0.15.15 - rustc-hash@1.1.0 - rustversion@1.0.15 - rustworkx-core@0.14.2 - same-file@1.0.6 - scopeguard@1.2.0 - seq-macro@0.3.5 - serde@1.0.200 - serde_derive@1.0.200 - sha2@0.10.8 - smallvec@1.13.2 - smol_str@0.2.1 - syn@1.0.109 - syn@2.0.60 - sysctl@0.5.5 - target-lexicon@0.12.14 - text-size@1.1.1 - thiserror-impl@1.0.59 - thiserror@1.0.59 - triomphe@0.1.11 - typenum@1.17.0 - ucd-trie@0.1.6 - unicode-ident@1.0.12 - unicode-properties@0.1.1 - unicode-width@0.1.12 - unicode-xid@0.2.4 - unindent@0.2.3 - version_check@0.9.4 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.8 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.42.0 - windows-sys@0.45.0 - windows-sys@0.52.0 - windows-targets@0.42.2 - windows-targets@0.52.5 - windows_aarch64_gnullvm@0.42.2 - windows_aarch64_gnullvm@0.52.5 - windows_aarch64_msvc@0.42.2 - windows_aarch64_msvc@0.52.5 - windows_i686_gnu@0.42.2 - windows_i686_gnu@0.52.5 - windows_i686_gnullvm@0.52.5 - windows_i686_msvc@0.42.2 - windows_i686_msvc@0.52.5 - windows_x86_64_gnu@0.42.2 - windows_x86_64_gnu@0.52.5 - windows_x86_64_gnullvm@0.42.2 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_msvc@0.42.2 - windows_x86_64_msvc@0.52.5 - xshell-macros@0.2.6 - xshell@0.2.6 - yansi@0.5.1 - zerocopy-derive@0.7.32 - zerocopy@0.7.32 -" - -inherit cargo distutils-r1 - -MY_P=qiskit-${PV} -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} - https://github.com/PyO3/pyo3/pull/4324.patch - -> pyo3-ffi-0.22.1-py313.patch -" -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.14.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 - - cd "${ECARGO_VENDOR}"/pyo3-ffi-*/ || die - eapply -p2 "${DISTDIR}/pyo3-ffi-0.22.1-py313.patch" -} - -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 - ) - - local EPYTEST_IGNORE=( - # Breaks xdist - test/python/qasm2/test_parse_errors.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/qiskit/qiskit-1.1.1.ebuild b/dev-python/qiskit/qiskit-1.1.1.ebuild deleted file mode 100644 index 63c9785275fa..000000000000 --- a/dev-python/qiskit/qiskit-1.1.1.ebuild +++ /dev/null @@ -1,287 +0,0 @@ -# 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..12} ) - -CRATES=" - ahash@0.7.8 - ahash@0.8.11 - allocator-api2@0.2.18 - always-assert@0.1.3 - approx@0.5.1 - ariadne@0.3.0 - autocfg@1.2.0 - bitflags@1.3.2 - bitflags@2.5.0 - block-buffer@0.10.4 - boolenum@0.1.0 - bytemuck@1.15.0 - bytemuck_derive@1.6.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-pre.1 - cpufeatures@0.2.12 - crossbeam-channel@0.5.12 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.19 - 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.11.0 - enum-as-inner@0.6.0 - equator-macro@0.1.9 - equator@0.1.10 - equivalent@1.0.1 - faer-entity@0.18.0 - faer-ext@0.1.0 - faer@0.18.2 - fixedbitset@0.4.2 - gemm-c32@0.17.1 - gemm-c64@0.17.1 - gemm-common@0.17.1 - gemm-f16@0.17.1 - gemm-f32@0.17.1 - gemm-f64@0.17.1 - gemm@0.17.1 - generic-array@0.14.7 - getrandom@0.2.14 - half@2.4.1 - hashbrown@0.12.3 - hashbrown@0.14.5 - heck@0.4.1 - hermit-abi@0.3.9 - indexmap@1.9.3 - indexmap@2.2.6 - indoc@2.0.5 - is-terminal@0.4.12 - itertools@0.10.5 - itertools@0.11.0 - itertools@0.12.1 - jod-thread@0.1.2 - libc@0.2.154 - libm@0.2.8 - lock_api@0.4.12 - log@0.4.21 - matrixcompare-core@0.1.0 - matrixcompare@0.3.0 - matrixmultiply@0.3.8 - memchr@2.7.2 - memoffset@0.9.1 - miow@0.5.0 - ndarray@0.15.6 - npyz@0.8.3 - num-bigint@0.4.4 - num-complex@0.4.5 - num-integer@0.1.46 - num-traits@0.2.18 - numpy@0.21.0 - once_cell@1.19.0 - oq3_lexer@0.6.0 - oq3_parser@0.6.0 - oq3_semantics@0.6.0 - oq3_source_file@0.6.0 - oq3_syntax@0.6.0 - parking_lot@0.12.2 - parking_lot_core@0.9.10 - paste@1.0.14 - pest@2.7.10 - pest_derive@2.7.10 - pest_generator@2.7.10 - pest_meta@2.7.10 - petgraph@0.6.4 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - priority-queue@1.4.0 - proc-macro-error-attr@1.0.4 - proc-macro-error@1.0.4 - proc-macro2@1.0.81 - pulp-macro@0.1.1 - pulp@0.18.10 - py_literal@0.4.0 - pyo3-build-config@0.21.2 - pyo3-ffi@0.21.2 - pyo3-macros-backend@0.21.2 - pyo3-macros@0.21.2 - pyo3@0.21.2 - quote@1.0.36 - ra_ap_limit@0.0.188 - ra_ap_stdx@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 - redox_syscall@0.5.1 - rowan@0.15.15 - rustc-hash@1.1.0 - rustversion@1.0.15 - rustworkx-core@0.14.2 - same-file@1.0.6 - scopeguard@1.2.0 - seq-macro@0.3.5 - serde@1.0.200 - serde_derive@1.0.200 - sha2@0.10.8 - smallvec@1.13.2 - smol_str@0.2.1 - syn@1.0.109 - syn@2.0.60 - sysctl@0.5.5 - target-lexicon@0.12.14 - text-size@1.1.1 - thiserror-impl@1.0.59 - thiserror@1.0.59 - triomphe@0.1.11 - typenum@1.17.0 - ucd-trie@0.1.6 - unicode-ident@1.0.12 - unicode-properties@0.1.1 - unicode-width@0.1.12 - unicode-xid@0.2.4 - unindent@0.2.3 - version_check@0.9.4 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.8 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.42.0 - windows-sys@0.45.0 - windows-sys@0.52.0 - windows-targets@0.42.2 - windows-targets@0.52.5 - windows_aarch64_gnullvm@0.42.2 - windows_aarch64_gnullvm@0.52.5 - windows_aarch64_msvc@0.42.2 - windows_aarch64_msvc@0.52.5 - windows_i686_gnu@0.42.2 - windows_i686_gnu@0.52.5 - windows_i686_gnullvm@0.52.5 - windows_i686_msvc@0.42.2 - windows_i686_msvc@0.52.5 - windows_x86_64_gnu@0.42.2 - windows_x86_64_gnu@0.52.5 - windows_x86_64_gnullvm@0.42.2 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_msvc@0.42.2 - windows_x86_64_msvc@0.52.5 - xshell-macros@0.2.6 - xshell@0.2.6 - yansi@0.5.1 - zerocopy-derive@0.7.32 - zerocopy@0.7.32 -" - -inherit cargo distutils-r1 - -MY_P=qiskit-${PV} -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.14.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() { - # strip forcing -Werror from tests that also leaks to other packages - sed -i -e '/filterwarnings.*error/d' test/utils/base.py || die - distutils-r1_src_prepare -} - -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 - ) - - local EPYTEST_IGNORE=( - # Breaks xdist - test/python/qasm2/test_parse_errors.py - ) - - 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/qiskit/qiskit-1.2.0.ebuild b/dev-python/qiskit/qiskit-1.2.0.ebuild new file mode 100644 index 000000000000..c225e8e94144 --- /dev/null +++ b/dev-python/qiskit/qiskit-1.2.0.ebuild @@ -0,0 +1,315 @@ +# 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 + allocator-api2@0.2.18 + always-assert@0.1.3 + approx@0.5.1 + ariadne@0.3.0 + autocfg@1.3.0 + bitflags@1.3.2 + bitflags@2.6.0 + block-buffer@0.10.4 + boolenum@0.1.0 + bytemuck@1.16.3 + bytemuck_derive@1.7.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.12 + crossbeam-channel@0.5.13 + 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.0 + equator-macro@0.2.1 + equator@0.2.2 + equivalent@1.0.1 + faer-entity@0.19.0 + faer-ext@0.2.0 + faer@0.19.1 + 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 + heck@0.4.1 + hermit-abi@0.3.9 + indexmap@2.2.6 + indoc@2.0.5 + is-terminal@0.4.12 + itertools@0.10.5 + itertools@0.11.0 + itertools@0.13.0 + jod-thread@0.1.2 + libc@0.2.155 + libm@0.2.8 + lock_api@0.4.12 + log@0.4.22 + matrixcompare-core@0.1.0 + matrixcompare@0.3.0 + matrixmultiply@0.3.9 + memchr@2.7.4 + memoffset@0.9.1 + miow@0.5.0 + 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 + 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.21.0 + once_cell@1.19.0 + oq3_lexer@0.6.0 + oq3_parser@0.6.0 + oq3_semantics@0.6.0 + oq3_source_file@0.6.0 + oq3_syntax@0.6.0 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + paste@1.0.15 + pest@2.7.11 + pest_derive@2.7.11 + pest_generator@2.7.11 + pest_meta@2.7.11 + petgraph@0.6.5 + portable-atomic@1.7.0 + ppv-lite86@0.2.19 + priority-queue@2.0.3 + proc-macro-error-attr@1.0.4 + proc-macro-error@1.0.4 + proc-macro2@1.0.86 + pulp-macro@0.1.1 + pulp@0.18.21 + py_literal@0.4.0 + pyo3-build-config@0.21.2 + pyo3-ffi@0.21.2 + pyo3-macros-backend@0.21.2 + pyo3-macros@0.21.2 + pyo3@0.21.2 + quote@1.0.36 + ra_ap_limit@0.0.188 + ra_ap_stdx@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 + redox_syscall@0.5.3 + rowan@0.15.15 + rustc-hash@1.1.0 + rustversion@1.0.17 + rustworkx-core@0.15.1 + same-file@1.0.6 + scopeguard@1.2.0 + seq-macro@0.3.5 + serde@1.0.204 + serde_derive@1.0.204 + sha2@0.10.8 + smallvec@1.13.2 + smol_str@0.2.2 + syn@1.0.109 + syn@2.0.72 + sysctl@0.5.5 + target-lexicon@0.12.16 + text-size@1.1.1 + thiserror-impl@1.0.63 + thiserror@1.0.63 + triomphe@0.1.11 + typenum@1.17.0 + ucd-trie@0.1.6 + unicode-ident@1.0.12 + unicode-properties@0.1.1 + unicode-width@0.1.13 + unicode-xid@0.2.4 + unindent@0.2.3 + version_check@0.9.5 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.8 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.42.0 + windows-sys@0.45.0 + windows-sys@0.52.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} + https://github.com/PyO3/pyo3/pull/4324.patch + -> pyo3-ffi-0.22.1-py313.patch +" +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 + + cd "${ECARGO_VENDOR}"/pyo3-ffi-*/ || die + eapply -p2 "${DISTDIR}/pyo3-ffi-0.22.1-py313.patch" +} + +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 + ) + + 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/qiskit/qiskit-1.2.0_rc1.ebuild b/dev-python/qiskit/qiskit-1.2.0_rc1.ebuild deleted file mode 100644 index c225e8e94144..000000000000 --- a/dev-python/qiskit/qiskit-1.2.0_rc1.ebuild +++ /dev/null @@ -1,315 +0,0 @@ -# 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 - allocator-api2@0.2.18 - always-assert@0.1.3 - approx@0.5.1 - ariadne@0.3.0 - autocfg@1.3.0 - bitflags@1.3.2 - bitflags@2.6.0 - block-buffer@0.10.4 - boolenum@0.1.0 - bytemuck@1.16.3 - bytemuck_derive@1.7.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.12 - crossbeam-channel@0.5.13 - 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.0 - equator-macro@0.2.1 - equator@0.2.2 - equivalent@1.0.1 - faer-entity@0.19.0 - faer-ext@0.2.0 - faer@0.19.1 - 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 - heck@0.4.1 - hermit-abi@0.3.9 - indexmap@2.2.6 - indoc@2.0.5 - is-terminal@0.4.12 - itertools@0.10.5 - itertools@0.11.0 - itertools@0.13.0 - jod-thread@0.1.2 - libc@0.2.155 - libm@0.2.8 - lock_api@0.4.12 - log@0.4.22 - matrixcompare-core@0.1.0 - matrixcompare@0.3.0 - matrixmultiply@0.3.9 - memchr@2.7.4 - memoffset@0.9.1 - miow@0.5.0 - 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 - 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.21.0 - once_cell@1.19.0 - oq3_lexer@0.6.0 - oq3_parser@0.6.0 - oq3_semantics@0.6.0 - oq3_source_file@0.6.0 - oq3_syntax@0.6.0 - parking_lot@0.12.3 - parking_lot_core@0.9.10 - paste@1.0.15 - pest@2.7.11 - pest_derive@2.7.11 - pest_generator@2.7.11 - pest_meta@2.7.11 - petgraph@0.6.5 - portable-atomic@1.7.0 - ppv-lite86@0.2.19 - priority-queue@2.0.3 - proc-macro-error-attr@1.0.4 - proc-macro-error@1.0.4 - proc-macro2@1.0.86 - pulp-macro@0.1.1 - pulp@0.18.21 - py_literal@0.4.0 - pyo3-build-config@0.21.2 - pyo3-ffi@0.21.2 - pyo3-macros-backend@0.21.2 - pyo3-macros@0.21.2 - pyo3@0.21.2 - quote@1.0.36 - ra_ap_limit@0.0.188 - ra_ap_stdx@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 - redox_syscall@0.5.3 - rowan@0.15.15 - rustc-hash@1.1.0 - rustversion@1.0.17 - rustworkx-core@0.15.1 - same-file@1.0.6 - scopeguard@1.2.0 - seq-macro@0.3.5 - serde@1.0.204 - serde_derive@1.0.204 - sha2@0.10.8 - smallvec@1.13.2 - smol_str@0.2.2 - syn@1.0.109 - syn@2.0.72 - sysctl@0.5.5 - target-lexicon@0.12.16 - text-size@1.1.1 - thiserror-impl@1.0.63 - thiserror@1.0.63 - triomphe@0.1.11 - typenum@1.17.0 - ucd-trie@0.1.6 - unicode-ident@1.0.12 - unicode-properties@0.1.1 - unicode-width@0.1.13 - unicode-xid@0.2.4 - unindent@0.2.3 - version_check@0.9.5 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.8 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.42.0 - windows-sys@0.45.0 - windows-sys@0.52.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} - https://github.com/PyO3/pyo3/pull/4324.patch - -> pyo3-ffi-0.22.1-py313.patch -" -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 - - cd "${ECARGO_VENDOR}"/pyo3-ffi-*/ || die - eapply -p2 "${DISTDIR}/pyo3-ffi-0.22.1-py313.patch" -} - -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 - ) - - 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/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 13acc52b2719..40ad0d99cb09 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -21,6 +21,7 @@ DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb9 DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d DIST sqlglot-25.11.2.tar.gz 19157603 BLAKE2B 98fb96a6682692d3e06884eb07e09c32d7237db655246530fc2ae2be4432daf258f7eca559a7058b2910efee7cbd3feca3f6c117bc253783c0ce2f358bdb2c97 SHA512 0704f1587a5c866a8782a166f250a5a7e5d9a2da16d4b6308cc4027f3be57d9d2b3dbf3a8df6a28ec9244439520358012c99c4b07a08da8ab8039635c08ee56f DIST sqlglot-25.11.3.tar.gz 19156538 BLAKE2B 7d10a128424af6d4bf90234fc388106aaf3d5bef9c50041772fd68d230b25a0b8aae232616af6b478bbffa3cb30ef2ff686f2a67c0d82b58d74bfb45255df94a SHA512 cff9ad865b8eb8d566304e912da95f1d45dec36478cf40da6f09179e749ee19d07d0c4467afe2c089c9ccd4fef4debf579a47f6abf9cfbe23f0ee096272e7e75 +DIST sqlglot-25.12.0.tar.gz 19158536 BLAKE2B 33c6fee914163c7de2c3ec4b478463d31daee8090718563c0878377204d4a831e44fea5eea30ec34e1ebba22c0e4bdcb3f75783aefc010717fd10dfb27bf78b9 SHA512 51f2a637018b5f92aaf6829569977a55f0471e37e71428b5630e88f775e610d93c43b0b8978720589da5087175c38b87355c932a9da926b2b6e8cde6054efe5c DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 @@ -35,4 +36,5 @@ DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 EBUILD sqlglot-25.11.2.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 EBUILD sqlglot-25.11.3.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 +EBUILD sqlglot-25.12.0.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-25.12.0.ebuild b/dev-python/sqlglot/sqlglot-25.12.0.ebuild new file mode 100644 index 000000000000..3ecfcc322a3e --- /dev/null +++ b/dev-python/sqlglot/sqlglot-25.12.0.ebuild @@ -0,0 +1,121 @@ +# Copyright 2023-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} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index f915488a8586..209fe13f3555 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,7 +1,9 @@ DIST stripe-10.5.0.tar.gz 1301564 BLAKE2B 5cc9175c52bfadb0fc05528b406090f72215d2b27eefa51336508a74dd348d37d51b93e0e898ba22b1102316b95643bad6b0ca0e1ef84c8053b98a34ed496698 SHA512 c320c9f6b77ce38ef4182607168c811d512ba12d080c8f1c4f61fbdef6adaa2c955078e333715343e0bf796826e9d303a45765e1e67aee518a3cd6ffbfb801b4 DIST stripe-10.6.0.tar.gz 1306235 BLAKE2B 0dbedd05118c31452e50f24fc92afb4f21a129ea1b47054d4c79bb48d6ea520ba34bc9b694c4919037488ad316180f793be0aa84068ed30c0c8bd7092841c4d7 SHA512 745aeedec3a666850afd77925c15599a74c73142808ee3cc9835e1853ece7c4fbb68c556f02b92d7265d638ed6fe39f254ccf3fb62cadeccc2e2bc57c57a9a7d DIST stripe-10.7.0.tar.gz 1311319 BLAKE2B c593f9478e180b8965e6d4c93c58f0e539c0821b79c48893d65fa59f4a31d29eece26ab74113f251fa5da0620358bb45e9030e1a64aa17d189974f7c6250cfcf SHA512 2f0c6082cf292068a8790c7080e60c2b7fef2a16b5cf9fd31dabd1e7428b6317941cb64b32c7710d165a5b6b2da1c5899e5cfa88e354bc88c49c9513c25c58a4 +DIST stripe-10.8.0.tar.gz 1312236 BLAKE2B 72c8c111f86388a0e19ed5c5688ac8c8e5437251b1972aa4316dadccbecad03ad7db625c73110d6c617553eae15e1a5a7c571ff209ffa1ca4fa40f091c171361 SHA512 520df4a0866defc2efdaf4ad0aa5351df04669e9283298ff862a78f4d5894e5422eba48b4bb0654e1a1a41973dcd245bc4e37c3166210135c5864470fc0f7db8 EBUILD stripe-10.5.0.ebuild 2479 BLAKE2B a0e6b46eaef5af4f4ec1c52170659a1a6c7dfa999969db878f34be45cf65d8ae378bd507ca2d382affa62aa0e1bcdc92fea8d1a5c208a069aa75e59e91b08a0a SHA512 652debaf9596b6ec64e35f3a4eaa5b6f3ed56fdd57ab7911012851b098add4d31307daebf29db84a0c52552ea327aa3b299e5c787d6e7b47f5c697fda2c38a02 EBUILD stripe-10.6.0.ebuild 2482 BLAKE2B ad76196b0a052122b59d2536a6c0f926387508560c3035989a57b16fd8d1a0f1c41065a7d0eb155a176beccb3bcbf48a0411d6c53ebd94cf160f0249a4fa8113 SHA512 f37b59b1fcdabbaf2ec4a71dad2dde1a8859a80a87a05d9f001c5c87acb624fcf3e44406684d2a3c43f6fb1d1805961da4666f33ad33863de98de98a5256677e EBUILD stripe-10.7.0.ebuild 2482 BLAKE2B 8e2e53e058b441f220b58af79746c50b4c281af69efedabba07d7cd8bce0fb89edb35b93679b404d223592ad77093122d03665facc5d310d81f533e83b4486b1 SHA512 9f85b547d74850e519f2bb39476a60d6add947aa4d87a90169d002a814fcf0d7a7084e0967132e649a934f593e5b531f05d3d7de73cf382920c5a167d52fe2bc +EBUILD stripe-10.8.0.ebuild 2482 BLAKE2B d41cf1130ba524c02435e623798554a866081bd5b1932ad5bac674b789ae68df6cb444b3a968ab13cefd73da7205c69860939f4cebdc28ad62680cea45dd53a9 SHA512 ece77ea1c315f239297549734c61b1e9645ba881bc2eb487ebf50cfe213f847e3fbc5551a148e8ad2d43db5ddb66e1d05d49732192204ee94881b1cca7d2b7e7 MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-10.8.0.ebuild b/dev-python/stripe/stripe-10.8.0.ebuild new file mode 100644 index 000000000000..dce53ce91aee --- /dev/null +++ b/dev-python/stripe/stripe-10.8.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +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.188.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]" + ) + + 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/twine/Manifest b/dev-python/twine/Manifest index 53f2c29e4557..2befefa53f8f 100644 --- a/dev-python/twine/Manifest +++ b/dev-python/twine/Manifest @@ -1,3 +1,3 @@ DIST twine-5.1.1.gh.tar.gz 221931 BLAKE2B a95d50e52bde5db64c6ce5b57097188e9cb88763c91f337c3e552ca34bae34882d87bced4b0c55a292de185fce10384edf514b55373c4456ff252471076bcb28 SHA512 95f059235e32134a5320c0835befa2eed6eff35c56685afe4848224042c2e2af484db72f20fd0cfbe979cce8d495e8bb2d2ea38aca2c53ca7af8de378816bedf -EBUILD twine-5.1.1.ebuild 2231 BLAKE2B cdcf61d0e76059294ecec87454c92fb9c0bf64c8375c454cdd9c24106ca2338d0570ab719c8066fbfa48d732fc2428a243250ca0023435c012a4ed9e8a725d0a SHA512 66f391946a5335d5edee44a326e96f6ffdfa87a5aa8e08b92886fcd7d8a8a2d7226dda9ac9d740c3e4ace5ac7fc66ccbba49d8079059c5d2b6f65826b3c83fa1 +EBUILD twine-5.1.1-r1.ebuild 2299 BLAKE2B 18350daa1c655fb26341abce49340dcd0200aa320eed3c1b73f9fef145c521981510a7fb83ce1b28c8eac8bd1c49516d39fa66d87e522651b4f3d7237bfeb73f SHA512 b19446d597c425c9daa041050958f0131e2a469a5958e3afbc4cbf77feee728bd32491e524fe7592a6e38f3bf1254840f56f3453131a5fae068eeec8a3c20c3d MISC metadata.xml 383 BLAKE2B e2a596604a2f3e40ddd0196ea79105e318f8a04d9e5a2c7e458d403d215af1371f2a526fa7d8cbc430f20747f7b65ed6c8546263fb8a54ddd8a6db487c358634 SHA512 cd5c1f1ed89dc5c314975fc5b503108d6828db37826ebba98d6edd580b72cd41867e19e65a9a022f8c07babadecd810f21febeb8a015c51eecec412b9df4f0d5 diff --git a/dev-python/twine/twine-5.1.1-r1.ebuild b/dev-python/twine/twine-5.1.1-r1.ebuild new file mode 100644 index 000000000000..0f45d4508bb3 --- /dev/null +++ b/dev-python/twine/twine-5.1.1-r1.ebuild @@ -0,0 +1,83 @@ +# 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="Collection of utilities for publishing packages on PyPI" +HOMEPAGE=" + https://twine.readthedocs.io/ + https://github.com/pypa/twine/ + https://pypi.org/project/twine/ +" +SRC_URI=" + https://github.com/pypa/twine/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] + >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}] + >=dev-python/keyring-15.1[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}] + >=dev-python/readme-renderer-35.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}] + >=dev-python/rich-12.0.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/jaraco-envs[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/munch[${PYTHON_USEDEP}] + dev-python/portend[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pypiserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # pytest-socket dep relevant only to test_integration, and upstream + # disables it anyway + sed -i -e '/--disable-socket/d' pytest.ini || die + sed -i -e '/--cov/d' pytest.ini || die + # unnecessary pin + sed -i -e '/pkginfo "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die - - python_doscript "${WORKDIR}"/twisted-regen-cache -} - -python_install_all() { - distutils-r1_python_install_all - - newconfd "${FILESDIR}/twistd.conf" twistd - newinitd "${FILESDIR}/twistd.init" twistd -} - -python_postinst() { - twisted-regen-cache || die -} - -pkg_postinst() { - if [[ -z ${ROOT} ]]; then - python_foreach_impl python_postinst - fi -} - -python_postrm() { - rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die -} - -pkg_postrm() { - # if we're removing the last version, remove the cache file - if [[ ! ${REPLACING_VERSIONS} ]]; then - python_foreach_impl python_postrm - fi -} diff --git a/dev-python/twisted/twisted-24.7.0_rc2.ebuild b/dev-python/twisted/twisted-24.7.0_rc2.ebuild deleted file mode 100644 index 23de55ced5f0..000000000000 --- a/dev-python/twisted/twisted-24.7.0_rc2.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_TESTED=( python3_{10..13} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing pypi virtualx - -DESCRIPTION="An asynchronous networking framework written in Python" -HOMEPAGE=" - https://twisted.org/ - https://github.com/twisted/twisted/ - https://pypi.org/project/Twisted/ -" -SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="conch http2 serial ssl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/automat-0.8.0[${PYTHON_USEDEP}] - >=dev-python/constantly-15.1[${PYTHON_USEDEP}] - >=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}] - >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}] - >=dev-python/zope-interface-5[${PYTHON_USEDEP}] - conch? ( - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - ) - http2? ( - =dev-python/h2-3.0.0[${PYTHON_USEDEP}] - =dev-python/priority-1.1.0[${PYTHON_USEDEP}] - ) - serial? ( - >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] - ) - ssl? ( - >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] - >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.4[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] - >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] - >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}] - =dev-python/cython-test-exception-raiser-1.0.2[${PYTHON_USEDEP}] - >=dev-python/idna-2.4[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.56[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - >=dev-python/pyhamcrest-2[${PYTHON_USEDEP}] - >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] - virtual/openssh - ssl? ( - >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] - >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] - ) - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-24.3.0-skip-dsa-tests.patch" - "${FILESDIR}/${PN}-24.3.0_p20240628-skip-py313-test.patch" - "${FILESDIR}/${PN}-24.7.0_rc1-skip-py313-tests.patch" -) - -python_prepare_all() { - # upstream test for making releases; not very useful and requires - # sphinx (including on py2) - rm src/twisted/python/test/test_release.py || die - - # multicast tests fail within network-sandbox - sed -e 's:test_joinLeave:_&:' \ - -e 's:test_loopback:_&:' \ - -e 's:test_multiListen:_&:' \ - -e 's:test_multicast:_&:' \ - -i src/twisted/test/test_udp.py || die - - distutils-r1_python_prepare_all -} - -src_test() { - # the test suite handles missing file & failing ioctl()s gracefully - # but not permission errors from sandbox - addwrite /dev/net/tun - virtx distutils-r1_src_test -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # breaks some tests by overriding empty environment - local -x SANDBOX_ON=0 - # for py3.13, see - # https://github.com/twisted/twisted/pull/12092#issuecomment-2194326096 - local -x LINES=25 COLUMNS=80 - "${EPYTHON}" -m twisted.trial -j "$(makeopts_jobs)" twisted || - die "Tests failed with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # own the dropin.cache so we don't leave orphans - > "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die - - python_doscript "${WORKDIR}"/twisted-regen-cache -} - -python_install_all() { - distutils-r1_python_install_all - - newconfd "${FILESDIR}/twistd.conf" twistd - newinitd "${FILESDIR}/twistd.init" twistd -} - -python_postinst() { - twisted-regen-cache || die -} - -pkg_postinst() { - if [[ -z ${ROOT} ]]; then - python_foreach_impl python_postinst - fi -} - -python_postrm() { - rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die -} - -pkg_postrm() { - # if we're removing the last version, remove the cache file - if [[ ! ${REPLACING_VERSIONS} ]]; then - python_foreach_impl python_postrm - fi -} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 26600075eba6..55231e7f2e4a 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -1,10 +1,15 @@ AUX tokio-tar-0.3.1-ppc.patch 794 BLAKE2B 2c1188d96310710fabe8d248be01ab5e4d30aa02fe2b4f812a79a6c9440052178227534485122643bf4ed7f32ce3bfea289d78398c53229dd825eef44de6e164 SHA512 869d98ddd3eef7f8d9a7643ec5f93c73fed7bd4f1fb73b54a9e640293e831d24ca59bdd63377b07656ae706b5bf9833dd731b0537b43e8476d8cae0f3b8ab439 +DIST pubgrub-2fac39371a47e7cb821e510aaa4de25405413d29.gh.tar.gz 86987 BLAKE2B cbb08901aca46816279ca748a2d96e841b7a570cd674e4d96ef907a968050f5919a2d41fef240bb715050cf8df7dd6755e3d7f74fc79085bfc1ac2daf0665b09 SHA512 eda3539933dab8961120f1989365f8d5b5900aac5dc22606169e3f5d726bea54d3e8179377884d581941baf6bc57c2d41590477d9d3051923504d3b67824a17f DIST pubgrub-3f0ba760951ab0deeac874b98bb18fc90103fcf7.gh.tar.gz 87050 BLAKE2B d76bc40a71ead4c535eff493901247f2ee2f0a213d12db17bf96c89008be482829ff9b0d47196bb04ffc8c20842f15a2c7a4aa663d4c3f6c3eb82461250853ce SHA512 cd55d4512590eb86628d933598bd3f276a09018dce8dd720496f4314872afe1ad8d0b79d16f1b358e4a77a8613c1d06c742117d3a2a9c39e4f34d0ccd86eb536 DIST reqwest-middleware-21ceec9a5fd2e8d6f71c3ea2999078fecbd13cbe.gh.tar.gz 39176 BLAKE2B 00b2d0f51e4bbe29649fea50a8cc41c7b4d534f87440dd0bf487e8f7104077ad2cde824673b6624ff71924512b8a6b33ed4ac548f64bfbf78a5e0fb1366a446f SHA512 29f80816d054838af330a0ccfb8509ab22469aaecdb369d4a63c03eb3ed2aea3cc113458dd29c649e5bf7c33dbf5ef8b1e5d5a89e1cca72f9eab212f000c594f +DIST rs-async-zip-011b24604fa7bc223daaad7712c0694bac8f0a87.gh.tar.gz 51706 BLAKE2B 354eb52c95ea355521e1e6a7c841102424c47c156fdb0efb62e3cac666ecf289806aeefab8a0273a7c3283429ac81502283bdb5424d5f925621e5c2b1430fd4d SHA512 6650eef354e84daf41a8572b98b29f2873b7f071dd1d6983292c70b2f580fdc50cd26762d2228a70c2b200eae2f40476e6604702aa62cc97558301195bf19eb8 DIST rs-async-zip-1dcb40cfe1bf5325a6fd4bfcf9894db40241f585.gh.tar.gz 96766 BLAKE2B f9efab73c65394e33e090a6292875ebf35e6669b15c356f102eb109784a4503606ae39106cd0ebe3d7d479cb0b30806d7baaaebf22d826836a24f7ed49100934 SHA512 3b845b05d97c5ab5cea286a7c11846838b40bb1fac98a51782600849a53231be8fa205094c6bdd00f6e193c807b10b28f947698696382be99cae0a8d681dabdc DIST uv-0.2.29-crates.tar.xz 48592012 BLAKE2B 57492ede8b970171fc00c4f07ff3e9cb39dcd8bbf52433ed966963838bb9af14bfc9fc52ef5ec7e7a01af74598f066bfb5461d683a69390256fab3b69f08360a SHA512 aef3ee357dfc66a2b04967cd4526a5f07ce09e6ea949641ef1934fb774133b93b106c8e5f255bba92fd375b3f1996b7b016682e9e8f1c9afa871781af163e095 DIST uv-0.2.29.gh.tar.gz 1468793 BLAKE2B b69397a9fa0fb855a876d5c0322c53c01c400f023bae681e9347a5dde13e5d844da06b9016af5aab7ccc1e3482f2a2004f5efcad4887291ee28c455f6198ac31 SHA512 83b34496868cdd903122140ed28d8cf4e503f7be1848ce711aa98e9019a62ce82607b9a7eba189194024f21e376f61805e42d6b8c4544ff7d1a14212e99f5bc1 DIST uv-0.2.30.gh.tar.gz 1475670 BLAKE2B f497c59a79d50d3a189621139923914dc83a230ae519c93ea5084ed0e01a1caefaa1052d0609f8583deb2192a4f5220d4df72755e7ea95ffbbe96601d56edd14 SHA512 67871699365e38c17dc7a2b10973f5e07a214c48f38187d6cf28541ca650d5107da1049aa1c9eea01ee7ba4acafb3493e175ed3246abb6b5b21838699669e5f2 +DIST uv-0.2.36-crates.tar.xz 49805804 BLAKE2B d9f71866b180e45ddad94432c5e1aad51d3ab82101899a32cb2c571882a7497cca8135f14bc6e5b6e7fc508774e81b525015a445fbda0f880f194e0cd49a4e87 SHA512 34860fc8cc17a959d9d556e25cf134f18a1e9f00f2db604a7225c1f22b6e5051e4dadb502582b3fa03b3ae1be6e4a70ebdd94c08f4a1f18baef8c44b32932123 +DIST uv-0.2.36.gh.tar.gz 2301352 BLAKE2B 93476b89a0896efa87ebf9f49e6c225750ec9cc900dde253edb6f6070cc9ac3f71c7c1f9fd81e09ebe7bb6287a5881e78a63a87c0eeb469bdf3d75f3b77f96a0 SHA512 84de22e464b8e467588ceebdda23089233d42e3080090b2fc0fd7aec2f4b76eee1788f8b23b6e7b9c4e99182ca3ea175b76fb5dedf87767fe3ec534b3264c9b6 EBUILD uv-0.2.29.ebuild 2754 BLAKE2B 5aff3fb3a5fe384d8947a55df07225802567ea20f064ca669e0f148a4b6e7136e95e3c35af2de9aabd3a4a1c14bfca5aff6a5629c6396f349e99ac9757ea10fb SHA512 678a26468a44b775f2a3940f713552eb3303b3707aaf02db1e4f523b434905b3d912031c76f05594524c641cc5108995d190b14b844d5f2ea20895eb006dac77 EBUILD uv-0.2.30.ebuild 2754 BLAKE2B 5aff3fb3a5fe384d8947a55df07225802567ea20f064ca669e0f148a4b6e7136e95e3c35af2de9aabd3a4a1c14bfca5aff6a5629c6396f349e99ac9757ea10fb SHA512 678a26468a44b775f2a3940f713552eb3303b3707aaf02db1e4f523b434905b3d912031c76f05594524c641cc5108995d190b14b844d5f2ea20895eb006dac77 +EBUILD uv-0.2.36.ebuild 2753 BLAKE2B 51ed1e74dc6dd34957f3b228e17ef2dcc145c753541af36c5b560d0ab5514bc382bb48c001431086c1413e5ca555c16739487b8484b92c4306519dfd8bebea37 SHA512 3dddc7f4dcf3de57b4b2afc5dde24e3e2894c7ccbfa6f87803ca721c13f078fad7d0cf769a05b7d0743fb60c203ec362176809a9183b5ce3a2dca37ddc95b481 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.2.36.ebuild b/dev-python/uv/uv-0.2.36.ebuild new file mode 100644 index 000000000000..742fb33a526d --- /dev/null +++ b/dev-python/uv/uv-0.2.36.ebuild @@ -0,0 +1,109 @@ +# 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;2fac39371a47e7cb821e510aaa4de25405413d29;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;21ceec9a5fd2e8d6f71c3ea2999078fecbd13cbe;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;21ceec9a5fd2e8d6f71c3ea2999078fecbd13cbe;reqwest-middleware-%commit%/reqwest-retry' +) + +inherit cargo check-reqs + +CRATE_PV=${PV} +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" + +BDEPEND=" + >=virtual/rust-1.80 + 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 + ) +" + +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 +} + +src_prepare() { + default + + # remove patch.* that breaks GIT_CRATES + sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-21ceec9a5fd2e8d6f71c3ea2999078fecbd13cbe/reqwest-middleware\" }@" Cargo.toml || die + + # https://github.com/vorot93/tokio-tar/pull/23 + # (fortunately uv already depends on portable-atomic, so we don't + # have to fight Cargo.lock) + cd "${ECARGO_VENDOR}/tokio-tar-0.3.1" || die + eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" +} + +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 + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install +} diff --git a/dev-python/uvloop/Manifest b/dev-python/uvloop/Manifest index 46aa41e3f0c4..4e3f5e032b1c 100644 --- a/dev-python/uvloop/Manifest +++ b/dev-python/uvloop/Manifest @@ -1,4 +1,6 @@ DIST uvloop-0.19.0-cython3.patch.xz 6352 BLAKE2B 4a7056299d3d430ce5b6986d43ba4f20726ae4f9635042a43e2995ea373ed53ddce6af2eaa32202f81f80a27bd1d814e635a6be091b5f751bcf6825fd2c8e88a SHA512 aeda541f1327860d23b31ffda9923270a56a8311ec86b06f3bd653478bff591372106e8848af5229e3ad298e950b4c3a728ab4dd9056219b8afe55f5dd58ee3d DIST uvloop-0.19.0.tar.gz 2318492 BLAKE2B 1c46a8bf3e204c261e3a5e60c3583b75b8b9b20086443725c42842f96ea3f6804242470aa9569f8cc74a6e3bd38b5aaa70f9a9d92b5df3e73911acc169185570 SHA512 b6ca7ba7baf61dc930bb92e35013e5abaf7a227a5e99c88ec4b58fa87a40692151d9891b81d9e514a8481df62bb9721baa789ec234dcbbb34f69e0bee489c57c +DIST uvloop-0.20.0.tar.gz 2329938 BLAKE2B c9f230b16227bc98c071e060c98b4920d919c732f20237aedb3af9eb0b21d224bcdd6bd10c77ad45d24c64c70fb7e0d3ccde6d1eb90c67c33c1671bacad2a3b0 SHA512 9597f66e735b039b3eb6ad9ae3a1e58e710e6ba38b9131384befde15795f2a5fde7d5724af0e6f4e6c335fa14605dde5d28256f05b1e36c706e851fbe3ccb46c EBUILD uvloop-0.19.0-r1.ebuild 2021 BLAKE2B fd1e66cf5f2e36fa7c8c556ca1452a5f7deb3a2c8fcf4da6e03baf9ada5c55913659e9906bd63232e0bd5d57ccfdf0d27226fbcfa7edb26713c4dcdd64f2c0ab SHA512 bda01f9c9b1c745ee3eb52e3c4f88dc3abe9d3f8e0a9432066e401ce51bc21e90a1b949f7d69a8f46412b47e2ad15dd1b17d72f2b29806e2aaabe0137f7e9456 +EBUILD uvloop-0.20.0.ebuild 2040 BLAKE2B c5f917f4fa8b1359f5fef525e2ee7004b471757a7c9074f0e6e3f85cd79480ca588e18110a829217c1b5933e3f96672ae36c50aab4fc01764286e0926a95948d SHA512 c434261e62fb8ee4c76d4e7bf4a5df8ad0a3d6845730c44949d4444fdd005944faedf1eddb9f2e2ab41402c3fa90181f7f1790b7ff0d043bf8bdec64cceff07c MISC metadata.xml 527 BLAKE2B 2db44bdfb681fcce35ef35f13155293ac3fdffa12a695b654ed8acc608cf1f769243136e66b6b2c1afd57caa7e59a66a60d34631c37a4b98a474bd0635fcbaa3 SHA512 02540835a23405c467293395fa7984741e02ca1aca75f527edd3b988d307b41db0f729d5cc0b3a826a652fb7104dec7be86a9a57f4d5646d2af87255cc2d90de diff --git a/dev-python/uvloop/uvloop-0.20.0.ebuild b/dev-python/uvloop/uvloop-0.20.0.ebuild new file mode 100644 index 000000000000..e644e65585bc --- /dev/null +++ b/dev-python/uvloop/uvloop-0.20.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" +HOMEPAGE=" + https://github.com/magicstack/uvloop/ + https://pypi.org/project/uvloop/ +" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.19.0-cython3.patch.xz" + +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv ~sparc ~x86" +LICENSE="MIT" +SLOT="0" +IUSE="examples" + +DEPEND=" + >=dev-libs/libuv-1.11.0:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-0.29.36[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-22.0.0[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${WORKDIR}"/${PN}-0.19.0-cython3.patch +) + +distutils_enable_tests pytest + +python_prepare_all() { + rm -r vendor || die + cat <<-EOF >> setup.cfg || die + [build_ext] + use_system_libuv=True + cython_always=True + EOF + + # force cythonization + rm uvloop/loop.c || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_IGNORE=( + # linting + tests/test_sourcecode.py + ) + local EPYTEST_DESELECT=( + # TODO: expects some... cython_helper? + tests/test_libuv_api.py::Test_UV_libuv::test_libuv_get_loop_t_ptr + # unhappy about sandbox injecting its envvars + tests/test_process.py::Test_UV_Process::test_process_env_2 + tests/test_process.py::Test_AIO_Process::test_process_env_2 + # hangs + tests/test_tcp.py::Test_AIO_TCPSSL::test_remote_shutdown_receives_trailing_data + # crashes on assertion + # https://github.com/MagicStack/uvloop/issues/574 + tests/test_cython.py::TestCythonIntegration::test_cython_coro_is_coroutine + # Internet + tests/test_dns.py::Test_UV_DNS::test_getaddrinfo_{8,9} + ) + + rm -rf uvloop || die + epytest -s +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} -- cgit v1.2.3