diff options
| author | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-12-31 07:30:51 +0000 |
|---|---|---|
| committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-12-31 07:30:51 +0000 |
| commit | 9d8ad4bf970641d3703c88149d438c2b0f1c3d9e (patch) | |
| tree | cff57b8e67cd74210027162e287849dd62ed652e /dev-python | |
| parent | 53829da10c2dc875a944ed9bdbba7b50bfa49386 (diff) | |
| parent | 0a1613d561e1dd927a6208775ee07bcdad8201b1 (diff) | |
| download | gentoo-9d8ad4bf970641d3703c88149d438c2b0f1c3d9e.tar.gz gentoo-9d8ad4bf970641d3703c88149d438c2b0f1c3d9e.tar.bz2 gentoo-9d8ad4bf970641d3703c88149d438c2b0f1c3d9e.zip | |
Merge updates from master
Diffstat (limited to 'dev-python')
20 files changed, 457 insertions, 41 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 177837befa1e..e73eb8b639ea 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,5 +6,6 @@ DIST boto3-1.42.15.gh.tar.gz 1064569 BLAKE2B 80f4bcdbc981f2d16f6b220086537bbf57c DIST boto3-1.42.16.gh.tar.gz 1064829 BLAKE2B 315e8cec75fbc8d596fb41535cec5e9a7aff67bcc24df20d8a2ad0dbb9b8b2dde2238227f3fcfe47ce3244ce72182231de96396089adcd19802304fa0489ca35 SHA512 93ea18662be155e3bfb055f8e577ec42b84eb287cc62d7fb9fcdfdfb8c4db05b8e6c16e488f22cf7f66232fc86186e75d9c7511fe893b9eab32e9ae4685aa6d5 DIST boto3-1.42.17.gh.tar.gz 1067041 BLAKE2B 74c4adba3da630a0b8ccde824f1e96327299631b0ad54b47476ec8412a8d2a809b1aa7282c518b9c1e1d0913a96603a9feeb44da9cd5deb5d6852adbf1c0edba SHA512 f2c3ff7ce6c90c02c8e9c7107e7ab88ae126d1b709336e9483be9cfc4f39f96abf875fae27561ddf2816a6d03ba2a06ccad6b5e0a29fd51b57e94429ddae33b6 DIST boto3-1.42.18.gh.tar.gz 1067403 BLAKE2B 9e6011411eeef2a36bd94af01677930a49033312d02221ed94c06f27d8eea063c463d7fc2bee49e6e7e5166a9a57e3308dc63deb58fb47223e773ca7402af9a1 SHA512 1b4ba17130ab69eb057bf4f6ef4c30a52299dcc75853ec0702ff3620989a8c05d618e89da1e332b2ddee48536b47e6ab51e7376d23e8adfb5d82e2acdb60c90b +DIST boto3-1.42.19.gh.tar.gz 1067744 BLAKE2B ecdb7b493e511e8f8c13520b3b26e1c1dfa14dd9b3a0bfdc242569a03da9a49a64df9b0ba9df0fa31b60a9602d885581626e9a1a90dc5ac522f3343d149fc74b SHA512 cc01aeff747ee9ddc60823964ace06ea47ab51f8344706b8196ee11571ef18bdfd67445a58ee65bd9da819285b7d6301293c3d98536bdd805dc889a11acafd34 DIST boto3-1.42.4.gh.tar.gz 1055570 BLAKE2B a9990bb04ce59111c6371536692c6e4d5440f3f0dc79e1ecc119652603bcd8bc15839400758999faffd7df9bda9efb4991393fcab32baa16c7a0e51ff7c5cc94 SHA512 95950ba80f31c3951a88237ff5edd1367285c3ab263c7f8ad1b7556d610d553dd4e2021fbbcc0d9bdcf578fe34ad9fcf6231511f54ee71917f69c1cdb6adab28 DIST boto3-1.42.9.gh.tar.gz 1059745 BLAKE2B 78fba4fe807a3ea8eea22cd81cff67c90cd36e281665545bc9d7dc9bfaa1089d668e1994ba6e950eedfe2cfa1495f192b43f8fdae2b9b8b6bd74b62e0ab699d8 SHA512 92ecb0d609ba2f7df6a444b9d840e2a070b22ec38f8ae3bd376e9473e5b4efbefc9bc924046cc6d79576967e33eed270633396171e6102331b58519021435fe8 diff --git a/dev-python/boto3/boto3-1.42.19.ebuild b/dev-python/boto3/boto3-1.42.19.ebuild new file mode 100644 index 000000000000..8dfb7bbab0b4 --- /dev/null +++ b/dev-python/boto3/boto3-1.42.19.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +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() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 3ccab2961e05..b7c460c3ff71 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,5 +6,6 @@ DIST botocore-1.42.15.gh.tar.gz 15775038 BLAKE2B 258285b123c6826e7df80e50d5b814a DIST botocore-1.42.16.gh.tar.gz 15776713 BLAKE2B afe3ae9aa0564cd3d25a366e13b83fb8044adb8870261df79dc62b79425a6e75e9ae620e63acd3f15c62b62d878a31e9368ba57617ae9c7af0eb79679d93b8e7 SHA512 2ffd0739a51cd62ba770aa4c98b5ff0729a5321ced7cbd558d401d62f5bfc0a963b3e3584c649c9129b11fad1944c54df584ce32252cce5896684a1651ac519e DIST botocore-1.42.17.gh.tar.gz 15777020 BLAKE2B b703c802f61993c6c3bed03e61f6e1da2099ad59364ea02ad2fe9802e0aa824ca4a38b0e8bafdcdd2bc2a6b64a8617fd1d052867d8ff2aa724834b7dd1bac265 SHA512 accbc4762c08d9ccdd95786f7be1a8b34d4d5c4315c3c3850a085db566dc58dbc96367440aa71ddf708b4454c8dd45866b60f0dd19c6173849ea450e4c5bd16c DIST botocore-1.42.18.gh.tar.gz 15741228 BLAKE2B 9808f4b1b1f90d83577594633c016cd2582d297626102ba18c9d343034d675f20d66b21c671a3f1de2ed1629765d149b28992a720d4ea43d0b11ae0cb2e5f7b9 SHA512 7a8d353e3b261e00d2b848de11baf6690b679c0fecb02569d89d611ee57de5c13f404d758258bffd9f5c99325bff2e6a709bbbc8e99e9c4eabc6143acbf86e0a +DIST botocore-1.42.19.gh.tar.gz 15741256 BLAKE2B cfba6202f71b2bfce4c183f96df5c76832128d19b820a42cbcaf23aa1485f4979696301872f71d039549a9d640cef8df637920c07efbfc5fa67ddf9c1bd92d11 SHA512 040648b3dc118a8d01d31eda9f3ad125b2b3ab0e98857cdd4b4d70de9662e51b6e5ac9f7d0b90ca89eab3c893fb9156a61b95df90b374d81b1c7ae6d188ac611 DIST botocore-1.42.4.gh.tar.gz 15703399 BLAKE2B ffd1613284a8487fd2abf10f53fcdaa13746990f519e2bc511bd09daa2efdbbc03cd141f40d36c83dc8180229daddb3a064c6d5aae2bc14f46921f50edf0f528 SHA512 22bbda9f4bc36bd18802812c63d650b2267565c27e432f7105daaa2c85660d2e3786ee11837ce2affe6d130504f9a7bf5c9e7ea3be5699b5d32be3090fb71914 DIST botocore-1.42.9.gh.tar.gz 15723096 BLAKE2B 2cb1489fa48546abe3306935367744f918d053e02af58d6b85ed84a50bbfc659ec20763055e9783d492f6f248af81e571b8452487bf8ca3267e15d12ce8773bb SHA512 54cc19ca34474e8bfd7eda403452af24b6f73e611442ba4b7ed5f4f223ae279bdf95a3bc4945d16eba6ccca53d2dbefee6d2157ecb6b4ef23a1e960d5469dcc9 diff --git a/dev-python/botocore/botocore-1.42.19.ebuild b/dev-python/botocore/botocore-1.42.19.ebuild new file mode 100644 index 000000000000..e5d96291daff --- /dev/null +++ b/dev-python/botocore/botocore-1.42.19.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +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 + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest index f7e8305caff9..9aaaf671ba5a 100644 --- a/dev-python/cbor2/Manifest +++ b/dev-python/cbor2/Manifest @@ -1,3 +1,4 @@ -DIST cbor2-5.7.0.tar.gz 102374 BLAKE2B 8f7ce5220217d926a3a171baef8b4cbfb5b3d8609e01a5ad63c56898449b192be082c1c8f833a6cb8cf48de6ee8668d572297242d0ab6367e8943195b515d499 SHA512 9ec2c8c3de5220c9c6c6197d09c6c627dbd56fc3531ca09bab8f76bdcd00127dadb0e0b5faf61619859327440c7f356b68c1e9ff9ef43876e61627d1a44b8069 DIST cbor2-5.7.1.tar.gz 102467 BLAKE2B 8025d34843c977eb282f47b3836844441c4d45fd3e01f0791241a2cf1f99fccde43c096edaf52fca31c18341b73591a6168a7012d06906f31b27f1c990697274 SHA512 0bdb36f505c61fa554c5f042ac82827fe286b66b46d7847ca5292942d5eda354c3216d6521cb5b1b2ffa19bc4798870a985aeb806cfe6e60f173a59def8f2bd2 DIST cbor2-5.7.1.tar.gz.provenance 9333 BLAKE2B 37eefd944d4d525e8d3a1be918855f535c3a328fd8da8f178e550b137bcf24fcd378904bd5cb69e47312c3acc2d9c010ebfbfdd5c1eb5dbb8724d40f18d832f7 SHA512 d8532140f1830204c9c2f823b2f0acf3140b736b946d1239551b7116de2f62de3eb4d2d39a327ee2fcc2afb2d75914d0b30f819cf8cfdcd795f5e8d4237145e9 +DIST cbor2-5.8.0.tar.gz 107825 BLAKE2B 619a8d01530f6b5d13f9dfef8ba0f75e0a1d771c9886c248b76a15e09092d6fe1cb48a488e4cf85dea8ca7e8be6642e45f454dfc12bfa07219aa4bbc28df9a9c SHA512 19a79554526db6926421ec6520c589fd51530057226ca9479662f2eb9c8af6ebda2bf52d3d28c4597d3985585b3798d54f2b783e5bc6622610f91eea91f28547 +DIST cbor2-5.8.0.tar.gz.provenance 9374 BLAKE2B c540105f160f1b3877338a35387e91c0a4f07f71513ae8a9088fb14f0eeadf3466b64f7e0d9f626b3e331cc7974a9013223c4ad439d936d805489216594e2d0d SHA512 2930cb9d68cd4e7baab9b6a156ac404bb870340895a0d41ee73371943e3fae868b8f6950a85346c80d3f02bd17faa840cb10021d99d2f42d96a6ca840597113d diff --git a/dev-python/cbor2/cbor2-5.7.0.ebuild b/dev-python/cbor2/cbor2-5.8.0.ebuild index 1e9005a82574..82f43b89cf76 100644 --- a/dev-python/cbor2/cbor2-5.7.0.ebuild +++ b/dev-python/cbor2/cbor2-5.8.0.ebuild @@ -5,6 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/agronholm/cbor2 PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) inherit distutils-r1 pypi @@ -17,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="+native-extensions" BDEPEND=" @@ -28,12 +29,6 @@ BDEPEND=" EPYTEST_PLUGINS=( hypothesis ) distutils_enable_tests pytest -python_prepare_all() { - # remove pytest-cov dep - sed -i -e "s/--cov//" pyproject.toml || die - distutils-r1_python_prepare_all -} - python_compile() { local -x CBOR2_BUILD_C_EXTENSION=1 # pypy3 not supported upstream diff --git a/dev-python/memory-allocator/Manifest b/dev-python/memory-allocator/Manifest index 55b8884f8be1..2b280ecc4394 100644 --- a/dev-python/memory-allocator/Manifest +++ b/dev-python/memory-allocator/Manifest @@ -1 +1,3 @@ DIST memory_allocator-0.1.4.tar.gz 19723 BLAKE2B 22643aa32ac43f0e80e76b9d214c5decb70fbb83ddf4e116739bd257df1a2f2f02cf33c4a8925d0a38af2c59b90ee4fb6ccdfe2256fccae00ad98b2a9596e1db SHA512 0cd8b4d5878fa86972f9aa91e1fef4c074c3a0afe25ac1e54a3ad5e3b1ec5e4907cdd067d790f4e2ab7706f5dc2ff44c43ca0bc8e03b1b4dc90d66d8aa49ba0f +DIST memory_allocator-0.2.0.tar.gz 22165 BLAKE2B ae49ff6893f4202214823dd5b1bdb0dc14f7dd4a5750f5a537770c0ecb879b6abdcad9bd0c4b1e0ed460b9d17542d6d2bb38936632a3e0db683d7896179a9981 SHA512 5c7dcedc347027f4918763ba5312f7994f90aff61fd44f17f1850f86f3aa0bb08d49fddadfb6555c08c52ac9c346e10c140dde3653f9c17c85dbea436ebeec13 +DIST memory_allocator-0.2.0.tar.gz.provenance 9501 BLAKE2B 0ef75267c5868b5b764a52d49b889772245bf276a32dfc4331f9f5efe70db703b964a0b6b2b504c32f76349ce40aaa64f99c466f79397e1aaa0bed9dbe348434 SHA512 15e92d597015c33ed093cfa4b21445d59aeac8e7321162f89975fd45f6d6dbceb721aa11203bc1f5db4b9609f7e83bacc02676249b19672ff5ab8987628e94f4 diff --git a/dev-python/memory-allocator/memory-allocator-0.2.0.ebuild b/dev-python/memory-allocator/memory-allocator-0.2.0.ebuild new file mode 100644 index 000000000000..cd87824c2785 --- /dev/null +++ b/dev-python/memory-allocator/memory-allocator-0.2.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYPI_VERIFY_REPO=https://github.com/sagemath/memory_allocator +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="An extension class for memory allocation in cython" +HOMEPAGE=" + https://pypi.org/project/memory-allocator/ + https://github.com/sagemath/memory_allocator/ +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +python_test() { + # The test script tries to "import memory_allocator.test" which, so + # long as a memory_allocator directory exists inside CWD, will look + # for a memory_allocator/test.py there. But there is no such file; + # the "test" module is a compiled extension. To let the search fall + # back to the correct location, we temporarily rename the directory + # that misleads it. + rm -rf memory_allocator || die + "${EPYTHON}" test.py || die +} diff --git a/dev-python/pyqt-builder/pyqt-builder-1.19.1.ebuild b/dev-python/pyqt-builder/pyqt-builder-1.19.1.ebuild index 9ad75096e686..96e74f63338e 100644 --- a/dev-python/pyqt-builder/pyqt-builder-1.19.1.ebuild +++ b/dev-python/pyqt-builder/pyqt-builder-1.19.1.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/Python-PyQt/PyQt-builder/" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/pyqt5-sip/pyqt5-sip-12.17.2.ebuild b/dev-python/pyqt5-sip/pyqt5-sip-12.17.2.ebuild index beb74c4c0c5e..a36534ce371e 100644 --- a/dev-python/pyqt5-sip/pyqt5-sip-12.17.2.ebuild +++ b/dev-python/pyqt5-sip/pyqt5-sip-12.17.2.ebuild @@ -14,4 +14,4 @@ HOMEPAGE="https://pypi.org/project/PyQt5-sip/" LICENSE="BSD-2" SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" diff --git a/dev-python/pyqt6-sip/pyqt6-sip-13.10.3.ebuild b/dev-python/pyqt6-sip/pyqt6-sip-13.10.3.ebuild index bc3ecb946dd1..c046ca25708d 100644 --- a/dev-python/pyqt6-sip/pyqt6-sip-13.10.3.ebuild +++ b/dev-python/pyqt6-sip/pyqt6-sip-13.10.3.ebuild @@ -14,4 +14,4 @@ HOMEPAGE="https://pypi.org/project/PyQt6-sip/" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" diff --git a/dev-python/pytest-reserial/Manifest b/dev-python/pytest-reserial/Manifest index f981f541a562..c184ac62dfd9 100644 --- a/dev-python/pytest-reserial/Manifest +++ b/dev-python/pytest-reserial/Manifest @@ -1,7 +1,6 @@ -DIST pytest_reserial-0.4.3.tar.gz 12625 BLAKE2B 09f3ee9706f06923d8edd53d19c956046f075b90675642c692c51dc65f66429413d756a902396f147f27cc547dc3487641645dedae6c6900f96b1c2c66dca33a SHA512 282a9edd457b6bc622aaa66ee7715671eeb945e8dab72c3c7898d7850fb6d151ebfbcddefaad25c1b3f10c13c52b6bc8438975484f1fecd87b5c224f431dba59 -DIST pytest_reserial-0.5.0.tar.gz 12931 BLAKE2B 4d91f1c367145d15ee5b64fc18ab43422aa42848f3df63826edbe12a016495d8add36667e83415d443cb8e4805e718634d127c0c38cd5890d1b537c37b053789 SHA512 96095b7ff8b9db661de9902ff2a8137f30af98696c9589e94ebbbc8367ae4dfa8cb1d116aa9f5e94913548189adda129634bcf8e4fee079c5358367c34e3bfb4 -DIST pytest_reserial-0.5.0.tar.gz.provenance 9263 BLAKE2B e5a8c86fb1eb70415a3627bc71037718bb1aaa36f6fb68fd0eae8bb45b4b56f66339f1036c78bcf6d4d6da0687f2de4545ce1ffa16031fe17094e8c41d64bf74 SHA512 859f2d9ffd1467276e5bbef41a2822574dbd80618784834e95c05ebfeabbf710d3ce7a709e482d1b24f3cfb7b2a01cabd7d3a7e1669671bcbc54574fec952984 DIST pytest_reserial-0.5.1.tar.gz 13597 BLAKE2B 9106559890f45fcf7b514f1b76366e6ef31db37d3d78d753920f166f30aaebcbe1ad11a4b8c8550f5c8a93625cbad21ffe9830ea15eca00e91bab5ee53728f29 SHA512 1cd0f729c64fc7269169e74bea21bf5d95bf7c571e99ff751461888e020fd5aa28644a7601876f7bda0dbb4bb48370a11ca03b84c538ed2e80f1133e93530641 DIST pytest_reserial-0.5.1.tar.gz.provenance 9455 BLAKE2B dd2ba2b62878f7a01025072a53b19949b22bbedd8220e7a974b32bef21e520acaf30c95be250991bb72a0f04dff058877bba5189041622ebdfee5f72b97cf51b SHA512 5c97339b60a18bde4e158d7cfca5ebf25a2867e4bffbbac82803818b9164b1a092ed22737335548b020bcad4ca31fc1c095d1b9dfec901f08bccb37941a19110 DIST pytest_reserial-0.6.0.tar.gz 14363 BLAKE2B 35476087496675676d0568b85f870c6964ee6a4ac4e77be5af214cddec6f8046aba3da40b7830111e7738b8785c5403927b893f1c2af95eb7dc559ace58035b0 SHA512 315e75a08bf5c0c99d5381f0b1188afee14038703e17570779b3386315603668654e9a7f1da94e6925f029fec4b40a9b9c5f9733ecfbe043c6f5f599f17907a1 DIST pytest_reserial-0.6.0.tar.gz.provenance 9578 BLAKE2B f5f636c78e09dbe9a53a0ab1df691864f63afee8c669d7714ea466b7d91083d76f9cdbb52c9e3f79c5a8a3b103679c4a6e1afa0394f410355b2d3d495031bbed SHA512 12db5104fe59417d6727cd0c92c0ec12e488bbd029d7ae0c87feae1bce9e48a3e04bc39c8863d2dda0fa1e730971944a8d61d08a3aa0094d08e42e11d3fd5aaf +DIST pytest_reserial-0.6.1.tar.gz 14432 BLAKE2B 5f265f01625cba3d66459f0ecb41c9aeafefce5ae85725e0264a78ab74c18ad4ccc8a4620163931ac543db6f29ebad266395af580ea2974295919cecb76c7771 SHA512 3a1d88f9ff1837acb6721eee96d4bfb0825738ad94ce73848cca5bc355b1f14eda93947d958bbeda24f38322c73117ff9a28931ebd490551f6ef3366986e4816 +DIST pytest_reserial-0.6.1.tar.gz.provenance 9527 BLAKE2B 25e46c15741c11076f1f81395f6885ae4bba75014c9e71eecffd9707e9766efba332d3fe3da604572f189d369c4acf3c60abe59264b85bbcf2485e246d0dcaf8 SHA512 4f380b7ec1a1fd06529073f8d174a8f52dba7ae82e2f6926021bd255b6efc6aab36f281b030f6ac2bc4428fa6388cb011de9bb501f2ff1f065bc986632addce1 diff --git a/dev-python/pytest-reserial/pytest-reserial-0.4.3.ebuild b/dev-python/pytest-reserial/pytest-reserial-0.4.3.ebuild deleted file mode 100644 index fc7e801cd6e7..000000000000 --- a/dev-python/pytest-reserial/pytest-reserial-0.4.3.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pytest plugin for recording and replaying serial port traffic during tests" -HOMEPAGE=" - https://pypi.org/project/pytest-reserial/ - https://github.com/bessman/pytest-reserial/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" - -RDEPEND=" - dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-reserial/pytest-reserial-0.5.0.ebuild b/dev-python/pytest-reserial/pytest-reserial-0.6.1.ebuild index 642e61de92ae..fd6dbc965a04 100644 --- a/dev-python/pytest-reserial/pytest-reserial-0.5.0.ebuild +++ b/dev-python/pytest-reserial/pytest-reserial-0.6.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="~amd64" RDEPEND=" dev-python/pyserial[${PYTHON_USEDEP}] diff --git a/dev-python/types-psutil/Manifest b/dev-python/types-psutil/Manifest index cdd37884d973..aa93189c22d8 100644 --- a/dev-python/types-psutil/Manifest +++ b/dev-python/types-psutil/Manifest @@ -1,3 +1,4 @@ DIST types_psutil-7.1.3.20251125.tar.gz 23391 BLAKE2B c8f30870d822d9686dd23e893bb435cd2ce1bdecca8573ac7bfb7f871f76f5f285016a0c8cf6bd8fc871b07ae0e21e0259b3afa17e97ce7d28340eba281a6e5c SHA512 1b5e6d2e1f1f971a4b3bf52435f1eb115b6a2b845ea4c2c2f7061de4c7e6412568eddd82ad6a1465e880266b2a6b23d11031dccb1f315ba874120949f421c9d9 DIST types_psutil-7.1.3.20251211.tar.gz 25198 BLAKE2B fd12b6e16f9cd57568f069da420a1c500da0ccda515eec4197771ae23eabd0dfabaabe66c4335234ab297c7a86831c15ee5c7f4800c7e1c50e6fba8c54eebe61 SHA512 6bbe267aa2c90ff474fdd0c1949619fb7344aa4c0b9961dd63137813669f511abcc9871d499c6b74e36543b7007908a55e03754bbdbbfd128e5928911c6b89e3 DIST types_psutil-7.2.0.20251228.tar.gz 25400 BLAKE2B 93c589636c46a7034d73e898c5e912f7739147214aeedc091e5b92bbd4d8d95b7d4b2387cc78ecfcd37e98b10ba91a932125a0451ec1864113a0a9dc26b35165 SHA512 0f060ac56ba48062982dbf5d4ac6d010dceb8fe49b7b0817ff7834970f2b699077a7218d4d393c1f91924fce447942b89486daafd737faddf317d98d6187eec3 +DIST types_psutil-7.2.1.20251231.tar.gz 25620 BLAKE2B 6ca4bb77cd1d90a9eda26166aa38ff2b68c200b90f8d3cdeb731ec68a3145a3c5ba8c969983a5eeeeaf6adf92b0e32363c9908d1384413b266ccbc0c6b3cdfea SHA512 39e5c66245b9cdef7b08a42384baa16a9fcad06b2c284fcb97d290677c04d935e435c8a43b22b145a48e3af84a3a521caf5ff756268c06b805929309ae013951 diff --git a/dev-python/types-psutil/types-psutil-7.2.1.20251231.ebuild b/dev-python/types-psutil/types-psutil-7.2.1.20251231.ebuild new file mode 100644 index 000000000000..da0f9d713bcd --- /dev/null +++ b/dev-python/types-psutil/types-psutil-7.2.1.20251231.ebuild @@ -0,0 +1,16 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for psutil" +HOMEPAGE="https://pypi.org/project/types-psutil/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index e25663570fb1..97d138303cfb 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -4,6 +4,7 @@ DIST uv_build-0.9.15.tar.gz 354021 BLAKE2B a47350ead8d9672d09967bbd7f9ac2f8e231e DIST uv_build-0.9.17.tar.gz 356435 BLAKE2B 902d134f83026a68ef8600b21d9ce8bddab281ab8a34b7b836cce2b27ae393b24ddbafbbfa18332efc5cb8b5883c4a02435b62c29fb50923cb877834a2918e76 SHA512 7b536edcf9917055634f97150dba3e91d0fe71cb49922a3bf13fa480d6d17205de172242bb5e9dbd22de1984aec0c0f78955b37811d84a9ff765254719847d36 DIST uv_build-0.9.18.tar.gz 356832 BLAKE2B 61df9000eb4eb0dc147b4a18732937a459ff27ecbd6be19e1c4496632b8b79eaedb112dd2599d74ad111899d44070cf0acbdf4bc7b57d864823e202209a2b553 SHA512 093ece50dd3c89c56c7d61f35dbe66319ea23295e21b66b7cdb73ae669956d6a68684a183faad9c59cb96fc2b26747f40609570540b8ff158d1f8f3d32bfd15c DIST uv_build-0.9.20.tar.gz 357132 BLAKE2B eb64c2e9e0029cf8eb8f295e16897911c602f7bc3205188c224748352ec9f3843badb2407103508c2a8703f6141937e0f61d88ceaf8a31a551dad4b500c24731 SHA512 9caa5c33a8d563f4205022c0a978e8d0b1e53aa60c977dee9e83d227935675ab918de7eef96f8f6c3bf4adc4db70dbb99504cee5533cc66412c93f2263246f8b +DIST uv_build-0.9.21.tar.gz 357539 BLAKE2B 721e12e0260301d3234f3fbc76d5944c9b15e14b345876d3f231314f64f15c5e6c37c8c7155e24605c928dbe52b12b3b02cd2f0a1373b8d93b017f2c122ddf19 SHA512 1e2885f978fa45e1481a72a35d5734ef80d3ab7da0213fc41cad8c4e49756bf0b172cea570d25a6b0461c6dd13fead8a8fae356b11ec758f8bd7b915faa322c4 DIST uv_build-0.9.4.tar.gz 332506 BLAKE2B 3b65cc80192cf3abc33bcf01735c8b7f937a12f2dcd0557d0ae255ce8bd4cb7dbb15522e73802be0e17ac10c4acad6f9075f12d5f853bb1881b0c13f1d120b33 SHA512 c3be52cfbc1cf5a229df91d9e1125925a534e3fca3041e29a16edd2334fa28b055c73e21a6bd1a3d1d63924cf8f112645300530e8cb6139fb549499ca672070f DIST uv_build-0.9.7.tar.gz 332992 BLAKE2B 069e615f41e78098b61cc073cb01bc77e0e6778f3054ccfcf36985be3755d7e819cc1bd151e875db109461f423cc855cd336467015ec7103e47346f230564679 SHA512 d61249de00640f6e0ab62ab440a8aae1802acbd6cf8ecb8aca3efe26361d7191d057735ab91c174c5772fc04accf0ae3281f447d010c99e2f458829f4c618abc DIST uv_build-0.9.8.tar.gz 333344 BLAKE2B 4a841b4ca879734917bd09a7d1960dad322baa969fc55ec038c0318e8931ac129a0a3d03865a55ba4fa4a0f4beba398c1715c8faf1a275c1a4458317841253e6 SHA512 2c5f54a887ce7256911dabb54435618354f3caa1a941e77ed5a4b1c7015221a0009da08e8c46d569f92ac263bc544335ed2060de37ac5c27ee0789153f2edbac diff --git a/dev-python/uv-build/uv-build-0.9.21.ebuild b/dev-python/uv-build/uv-build-0.9.21.ebuild new file mode 100644 index 000000000000..ca71aacd7b98 --- /dev/null +++ b/dev-python/uv-build/uv-build-0.9.21.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/uv-${PV} +" +BDEPEND=" + test? ( + app-arch/unzip + dev-python/build[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # use the executable from dev-python/uv instead of building + # a largely overlapping uv-build executable (at least for now) + sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die + + # replace the build-system section + sed -i -e '/\[build-system\]/,$d' pyproject.toml || die + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["uv_build<9999"] + build-backend = "uv_build" + backend-path = ["src"] + EOF + + # rename to make uv-build find it + mv python src || die +} + +python_test() { + "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" + + local zip_result=$( + unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die + ) + local zip_expected="\ +Archive: dist/uv_build-${PV}-py3-none-any.whl + testing: uv_build/ OK + testing: uv_build/__init__.py OK + testing: uv_build/__main__.py OK + testing: uv_build/py.typed OK + testing: uv_build-${PV}.dist-info/ OK + testing: uv_build-${PV}.dist-info/WHEEL OK + testing: uv_build-${PV}.dist-info/METADATA OK + testing: uv_build-${PV}.dist-info/RECORD OK +No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ +" + if [[ ${zip_result} != ${zip_expected} ]]; then + eerror ".zip result:\n${zip_result}" + eerror ".zip expected:\n${zip_expected}" + die ".whl result mismatch" + fi + + local tar_result=$( + tar -tf "dist/uv_build-${PV}.tar.gz" || die + ) + local tar_expected="\ +uv_build-${PV}/PKG-INFO +uv_build-${PV}/ +uv_build-${PV}/README.md +uv_build-${PV}/pyproject.toml +uv_build-${PV}/src +uv_build-${PV}/src/uv_build +uv_build-${PV}/src/uv_build/__init__.py +uv_build-${PV}/src/uv_build/__main__.py +uv_build-${PV}/src/uv_build/py.typed\ +" + if [[ ${tar_result} != ${tar_expected} ]]; then + eerror ".tar.gz result:\n${tar_result}" + eerror ".tar.gz expected:\n${tar_expected}" + die ".tar.gz result mismatch" + fi +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 574d1f2a029d..ea9eef7b4fd4 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -15,6 +15,8 @@ DIST uv-0.9.18-crates.tar.xz 48624732 BLAKE2B 5a890046ca810c9f0c3779310a413a0614 DIST uv-0.9.18.gh.tar.gz 4786468 BLAKE2B 3df1ca97128242a655a392cd61cd0b4c943f77804553f8722db058e3a2dc0698803f422609ae52bf64e5f8922d13fd596ca7b898756c8d360da5bed4b656c29a SHA512 e0d880d6cf946979fbc6333f086aa6a54893fca19bae6d62e82d831c7502c2150d829a861edeb4c29fe7320d7c7da902693039d597b945f58ae803eadc7f5a17 DIST uv-0.9.20-crates.tar.xz 48642776 BLAKE2B 4ce225a3639d02ea05014c2132a7fd8baf53f3bd0bf3cafc6ebde144f2cea982426835f91bcb587e8dba122afe381c5a0ffa654667d4677f0b0b18b4b63a2f2e SHA512 db391109602bf1afbe868740ee977e76f92911136f61a9db8918ca89bcabdad02b75f1892cef200a370ea91829e177fd6c775aff9522f72fb90f2fc9d3acb22a DIST uv-0.9.20.gh.tar.gz 4798126 BLAKE2B 5eea15de759c52386f7c610455a9ffd71ae040fc6ad19652b0a4c86c8ee6543ca6f5a680c6aac3f0119924dcc1fddbb486588697060af73974a058e683d96792 SHA512 4b9d1e6e6d89aa1901b26715e9c2bb720e8132134ac0516bf01a40576c6d6e7fb97205321d50e3fd0f35fb69309af437f23643261cc11d55c2c8cb1db22fdafb +DIST uv-0.9.21-crates.tar.xz 48642776 BLAKE2B 4ce225a3639d02ea05014c2132a7fd8baf53f3bd0bf3cafc6ebde144f2cea982426835f91bcb587e8dba122afe381c5a0ffa654667d4677f0b0b18b4b63a2f2e SHA512 db391109602bf1afbe868740ee977e76f92911136f61a9db8918ca89bcabdad02b75f1892cef200a370ea91829e177fd6c775aff9522f72fb90f2fc9d3acb22a +DIST uv-0.9.21.gh.tar.gz 4799580 BLAKE2B 88a65fd86bc3b124e6470c701c387bfe2b4a41c21d4eb82870966b94ab6db6fc5819aaaf2c04c04d1cd2ed367353e995185103ce145e88dc17f9bba507e9a162 SHA512 38c852dfca2bdfa839c37342ace2482d5182e2d4f7b4334ee32da200364912ccbedda04cf08cf89d974ad0f82c374444a19156c9df65ce11019d4a214bf26eb3 DIST uv-0.9.4-crates.tar.xz 46093644 BLAKE2B bdce4b138718b91a67ccb36e6d8839358ab2ddeeedec3017bc245b0717e32d890a41f8c9c831983681ec715ce458efa8d43356c189b9b7457df3e71122924e3f SHA512 7047b68db7e05abb6a399250a4a531499985d42f12eff61ad1557823b37d62576b38b51ccbe39a02bc9a98af6341de728466b262c49bb48dd30abb64eb804660 DIST uv-0.9.4.gh.tar.gz 4749319 BLAKE2B b46d44830f7a2a621f3ab420db85e9d999b7c42ddebc21403ea2f11e819e8295af37049f1529848a3fd83ef87ac0de26ce1e1c03bf4177c3032b9adfd6dfe1e8 SHA512 ae11c1e777e3d0e036f0a665e2edfb9a4b5b50a9e107d795113b626bc16d406d3fca12e8a133185e54279b2a64f8e3d276372cefc9a96b2ac5f1ed0ece2c10b0 DIST uv-0.9.6-crates.tar.xz 45696768 BLAKE2B 96cff52c0e5477c4e9648e3863d32bde4b34a1a46b6d96703c48fe340b655319e951471aa6403c09818c313a59b0e54804467efa7e13a8410de34299a98f077b SHA512 46964460f3404304faefd1758bb07bcddf1d48efbdd2b890ddb0d2623841e1a0c86108ac3c9312ed8e2f8fcaefbf9b022b57cd6074fdb6d52f43c35e3b3c2d32 diff --git a/dev-python/uv/uv-0.9.21.ebuild b/dev-python/uv/uv-0.9.21.ebuild new file mode 100644 index 000000000000..fe3eb6a3dc83 --- /dev/null +++ b/dev-python/uv/uv-0.9.21.ebuild @@ -0,0 +1,168 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.89.0" + +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://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/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 CC0-1.0 + CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 + ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), |
