From b818f6a820dceae80d6e3faac5fdf7be0c6fcbe2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Aug 2024 14:56:14 +0100 Subject: gentoo auto-resync : 23:08:2024 - 14:56:14 --- dev-python/Manifest.gz | Bin 270691 -> 270526 bytes dev-python/boto3/Manifest | 2 + dev-python/boto3/boto3-1.35.4.ebuild | 53 ++++++ dev-python/botocore/Manifest | 2 + dev-python/botocore/botocore-1.35.4.ebuild | 76 ++++++++ dev-python/dns-lexicon/Manifest | 2 + dev-python/dns-lexicon/dns-lexicon-3.18.0.ebuild | 72 ++++++++ dev-python/oslo-log/Manifest | 2 + dev-python/oslo-log/oslo-log-6.1.2.ebuild | 52 ++++++ dev-python/pygame_sdl2/Manifest | 4 - .../files/pygame_sdl2-8.2.3-cython-3.patch | 204 --------------------- dev-python/pygame_sdl2/metadata.xml | 12 -- dev-python/pygame_sdl2/pygame_sdl2-8.2.3.ebuild | 47 ----- dev-python/pytest-order/Manifest | 2 - dev-python/pytest-order/pytest-order-1.2.0.ebuild | 48 ----- dev-python/pyyaml/Manifest | 2 +- dev-python/pyyaml/pyyaml-6.0.2.ebuild | 8 +- dev-python/pyzmq/Manifest | 2 + dev-python/pyzmq/pyzmq-26.2.0.ebuild | 84 +++++++++ dev-python/scikit-build-core/Manifest | 10 +- .../scikit-build-core-0.10.1.ebuild | 62 ------- .../scikit-build-core-0.10.2.ebuild | 62 ------- .../scikit-build-core-0.10.3.ebuild | 62 ------- .../scikit-build-core-0.10.5.ebuild | 62 +++++++ .../scikit-build-core-0.9.9.ebuild | 63 ------- dev-python/sqlglot/Manifest | 2 + dev-python/sqlglot/sqlglot-25.16.1.ebuild | 129 +++++++++++++ dev-python/uv/Manifest | 6 + dev-python/uv/files/uv-0.3.1-test.patch | 43 +++++ dev-python/uv/uv-0.3.1.ebuild | 116 ++++++++++++ 30 files changed, 711 insertions(+), 580 deletions(-) create mode 100644 dev-python/boto3/boto3-1.35.4.ebuild create mode 100644 dev-python/botocore/botocore-1.35.4.ebuild create mode 100644 dev-python/dns-lexicon/dns-lexicon-3.18.0.ebuild create mode 100644 dev-python/oslo-log/oslo-log-6.1.2.ebuild delete mode 100644 dev-python/pygame_sdl2/Manifest delete mode 100644 dev-python/pygame_sdl2/files/pygame_sdl2-8.2.3-cython-3.patch delete mode 100644 dev-python/pygame_sdl2/metadata.xml delete mode 100644 dev-python/pygame_sdl2/pygame_sdl2-8.2.3.ebuild delete mode 100644 dev-python/pytest-order/pytest-order-1.2.0.ebuild create mode 100644 dev-python/pyzmq/pyzmq-26.2.0.ebuild delete mode 100644 dev-python/scikit-build-core/scikit-build-core-0.10.1.ebuild delete mode 100644 dev-python/scikit-build-core/scikit-build-core-0.10.2.ebuild delete mode 100644 dev-python/scikit-build-core/scikit-build-core-0.10.3.ebuild create mode 100644 dev-python/scikit-build-core/scikit-build-core-0.10.5.ebuild delete mode 100644 dev-python/scikit-build-core/scikit-build-core-0.9.9.ebuild create mode 100644 dev-python/sqlglot/sqlglot-25.16.1.ebuild create mode 100644 dev-python/uv/files/uv-0.3.1-test.patch create mode 100644 dev-python/uv/uv-0.3.1.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 03845fbb42ad..19f6cd23d59a 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 7d7dadb97f75..676b07c17555 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,10 +4,12 @@ DIST boto3-1.35.0.gh.tar.gz 851637 BLAKE2B 485b17616fed53a88280aad92d2e4219d8bcb DIST boto3-1.35.1.gh.tar.gz 852178 BLAKE2B c1706b6f22fec5046ec0653a87be74113ed8031c1140efa296ce8d4d8d126da65a4dd0ce62413a078a88c4c11739a7e55a86363eca16b10e96e0344d3ad63fd2 SHA512 03a121ae24ec6b5d2a5ed869a2d7ff6cf2078c45abed09bf014dca14575b3612ffecd73e784aab74051364bb211d33871bf4f212cb603e1cbe980cd85d749629 DIST boto3-1.35.2.gh.tar.gz 852524 BLAKE2B 28a0408e2187952eb8f9f0e37de105007e6c4d0f11358c8ccc5246a8798b24f1472eaa788e3268c9e9fe9888953d6ab323e337e5d4a53179cd4bbd26c1776e89 SHA512 7b25f6ab5b29789e1b90f888f74708ade430e5c9f746346fb4ba0aa15f6ab55d892a9331d4c3e06fab5c683c2e0d7745c8adf10a6a259398f8fb88b1dafe52f1 DIST boto3-1.35.3.gh.tar.gz 853055 BLAKE2B 2dd22a7e4285574781b2c2eb9a0f706f736d892e7dff7e5846a8fcca504b29fbdc75525178395084698a7fea43e797c1aa9d29077738913a7a3855095fce424b SHA512 98ce858ea952ffb7070b626b6b53edfa2f6ba0ad8f9d3cde784fc4cca8fd2586c0c7934a41527d8623482a3f787dc43f479ad1e16aa3ecd48beba30c0f5e236e +DIST boto3-1.35.4.gh.tar.gz 853655 BLAKE2B f2356cf47b5460499b324f0241cae4faa0a206d3e046803c5c5d3085deefbaabeebdd57ea645627daa967c0e8e1c29f0e741ba44240a6ce0e49c7e3cd5d4139f SHA512 31efa31f05729010c48c7b0b1a4baeecc3d5467916242d2d56e78109bc79580bade2d42693e6eb25f1924a595c4d29968cfe53e6967bd507c43ca65438b8b9c4 EBUILD boto3-1.34.153.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.34.158.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.0.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.1.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.2.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.3.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.4.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.4.ebuild b/dev-python/boto3/boto3-1.35.4.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.4.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 328b60593d23..490edfaa74ea 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,10 +4,12 @@ DIST botocore-1.35.0.gh.tar.gz 13294975 BLAKE2B a0cbafd1b0da5cd7150ea7a2e21b1209 DIST botocore-1.35.1.gh.tar.gz 13301129 BLAKE2B 70c99036e54331a63107c5c031cd32c59150ef2aa6fd9bf90bb4fe2a8d7eaed38d0a7df96c0ac1b973a14490e061e63e04dba873382cb2d69cbe2bf8b312a765 SHA512 92e4e6081bb7ee491acdc92356a2e661af02bb4b1a73d372dcdb1de913d89adfe0a1b3b16b1d4754e79601f051b4d2fab54d7512f3ca9d972b2256811cc704f0 DIST botocore-1.35.2.gh.tar.gz 13303549 BLAKE2B a93f708264e5d4332d4a63b11e57ea9575913e09cd5e2f0a23d050625e185f985c56bdc2652f2362bbdd037a74d2229c3998185cc96ba468bf2669f2dac4d773 SHA512 7f2309967c6c18445d122164d84951e7d602253388967dcf517e3b6bebe3a262eb0473181ce9145aefefefc2e9456aac05b321ec1b59fa08c162fced85a7dfe2 DIST botocore-1.35.3.gh.tar.gz 13297160 BLAKE2B 930687ad4c327ab4aa964abf5b39729f766db5585e233d26635f02891c1e57f2c49ef3ee4029f4144757256f80038e196e02a5b98ebe4f344b78b8ecd38a52a1 SHA512 f65c211698d904db43605be3b979ab2c5a84219ae96cdd20ed0e044b9a6040cbb79a656c64c0396ba75cc5d7625255786596e629f4465088da0f5c143337199c +DIST botocore-1.35.4.gh.tar.gz 13300517 BLAKE2B e965ae2b82f85f47b89cff92efe40970696f70ff0ddd5dc12722f933da71218a97e9a38cbf9d6c0f54fbbcb7f9068aeca6d1a2436f4e1b84c01ea28bd2cbd6c5 SHA512 d617a2ddc45a7e651f2983edf315ffa9ddbe37769e5c01953b5908f2c87f1167df966ece8fa7e649833dd3f3ea38a5f4ecf9a2b0a9f16103b311c73e4219b598 EBUILD botocore-1.34.153.ebuild 1665 BLAKE2B 1171f3bdcbe2eada97adf58c2011691cb51300028737903ec51e9fea4d80943dc3e199f4a1671be350ca2cf921e5dbdd4e7c8ca4658261143646cf9c0c82f522 SHA512 db8027472dcb87b167d63ed89910783e104513361b9191f5e2e2928a2904493c22d9629aa206f61206c4f29c6a9c43e8208c57a9b9bf99b031101b915d326674 EBUILD botocore-1.34.158.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.0.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.1.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.2.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.3.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d +EBUILD botocore-1.35.4.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.4.ebuild b/dev-python/botocore/botocore-1.35.4.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.4.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/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index 0066ff62b35c..e956d28b7741 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -1,3 +1,5 @@ DIST dns-lexicon-3.17.0.gh.tar.gz 6200497 BLAKE2B 8f423d4d44517b3186ec7f5cfc5d1e0560d4c98360f8a9d6caab429e0b0e5abe8ee42545b0d7c4cdaf1e2a6a9af41b095198144fda386a207f4f98c7693bb2ba SHA512 1bc182f5881d6acfac72b84331ba50da1219178d274c92e532ed11e73aa79696681d28a002cd1e23f48590953f48e50b62c2ef2db020a07ecf88547717508c0c +DIST dns-lexicon-3.18.0.gh.tar.gz 6216871 BLAKE2B df41467a253cf56c2dd5c127c431973fc80bdca4c174fe84649227d897d7b4612219ca5dc2ad66ae7dc75f626ddfd32aaa950b5cea699bfbb7f05c9a5bda7f40 SHA512 da2804caeef6cd96eb53f7414833757905afa269f328271fccbdb06d988fb46695a0cb917b8dbdfb66579b01cc98d07de8eb7e1cb132c47d49fe05e2ebe18127 EBUILD dns-lexicon-3.17.0.ebuild 1924 BLAKE2B 41798b1959d4a3a17e5c5cd419a17b14be30bcae2891195960a590cb0551c1d887e8f578d0222269778f8447155d9261624da3f52415b3618bf02e72be505a28 SHA512 5f1af9baf10e1667a85ba149ceb49bac966f7a9d213e855e63932a26c4c06c9771a4934e70e5041a2194b898981ff2b5701b65c471bf58c73455f8d26b218553 +EBUILD dns-lexicon-3.18.0.ebuild 1820 BLAKE2B 7a902395cd6533d84bb73f4f440d0be8e184ae8c1145daf7585ab5b8e330679eab6bced829d90c81b8620bb567d4892ce53210de3a0a27d822a3bbfd6e98a8e0 SHA512 7007f9c18caa2c642c7a2a1770a45189c30743840016a2b3bcd9d325ce37e62e05b70eb478a7244fe719d36c9078e85d51afd73580b4b1b8ea07e15f64a99f20 MISC metadata.xml 541 BLAKE2B a22266eac0bc7b4c22d9552cf64cbf88bbc1c2953e3ef0daaf059b81519909e0f8808e0d74cec6db3296e43f98082d57b8ae3779d694432e8578112ac18c3ea6 SHA512 79e2b43a685bfcc8dace1faa1c1a08cc648b39a3fef2834a57b6e801f72e7309276604253089db7a2fbe1d5d776b2ba1427c90a9cb9c44a0c1b2812d4e1901db diff --git a/dev-python/dns-lexicon/dns-lexicon-3.18.0.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.18.0.ebuild new file mode 100644 index 000000000000..aa26fc580959 --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.18.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way" +HOMEPAGE=" + https://github.com/AnalogJ/lexicon/ + https://pypi.org/project/dns-lexicon/ +" +SRC_URI=" + https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/lexicon-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + >=dev-python/pyotp-2[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tldextract[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/boto3-1.25[${PYTHON_USEDEP}] + dev-python/zeep[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO + tests/test_client.py::test_client_init_when_missing_action_should_fail +) + +EPYTEST_IGNORE=( + # Requires the "localzone" module + tests/providers/test_localzone.py + # Requires the "softlayer" module + tests/providers/test_softlayer.py + # Requires the "transip" module + tests/providers/test_transip.py + # Requires the "oci" module + tests/providers/test_oci.py + # Uses tldextract which needs Internet access to download its database + tests/providers/test_auto.py +) + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + optfeature_header \ + "Install the following packages to enable support for additional DNS providers:" + optfeature Gransy dev-python/zeep + optfeature Route53 dev-python/boto3 + optfeature DDNS dev-python/dnspython + fi +} diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest index 980c5eaf783c..7d207f0aac3a 100644 --- a/dev-python/oslo-log/Manifest +++ b/dev-python/oslo-log/Manifest @@ -1,4 +1,6 @@ AUX oslo-log-6.1.0-py313.patch 1154 BLAKE2B d43a43de9f9053ac1cee4c3db4946f73a76d6890c9ac90ef78ec2f66c2db164aff91c423151f05c7897773d2ffc68387d84d2cd771b2daec22ca722d10e73134 SHA512 8b9d621eebb9a0e53817a3d4a8905c3730f1d7fc9cc326358367ec7014be105bd8003152d1bc87e9a5f2eca91da804069a0f632b3db6b6d0ff13995bca11e22a DIST oslo.log-6.1.1.tar.gz 95558 BLAKE2B 04897e2f568dc634ee49a0980aa19ebd967dfb758840bdf3029c52d00481492ee43b7dc93a427de2c61edf8ef2f7819344263c282068acec835ea8c669d9e0a0 SHA512 2e5692dd3b59711139a3e049e5f167c456a6779f6eacb540d70ae7f2347062d6d635e5f9fa893919205b842958bcb3767e8a644466b06928623f8a569f2274e8 +DIST oslo.log-6.1.2.tar.gz 95653 BLAKE2B 2cbac1274b8409faeefe2dc1d070acb264a9f1089369eb11bd16dd2f62d978f060c4845b76e38fb9c18cd832d06f18ecfc60098adc28cd98693271d1584b1816 SHA512 5eaf8ac49a7658e60116cea20207687050c911e2d93361942fd33d4bc321f67e4cb48d47e15faba95e0e31f945b5d6b46442ae8b2d39c8603879677e8f2dad09 EBUILD oslo-log-6.1.1.ebuild 1466 BLAKE2B 17c71332eacafeee33cfaa6052bc441c30e9f5df20c161acf38f6117e7c458e1182ebea6b51ab367e249ffe527014f289c30dc036cdb597cfab455c81779e8c9 SHA512 dad74b199cf34538adbd7c78370b6249cf55fa29d374c08b6a7f2db5a1e457384a4156d38e4c6e1fd5c47c864c4d789f873358d45172df20317a10cbc71d4a57 +EBUILD oslo-log-6.1.2.ebuild 1357 BLAKE2B a429d40adb1544469364dbe24ee737547f66a60680e35b398ad8c346ef59217031a905a8cdb7c57ffb39725d505f18c011e65b2a9f95d582d9a47a007c243f5c SHA512 6e3b3ab40612857423a4f5a13a03513ae276baec5f19c3d337223b2b261dee02b21638296a3395ac1e7ae99b9a0a70c9dca9363018d5ef58840690b317c2d6fe MISC metadata.xml 914 BLAKE2B 47a0937cefc2cc4c8c4300f4aae699a42c5d659cb6017aa01b87aca14bdcb9f47256c3417cc0178999c452a35ebccd915b020b537a4d688d1d00664b7be1332d SHA512 dfeb43d43608a56c60e62046f1fbef6c6cc794431917d7734caf0b3afb5d1b761c1a04ee01ab0fc4d6051c39a984d6edb25663dae2cf94354192d5f2b8abd6e7 diff --git a/dev-python/oslo-log/oslo-log-6.1.2.ebuild b/dev-python/oslo-log/oslo-log-6.1.2.ebuild new file mode 100644 index 000000000000..771fcebe9837 --- /dev/null +++ b/dev-python/oslo-log/oslo-log-6.1.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenStack logging config library, configuration for all openstack projects" +HOMEPAGE=" + https://opendev.org/openstack/oslo.log/ + https://github.com/openstack/oslo.log/ + https://pypi.org/project/oslo.log/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-7.1.0-r1[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.25.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + test? ( + >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest +distutils_enable_sphinx doc/source \ + dev-python/openstackdocstheme \ + dev-python/oslo-config + +src_test() { + # requires eventlet + rm oslo_log/tests/unit/test_pipe_mutex.py || die + + distutils-r1_src_test +} diff --git a/dev-python/pygame_sdl2/Manifest b/dev-python/pygame_sdl2/Manifest deleted file mode 100644 index 35651b5d3459..000000000000 --- a/dev-python/pygame_sdl2/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX pygame_sdl2-8.2.3-cython-3.patch 8237 BLAKE2B cab1b5207abff7a560e30e4944039dba4c31f67255e529e389b18b89cb155c2a8d9b88c8b73e5a4ff19c45a4905a2f1089723182314450b57f2f80f3d52bbc3e SHA512 9d26bbb1832987b8938f7efda2ee1be1c7d230e04c0866e98d4e1faaab7c112648795a505276a850bab56eed1b8a23378319f24512898036e6f54b6ccd157d06 -DIST pygame_sdl2-2.1.0+renpy8.2.3.tar.gz 4270114 BLAKE2B ae70253fc717334e65c438d36bd2991c909ee64c6b47f9c175fd53c1567ea54d2a42ea65cda85560387e744ff792b34658d393f3018d2941e5111efba064236a SHA512 9b3ae71a648511f243d235ba5e81661dde5d0871a4517494f2789c20f95e110305e42bdb635308165cf3985d1096b296a16140c03cbd446db17997c05025b8e3 -EBUILD pygame_sdl2-8.2.3.ebuild 1159 BLAKE2B ed67c49ea1ad9e47844d03a1bd290f86bb7b02246a0e15a9d16716a230cb1339b961263ca80ba59848903010439d2e00128c2f627bbd74891e57cb0aea519d3a SHA512 52b475d31df0e50b56f1e6313802289bacbd039de054f4dde27794f3eaffea35f1eac65c42850bab08e2d6b0c3ab042604fac0dfd7d292e7f0f8cc73a1d13590 -MISC metadata.xml 382 BLAKE2B 0456a0211bf9f5497ae588dcb47ed34d99f08b7600d135a4591e10c8ce8a7349c816c53ea4e800070afd065821aabf22a70e7482402947f2d1801c3250d62d12 SHA512 dd3d1bfe08a30dedf0da22a02e2a3f3e8d38ebd59b2c122b26486b6891ac7459a06368fc55bbce6b243880367110b1b908bd796a17feededf3b1d8b4c9363278 diff --git a/dev-python/pygame_sdl2/files/pygame_sdl2-8.2.3-cython-3.patch b/dev-python/pygame_sdl2/files/pygame_sdl2-8.2.3-cython-3.patch deleted file mode 100644 index 2011eadfbffb..000000000000 --- a/dev-python/pygame_sdl2/files/pygame_sdl2-8.2.3-cython-3.patch +++ /dev/null @@ -1,204 +0,0 @@ -diff '--color=auto' -Naurd pygame_sdl2-2.1.0+renpy8.2.3.orig/src/pygame_sdl2/mixer_music.pyx pygame_sdl2-2.1.0+renpy8.2.3/src/pygame_sdl2/mixer_music.pyx ---- pygame_sdl2-2.1.0+renpy8.2.3.orig/src/pygame_sdl2/mixer_music.pyx 2015-04-04 18:05:58.000000000 +0300 -+++ pygame_sdl2-2.1.0+renpy8.2.3/src/pygame_sdl2/mixer_music.pyx 2024-08-20 23:31:04.313616957 +0300 -@@ -27,7 +27,7 @@ - cdef object queued_music = None - cdef int endevent = 0 - --cdef void music_finished(): -+cdef void music_finished() noexcept: - global queued_music - if queued_music: - load(queued_music) -diff '--color=auto' -Naurd pygame_sdl2-2.1.0+renpy8.2.3.orig/src/pygame_sdl2/mixer.pyx pygame_sdl2-2.1.0+renpy8.2.3/src/pygame_sdl2/mixer.pyx ---- pygame_sdl2-2.1.0+renpy8.2.3.orig/src/pygame_sdl2/mixer.pyx 2019-04-03 08:15:40.000000000 +0300 -+++ pygame_sdl2-2.1.0+renpy8.2.3/src/pygame_sdl2/mixer.pyx 2024-08-20 23:27:49.115394156 +0300 -@@ -57,7 +57,7 @@ - Mix_PlayChannelTimed(channel, next_sound.chunk, 0, -1) - - --cdef void channel_callback(int channel) with gil: -+cdef void channel_callback(int channel) noexcept with gil: - - cdef int etype = 0 - cdef SDL_Event e -diff '--color=auto' -Naurd pygame_sdl2-2.1.0+renpy8.2.3.orig/src/pygame_sdl2/rwobject.pyx pygame_sdl2-2.1.0+renpy8.2.3/src/pygame_sdl2/rwobject.pyx ---- pygame_sdl2-2.1.0+renpy8.2.3.orig/src/pygame_sdl2/rwobject.pyx 2024-01-29 06:06:06.000000000 +0300 -+++ pygame_sdl2-2.1.0+renpy8.2.3/src/pygame_sdl2/rwobject.pyx 2024-08-20 23:22:53.081539270 +0300 -@@ -63,7 +63,7 @@ - msg = e - SDL_SetError("%s", msg) - --cdef Sint64 python_size(SDL_RWops *context) with gil: -+cdef Sint64 python_size(SDL_RWops *context) noexcept with gil: - f = context.hidden.unknown.data1 - - try: -@@ -76,7 +76,7 @@ - - return rv - --cdef Sint64 python_seek(SDL_RWops *context, Sint64 seek, int whence) with gil: -+cdef Sint64 python_seek(SDL_RWops *context, Sint64 seek, int whence) noexcept with gil: - f = context.hidden.unknown.data1 - - try: -@@ -88,7 +88,7 @@ - - return rv - --cdef size_t python_read(SDL_RWops *context, void *ptr, size_t size, size_t maxnum) with gil: -+cdef size_t python_read(SDL_RWops *context, void *ptr, size_t size, size_t maxnum) noexcept with gil: - f = context.hidden.unknown.data1 - - try: -@@ -100,7 +100,7 @@ - memcpy(ptr, data, len(data)) - return len(data) - --cdef size_t python_write(SDL_RWops *context, const void *ptr, size_t size, size_t maxnum) with gil: -+cdef size_t python_write(SDL_RWops *context, const void *ptr, size_t size, size_t maxnum) noexcept with gil: - f = context.hidden.unknown.data1 - data = ( ptr)[:size * maxnum] - -@@ -112,7 +112,7 @@ - - return len(data) - --cdef int python_close(SDL_RWops *context) with gil: -+cdef int python_close(SDL_RWops *context) noexcept with gil: - if context != NULL: - if context.hidden.unknown.data1 != NULL: - f = context.hidden.unknown.data1 -@@ -135,11 +135,11 @@ - Sint64 length - Sint64 tell - --cdef Sint64 subfile_size(SDL_RWops *context) nogil: -+cdef Sint64 subfile_size(SDL_RWops *context) noexcept nogil: - cdef SubFile *sf = context.hidden.unknown.data1 - return sf.length - --cdef Sint64 subfile_seek(SDL_RWops *context, Sint64 seek, int whence) nogil: -+cdef Sint64 subfile_seek(SDL_RWops *context, Sint64 seek, int whence) noexcept nogil: - cdef SubFile *sf = context.hidden.unknown.data1 - - if whence == RW_SEEK_SET: -@@ -151,7 +151,7 @@ - - return sf.tell - --cdef size_t subfile_read(SDL_RWops *context, void *ptr, size_t size, size_t maxnum) nogil: -+cdef size_t subfile_read(SDL_RWops *context, void *ptr, size_t size, size_t maxnum) noexcept nogil: - cdef SubFile *sf = context.hidden.unknown.data1 - - cdef Sint64 left = sf.length - sf.tell -@@ -170,7 +170,7 @@ - - return rv - --cdef int subfile_close(SDL_RWops *context) nogil: -+cdef int subfile_close(SDL_RWops *context) noexcept nogil: - cdef SubFile *sf - - if context != NULL: -@@ -191,13 +191,13 @@ - Sint64 split - Sint64 tell - --cdef Sint64 splitfile_size(SDL_RWops *context) nogil: -+cdef Sint64 splitfile_size(SDL_RWops *context) noexcept nogil: - cdef SplitFile *sf = context.hidden.unknown.data1 - cdef Sint64 rv - - return SDL_RWsize(sf.a) + SDL_RWsize(sf.b) - --cdef Sint64 splitfile_seek(SDL_RWops *context, Sint64 seek, int whence) nogil: -+cdef Sint64 splitfile_seek(SDL_RWops *context, Sint64 seek, int whence) noexcept nogil: - cdef SplitFile *sf = context.hidden.unknown.data1 - cdef Sint64 rv - -@@ -220,7 +220,7 @@ - else: - return sf.tell - --cdef size_t splitfile_read(SDL_RWops *context, void *ptr, size_t size, size_t maxnum) nogil: -+cdef size_t splitfile_read(SDL_RWops *context, void *ptr, size_t size, size_t maxnum) noexcept nogil: - cdef SplitFile *sf = context.hidden.unknown.data1 - cdef Sint64 left = splitfile_size(context) - sf.tell - cdef size_t rv -@@ -251,7 +251,7 @@ - - return (left_read + right_read) // size - --cdef int splitfile_close(SDL_RWops *context) nogil: -+cdef int splitfile_close(SDL_RWops *context) noexcept nogil: - cdef SplitFile *sf - - if context != NULL: -@@ -274,12 +274,12 @@ - Uint8 *here - Uint8 *stop - --cdef Sint64 buffile_size(SDL_RWops *context) nogil: -+cdef Sint64 buffile_size(SDL_RWops *context) noexcept nogil: - cdef BufFile *bf = context.hidden.unknown.data1 - - return bf.stop - bf.base - --cdef Sint64 buffile_seek(SDL_RWops *context, Sint64 offset, int whence) nogil: -+cdef Sint64 buffile_seek(SDL_RWops *context, Sint64 offset, int whence) noexcept nogil: - cdef BufFile *bf = context.hidden.unknown.data1 - - cdef Uint8 *newpos -@@ -302,7 +302,7 @@ - - return bf.here - bf.base - --cdef size_t buffile_read(SDL_RWops *context, void *ptr, size_t size, size_t maxnum) nogil: -+cdef size_t buffile_read(SDL_RWops *context, void *ptr, size_t size, size_t maxnum) noexcept nogil: - cdef BufFile *bf = context.hidden.unknown.data1 - cdef size_t total_bytes = 0 - cdef size_t mem_available = 0 -@@ -320,7 +320,7 @@ - - return (total_bytes // size) - --cdef size_t buffile_write(SDL_RWops *context, const void *ptr, size_t size, size_t num) nogil: -+cdef size_t buffile_write(SDL_RWops *context, const void *ptr, size_t size, size_t num) noexcept nogil: - cdef BufFile *bf = context.hidden.unknown.data1 - - if bf.view.readonly != 0: -@@ -333,7 +333,7 @@ - - return num - --cdef int buffile_close(SDL_RWops *context) with gil: -+cdef int buffile_close(SDL_RWops *context) noexcept with gil: - cdef BufFile *bf - - if context != NULL: -diff '--color=auto' -Naurd pygame_sdl2-2.1.0+renpy8.2.3.orig/src/pygame_sdl2/surface.pyx pygame_sdl2-2.1.0+renpy8.2.3/src/pygame_sdl2/surface.pyx ---- pygame_sdl2-2.1.0+renpy8.2.3.orig/src/pygame_sdl2/surface.pyx 2023-03-30 06:10:16.000000000 +0300 -+++ pygame_sdl2-2.1.0+renpy8.2.3/src/pygame_sdl2/surface.pyx 2024-08-20 23:23:41.720844257 +0300 -@@ -34,7 +34,7 @@ - int pygame_Blit (SDL_Surface * src, SDL_Rect * srcrect, - SDL_Surface * dst, SDL_Rect * dstrect, int the_args); - --cdef void move_pixels(Uint8 *src, Uint8 *dst, int h, int span, int srcpitch, int dstpitch) nogil: -+cdef void move_pixels(Uint8 *src, Uint8 *dst, int h, int span, int srcpitch, int dstpitch) noexcept nogil: - if src < dst: - src += (h - 1) * srcpitch; - dst += (h - 1) * dstpitch; -diff '--color=auto' -Naurd pygame_sdl2-2.1.0+renpy8.2.3.orig/src/pygame_sdl2/transform.pyx pygame_sdl2-2.1.0+renpy8.2.3/src/pygame_sdl2/transform.pyx ---- pygame_sdl2-2.1.0+renpy8.2.3.orig/src/pygame_sdl2/transform.pyx 2015-08-13 03:31:25.000000000 +0300 -+++ pygame_sdl2-2.1.0+renpy8.2.3/src/pygame_sdl2/transform.pyx 2024-08-20 23:24:30.513150042 +0300 -@@ -119,7 +119,7 @@ - p += x - return p[0] - --cdef void set_at(SDL_Surface *surf, int x, int y, uint32_t color) nogil: -+cdef void set_at(SDL_Surface *surf, int x, int y, uint32_t color) noexcept nogil: - cdef uint32_t *p = surf.pixels - p += y * (surf.pitch // sizeof(uint32_t)) - p += x diff --git a/dev-python/pygame_sdl2/metadata.xml b/dev-python/pygame_sdl2/metadata.xml deleted file mode 100644 index ca10416f8e59..000000000000 --- a/dev-python/pygame_sdl2/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - bircoph@gentoo.org - Andrew Savchenko - - - renpy/pygame_sdl2 - pygame_sdl2 - - diff --git a/dev-python/pygame_sdl2/pygame_sdl2-8.2.3.ebuild b/dev-python/pygame_sdl2/pygame_sdl2-8.2.3.ebuild deleted file mode 100644 index 44da5ea76b34..000000000000 --- a/dev-python/pygame_sdl2/pygame_sdl2-8.2.3.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{10..13} ) -inherit distutils-r1 - -MY_P="${PN}-2.1.0+renpy${PV}" - -DESCRIPTION="Reimplementation of portions of the pygame API using SDL2" -HOMEPAGE="https://github.com/renpy/pygame_sdl2" -SRC_URI="https://www.renpy.org/dl/${PV}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2.1 ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PATCHES=( "${FILESDIR}/${PN}-8.2.3-cython-3.patch" ) - -# /dev/null || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # timing, sigh + # https://github.com/tobymao/sqlglot/issues/3961 + tests/test_generator.py::TestGenerator::test_generate_nested_binary + ) + 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/uv/Manifest b/dev-python/uv/Manifest index 0d8e0de02231..55af35d93839 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -1,7 +1,10 @@ AUX tokio-tar-0.3.1-ppc.patch 794 BLAKE2B 2c1188d96310710fabe8d248be01ab5e4d30aa02fe2b4f812a79a6c9440052178227534485122643bf4ed7f32ce3bfea289d78398c53229dd825eef44de6e164 SHA512 869d98ddd3eef7f8d9a7643ec5f93c73fed7bd4f1fb73b54a9e640293e831d24ca59bdd63377b07656ae706b5bf9833dd731b0537b43e8476d8cae0f3b8ab439 +AUX uv-0.3.1-test.patch 2052 BLAKE2B d31854e8bc0b1295d8c4f7a6a40eaf9a0d7da370bf5bb27a96c24fc9e19b1babdcd853674d4548b30aac28d1f990485492f6f85c6efd4b87031a12e40d98a5d2 SHA512 dda0fd32612c60799cffe7de19c85d66d358e1aaab6a88cbfd085fa9bf7219e1bc80c9ebed687081ed3975a8bd8a38662d2195938f94b64fccaa8c62682ff1b2 DIST pubgrub-2fac39371a47e7cb821e510aaa4de25405413d29.gh.tar.gz 86987 BLAKE2B cbb08901aca46816279ca748a2d96e841b7a570cd674e4d96ef907a968050f5919a2d41fef240bb715050cf8df7dd6755e3d7f74fc79085bfc1ac2daf0665b09 SHA512 eda3539933dab8961120f1989365f8d5b5900aac5dc22606169e3f5d726bea54d3e8179377884d581941baf6bc57c2d41590477d9d3051923504d3b67824a17f DIST pubgrub-3f0ba760951ab0deeac874b98bb18fc90103fcf7.gh.tar.gz 87050 BLAKE2B d76bc40a71ead4c535eff493901247f2ee2f0a213d12db17bf96c89008be482829ff9b0d47196bb04ffc8c20842f15a2c7a4aa663d4c3f6c3eb82461250853ce SHA512 cd55d4512590eb86628d933598bd3f276a09018dce8dd720496f4314872afe1ad8d0b79d16f1b358e4a77a8613c1d06c742117d3a2a9c39e4f34d0ccd86eb536 +DIST pubgrub-aaef464c1b0d8eea4ff9ffaee4f3458c236d10da.gh.tar.gz 87820 BLAKE2B a73f6a3b14fcfccd61ba753e16dfdd38c2424e9608b4e177440b50461b5a2886da7982a73abdc3c8b76ad6c796f96906d2db131425aac5c036ff63d0ccb2b644 SHA512 feec9955227f75e7a914af9b0197b2aae13e5d2e4bba9df1328ba7fe6e0edb9b508ffdbe9f6c7ff8e88d3c7a355964c10186776f4c4ec436689cebbcd92e8f07 DIST reqwest-middleware-21ceec9a5fd2e8d6f71c3ea2999078fecbd13cbe.gh.tar.gz 39176 BLAKE2B 00b2d0f51e4bbe29649fea50a8cc41c7b4d534f87440dd0bf487e8f7104077ad2cde824673b6624ff71924512b8a6b33ed4ac548f64bfbf78a5e0fb1366a446f SHA512 29f80816d054838af330a0ccfb8509ab22469aaecdb369d4a63c03eb3ed2aea3cc113458dd29c649e5bf7c33dbf5ef8b1e5d5a89e1cca72f9eab212f000c594f +DIST reqwest-middleware-5e3eaf254b5bd481c75d2710eed055f95b756913.gh.tar.gz 40049 BLAKE2B d284947a108e2d3233a4fa7c9eb5e1a959bc5b569e754861daef076672672b0500cb737b85871d1fc0587bdbf6d5020e03e7c906cb5de34ff2f81c05b66918d1 SHA512 540a71e59a8b57e5e0bd7fad18fed265552bdae4518690a9823c94dcf23ee1d436f91b9cecf21129917b25e78b91d8d7290760edaea68053666e28af7223476e 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 @@ -9,7 +12,10 @@ DIST uv-0.2.29.gh.tar.gz 1468793 BLAKE2B b69397a9fa0fb855a876d5c0322c53c01c400f0 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 +DIST uv-0.3.1-crates.tar.xz 50235904 BLAKE2B 9deb7ee2d99786dbec4b91c020bab2d32fdb696c39ea35b42e8c2380d563c756e1a7044372b1e9cc82d82e18b8c3bebd19cb7c71bccb6bd3f01ae294f2c1878d SHA512 438e1d7cc94bd1214f6fe77852a9d4ec6a1a69561cc16c175ba22f9d1840021d41c8735079f522c29beaf17ac883ecbd9805d4f15e0845483bfede634e40413b +DIST uv-0.3.1.gh.tar.gz 2400493 BLAKE2B e094acd1753e66beee369f6931b520a53515364774a1affb45c57f9eaeeb19cfc5fce8f40725173dd0d43fe664cfd55b904eb6de585c809aaab5ae6c54db7901 SHA512 145b3926e7fb0e4d14eecf6140e16a59afaf4a34a3881d8798bf87144849bd5b47b5100ed479eaf8c0e4675d1cbfb6bee509f20d1e24d25605f4dd4b2be8b24d 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 2806 BLAKE2B 2a29fb6744f816cc93be6cc76e21e1943ec653f48d42da606c534e4d35e3b3eb9a03e7d2adfc52cc44c99bb3284075d263297e83e00537c5b6851dedaa7ef804 SHA512 112739818e71c2b471477c0eeaf4f95cf568d471cf896a06bb0008a9cb0f1ad804024fbe8b5dcdc3ad5e6992e98039d5dc9f89b6fc4b7327d4ce4401be0eac0c +EBUILD uv-0.3.1.ebuild 2904 BLAKE2B aa32f84399ab54f917b78d00b50bc093c37a54e91cfab10c969aeb3c710b51deb940645ec4d4253c039d970a93ad796c817ff989d651b1abd1c7b7ae9e210984 SHA512 dc1b7b9fdccde83aae15dd4307d85aa010e82d7769d687adb2576a4c93e967b37099734a6cb80071a6497733a8b2069f71d5a25abe45a6067286829b48dd8339 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/files/uv-0.3.1-test.patch b/dev-python/uv/files/uv-0.3.1-test.patch new file mode 100644 index 000000000000..bd5ccaa40fe0 --- /dev/null +++ b/dev-python/uv/files/uv-0.3.1-test.patch @@ -0,0 +1,43 @@ +From 783eaf5963b22d2d47c1a3ece7e022ee4f85b29d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Thu, 22 Aug 2024 07:34:21 +0200 +Subject: [PATCH] Mark emit_marker_expression* tests as requiring python-patch + +Mark the new tests requiring Python 3.12.1 specifically as requiring +python-patch feature. This makes the test suite pass again on systems +not having this specific version (and disabling the feature). +--- + crates/uv/tests/pip_compile.rs | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/crates/uv/tests/pip_compile.rs b/crates/uv/tests/pip_compile.rs +index 7b6af57dbd44..ef87fbc5cafc 100644 +--- a/crates/uv/tests/pip_compile.rs ++++ b/crates/uv/tests/pip_compile.rs +@@ -9974,7 +9974,7 @@ fn dynamic_dependencies() -> Result<()> { + /// Since this test was developed on Linux, the marker expression generated is + /// coupled with the Linux platform. Other tests for other platforms could be + /// added. +-#[cfg(target_os = "linux")] ++#[cfg(all(target_os = "linux", feature = "python-patch"))] + #[test] + fn emit_marker_expression_exciting_linux() -> Result<()> { + let context = TestContext::new("3.12.1"); +@@ -10011,7 +10011,7 @@ fn emit_marker_expression_exciting_linux() -> Result<()> { + /// + /// NOTE: This test runs on `linux` only because it requires that `sys_platform + /// == 'linux'` evaluates to `true`. +-#[cfg(target_os = "linux")] ++#[cfg(all(target_os = "linux", feature = "python-patch"))] + #[test] + fn emit_marker_expression_direct() -> Result<()> { + let context = TestContext::new("3.12.1"); +@@ -10091,7 +10091,7 @@ fn emit_marker_expression_conditional() -> Result<()> { + /// not clear why. The `tzdata` dependency appears to be an unconditional + /// dependency. And if anything, I'd expect it to be included on Windows and + /// excluded everywhere else... Odd.) +-#[cfg(target_os = "linux")] ++#[cfg(all(target_os = "linux", feature = "python-patch"))] + #[test] + fn emit_marker_expression_pypy() -> Result<()> { + let context = TestContext::new("3.12.1"); diff --git a/dev-python/uv/uv-0.3.1.ebuild b/dev-python/uv/uv-0.3.1.ebuild new file mode 100644 index 000000000000..8fbaceba01a6 --- /dev/null +++ b/dev-python/uv/uv-0.3.1.ebuild @@ -0,0 +1,116 @@ +# 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;aaef464c1b0d8eea4ff9ffaee4f3458c236d10da;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;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() { + local PATCHES=( + # https://github.com/astral-sh/uv/pull/6411 + "${FILESDIR}/${P}-test.patch" + ) + + default + + # remove patch.* that breaks GIT_CRATES + local reqmw=${GIT_CRATES[reqwest-middleware]} + reqmw=${reqmw#*;} + reqmw=${reqmw%;*} + sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" Cargo.toml || die + + # 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 +} -- cgit v1.2.3