diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-10 19:20:27 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-10 19:20:27 +0000 |
| commit | 6c57216d54c162af1e12754d5f456cd554fccd25 (patch) | |
| tree | 51bc615ecb1deb365c704b0db249599725497383 /dev-python | |
| parent | 237a47c342347182188735933bcf7ccded60c3b6 (diff) | |
| download | baldeagleos-repo-6c57216d54c162af1e12754d5f456cd554fccd25.tar.gz baldeagleos-repo-6c57216d54c162af1e12754d5f456cd554fccd25.tar.xz baldeagleos-repo-6c57216d54c162af1e12754d5f456cd554fccd25.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
61 files changed, 1155 insertions, 1063 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 35d035d959b1..f7741a993c67 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1,4 +1,2 @@ -DIST alembic-1.16.5.tar.gz 1969868 BLAKE2B 9798e371ac26b5f6042bfc057e3b308d026d1b58446d70c23408ce0bd64c2115773af73868cdda5aa1fb303ec54eba65687d515b06b5cd774ed551c33f093e10 SHA512 871aa27c955c0b3ea8aed4c1f3ca5595d21e8b52b09eef9c225f5acba1c8011b6ff1a3c1081583cfefe49265739f9f3a358cf33aea4bb442636a3a9469cb4130 -DIST alembic-1.17.0.tar.gz 1975526 BLAKE2B 0549b8f2f7f595507a34b727dc10290a5edb36613ced69686bef5148ef9feb3cc61441e247ed1c68a78e579f3c7499bbeac871dd6d539f49b04d6f4ee9a091c8 SHA512 24ac578890d9258d6f995632a426a204979370bd199d4b66db472919f97ea602f657f5d3effadcebc72167dbf5d1b94d3b8ae5631a988bbba5adc1927502ed4f -DIST alembic-1.17.1.tar.gz 1981285 BLAKE2B d5887f6135510de970bfcb65553f341a5b5693f3ea59c09785fc84a1cb06eb1bacc8c22887a9af38bf07acf9237a2ee2a00dd979dd5d2e2a2d2f849ee0f1c4d9 SHA512 35d2e0f9f3c7548fb1453e076696b2954de76a751bd0327b4b60c613302ccefa78f5f7081d6a99ca83bd38a827ae554e1dcdc48c3ff5eba111ea6df5e1c6736f DIST alembic-1.17.2.tar.gz 1988064 BLAKE2B 7ad3212322d900b464de8fb7c2fd341dacbb73698fbc471d99f353ebca0da98035c7032a550b7c78dcbdfb85058d456791602a05ac1caa3f34b201e319b8d9a2 SHA512 39ac83508b505fb81c26afdbe28edc3b9aeffd536d63f0ba8e8015fde4a815b899d269417a18aa4325a08a97cb74b6c52057960ecec6839fe3dc070a6752b9c5 +DIST alembic-1.18.0.tar.gz 2043788 BLAKE2B 1e32e82be3d148b437d2648368e1d4f918a50201516939f1c6d3a2d9f283b6df1e331c43661c4783ba15b9acd11684b075b869af138600a247e3ad49783a4f46 SHA512 77f9d9e3a1c7179e655176ffb630e8f6c90fc646e6d74172f52e41858ba7ca150eb088e54a57fbe08bcec9109ed61e3bfe10b017ecc42cde9a9adbd82c273d45 diff --git a/dev-python/alembic/alembic-1.16.5.ebuild b/dev-python/alembic/alembic-1.16.5.ebuild deleted file mode 100644 index a3404f013739..000000000000 --- a/dev-python/alembic/alembic-1.16.5.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy" -HOMEPAGE=" - https://github.com/sqlalchemy/alembic/ - https://pypi.org/project/alembic/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" -IUSE="doc" - -RDEPEND=" - >=dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - sys-libs/timezone-data - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - - if ! has_version "dev-python/black[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_post_write.py::RunHookTest::test_module - tests/test_post_write.py::RunHookTest::test_module_black_with_cwd - tests/test_post_write.py::RunHookTest::test_module_filename_interpolation - tests/test_post_write.py::RunHookTest::test_module_path_in_config - ) - fi - - # setup.cfg contains -p no:warnings in addopts which triggers - # datetime.utcfromtimestamp() deprecation warning as an error in py3.12 - epytest -o addopts= -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/alembic/alembic-1.17.0.ebuild b/dev-python/alembic/alembic-1.17.0.ebuild deleted file mode 100644 index a3404f013739..000000000000 --- a/dev-python/alembic/alembic-1.17.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy" -HOMEPAGE=" - https://github.com/sqlalchemy/alembic/ - https://pypi.org/project/alembic/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" -IUSE="doc" - -RDEPEND=" - >=dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - sys-libs/timezone-data - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - - if ! has_version "dev-python/black[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_post_write.py::RunHookTest::test_module - tests/test_post_write.py::RunHookTest::test_module_black_with_cwd - tests/test_post_write.py::RunHookTest::test_module_filename_interpolation - tests/test_post_write.py::RunHookTest::test_module_path_in_config - ) - fi - - # setup.cfg contains -p no:warnings in addopts which triggers - # datetime.utcfromtimestamp() deprecation warning as an error in py3.12 - epytest -o addopts= -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/alembic/alembic-1.17.1.ebuild b/dev-python/alembic/alembic-1.18.0.ebuild index 80155a232d38..5f0d2e92631e 100644 --- a/dev-python/alembic/alembic-1.17.1.ebuild +++ b/dev-python/alembic/alembic-1.18.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 904389ad5b0a..cef1cbe7c86f 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,5 +5,6 @@ DIST boto3-1.42.21.gh.tar.gz 1068192 BLAKE2B 281cfe3d55f0b094ca7b7e3b192c94736d9 DIST boto3-1.42.22.gh.tar.gz 1068280 BLAKE2B dda22895cce5a75dcd005485e5144618d560750ca464b38d85d441e3fe4899d98e52591c5a10822772b7f88b1e9fd3407ecafab55fedb7a4eda8b01bd4712343 SHA512 a623892ad3f823d6d50ed64035228062fc9b34e90b44695891d63ac32b34021c837873d04503f1804260bb725bbc979de3213c7106506c7bc987f96703577c88 DIST boto3-1.42.23.gh.tar.gz 1068471 BLAKE2B 8a91b32e706666d5575ca8a5e4804b459a8778d738c5f28891c7e2e81239e4e5600911ae6bfcb7c10f6e1a286c62cd12a5f94c0cc6168f24a8897ca31dfdbba3 SHA512 adf5134d65d5d193cf7259e8df01ea6812d74fbe1b6bbc13fb2d920e86c0b71f928c01241f0cfb25d684e11036132419f447f52fa3f89433c68014c5461bf731 DIST boto3-1.42.24.gh.tar.gz 1068574 BLAKE2B 60819802e4ec924052c5925300fc4ed5c0cca2d07f30e68e3a5d9cc071593854d5e501c338bb5a9d282c2955c0670ac410ba3d25e8091f9d3caf1a3c787da411 SHA512 fe9fdf6589bdd44ae4c930e1e1a6888081cac742ff7602d6888df12d91b0e8cfdd6c5a86e8d07c7f08d92e719d0aa2823520f74987d1e478621b04c30e83040d +DIST boto3-1.42.25.gh.tar.gz 1069210 BLAKE2B 33aff7204332da82b7b5df93b74a2b17538734441d3cbd8d2dd971e71794301b5ee281ccf6c9aade4848a36f0611e4cc4b5531c2aff8eba920a78eacbe3f6142 SHA512 71b5976e8b5f67f33a25f4e7a27e0a7d2cf0b96ed10558bb3fda181569a77c9323d991376b139eb2b0e2b93cd3dd93e083f1c56bd06956d387ee587a1145166c 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.25.ebuild b/dev-python/boto3/boto3-1.42.25.ebuild new file mode 100644 index 000000000000..6e5f06a012ad --- /dev/null +++ b/dev-python/boto3/boto3-1.42.25.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..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 a92a6ccbf74d..8c2a56829848 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,5 +5,6 @@ DIST botocore-1.42.21.gh.tar.gz 15742994 BLAKE2B 65de15224f2c720267d0ccd3c42001a DIST botocore-1.42.22.gh.tar.gz 15744428 BLAKE2B 3802ac56f6b8290db40aff7ed5089c77f00ef25dd694afd37532fc6c0d5502c6a41472d1bd7888e76852285a868b286621a24c8cd8bcb45b29b70a95c10eb104 SHA512 cdcd2c76e650a3cfc464bda26707e7f60c77e3f9b3685940ab4b4008b64cf5a6eec2679367e5a63a32b199c847cf8bbc2c6de346244bb2cb9e7c91e42dbcaddb DIST botocore-1.42.23.gh.tar.gz 15743634 BLAKE2B 572b9bdd2debd7f2da50e9b6409703afaf8c06d0d26440af0335989a3f0cfb0b8cd2bc16897275b26d61317d8232ab07047ce86bcd3e4e2ccc50cdce8d63554a SHA512 bded993e3dc34a22ad0758761b9798896102f11d42be0141b6d0c401e97840a7e00ce6ed105b4802d76cb10c77b2e4e042bbbeb4a60a42e13a9c8409bc3f5df9 DIST botocore-1.42.24.gh.tar.gz 15744194 BLAKE2B c8bc20bfa79de7648d5c39633e331de0f975dc4a7235c8501a91fe27515e650f405fa9daed43417e4709f2b9370926db89c83a5b20fd480b151dd1f56ca09d86 SHA512 f9e78e9506ca132a515d12c20d1e0ad82b1d5da398d60d8a5d33999ce6ea901675a962eae521306b96e3b142020239890a69a82de052086295161a1cbea53e63 +DIST botocore-1.42.25.gh.tar.gz 15746961 BLAKE2B ba4474223e49f36be485d147d54fa5ed1b848022ef4d1fca9169c1cb2c29adafb487834e3bf99154cd658c9c3d47da9cdd6f42ed626c868e258b58aaeb0ce1c6 SHA512 3ab0747b0778d0d0172c12edc76cc7ee647e063c6b86f69998d02bee848cf1fb400c4e6e43ba6acad00846b18ce7de7acf7bab1daf6c1e864bfa8771baa17a6d 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.25.ebuild b/dev-python/botocore/botocore-1.42.25.ebuild new file mode 100644 index 000000000000..f6ce0d9ed8d5 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.25.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..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/cachetools/Manifest b/dev-python/cachetools/Manifest index 2856af76ec13..5c38731ef1d1 100644 --- a/dev-python/cachetools/Manifest +++ b/dev-python/cachetools/Manifest @@ -1,2 +1,3 @@ DIST cachetools-6.2.2.tar.gz 31571 BLAKE2B cafd3e1748bff2c743848173898557ad41057733e1f8ef9c623ee6b2abb7d09131bc24899d0c42a343cb4beb1782ecc78791a0232822c9eba2c2f9c7d1ade40c SHA512 2534df568c377113876d7ffb0ae87d95712f25697bd67c62268f9296888569f7077c55cf03f03f640d37219855189cd9c37dfcb39504f5e8a2aa458413790cf0 DIST cachetools-6.2.3.tar.gz 31641 BLAKE2B 8e440990180923934f496102293153ccfc43e6d448f78a9752de9cdd7ac5156cd6ff026265a5a35b230037e1d666b8b052407927a2e56cc39aef63617227f9fa SHA512 e9fdfbe59f405258d6f988b75f5f126cd4826a9bee37e34eb6677f774bc4c2598dadf9826a11e19bc1b6afcc61b931110586d1648a5f4fbf112a3b17427070b3 +DIST cachetools-6.2.4.tar.gz 31731 BLAKE2B 26c78c82d14db69020077dd0432a40c25cd7686a5c19f5715ff049271066d11d50d5a83777f044f6e35e26fb1e10566a982c8c2b54ecf7b58e5d8904af739374 SHA512 5a7a37c023283f5622af9a041f629bac96cca3bda5af68dbb00325792fb3b8e9f7ecd24b0139470201f77c5bb2d2951bec8c91e20f6334ac28814e21fb8b2692 diff --git a/dev-python/cachetools/cachetools-6.2.4.ebuild b/dev-python/cachetools/cachetools-6.2.4.ebuild new file mode 100644 index 000000000000..198ef86fb84e --- /dev/null +++ b/dev-python/cachetools/cachetools-6.2.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extensible memoizing collections and decorators" +HOMEPAGE=" + https://github.com/tkem/cachetools/ + https://pypi.org/project/cachetools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 3c1f8549009e..b7969c998e7e 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -13,5 +13,4 @@ DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b9 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 DIST llvm-project-21.1.8.src.tar.xz 158958576 BLAKE2B 0d3d4ee920f8e5db50e98152616f16004c74df0e7313cc86d893428fb7b1c875109988a5e40ea6f2e5d0fef53c7bfe2fc2b69e84807f6eb440b03afa1b228a36 SHA512 cae4c44e7bf678071723da63ad5839491d717a7233e7f4791aa408207f3ea42f52de939ad15189b112c02a0770f1bb8d59bae6ad31ef53417a6eea7770fe52ab DIST llvm-project-21.1.8.src.tar.xz.sig 119 BLAKE2B cffc1825f5778a3e3c128ec3e856ff6ee50687319d621cdf42e895abf67e05cc51cb7493308e2b506ab60dbdbaca7aa75eb9f78d91d42c81f9682a36f4042e9d SHA512 10f58eff58ed6e701d0f123b15e68c82ab8cbdf99b1c86c0d83e3b8553e90ea51055e30327e8e442ded57c8f503e2a2de9ee075e9c28b5ba815a0f8922f8671c -DIST llvm-project-8401a8d0be7671fb5089f850a34dc92ad4a2eb12.tar.gz 254694831 BLAKE2B edac68e2b57124504262d68d1fabbb2161af023c2b9f96f304ce220e3d84249e2a2c1137c83bcfb15f6f082b68ef24a775150e5f435ec14d0f471c51ec438346 SHA512 a35f918fc3363df20fecac5820595060acd9fa0bce2cc3f696603192100a63ff4d31f6ba6ac98ad13f62b01c0789f3cce2ecbe4b9c0095d2bf02d2b24971d973 -DIST llvm-project-a3c8b090c37fb10e8c3aa6cd2e5644033cc8a0e4.tar.gz 256214859 BLAKE2B 9b0b94d84ce14b35bd90e1e7c4cb1c6acace5156d10345f56bb35945b8db28747c196eeec43011a98eaca008595950eefbe8a1ebda2871fd6d0bc3bd3012818a SHA512 b26e7b5b1654f2004e6afa7e452f2e9b5623021ec97406f4c5d42ed26fa4532c5d904d276e5665c758a9310859ee274e06a6d6eb4371d7ccba99ce86b04264ea +DIST llvm-project-b01c3d6682d2fa5d6ac22d5a964b739009e9db7b.tar.gz 256801517 BLAKE2B dbdcaed7e0e06a673730c53c64c988add905b2679695ca0cf09db8b28f59eedd5455f4a0ad5a3d672e4f6601d7480775ef8fc405dc1e60c75b425382410e59cf SHA512 3afa29dac2f9b22e6af4b1783bae0bc7507a1a8ca397e88fd6687cbd9620df54525b2b9115906b80e9d1dcd16e0704a5a90eaa6cf0fa3d7f89d3d60f7d8ee19f diff --git a/dev-python/clang/clang-22.0.0_pre20251127.ebuild b/dev-python/clang/clang-22.0.0_pre20251127.ebuild deleted file mode 100644 index af521b577efd..000000000000 --- a/dev-python/clang/clang-22.0.0_pre20251127.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for llvm-core/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=" - >=llvm-core/clang-${PV}:* - !llvm-core/llvm:0[clang(-),python(-)] - !llvm-core/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - llvm-core/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/{bindings/python,include} ) -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/clang/clang-22.0.0_pre20251223.ebuild b/dev-python/clang/clang-22.0.0_pre20260106.ebuild index af521b577efd..bdbb6bbefa8b 100644 --- a/dev-python/clang/clang-22.0.0_pre20251223.ebuild +++ b/dev-python/clang/clang-22.0.0_pre20260106.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest index 391213d6d040..e9a803856e3a 100644 --- a/dev-python/django-polymorphic/Manifest +++ b/dev-python/django-polymorphic/Manifest @@ -1,2 +1,2 @@ -DIST django-polymorphic-4.6.0.gh.tar.gz 291035 BLAKE2B c1f57b359d9625746c0843fb4605aef1413ea2804aa1f13e9f944b59cc17d5818948b3999805590d4b596374753d900b7d0a64b343f36695174a608c938064b0 SHA512 b22d409cc21dfc59f46c237d7e82e4f263078158cc2d19c078663820be0c16cccddab30809df1b80b05840b604b47ad7ca066df1a55d26d27eb93f7767f3796c DIST django-polymorphic-4.8.0.gh.tar.gz 302803 BLAKE2B 6bc050c45cb1a6ae974de7afd883ed716f0299ff44887a9fe990d008035769a794b04ad364d2324fcb364c8938b4389ec17a6bc2a716785e12249edca265695f SHA512 82ebab17c2cad62e58f0c0c3e1efdcea5a6fb4471dd305b59257118f75c1d906502148cade0da26ce6301fb0e110647a68253c7f9a026897b3f37d22a179be76 +DIST django-polymorphic-4.9.0.gh.tar.gz 308462 BLAKE2B 4c932c074d18d44ddcfa492c211ace9748be9e9159b2b2a023a9c1b20c886acc350d74c71dd48636aea06410b153d3c2c574890ca85f89dcc4bf4630f3bb2e53 SHA512 0a3e84d0e110cdc91d7ffc76cddee00ad763060b5ee1bcd523e0f6605e01e7a632a31871ec7d5383e135aede75f466b3f5fd367c765d4d8a9b2ffab2b4839ff9 diff --git a/dev-python/django-polymorphic/django-polymorphic-4.6.0.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.9.0.ebuild index f404abb5ceec..0cb1fb652ba7 100644 --- a/dev-python/django-polymorphic/django-polymorphic-4.6.0.ebuild +++ b/dev-python/django-polymorphic/django-polymorphic-4.9.0.ebuild @@ -40,8 +40,10 @@ python_test() { local EPYTEST_IGNORE=( # requires playwright src/polymorphic/tests/test_admin.py + src/polymorphic/tests/examples/views/test.py # require django-test-migrations src/polymorphic/tests/test_migrations + src/polymorphic/tests/test_serialization.py ) rm -f conftest.py || die diff --git a/dev-python/fastapi/Manifest b/dev-python/fastapi/Manifest index 859350cacd38..57ddc54569c6 100644 --- a/dev-python/fastapi/Manifest +++ b/dev-python/fastapi/Manifest @@ -1,3 +1,2 @@ -DIST fastapi-0.120.0.tar.gz 337603 BLAKE2B 0150e31be14538831e13fdce62148c8c29bd4dd033b87c08f628b0890815fc2621d07eb2ef2d4606c7c7141cedcaf7f74dabdf9fffc2a9891d6a1925e8852213 SHA512 656de3e759232151c558e14223261a616ddb7ecb027830453abe599919bcae6a1e46d6da0ce9e81d34a10f6e84546c7339b1e387d6aa786e6d4d9857d89a8256 -DIST fastapi-0.120.2.tar.gz 338684 BLAKE2B 30bb468727b21b659eab41bfe33419d83699fe65d2d4bd51419f37bcd70563561f573144a6dddc99625e50dd6c21145954175fa292418b08e8d33c1d0055c41c SHA512 181b82d448dc64be5f95394273f74e55fd3378f521ac2044885b23b6dfc5ed6d0131337344bd7344261f9f1daf76a850f72b094a3432e6187e539168a617ac42 -DIST fastapi-0.121.0.tar.gz 342412 BLAKE2B 06efa91fad91b109b4d62f3bb3a53d2fbf3eae9bd18146c8ff8fdaa2fd61a71f9648f919c3819bd9705526aec01de8fc9a6dfd653ab895996e5808c9c8be511c SHA512 de4663dc0a5c9d6dc1b127f9d5e4cc08d03f0d219b50504202f5c5964fbab4208fdfb69e53237ade0fb09f53feac631df8f4d576417e52411e39f1a69dfc88ee +DIST fastapi-0.125.0.tar.gz 370550 BLAKE2B 0aff60b022fbe6252981ca962aab599aef2a4bbff06e44d919aa23ebdb587605327690c9572d3b021ad24df5d6b83acdc223a21c86598cfe38e1017552962170 SHA512 45ac3cce536ad8efe12f01db9a3347b9d8d023433f07a76efc2c10363db747abcaecbea9c597f571fa6f90355e5b75ec9416e5648660240427d9a77155b44b0a +DIST fastapi-0.127.0.tar.gz 369269 BLAKE2B 5d7372892fdc63b3f8e9b75f3c7d9d23a902792badb91298e423e1d4630c77edf03ececef01db4fb0da750b6f5df4ec774e13da16c076f191aeeaf89fb2d72a4 SHA512 ec453a68385904b5d2d073ff362062a903b6b91c47cfce50e482715f4acd11574052c6d0d63f9a3932895226cff92d2c3771400b2d1230ebe55e1c9a45845c60 diff --git a/dev-python/fastapi/fastapi-0.121.0.ebuild b/dev-python/fastapi/fastapi-0.121.0.ebuild deleted file mode 100644 index 9f0fefdb369b..000000000000 --- a/dev-python/fastapi/fastapi-0.121.0.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="FastAPI framework, high performance, easy to learn, ready for production" -HOMEPAGE=" - https://fastapi.tiangolo.com/ - https://pypi.org/project/fastapi/ - https://github.com/fastapi/fastapi -" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/fastapi/fastapi.git" -else - inherit pypi - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - >=dev-python/annotated-doc-0.0.2[${PYTHON_USEDEP}] - <dev-python/pydantic-3.0.0[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.7.4[${PYTHON_USEDEP}] - <dev-python/starlette-0.50.0[${PYTHON_USEDEP}] - >=dev-python/starlette-0.40.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aiosqlite[${PYTHON_USEDEP}] - >=dev-python/anyio-3.2.1[${PYTHON_USEDEP}] - dev-python/argon2-cffi[${PYTHON_USEDEP}] - dev-python/dirty-equals[${PYTHON_USEDEP}] - dev-python/email-validator[${PYTHON_USEDEP}] - >=dev-python/flask-1.1.2[${PYTHON_USEDEP}] - >=dev-python/inline-snapshot-0.21.1[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.1.5[${PYTHON_USEDEP}] - dev-python/orjson[${PYTHON_USEDEP}] - >=dev-python/pwdlib-0.2.1[${PYTHON_USEDEP}] - dev-python/pydantic-settings[${PYTHON_USEDEP}] - dev-python/pyjwt[${PYTHON_USEDEP}] - >=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}] - <dev-python/pyyaml-7.0.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - dev-python/sqlmodel[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - dev-python/ujson[${PYTHON_USEDEP}] - ) -" -# brotli and zstd due to starlette based tests expecting it - -PATCHES=( - "${FILESDIR}/${PN}-0.115.6-httpx-0.28-test-fix.patch" -) - -EPYTEST_PLUGINS=( anyio ) -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Depends on coverage - "tests/test_fastapi_cli.py::test_fastapi_cli" - # Test result affected by unrelated packages such as brotli and zstd - # https://github.com/fastapi/fastapi/blob/7c6f2f8fde68f488163376c9e92a59d46c491298/tests/test_tutorial/test_header_param_models/test_tutorial001.py#L77 - "tests/test_tutorial/test_header_param_models/test_tutorial001.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_no_underscore" - # https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6afa196ca0cb1604875847b1b84fa64896a06f6e - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_upload" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_no_multipart_installed" - "tests/test_multipart_installation.py::test_no_multipart_installed_file" - "tests/test_multipart_installation.py::test_no_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_no_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_no_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_old_multipart_installed" - # Hangs with network-sandbox - "tests/test_tutorial/test_websockets/test_tutorial003_py39.py::test_websocket_handle_disconnection" - -) - -python_prepare_all() { - # Dont install fastapi executable as fastapi-cli is supposed to handle it - sed -i -e '/\[project.scripts\]/,/^$/d' pyproject.toml || die - - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "commandline interface" dev-python/fastapi-cli - optfeature "test client" dev-python/httpx - optfeature "templates" dev-python/jinja2 - optfeature "forms and file uploads" dev-python/python-multipart - optfeature "validate emails" dev-python/email-validator - optfeature "uvicorn with uvloop" dev-python/uvicorn - optfeature_header "Alternative JSON responses" - optfeature "ORJSONResponse" dev-python/orjson - optfeature "UJSONResponse" dev-python/ujson -} diff --git a/dev-python/fastapi/fastapi-0.120.0.ebuild b/dev-python/fastapi/fastapi-0.125.0.ebuild index e56dde4ff2f9..d02d1761c364 100644 --- a/dev-python/fastapi/fastapi-0.120.0.ebuild +++ b/dev-python/fastapi/fastapi-0.125.0.ebuild @@ -30,7 +30,7 @@ RDEPEND=" >=dev-python/annotated-doc-0.0.2[${PYTHON_USEDEP}] <dev-python/pydantic-3.0.0[${PYTHON_USEDEP}] >=dev-python/pydantic-1.7.4[${PYTHON_USEDEP}] - <dev-python/starlette-0.49.0[${PYTHON_USEDEP}] + <dev-python/starlette-0.51.0[${PYTHON_USEDEP}] >=dev-python/starlette-0.40.0[${PYTHON_USEDEP}] >=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] " diff --git a/dev-python/fastapi/fastapi-0.120.2.ebuild b/dev-python/fastapi/fastapi-0.127.0.ebuild index 9f0fefdb369b..3cc081489421 100644 --- a/dev-python/fastapi/fastapi-0.120.2.ebuild +++ b/dev-python/fastapi/fastapi-0.127.0.ebuild @@ -28,9 +28,8 @@ SLOT="0" RDEPEND=" >=dev-python/annotated-doc-0.0.2[${PYTHON_USEDEP}] - <dev-python/pydantic-3.0.0[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.7.4[${PYTHON_USEDEP}] - <dev-python/starlette-0.50.0[${PYTHON_USEDEP}] + >=dev-python/pydantic-2.7.0[${PYTHON_USEDEP}] + <dev-python/starlette-0.51.0[${PYTHON_USEDEP}] >=dev-python/starlette-0.40.0[${PYTHON_USEDEP}] >=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] " @@ -46,7 +45,8 @@ BDEPEND=" >=dev-python/jinja2-3.1.5[${PYTHON_USEDEP}] dev-python/orjson[${PYTHON_USEDEP}] >=dev-python/pwdlib-0.2.1[${PYTHON_USEDEP}] - dev-python/pydantic-settings[${PYTHON_USEDEP}] + >=dev-python/pydantic-extra-types-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pydantic-settings-2.0.0[${PYTHON_USEDEP}] dev-python/pyjwt[${PYTHON_USEDEP}] >=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}] <dev-python/pyyaml-7.0.0[${PYTHON_USEDEP}] @@ -104,6 +104,8 @@ pkg_postinst() { optfeature "forms and file uploads" dev-python/python-multipart optfeature "validate emails" dev-python/email-validator optfeature "uvicorn with uvloop" dev-python/uvicorn + optfeature "settings management" dev-python/pydantic-settings + optfeature "extra Pydantic data types" dev-python/pydantic-extra-types optfeature_header "Alternative JSON responses" optfeature "ORJSONResponse" dev-python/orjson optfeature "UJSONResponse" dev-python/ujson diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 0ebe5b6d2ff0..8335b38e8239 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,4 +1,3 @@ DIST filesystem_spec-2025.10.0.gh.tar.gz 447778 BLAKE2B 144e3f00139d2a8dd34641f5c00fb5a8e01b2cb4be8e42dded3e0411bd81c9a1ac193833c51b99d95dbf8142e6c9ba4cc1a68f7b831e5f5ab5459059f2fcf56a SHA512 e4b1ee742721eb1be4f98f30f2d27adf394038de9fb3be301a58e0046c4bc3840ffcd63660dc2cf97f4cbcf888276d25a91d3bd5d19844c167bf3d8de365060a DIST filesystem_spec-2025.12.0.gh.tar.gz 449477 BLAKE2B eb884da751cb0671da3159ee21ce4810523c3fe032ffe396e79ea3460e03b1c1834e2741c414537ebd50c16050e184bff2fa832b2e135cfc528f0d8ad3dfe274 SHA512 ae4fe4c1d8ddf7528418f34d874d4e051c044e37bc9da18953a072e9ccdcf9eab521ecff94fd30b68164bd015143503262799e951576e41b31bfe14fe1d0a968 -DIST filesystem_spec-2025.9.0.gh.tar.gz 442812 BLAKE2B 83ff3f4f9b58fb38803dd3eae7a3307a41af8fd7385f097bade053106633c40dd20edcf4ef8610d99cf0a6e8f2906711777b3abd96afe59047f9ab0692eb9a7e SHA512 cb972b9c9d3c8f6f899665337581164da14fbdb5bf3422268468bf0cc1ff2b0a1cad66fe2a048eea9cdff95fc6f34361a5ccdc11802e84b558989d4744c7f3d9 DIST filesystem_spec-2026.1.0.gh.tar.gz 450300 BLAKE2B 9f8d816b41595920966a7044063415bc4f4b5e7efc20bd238f55e6b5d93b2a4bf3b9aabec444a0fab9ab4a8f973a565e11cbbd2ab32716c75cfc43c89f34b84c SHA512 cb122de9eab46210d7c064e6e890aa278408c0bf5f0895714908c4f28e3e7fa7f5ba1a15930a8558b85e80ea250427fb4db2e2267a56f8422f13e8fc557f4968 diff --git a/dev-python/fsspec/fsspec-2025.9.0.ebuild b/dev-python/fsspec/fsspec-2025.9.0.ebuild deleted file mode 100644 index 9d26e7b7908d..000000000000 --- a/dev-python/fsspec/fsspec-2025.9.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -MY_P=filesystem_spec-${PV} -DESCRIPTION="A specification that python filesystems should adhere to" -HOMEPAGE=" - https://github.com/fsspec/filesystem_spec/ - https://pypi.org/project/fsspec/ -" -# upstream removed tests in 2024.6.0 -SRC_URI=" - https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -# Note: this package is not xdist-friendly -EPYTEST_PLUGINS=( pytest-{asyncio,mock,rerunfailures} ) -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_test() { - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - fsspec/implementations/tests/test_reference.py::test_async_cat_file_ranges - fsspec/implementations/tests/test_github.py - fsspec/implementations/tests/test_gist.py - ) - - epytest -o tmp_path_retention_policy=all -} diff --git a/dev-python/ignore-python/Manifest b/dev-python/ignore-python/Manifest index 3559e30f9481..9fd8c2fd33bc 100644 --- a/dev-python/ignore-python/Manifest +++ b/dev-python/ignore-python/Manifest @@ -1,2 +1,2 @@ -DIST ignore-python-0.3.0-deps.tar.xz 5121304 BLAKE2B 243c0102c21010048a79b37f6ba4ccacf3c54017e14f1f036c1a21788c61c6550a8bcb5da6ffc82c1c4ee9ada60b1f337878724a4ee12220d6d3bb968b5e304c SHA512 807ce4a4f47b1f02b67b91de652ce8191e31d05e40509446c31ceddcff57d40f2c037acb7b676c26175d9fa5d2e1b5499269e9e2afe7eda73acb1197effaee8a -DIST ignore-python-0.3.0.gh.tar.gz 8996 BLAKE2B 640bd9a2b53459d7f909d784941d0bfedd312526e848ef2ae7ed85d1aff4e7ca90d48f480e3d8b68a29228325c55723c76fdc66808822e6b779bd6f5c886adbb SHA512 0afd134cac196df6d2d839e06fb1d38359cbbd7347d96210b4de9d9f9ddb10ebd24e52fb8606ca15fbb8d3bd0b8161f6e74bde9d3865ee3c1b7f67cae8f7b14d +DIST ignore-python-0.3.1-deps.tar.xz 5123024 BLAKE2B 817fd3c908a05c822908846ab6c888e9707e297f4d98468413ef4a4b525d31a9dc40e749e969c16823947512e77ee2e8155b8d0dd83d894d85d767bc97772424 SHA512 0b848af3595d7960f0dad3d46b3e2512a01894092e166ae57ed323a239a77c39e3a4e2c09986f840da93d88bb81025fc356f77d22041f0a1681be3f7c8f56412 +DIST ignore-python-0.3.1.gh.tar.gz 8999 BLAKE2B 185270fe4259f7e1f893000caf74fac1e2cd3804ad57e737f7e02c227ec092ce2d9fbe71fd18d74219c2658419ad1b61c661e6b997be5c2d51b325b2639b8105 SHA512 3d1128a0e501cc9c3a1bb4fa1eda521c9a78b4174cbdcab137050f37b053f898381bf32a3e0ee9a54d90bd831b53ea767fb8b5a76ffceabf3cd7dd9f2b794126 diff --git a/dev-python/ignore-python/ignore-python-0.3.0.ebuild b/dev-python/ignore-python/ignore-python-0.3.1.ebuild index b624466c952b..b624466c952b 100644 --- a/dev-python/ignore-python/ignore-python-0.3.0.ebuild +++ b/dev-python/ignore-python/ignore-python-0.3.1.ebuild diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 3c1f8549009e..b7969c998e7e 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -13,5 +13,4 @@ DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b9 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 DIST llvm-project-21.1.8.src.tar.xz 158958576 BLAKE2B 0d3d4ee920f8e5db50e98152616f16004c74df0e7313cc86d893428fb7b1c875109988a5e40ea6f2e5d0fef53c7bfe2fc2b69e84807f6eb440b03afa1b228a36 SHA512 cae4c44e7bf678071723da63ad5839491d717a7233e7f4791aa408207f3ea42f52de939ad15189b112c02a0770f1bb8d59bae6ad31ef53417a6eea7770fe52ab DIST llvm-project-21.1.8.src.tar.xz.sig 119 BLAKE2B cffc1825f5778a3e3c128ec3e856ff6ee50687319d621cdf42e895abf67e05cc51cb7493308e2b506ab60dbdbaca7aa75eb9f78d91d42c81f9682a36f4042e9d SHA512 10f58eff58ed6e701d0f123b15e68c82ab8cbdf99b1c86c0d83e3b8553e90ea51055e30327e8e442ded57c8f503e2a2de9ee075e9c28b5ba815a0f8922f8671c -DIST llvm-project-8401a8d0be7671fb5089f850a34dc92ad4a2eb12.tar.gz 254694831 BLAKE2B edac68e2b57124504262d68d1fabbb2161af023c2b9f96f304ce220e3d84249e2a2c1137c83bcfb15f6f082b68ef24a775150e5f435ec14d0f471c51ec438346 SHA512 a35f918fc3363df20fecac5820595060acd9fa0bce2cc3f696603192100a63ff4d31f6ba6ac98ad13f62b01c0789f3cce2ecbe4b9c0095d2bf02d2b24971d973 -DIST llvm-project-a3c8b090c37fb10e8c3aa6cd2e5644033cc8a0e4.tar.gz 256214859 BLAKE2B 9b0b94d84ce14b35bd90e1e7c4cb1c6acace5156d10345f56bb35945b8db28747c196eeec43011a98eaca008595950eefbe8a1ebda2871fd6d0bc3bd3012818a SHA512 b26e7b5b1654f2004e6afa7e452f2e9b5623021ec97406f4c5d42ed26fa4532c5d904d276e5665c758a9310859ee274e06a6d6eb4371d7ccba99ce86b04264ea +DIST llvm-project-b01c3d6682d2fa5d6ac22d5a964b739009e9db7b.tar.gz 256801517 BLAKE2B dbdcaed7e0e06a673730c53c64c988add905b2679695ca0cf09db8b28f59eedd5455f4a0ad5a3d672e4f6601d7480775ef8fc405dc1e60c75b425382410e59cf SHA512 3afa29dac2f9b22e6af4b1783bae0bc7507a1a8ca397e88fd6687cbd9620df54525b2b9115906b80e9d1dcd16e0704a5a90eaa6cf0fa3d7f89d3d60f7d8ee19f diff --git a/dev-python/lit/lit-22.0.0_pre20251127.ebuild b/dev-python/lit/lit-22.0.0_pre20251127.ebuild deleted file mode 100644 index 2a2c160e0038..000000000000 --- a/dev-python/lit/lit-22.0.0_pre20251127.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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_{10..14} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - llvm-core/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from llvm-core/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-22.0.0_pre20251223.ebuild b/dev-python/lit/lit-22.0.0_pre20260106.ebuild index 2a2c160e0038..2cc4b6485aed 100644 --- a/dev-python/lit/lit-22.0.0_pre20251223.ebuild +++ b/dev-python/lit/lit-22.0.0_pre20260106.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index a0e74b07a0f7..e59315d56426 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -11,3 +11,5 @@ DIST numpy-2.4.0.tar.gz 20685720 BLAKE2B 958675bbef27810b7a4618642db440c5a01d334 DIST numpy-2.4.0.tar.gz.provenance 9645 BLAKE2B d21d6398b148f342d8aa059995a72c79213dac5778b36ea3b91df8f3b39867d58bdfe4788fe5fb1a29b4edd92933332af7e4032827647172ed0d8d5ea822bfdd SHA512 a9930efdbcab2afcec17874ec017e00e80394b546a324da073596385fe96a83f455d4a9bb17a0ce329a06e39d3fe4bfecbeec8a7c973fecb25de0ae971b48e63 DIST numpy-2.4.0rc1.tar.gz 20658299 BLAKE2B ffefdc86ebdf77c503f7be7228efec64b095846814f5c5afe19f701047e151c0beb924515dfdccb7f8b0e9f991c9cef27786f3524a32b302e0daa6ffb3b38b94 SHA512 9e2373d6b6316922a7360e08261bfb15642f375ac95bff130920066ab674f34b4c784fe21c0421e838a28de47453d1d2dd4b81cefaa2b99a08b20f46f3544293 DIST numpy-2.4.0rc1.tar.gz.provenance 9749 BLAKE2B a554580b5d9ddffeca3ddce5edb49130de5b27bb3678acc44ad9d1c0f3b0617f5cb723f1803e31048641e3647e950ea85a469fe08c0b8467b0419d882639a228 SHA512 0758b3bb844433ec7fc662901c63768e6ca6f43dda784a405124aceaf25cae20d885cd2f0cfecd7897874953e9c21c42337159f7174c024d30bb8511c0ff1f98 +DIST numpy-2.4.1.tar.gz 20721320 BLAKE2B 57e51640bf8cfc53fb9f661a7d26dadf5c1d1317be05e211b7a894cf29c545335ed55c809c585a0ba3598774b4e8753bd517ab8016012c51c7de7604bd3a4632 SHA512 3168d9cf6286f8590cb7a3e58a6f4b51ebda906c5a3cff900bcab20962721684bd65b929fe24cc238c46934f9bf7fd8c2ae091d624b03d44652f49ad61ccab32 +DIST numpy-2.4.1.tar.gz.provenance 9688 BLAKE2B 92eca7634e6bc4371e459c5314877e69f5190af8231031695d1b5061ff2da55c4ed9b90eee3ee50a40014324f70719a95647282b73efd68f7d67e9211137aee4 SHA512 cc259fce3e35c892866cebfe488723990f8fe28c1fb1004986865a765272c630a536b7723c4f22103d8cbb7886f27fb45887e84e0ebf747cc48f5c490fee9e28 diff --git a/dev-python/numpy/numpy-2.4.1.ebuild b/dev-python/numpy/numpy-2.4.1.ebuild new file mode 100644 index 000000000000..dc4b1246224f --- /dev/null +++ b/dev-python/numpy/numpy-2.4.1.ebuild @@ -0,0 +1,309 @@ +# Copyright 1999-2026 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/numpy/numpy-release +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+)" +FORTRAN_NEEDED=lapack + +inherit distutils-r1 flag-o-matic fortran-2 pypi + +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE=" + https://numpy.org/ + https://github.com/numpy/numpy/ + https://pypi.org/project/numpy/ +" + +LICENSE="BSD 0BSD MIT ZLIB CC0-1.0" +SLOT="0/2" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +# +lapack because the internal fallbacks are pretty slow. Building without blas +# is barely supported anyway, see bug #914358. +IUSE="big-endian +cpudetection index64 +lapack" + +# upstream-flag[:gentoo-flag] +ARM_FLAGS=( neon{,-fp16} vfpv4 asimd{,hp,dp,fhm} sve ) +PPC_FLAGS=( vsx vsx2 vsx3 vsx4 ) +X86_FLAGS=( + avx2 avx512{bw,dq,vl} avx512_{bf16,bitalg,fp16,vbmi2} sse4_2 +) +IUSE+=" + ${ARM_FLAGS[*]/#/cpu_flags_arm_} + ${PPC_FLAGS[*]/#/cpu_flags_ppc_} + ${X86_FLAGS[*]/#/cpu_flags_x86_} +" + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8[index64(-)?] + >=virtual/lapack-3.8[index64(-)?] + ) +" +BDEPEND=" + ${RDEPEND} + >=dev-build/meson-1.5.2 + >=dev-python/cython-3.0.6[${PYTHON_USEDEP}] + lapack? ( + virtual/pkgconfig + ) + test? ( + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ' 'python*') + dev-python/charset-normalizer[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # https://bugs.gentoo.org/925367 + vrndq_f32 +) + +EPYTEST_PLUGINS=( hypothesis pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +has_all_x86() { + local flag + for flag; do + if ! use "cpu_flags_x86_${flag}"; then + return 1 + fi + done + return 0 +} + +python_configure_all() { + local cpu_baseline=() + local map flag + case ${ARCH} in + arm) + # every flag implies the previous one + for map in NEON:neon NEON_FP16:neon-fp16 NEON_VFPV4:vfpv4; do + if ! use "cpu_flags_arm_${map#*:}"; then + break + fi + cpu_baseline+=( "${map%:*}" ) + done + ;& + arm64) + # on 32-bit ARM, ASIMD implies all NEON* flags + # on 64-bit ARM, they are all linked together + if use arm64 || + [[ ${cpu_baseline[@]} && ${cpu_baseline[-1]} == NEON_VFPV4 ]] + then + cpu_baseline+=( $(usev cpu_flags_arm_asimd ASIMD) ) + fi + + # these two imply ASIMD + if [[ ${cpu_baseline[@]} && ${cpu_baseline[-1]} == ASIMD ]]; then + for flag in dp hp; do + cpu_baseline+=( + $(usev "cpu_flags_arm_asimd${flag}" "ASIMD${flag^^}") + ) + done + fi + + # these two imply ASIMDHP + if [[ ${cpu_baseline[@]} && ${cpu_baseline[-1]} == ASIMDHP ]]; then + for flag in asimdfhm sve; do + cpu_baseline+=( + $(usev "cpu_flags_arm_${flag}" "${flag^^}") + ) + done + fi + ;; + ppc64) + # every flag implies the previous one + for flag in '' 2 3 4; do + if ! use "cpu_flags_ppc_vsx${flags}"; then + break + fi + cpu_baseline+=( "VSX${flag}" ) + done + ;; + amd64|x86) + # upstream combines multiple instructions into sets + local mapping=( + # for these, we just check the newest instruction set, + # since all earlier instruction sets imply it + "X86_V2=sse4_2" + "X86_V3=avx2" + # from here on, we check all features that were added + # in the lowest CPU supporting them all + # https://en.wikipedia.org/wiki/AVX-512 + "X86_V4=avx512bw avx512dq avx512vl" + "AVX512_ICL=avx512_vbmi2 avx512_bitalg" + "AVX512_SPR=avx512_bf16 avx512_fp16" + ) + + local m + for m in "${mapping[@]}"; do + local feature=${m%=*} + local sets=${m#*=} + + if has_all_x86 ${sets}; then + einfo "${feature} enabled: all of ${sets} enabled" + cpu_baseline+=( "${feature}" ) + else + einfo "${feature} disabled: not all of ${sets} enabled" + break + fi + done + ;; + *) + cpu_baseline=MIN + ;; + esac + + DISTUTILS_ARGS=( + -Dallow-noblas=$(usex !lapack true false) + -Duse-ilp64=$(usex index64 true false) + -Dblas=$(usev lapack $(usex index64 cblas64 cblas)) + -Dlapack=$(usev lapack $(usex index64 lapack64 lapack)) + -Dcpu-baseline="${cpu_baseline[*]}" + -Dcpu-baseline-detect=disabled + -Dcpu-dispatch="$(usev cpudetection MAX)" + ) + + # bug #922457 + filter-lto + # https://github.com/numpy/numpy/issues/25004 + append-flags -fno-strict-aliasing +} + +python_test() { + # We run tests in parallel, so avoid having n^2 threads in lapack + # tests. + local -x BLIS_NUM_THREADS=1 + local -x MKL_NUM_THREADS=1 + local -x OMP_NUM_THREADS=1 + local -x OPENBLAS_NUM_THREADS=1 + + # don't run tests that require more than 2 GiB of RAM (per process) + local -x NPY_AVAILABLE_MEM="2 GiB" + + local EPYTEST_DESELECT=( + # Very disk-and-memory-hungry + numpy/lib/tests/test_io.py::TestSavezLoad::test_closing_fid + numpy/lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load + + # Precision problems + numpy/_core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals + + numpy/typing/tests/test_typing.py + + # Flaky, reruns don't help + numpy/f2py/tests/test_crackfortran.py + numpy/f2py/tests/test_data.py::TestData{,F77}::test_crackedlines + numpy/f2py/tests/test_f2py2e.py::test_gen_pyf + numpy/f2py/tests/test_f2py2e.py::test_gh22819_cli + ) + + if [[ $(uname -m) == armv8l ]]; then + # Degenerate case of arm32 chroot on arm64, bug #774108 + EPYTEST_DESELECT+=( + numpy/_core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + case ${ARCH} in + arm) + EPYTEST_DESELECT+=( + # TODO: warnings + numpy/_core/tests/test_umath.py::TestSpecialFloats::test_unary_spurious_fpexception + + # TODO + numpy/_core/tests/test_function_base.py::TestLinspace::test_denormal_numbers + numpy/f2py/tests/test_kind.py::TestKind::test_real + numpy/f2py/tests/test_kind.py::TestKind::test_quad_precision + + # require too much memory + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + ) + ;; + hppa) + EPYTEST_DESELECT+=( + # https://bugs.gentoo.org/942689 + "numpy/_core/tests/test_dtype.py::TestBuiltin::test_dtype[int]" + "numpy/_core/tests/test_dtype.py::TestBuiltin::test_dtype[float]" + "numpy/_core/tests/test_dtype.py::TestBuiltin::test_dtype_bytes_str_equivalence[datetime64]" + "numpy/_core/tests/test_dtype.py::TestBuiltin::test_dtype_bytes_str_equivalence[timedelta64]" + "numpy/_core/tests/test_dtype.py::TestBuiltin::test_dtype_bytes_str_equivalence[<f]" + "numpy/_core/tests/test_dtype.py::TestPickling::test_pickle_dtype[dt28]" + numpy/f2py/tests/test_kind.py::TestKind::test_real + numpy/f2py/tests/test_kind.py::TestKind::test_quad_precision + numpy/tests/test_ctypeslib.py::TestAsArray::test_reference_cycles + numpy/tests/test_ctypeslib.py::TestAsArray::test_segmentation_fault + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_scalar + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_subarray + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_structure + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_structure_aligned + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_union + numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_padded_union + ) + ;; + ppc|x86) + EPYTEST_DESELECT+=( + # require too much memory + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + ) + ;; + esac + + if [[ ${CHOST} == powerpc64le-* ]]; then + EPYTEST_DESELECT+=( + # long double thingy + numpy/_core/tests/test_scalarprint.py::TestRealScalars::test_ppc64_ibm_double_double128 + ) + fi + + if use big-endian; then + EPYTEST_DESELECT+=( + # ppc64 and sparc + numpy/linalg/tests/test_linalg.py::TestDet::test_generalized_sq_cases + numpy/linalg/tests/test_linalg.py::TestDet::test_sq_cases + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]" + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]" + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]" + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]" + ) + fi + + if ! has_version -b "~${CATEGORY}/${P}[${PYTHON_USEDEP}]" ; then + # depends on importing numpy.random from system namespace + EPYTEST_DESELECT+=( + 'numpy/random/tests/test_extending.py::test_cython' + ) + fi + + if has_version ">=dev-python/setuptools-74[${PYTHON_USEDEP}]"; then + # msvccompiler removal + EPYTEST_DESELECT+=( + numpy/tests/test_public_api.py::test_all_modules_are_expected_2 + numpy/tests/test_public_api.py::test_api_importable + ) + EPYTEST_IGNORE+=( + numpy/distutils/tests/test_mingw32ccompiler.py + numpy/distutils/tests/test_system_info.py + ) + fi + + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + distutils-r1_python_install_all +} diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest index 11b227b1744a..ad5ac4e1138e 100644 --- a/dev-python/osc-lib/Manifest +++ b/dev-python/osc-lib/Manifest @@ -1 +1,2 @@ DIST osc_lib-4.2.0.tar.gz 101802 BLAKE2B a3bb7998e8f54786606bcac528c1562c0d405d14eb5079b46ee5cb849c9284e183d3b4baee2a3ea803ac8e9c45262f3e058eace6b262c13088463a8e79a49154 SHA512 27b393187b97764ec10b0693713724377bfe636613bb84c6edac6aa52668fcdcbaa067e7dfdfd5c6b443a00adbec4dd9fc1542a9f1a9c36652b7dab874fc9e10 +DIST osc_lib-4.3.0.tar.gz 104796 BLAKE2B 412a01ca32a4929bec3b7253f64123d50adca81d515df9b3e0bfeba9a9c0627ee2d0091919cd6ad2b25bc277e740d361bc46c8d9b981dfba703b91b1266781e0 SHA512 ce0185629ee71df090efd98c6f702b3977d89e5c1a1f2dda78a4df0ef63ee184fc3a67ddf26b67f2d3314066b376e6b976e5a14a654f287edfdfd38dad77b478 diff --git a/dev-python/osc-lib/osc-lib-4.3.0.ebuild b/dev-python/osc-lib/osc-lib-4.3.0.ebuild new file mode 100644 index 000000000000..882b127f5c05 --- /dev/null +++ b/dev-python/osc-lib/osc-lib-4.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pbr +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A package of common support modules for writing OSC plugins" +HOMEPAGE=" + https://opendev.org/openstack/osc-lib/ + https://github.com/openstack/osc-lib/ + https://pypi.org/project/osc-lib/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cliff-4.9.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-5.10.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.15.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # need to skip all tests under TestTagHelps class + # checks exact help message, based on another unittest runner + sed -e '179,$s/test_add_tag_/_&/' -i osc_lib/tests/utils/test_tags.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest index e17cbd33ec89..fd4c68d97fcb 100644 --- a/dev-python/packaging/Manifest +++ b/dev-python/packaging/Manifest @@ -1,2 +1,3 @@ -DIST packaging-24.2.tar.gz 163950 BLAKE2B 8610f22a05a71a38bafe5e7ae12c549a4395f751585ab2056eb5ca1c76db3d4bc9dc452eafac4209a87e8ef54577c35529873fa25b8a43b454164298c203aae7 SHA512 4d79d9c49c59255e9eb12cb1452ff9ee413a6a6f34a23c487d3d5712ddabe067f8c6dafe0c8111517682634deac2fd5db1346e3c0cc9f432eba94491aa459553 DIST packaging-25.0.tar.gz 165727 BLAKE2B ad665526339ccc63bbca1e21649f773e626b13f984f0800c6362d5642e8de701d88f7793015bc406f3dc39fa6ce2784f099f925b08d7b5c1d3614d390470080c SHA512 0672602d2e18c3aee71b3e567b0de572bc8613ee3d24a79a655ded23ac08ec4582193225bc0c0ea390ed81cf5efbb46e8afbe0798d14f2235f811f263c25728c +DIST packaging-26.0rc1.tar.gz 142273 BLAKE2B 164a8cc27b161c7aa9214ff545a8c26fc44ebc943a4914bcf58ba050d6d3f243aa0a08033b669066cdb3bc8926ad5bcd30651e5490ee92078c41b559e8ba905b SHA512 6b9a18f23821d957546a022c0efcff3af5fa393c3938132868cd6468128820a606a2235642928cb05afea40ae51b071b5403344c308a251d1d31f83047d1d72a +DIST packaging-26.0rc1.tar.gz.provenance 9673 BLAKE2B 47a90dc7d169887beb4671e2e665b00b0754a7bfe5ab2a3d0ae7e6e044c7ab3abd7c30d5b859af3f6d380c5061f74f77e4a29dc16f5a52e3fc46ed59e92d8067 SHA512 443e51791c9da3b5cdc467af8dfe4d0afa73be748b22b26b58ec81526177f048a6b86ab0c2654cb3b8fa87b741b73416a39eb32dd26a10265fe307443d93eb0a diff --git a/dev-python/packaging/packaging-24.2.ebuild b/dev-python/packaging/packaging-26.0_rc1.ebuild index 5c465e5e26f1..c3ece7e7f6cf 100644 --- a/dev-python/packaging/packaging-24.2.ebuild +++ b/dev-python/packaging/packaging-26.0_rc1.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep EAPI=8 DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/pypa/packaging PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi @@ -17,7 +18,9 @@ HOMEPAGE=" LICENSE="|| ( Apache-2.0 BSD-2 )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi RDEPEND=" !<dev-python/setuptools-67 @@ -25,9 +28,11 @@ RDEPEND=" DEPEND=" test? ( dev-python/pretend[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest python_test() { diff --git a/dev-python/pathvalidate/Manifest b/dev-python/pathvalidate/Manifest index 0794c627d79d..529f3bd9a30f 100644 --- a/dev-python/pathvalidate/Manifest +++ b/dev-python/pathvalidate/Manifest @@ -1 +1,2 @@ DIST pathvalidate-3.3.0.tar.gz 63358 BLAKE2B f5f9ad777ddaf6cb33ca5771aaece4f6aa54db4abf4cd2e9cc7f0bb3269b500647cc42753f745c817bd6c7bc9c079ab2047a2f53e99527c707cd6f2cd1cd0eb1 SHA512 303cfd973aebce60ef982e016f01f4a661eb4faa5124815f96952f7a28dd622e60603e443d6745e31047d7292eb142ab7d52313dd8d741938f09991a4b1ff5d9 +DIST pathvalidate-3.3.1.tar.gz 63262 BLAKE2B 4ed0d1a52e2de2069a4681ba991567f9b69dc15c75fd09323dd57669122830d526c6b74692836fcd1a6e475606a602c6aeb87520bee0b9a04254d4b55465d4d4 SHA512 c3a318207825350e76744b0917a26226555dd25233389394e49c0e07fd8e15bffa43bbd2d83482b839ba905618dd8bec0409c0d60af13bd3c9abe25605b5268d diff --git a/dev-python/pathvalidate/pathvalidate-3.3.1.ebuild b/dev-python/pathvalidate/pathvalidate-3.3.1.ebuild new file mode 100644 index 000000000000..671e0ae7ba4d --- /dev/null +++ b/dev-python/pathvalidate/pathvalidate-3.3.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python library to sanitize/validate a string such as filenames/file-paths/etc" +HOMEPAGE=" + https://github.com/thombashi/pathvalidate/ + https://pypi.org/project/pathvalidate/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] + test? ( + dev-python/allpairspy[${PYTHON_USEDEP}] + dev-python/tcolorpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 30647f321d0e..39db28790aa0 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -4,4 +4,6 @@ DIST pikepdf-10.0.3.tar.gz 4549203 BLAKE2B fb251a55ab2750bdf705e132b2938f84f80e4 DIST pikepdf-10.0.3.tar.gz.provenance 9263 BLAKE2B 02c21d953ae667dfa59d65bfbff86b99198f8b081602e6b7f2c611b5aa5f5efc8966d5678965abf348bd014be87806b9e7d8a34633c61b95906c19a258f480ce SHA512 bc96941d5775c41a0b8e0feea568ba9395aa4e182b365d317871530776be574a1f0c41c6c43a096f08b3ca28bb79a4ef1e7e815f5d502b9b1639ac571ab692e3 DIST pikepdf-10.1.0.tar.gz 4566184 BLAKE2B cd0a039f7fcc868919ee4886ab0f7f1ce1c2d85ffbe4636330e74ea8dee803ee98b9cf40ad7b9d7f9196ec241f8cc37b0a89d8d365e44482a04090b0297374c5 SHA512 3d9b697633e05dcc1c949a4b195b6b218955a48b33e7e2e29db764ffc293ffb6f2a54080e4e59198e1dda585e01bec514ed00d262ee3bdb37c747c162d2cb5e5 DIST pikepdf-10.1.0.tar.gz.provenance 9306 BLAKE2B 0d8c5ac4a52707630c6893894039e8f5cfb8cf041870fcedaaf12e943bf49b1ae47926b19c1280bb5762a8d96e5b440203611053d079352c6d81d9feeef0a0f9 SHA512 673e639638d9240ba08ef6c09921644bfc77a73a5e5579d9e50af14f02b5abd2f98a18d01ea5124e0b1fcfbf8fc64e706b392cd65cf29a58eb00e97937ea64e2 +DIST pikepdf-10.2.0.tar.gz 4568506 BLAKE2B 946bee858530953e5cdc81176fe777cd11f37cd732dbbe6e95da23a92c4c032252f76e99fed22f1de52d65bdc913ecaaa06aa8a742cd6a5eaf455296eece9a8e SHA512 8b827db368b6dc3fb00e3f29199d8e38aa6783841d9fd8071a2e521a0c8f76767588b6fbab376938910782e183f17d1e502a3ae9f5397d5ccbf45a0df9a3c4ce +DIST pikepdf-10.2.0.tar.gz.provenance 9451 BLAKE2B 30457304212a20d22f5ef6b20a006a32ebc446740a96b157c3d07f3890da1280e55d8f7b1ddcc6c88d206dbc18e7c51d1c4f4c11afef70dc2c10aab1d1bd7e4a SHA512 e8d73d09c308dd671fd60742c1578683073ed1050e51040ca2434e003a8b36f130e71229d9df628b21dfec07101510c59ab81b2b1c6f53e7d680a66be61ff409 DIST pikepdf-9.11.0.tar.gz 4546289 BLAKE2B 267a8f834cf9da21a5d8f4b5e4734eaaaa9889f9ae919e6c9f030ffda3a36e951f3a8aedecc8168234264ffd5792ca1eefc2e1833ec8a6b540b0978a5638e8e4 SHA512 b92c1aa285935faccf8f1058aff25bf1ba906d8e6e4cca986f6fed59c2faf9cb9f1c5a3aeebd2899dac7fbe2489af627c76a751963657aa476c16eb1374b34ad diff --git a/dev-python/pikepdf/pikepdf-10.2.0.ebuild b/dev-python/pikepdf/pikepdf-10.2.0.ebuild new file mode 100644 index 000000000000..238daa97e17b --- /dev/null +++ b/dev-python/pikepdf/pikepdf-10.2.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pikepdf/pikepdf +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="big-endian" + +# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as +# https://qpdf.readthedocs.io/en/stable/release-notes.html. +DEPEND=" + >=app-text/qpdf-12.2.0:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecated[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5.9[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + !big-endian? ( + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + ) + media-libs/tiff[zlib] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-timeout ) +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -e '/-n auto/d' -i pyproject.toml || die +} + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # mismatched exception message + tests/test_scalar_types.py::TestIntIntConversions::test_index_on_non_integer_raises + ) + ;; + esac + + epytest +} diff --git a/dev-python/protobuf/Manifest b/dev-python/protobuf/Manifest index ca46d585bd76..fa3b28201a2a 100644 --- a/dev-python/protobuf/Manifest +++ b/dev-python/protobuf/Manifest @@ -1,9 +1,7 @@ -DIST protobuf-29.5.gh.tar.gz 9351493 BLAKE2B bb591ebe69cc76830ac84e4af10a3de3cc5c760ffd682a9b9d6bab6f838d4bcb32c361118b41fdc6c6a6e6c3eb00657b0a345d8cc709d95c9635e76dd71494af SHA512 fb35f36145356fbc65a5c9a9501ea9d1e089fc1cd4dd2c8098068b7f10a378efff5b04429bc500347e98cf2b239d49f8c503c60bd35ddaad3d4f6b0a076ebabf DIST protobuf-32.0.gh.tar.gz 9692366 BLAKE2B 37e09bec62a5c35a3ca45d4bd4fd27e719a4f04b95f049b265ca7c231459d8333eafc13cfd1126dda5ccf799ab2e2e9f305fcae5525a64b4b1eb45b1fb3a897b SHA512 89806b219fa2132e46bf01b7a5831c2977ad7ebe06750956d0e17bcdc028498e883704445fca56bb813f4b78e935709f67f8fa1b46b597840c58a843483cdafb DIST protobuf-32.1.gh.tar.gz 9694736 BLAKE2B 37a310799eaa58b14f67c62410f1e150c031b94db5a499ceeda749bd13a1165403a5d4c86ffa45729ae333080697ce0619b29a51d2bc345de012f99a3ce5dd20 SHA512 840239f4fb57450ffe61f2cdc73daf5f1f3ea317b1ab1135a90303783e62722cfa410ff27bb2c5c6d3106be39ccdc95cdfbc5bf271ba79f935ab85f9b8ce3075 -DIST protobuf-33.0.gh.tar.gz 6869946 BLAKE2B ee9a600d67873f129138cb3ab13b3d5197301e8cfc682f194317c8389f7115d10bab73e410116570f8f0ccfe2dc20f8f629b47c90f7b31a3df54acfacda18506 SHA512 365f975f2e982dd2d5588dc0ff435316bf6e50d272e419c01793e4d02f1a9f1e98026fc854ec73f1ee4eb0391701201ae82c7af9b18f3b677d451dd3dd78c468 -DIST protobuf-33.1.gh.tar.gz 6869948 BLAKE2B 7eaa5ee84d0869bb8e0adcbee094f8893130a957a16772a9f0dae855f914c8a2957b69765601552e3630c18c567a270e31eb24e20ef1bea16082fba7e41c0d35 SHA512 1d93ba3ec5a38de4d2ad7f139ab017c5539580b33694f659fffde08aadc7ed986f8fa93eaa98462d911472031c387194982220ef9e1a0631fcb1fa7eba8ba227 DIST protobuf-33.2.gh.tar.gz 6875303 BLAKE2B 74e09134d5a8c524f1c2c11244d41c7b26a075872fbf99a95759878cf8e6a3effaf946b7e1994f3cbdfd8a465218bd1f226278e9e6ac6b1f9a1f7d54a0a366cf SHA512 7b84fee0cb0a3b5de4b59899b12a7cccfe330b588a26bf397ec46c3ac61ce883018116f6a0ef73e621b35e7eacde1d13086317dad5cfa1066aa558c950ef48a2 +DIST protobuf-33.3.gh.tar.gz 6889779 BLAKE2B 8031047309ee32633860b23e93bb30984d87a65749cdb4d36b93abcccc6b22782aea0d69970d849a3f43dafc75a27a5c98335a18dc72c3600a4ffb04b16c357b SHA512 fa54336ad4ee40fdf7024122dac455b5da3262e965b25096b7e5f7e4cbc94ee9179aa02a0570b4a732c06f6f921a17d8b3d44dfd367afb0ec52fe5bd7e00068b DIST protobuf-5.29.5.py.tar.gz 425226 BLAKE2B 1d7461e94ba8bc097d6f52170678665e3cd97ef44e4757e6c20bcb1bdfbfe673d26cd4a63f8e6972af964e381dfffedeb9a4959ec7a7d5a3a3f87f917c8aa329 SHA512 cbb39efe7f6499362b3e4cc9f073df921c8b83d3aafde245a2ca3432f3e744a428e946799c48b2797e08312342e164eced0bf2b8865b8d042b54913855abb1c8 DIST protobuf-6.30.2.gh.tar.gz 9523913 BLAKE2B d3950abfe8b3b61dc2bb61f683b014de29451252c46b670dee75a81eb0b8ed30a3209227aa9483800244af16058469deb281521609d769a3456a798ca8a9a4a3 SHA512 f2ee857a36b49f87257a306b3f3c361770d74aaf24c4650b9d00994e1e1a0b09079fb0ce5ffb4d5a4a32d8ca46e3247d6db454918fa0b104fc8d58e8a0546a96 DIST protobuf-6.30.2.py.tar.gz 429315 BLAKE2B 6b56e23a8a962ce9da282ec49c4807877f4bfb677ad84bb6930b83cc436e9839f5791cfb19105678881c8361e27d62d3dde51e5e6c42f7a0e146d9e469282780 SHA512 48ddb2b63acc91759ba4243926c50bb0d16601aace9019129975701634b77a59415659751c69b06464afe994a0fbbd8da6640a208b743ba7df8bf6d60c5ec2b9 @@ -11,6 +9,5 @@ DIST protobuf-6.31.1.gh.tar.gz 9602805 BLAKE2B 349a528acaad6bae8c39be2888fcfe855 DIST protobuf-6.31.1.py.tar.gz 441797 BLAKE2B 867ee81473a733020098f76c2ccf22161a73b3a1219e08f0f339f202cff871447d874cc6c13d42ef314a0134d65c56631ba4ab6feb806749f3d18443f666f5d9 SHA512 595c125a116020344d5706adf444e1a3259eae5bce3ca61b92c1ab4cb63c167f97210c71e5e24b8c49c6489777ca6de95abdd398125ba3925313ad5ebe09cc18 DIST protobuf-6.32.0.py.tar.gz 440614 BLAKE2B 615338e96a26c5a9f254b41da41598d9826fa039cff088c94fe3693a1f042631a7b48ac9a3a9bf6de2f6c5d61209796e227df080f4388f46d76afa9fecc94ddd SHA512 c29d1b01984e0cc204bffa5c757e4df4eb8ee696b6f5557414e65310b15956192fc73db5daae176f2b4db03e98c36a46cc74ca8b377df193bc9461142c8269cf DIST protobuf-6.32.1.py.tar.gz 440635 BLAKE2B 4d6c7c398378e04f130ec281234a96ef59fc34511d9c1c3153851a2623b894dc64d559e02bd8f55c9b7f82d98d43e914ca5967481dcf4eb92f7cd22aa47a4e77 SHA512 f8aeb9cdbde385e728f3006d16f26c540a5ec46f7046486b34cdf254a22acdcf6a152791517cd852cfa866809b0b79b3233757c4f898e4768d00b0d902c30776 -DIST protobuf-6.33.0.py.tar.gz 443463 BLAKE2B 32d7a4e03912356836f748a6d255f171778c91f8d45718d9d1cd67c0c1e5123d74dbd2529baef13c09b022cb2555c1a0852490bde9b6aa7aeda320f062278bab SHA512 9173f832a2e285095ab2e479f7b8155e1005f38cbd385f3752ecd3f68281f1b2f530a12cd784d293263a233fdb94f5f6c5dc988e29fe3345d3e721d8d7ba2dcf -DIST protobuf-6.33.1.py.tar.gz 443432 BLAKE2B caded926803516b1d9a37f3ee4dd05ba683a23fd5bfb53b3a26e6dd06a967e91da21e4fa6b85adbe568c0abc264b67de1c9d15b965606011d7f20e6a7b6096e9 SHA512 bb9eb03a4cd59f2e0085fe72b6099a8ac749b16abcf26c9ba98410dc3258559cb5fdf7a090830234d575e3d648cfeb3dce4413bc4804026227762f18daf9c960 DIST protobuf-6.33.2.py.tar.gz 444296 BLAKE2B d91fd1164ac67c33b04a4f882aba253bd9736de61bf23c082808fa311a2a17ae6b1b26a8fcf11257127a3374e1f8ae979261f3f1ebdbd51d4b3a19f310a5170d SHA512 ee52d5d3f8726e0d86cdeb522ec22b5366ee87cfea86a679cd188857103ba040bb6f0cae956ba7e3ecc05ef7e4ad3c691ecfd99b0710e909a7ebf66108cf1b7a +DIST protobuf-6.33.3.py.tar.gz 444318 BLAKE2B 42c4bf4e7878eee03a0728feaf83bfcb037614d28332dddb490052586484cb034c20fefc95d82926a8183b6171f9b8d53b7fdf00e5a254824d7a8c4b3c6e9bfb SHA512 ba532469efd48e9541db67fb127846080ffee8e89b4b72587587f584e31b577c737f36c830a7591186722e6c432674ed033c037ce8813360af8023b1399329e9 diff --git a/dev-python/protobuf/protobuf-5.29.5.ebuild b/dev-python/protobuf/protobuf-5.29.5.ebuild deleted file mode 100644 index f2061697055d..000000000000 --- a/dev-python/protobuf/protobuf-5.29.5.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 2008-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Default implementation currently is upb, which doesn't match dev-libs/protobuf -# https://github.com/protocolbuffers/protobuf/blob/main/python/README.md#implementation-backends - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -GH_PV=$(ver_cut 2-3) -GH_P=${PN}-${GH_PV} - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE=" - https://protobuf.dev/ - https://pypi.org/project/protobuf/ -" -# Rename sdist to avoid conflicts with dev-libs/protobuf -SRC_URI=" - $(pypi_sdist_url) -> ${P}.py.tar.gz - test? ( - https://github.com/protocolbuffers/protobuf/archive/v${GH_PV}.tar.gz - -> ${GH_P}.gh.tar.gz - ) -" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-3)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -# need protobuf compiler -BDEPEND=" - test? ( - dev-libs/protobuf[protoc(+)] - dev-python/absl-py[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_unpack() { - unpack "${P}.py.tar.gz" - - if use test; then - mkdir "${WORKDIR}/test" || die - cd "${WORKDIR}/test" || die - unpack "${GH_P}.gh.tar.gz" - fi -} - -src_prepare() { - distutils-r1_src_prepare - - # strip old-style namespace - rm google/__init__.py || die -} - -python_test() { - local EPYTEST_DESELECT=() - local EPYTEST_IGNORE=( - # TODO: figure out how to build the pybind11 test extension - google/protobuf/internal/recursive_message_pybind11_test.py - ) - - case ${EPYTHON} in - python3.11) - EPYTEST_IGNORE+=( - # syntax error... - google/protobuf/internal/json_format_test.py - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - # exception message mismatch - google/protobuf/internal/json_format_test.py::JsonFormatTest::testInvalidTimestamp - google/protobuf/internal/well_known_types_test.py::TimeUtilTest::testInvalidTimestamp - ) - ;; - esac - - cp -r "${BUILD_DIR}"/{install,test} || die - local -x PATH="${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH}" - cd "${BUILD_DIR}/test$(python_get_sitedir)" || die - - # copy test files from the source tree - cp -r "${WORKDIR}/test/${GH_P}/python/google/protobuf/internal/." \ - google/protobuf/internal/ || die - # link the test data for text_format_test.py - # (it traverses directories upwards until to finds src/google...) - ln -s "${WORKDIR}/test/${GH_P}/src" ../src || die - - # compile test-related protobufs - local test_protos=( - # from src - any_test.proto - map_proto2_unittest.proto - map_unittest.proto - unittest.proto - unittest_custom_options.proto - unittest_delimited.proto - unittest_delimited_import.proto - unittest_features.proto - unittest_import.proto - unittest_import_public.proto - unittest_legacy_features.proto - unittest_mset.proto - unittest_mset_wire_format.proto - unittest_no_field_presence.proto - unittest_no_generic_services.proto - unittest_proto3.proto - unittest_proto3_arena.proto - unittest_proto3_extensions.proto - unittest_retention.proto - util/json_format.proto - util/json_format_proto3.proto - # from python - internal/descriptor_pool_test1.proto - internal/descriptor_pool_test2.proto - internal/factory_test1.proto - internal/factory_test2.proto - internal/file_options_test.proto - internal/import_test_package/import_public.proto - internal/import_test_package/import_public_nested.proto - internal/import_test_package/inner.proto - internal/import_test_package/outer.proto - internal/message_set_extensions.proto - internal/missing_enum_values.proto - internal/more_extensions.proto - internal/more_messages.proto - internal/no_package.proto - internal/packed_field_test.proto - internal/self_recursive.proto - internal/test_bad_identifiers.proto - internal/test_proto2.proto - internal/test_proto3_optional.proto - internal/well_known_types_test.proto - ) - local proto - for proto in "${test_protos[@]}"; do - protoc --python_out=. -I"${WORKDIR}/test/${GH_P}/src" -I. \ - "google/protobuf/${proto}" || die - done - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # pytest-forked prevents segfault on py3.13 - # https://github.com/protocolbuffers/protobuf/issues/22067 - epytest -p pytest_forked --forked -} diff --git a/dev-python/protobuf/protobuf-6.30.2-r2.ebuild b/dev-python/protobuf/protobuf-6.30.2-r2.ebuild index 0750eb22c29b..163eea1f7c09 100644 --- a/dev-python/protobuf/protobuf-6.30.2-r2.ebuild +++ b/dev-python/protobuf/protobuf-6.30.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2008-2025 Gentoo Authors +# Copyright 2008-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -28,7 +28,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0/$(ver_cut 1-3)" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" # need protobuf compiler BDEPEND=" diff --git a/dev-python/protobuf/protobuf-6.32.1.ebuild b/dev-python/protobuf/protobuf-6.32.1.ebuild deleted file mode 100644 index ef25686033e8..000000000000 --- a/dev-python/protobuf/protobuf-6.32.1.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 2008-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Default implementation currently is upb, which doesn't match dev-libs/protobuf -# https://github.com/protocolbuffers/protobuf/blob/main/python/README.md#implementation-backends - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -GH_PV=$(ver_cut 2-3) -GH_P=${PN}-${GH_PV} - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE=" - https://protobuf.dev/ - https://pypi.org/project/protobuf/ -" -# Rename sdist to avoid conflicts with dev-libs/protobuf -SRC_URI=" - $(pypi_sdist_url) -> ${P}.py.tar.gz - test? ( - https://github.com/protocolbuffers/protobuf/archive/v${GH_PV}.tar.gz - -> ${GH_P}.gh.tar.gz - ) -" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-3)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -# need protobuf compiler -BDEPEND=" - test? ( - dev-libs/protobuf[protoc(+)] - dev-python/absl-py[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-forked ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_unpack() { - unpack "${P}.py.tar.gz" - - if use test; then - mkdir "${WORKDIR}/test" || die - cd "${WORKDIR}/test" || die - unpack "${GH_P}.gh.tar.gz" - fi -} - -src_prepare() { - distutils-r1_src_prepare - - # strip old-style namespace - rm google/__init__.py || die -} - -python_test() { - local EPYTEST_DESELECT=() - local EPYTEST_IGNORE=( - # TODO: figure out how to build the pybind11 test extension - google/protobuf/internal/recursive_message_pybind11_test.py - ) - - case ${EPYTHON} in - python3.11) - EPYTEST_IGNORE+=( - # syntax error... - google/protobuf/internal/json_format_test.py - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - # exception message mismatch - google/protobuf/internal/json_format_test.py::JsonFormatTest::testInvalidTimestamp - google/protobuf/internal/well_known_types_test.py::TimeUtilTest::testInvalidTimestamp - ) - ;; - esac - - cp -r "${BUILD_DIR}"/{install,test} || die - local -x PATH="${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH}" - cd "${BUILD_DIR}/test$(python_get_sitedir)" || die - - # copy test files from the source tree - cp -r "${WORKDIR}/test/${GH_P}/python/google/protobuf/internal/." \ - google/protobuf/internal/ || die - # link the test data for text_format_test.py - # (it traverses directories upwards until to finds src/google...) - ln -s "${WORKDIR}/test/${GH_P}/src" ../src || die - - # compile test-related protobufs - local test_protos=( - # from src - any_test.proto - map_proto2_unittest.proto - map_unittest.proto - unittest.proto - unittest_custom_options.proto - unittest_delimited.proto - unittest_delimited_import.proto - unittest_features.proto - unittest_import.proto - unittest_import_public.proto - unittest_legacy_features.proto - unittest_mset.proto - unittest_mset_wire_format.proto - unittest_no_field_presence.proto - unittest_no_generic_services.proto - unittest_proto3.proto - unittest_proto3_arena.proto - unittest_proto3_extensions.proto - unittest_retention.proto - util/json_format.proto - util/json_format_proto3.proto - # from python - internal/descriptor_pool_test1.proto - internal/descriptor_pool_test2.proto - internal/factory_test1.proto - internal/factory_test2.proto - internal/file_options_test.proto - internal/import_test_package/import_public.proto - internal/import_test_package/import_public_nested.proto - internal/import_test_package/inner.proto - internal/import_test_package/outer.proto - internal/message_set_extensions.proto - internal/missing_enum_values.proto - internal/more_extensions.proto - internal/more_messages.proto - internal/no_package.proto - internal/packed_field_test.proto - internal/self_recursive.proto - internal/test_bad_identifiers.proto - internal/test_proto2.proto - internal/test_proto3_optional.proto - internal/well_known_types_test.proto - ) - local proto - for proto in "${test_protos[@]}"; do - protoc --python_out=. -I"${WORKDIR}/test/${GH_P}/src" -I. \ - "google/protobuf/${proto}" || die - done - - # pytest-forked prevents segfault on py3.13 - # https://github.com/protocolbuffers/protobuf/issues/22067 - epytest --forked -} diff --git a/dev-python/protobuf/protobuf-6.33.1.ebuild b/dev-python/protobuf/protobuf-6.33.1.ebuild deleted file mode 100644 index d7dcaa3cbc5a..000000000000 --- a/dev-python/protobuf/protobuf-6.33.1.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 2008-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Default implementation currently is upb, which doesn't match dev-libs/protobuf -# https://github.com/protocolbuffers/protobuf/blob/main/python/README.md#implementation-backends - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -GH_PV=$(ver_cut 2-3) -GH_P=${PN}-${GH_PV} - -DESCRIPTION="Google's Protocol Buffers - Python bindings" -HOMEPAGE=" - https://protobuf.dev/ - https://pypi.org/project/protobuf/ -" -# Rename sdist to avoid conflicts with dev-libs/protobuf -SRC_URI=" - $(pypi_sdist_url) -> ${P}.py.tar.gz - test? ( - https://github.com/protocolbuffers/protobuf/archive/v${GH_PV}.tar.gz - -> ${GH_P}.gh.tar.gz - ) -" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-3)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -# need protobuf compiler -BDEPEND=" - test? ( - dev-libs/protobuf[protoc(+)] - dev-python/absl-py[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_unpack() { - unpack "${P}.py.tar.gz" - - if use test; then - mkdir "${WORKDIR}/test" || die - cd "${WORKDIR}/test" || die - unpack "${GH_P}.gh.tar.gz" - fi -} - -src_prepare() { - distutils-r1_src_prepare - - # strip old-style namespace - rm google/__init__.py || die -} - -python_test() { - local EPYTEST_DESELECT=() - local EPYTEST_IGNORE=( - # TODO: figure out how to build the pybind11 test extension - google/protobuf/internal/recursive_message_pybind11_test.py - ) - - case ${EPYTHON} in - python3.11) - EPYTEST_IGNORE+=( - # syntax error... - google/protobuf/internal/json_format_test.py - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - # exception message mismatch - google/protobuf/internal/json_format_test.py::JsonFormatTest::testInvalidTimestamp - google/protobuf/internal/well_known_types_test.py::TimeUtilTest::testInvalidTimestamp - ) - ;; - esac - - cp -r "${BUILD_DIR}"/{install,test} || die - local -x PATH="${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH}" - cd "${BUILD_DIR}/test$(python_get_sitedir)" || die - - # copy test files from the source tree - cp -r "${WORKDIR}/test/${GH_P}/python/google/protobuf/internal/." \ - google/protobuf/internal/ || die - # link the test data for text_format_test.py - # (it traverses directories upwards until to finds src/google...) - ln -s "${WORKDIR}/test/${GH_P}/src" ../src || die - - # compile test-related protobufs - local test_protos=( - # from src - any_test.proto - map_proto2_unittest.proto - map_unittest.proto - unittest.proto - unittest_custom_options.proto - unittest_delimited.proto - unittest_delimited_import.proto - unittest_features.proto - unittest_import.proto - unittest_import_option.proto - unittest_import_public.proto - unittest_legacy_features.proto - unittest_mset.proto - unittest_mset_wire_format.proto - unittest_no_field_presence.proto - unittest_no_generic_services.proto - unittest_proto3.proto - unittest_proto3_arena.proto - unittest_proto3_extensions.proto - unittest_retention.proto - util/json_format.proto - util/json_format_proto3.proto - # from python - internal/descriptor_pool_test1.proto - internal/descriptor_pool_test2.proto - internal/factory_test1.proto - internal/factory_test2.proto - internal/file_options_test.proto - internal/import_test_package/import_public.proto - internal/import_test_package/import_public_nested.proto - internal/import_test_package/inner.proto - internal/import_test_package/outer.proto - internal/message_set_extensions.proto - internal/missing_enum_values.proto - internal/more_extensions.proto - internal/more_messages.proto - internal/no_package.proto - internal/packed_field_test.proto - internal/self_recursive.proto - internal/test_bad_identifiers.proto - internal/test_proto2.proto - internal/test_proto3_optional.proto - internal/well_known_types_test.proto - ) - local proto - for proto in "${test_protos[@]}"; do - protoc --python_out=. -I"${WORKDIR}/test/${GH_P}/src" -I. \ - "google/protobuf/${proto}" || die - done - - epytest -} diff --git a/dev-python/protobuf/protobuf-6.33.0.ebuild b/dev-python/protobuf/protobuf-6.33.3.ebuild index d7dcaa3cbc5a..1be2663e42a2 100644 --- a/dev-python/protobuf/protobuf-6.33.0.ebuild +++ b/dev-python/protobuf/protobuf-6.33.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2008-2025 Gentoo Authors +# Copyright 2008-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,7 +31,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0/$(ver_cut 1-3)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" # need protobuf compiler BDEPEND=" diff --git a/dev-python/pydantic-extra-types/Manifest b/dev-python/pydantic-extra-types/Manifest new file mode 100644 index 000000000000..2b58d84a636a --- /dev/null +++ b/dev-python/pydantic-extra-types/Manifest @@ -0,0 +1 @@ +DIST pydantic_extra_types-2.10.6.tar.gz 141858 BLAKE2B 23d999682e3c8e76cc27935f4c47da4ddbdbc4cdc3015e86b3b7fb3183f6353ff1faf28b6aa947c55e03b1799f87e3cfa612411bfe4b5b18bfb1ccabed6ba049 SHA512 9e469386e583a1be6ab51fa510cceaef043a40b8c76cbc0d477f7c660bdf779cca1df533c99a76d11b6d84db6735b355ad70526f8dfc03b89ae7844f309c47f7 diff --git a/dev-python/pydantic-extra-types/metadata.xml b/dev-python/pydantic-extra-types/metadata.xml new file mode 100644 index 000000000000..ae843d0eeb16 --- /dev/null +++ b/dev-python/pydantic-extra-types/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>parona@protonmail.com</email> + <name>Alfred Wingate</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pydantic-extra-types/pydantic-extra-types-2.10.6.ebuild b/dev-python/pydantic-extra-types/pydantic-extra-types-2.10.6.ebuild new file mode 100644 index 000000000000..8c351fbed2ec --- /dev/null +++ b/dev-python/pydantic-extra-types/pydantic-extra-types-2.10.6.ebuild @@ -0,0 +1,62 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Extra Pydantic types" +HOMEPAGE=" + https://github.com/pydantic/pydantic-extra-types + https://pypi.org/project/pydantic-extra-types/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pydantic-2.5.2[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/phonenumbers[${PYTHON_USEDEP}] + dev-python/pycountry[${PYTHON_USEDEP}] + dev-python/semver[${PYTHON_USEDEP}] + dev-python/pymongo[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Requires unpackaged cron-converter + tests/test_cron.py + tests/test_json_schema.py + # Requires unpackaged pendulum + tests/test_pendulum_dt.py + # Requires unpackaged python-ulid + tests/test_ulid.py +) + +EPYTEST_DESELECT=( + # https://github.com/pydantic/pydantic-extra-types/issues/346 + tests/test_coordinate.py::test_json_schema +) + +pkg_postinst() { + optfeature_header "Optional type support" + optfeature "PhoneNumber" dev-python/phonenumbers + optfeature "language_code" dev-python/pycountry + optfeature "semantic_version" dev-python/semver + # optfeature "ulid" python-ulid + # optfeature "pendulum_dt" pendulum + optfeature "mongo_object_id" dev-python/pymongo + # optfeature "cron" cron-converter +} diff --git a/dev-python/requestsexceptions/requestsexceptions-1.4.0-r1.ebuild b/dev-python/requestsexceptions/requestsexceptions-1.4.0-r1.ebuild index ba311717bd50..a0bd25e9d4d9 100644 --- a/dev-python/requestsexceptions/requestsexceptions-1.4.0-r1.ebuild +++ b/dev-python/requestsexceptions/requestsexceptions-1.4.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sqlmodel/Manifest b/dev-python/sqlmodel/Manifest index 607180c7c247..904c4c314347 100644 --- a/dev-python/sqlmodel/Manifest +++ b/dev-python/sqlmodel/Manifest @@ -1 +1,2 @@ -DIST sqlmodel-0.0.24.tar.gz 116780 BLAKE2B 94e9fd37398af55fd0958d3303f4315a56305856ff798f2569206656a1f7441bb70633c8e0522ec86543b5ffb4b63aa0f769d7833a86e35651b55c6a2ee5e18b SHA512 3a7b04c35a71ec96f6c3ddf83d9286a8f6d57efef5f136412cddc5c742a30e3e80015f8a738f539a5b294b4613e2f5db41adbc2deddfa39028211944a7cc5207 +DIST sqlmodel-0.0.29.tar.gz 119485 BLAKE2B 82d98cb0f5db782d473f7434ccfd9150ecb2f68b3a54c0a905a6c5c9681c4431780f233033236fce4a67d9daca00d7859be4288aa567f66d39db8d4968b05d9d SHA512 49775a6f21545078188fa8f172a731241d6965bb099b0c2948d445f50ca90420c9fae466c4fe6fd87f7e7addeb2cfdb370e5d7fddd521d1d51dcc1f098277503 +DIST sqlmodel-0.0.31.tar.gz 94952 BLAKE2B 6c2a968a6a0145b43e94317afa619905065f8e8f293ab6ded2549a37eb151814f9f2f41e05dbdcc1def8456fa60d158670d6ed5e6ef60a6950cc8c561514fd12 SHA512 485020a6f91e82a0bf9eb9c10fec69af3f1513e34808119afe58f635b182e677f5b20f9c46497fa68bf3bc037f0e534209895c882e6cdec3ab1f95533dc72f92 diff --git a/dev-python/sqlmodel/sqlmodel-0.0.24.ebuild b/dev-python/sqlmodel/sqlmodel-0.0.29.ebuild index c9503b498e0c..ea6518545baf 100644 --- a/dev-python/sqlmodel/sqlmodel-0.0.24.ebuild +++ b/dev-python/sqlmodel/sqlmodel-0.0.29.ebuild @@ -36,6 +36,7 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest EPYTEST_DESELECT=( diff --git a/dev-python/sqlmodel/sqlmodel-0.0.31.ebuild b/dev-python/sqlmodel/sqlmodel-0.0.31.ebuild new file mode 100644 index 000000000000..a883327a8bb1 --- /dev/null +++ b/dev-python/sqlmodel/sqlmodel-0.0.31.ebuild @@ -0,0 +1,58 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="SQL databases in Python, designed for simplicity, compatibility, and robustness." +HOMEPAGE=" + https://sqlmodel.tiangolo.com/ + https://github.com/fastapi/sqlmodel/ + https://pypi.org/project/sqlmodel/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + <dev-python/sqlalchemy-2.1.0[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-2.0.14[${PYTHON_USEDEP}] + >=dev-python/pydantic-2.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/black[${PYTHON_USEDEP}] + dev-python/fastapi[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/dirty-equals[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Uses coverage + # TIP: Search for subprocess.run([coverage]) + "tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_py310_tests_main.py::test_run_tests" + "tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_py39_tests_main.py::test_run_tests" + "tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_run_tests" +) + +EPYTEST_IGNORE=( + # Uses coverage + # TIP: Search for imports of coverage_run + "tests/test_tutorial/test_create_db_and_table/test_tutorial001.py" + "tests/test_tutorial/test_create_db_and_table/test_tutorial001_py310.py" +) + +python_test() { + epytest tests +} diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index efdbd1a3f636..703676be747f 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,4 +1,3 @@ -DIST translate-3.16.3.gh.tar.gz 1182562 BLAKE2B 25ea88b5490891140670cdc384c9c1a318dce0085d6b9c8f6b1a7fbb0892a2e6eb80c26c02fa4890d3ec45c0d9c3958d7c3c4c33dba76d1ee03d977ee0a6863a SHA512 e2e59ca01769a88fd7c6367d0e1e8b96da9f950b600fc62eecae9aed4ad072877b1fd1a6742f0588b2b27d33f6652e98db4c90e63fb4d09481a651019beaee44 DIST translate-3.17.2.gh.tar.gz 1237809 BLAKE2B b7f1ea65990ac2b5380e674cadc47c1df6ff2476afed25d36b8c636b4d0fba32005086015b03425bdea38f4b22ed7c53d1b664ed92a06aa65f80720e34c49072 SHA512 8658101eec4d4da05c34f4e7b4e0fb77bf8f576bf867118bd4f5b39609fb7d67064412dfab514edc448331b93fd12c148e53cff57c6b1fe1155427059ad7821a DIST translate-3.17.3.gh.tar.gz 1241480 BLAKE2B 2c3e32f1959b37903214005bb360a0efd9c3b8ebbd8c1996be0af80aa753e109512656c896c51cf9a1e0f449fef47116938e5c92a9828c21cd5a3cd6a2bc4315 SHA512 8d5c83b10a706300ba73310469b1e1857338c6dffa5790765fee316c183b832b3f142080759fd6155fcfa716613c6019be17b3ad70ffcf57eeb27e7eb5b62397 DIST translate-3.17.4.gh.tar.gz 1242234 BLAKE2B da13cc36d463c7f50724b1f398d77e817db03abe2ca9bbc19de6900f48de839feff63b7efcbf76e4eb6d252525e56d0abe67403102f2eaf45c5bcc2007f00e55 SHA512 1ee5a3bb82cd7cd57e6ab3cc95469c0c1b00018accb0129fda909317dfd62df77ea69061fddec9838c8e5f0e76fc45c130c93ce99d2e628b508551e573ef9279 diff --git a/dev-python/translate-toolkit/translate-toolkit-3.16.3.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.16.3.ebuild deleted file mode 100644 index 728cbcf31b38..000000000000 --- a/dev-python/translate-toolkit/translate-toolkit-3.16.3.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# 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_{10..14} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -MY_P=translate-${PV} -DESCRIPTION="Toolkit to convert between many translation formats" -HOMEPAGE=" - https://github.com/translate/translate/ - https://pypi.org/project/translate-toolkit/ -" -SRC_URI=" - https://github.com/translate/translate/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S="${WORKDIR}"/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="+html +ical +ini +subtitles +yaml" - -RDEPEND=" - app-text/iso-codes - >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] - dev-python/cheroot[${PYTHON_USEDEP}] - >=dev-python/levenshtein-0.12.0[${PYTHON_USEDEP}] - >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}] - >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - >=dev-python/wcwidth-0.2.14[${PYTHON_USEDEP}] - sys-devel/gettext - html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) - ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) - ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) - subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) - yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) -" -# Technically, the test suite also has undeclared dependency -# on dev-python/snapshottest but all the tests using it are broken -# anyway, so we skip them. -BDEPEND=" - test? ( - dev-python/phply[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # strip unnecessary pins - sed -i -e 's:,<[0-9.]*::' pyproject.toml || die -} - -src_test() { - # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS - # correctly, so we need to reassemble all data files in a single directory - local -x XDG_DATA_HOME=${T}/share - cp -r translate/share "${T}/" || die - cp -r "${ESYSROOT}"/usr/share/gaupol "${XDG_DATA_HOME}"/ || die - - distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # Fails with network-sandbox (and even with it off but w/ softer fail) - 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' - 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' - # all tests based on snapshottest are broken and I'm too tired - # to figure this out - tests/translate/tools/test_pocount.py::test_{cases,output} - tests/translate/tools/test_junitmsgfmt.py::test_output - ) - local EPYTEST_IGNORE=( - # unpackaged fluent.* - tests/translate/storage/test_fluent.py - # changes directory and does not change it back, sigh - tests/odf_xliff/test_odf_xliff.py - ) - - if ! has_version "dev-python/iniparse[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - translate/convert/test_ini2po.py - translate/convert/test_po2ini.py - ) - fi - - if ! has_version "media-video/gaupol[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - translate/storage/test_subtitles.py - ) - fi - - epytest -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /usr - doins -r translate/share - - if ! use html; then - rm "${ED}"/usr/bin/{html2po,po2html} || die - fi - if ! use ical; then - rm "${ED}"/usr/bin/{ical2po,po2ical} || die - fi - if ! use ini; then - rm "${ED}"/usr/bin/{ini2po,po2ini} || die - fi - if ! use subtitles; then - rm "${ED}"/usr/bin/{sub2po,po2sub} || die - fi -} diff --git a/dev-python/uncertainties/Manifest b/dev-python/uncertainties/Manifest index dca252e93622..c139c86491ea 100644 --- a/dev-python/uncertainties/Manifest +++ b/dev-python/uncertainties/Manifest @@ -1 +1,3 @@ DIST uncertainties-3.2.3.tar.gz 160492 BLAKE2B 404de12e28ba139f18876a0486ebe8e6bc06606b48ba4c0a79c121e7912b9dcc0affca637092c102d16ae18f75212f30669972fa267515df8cba4a1969df83ed SHA512 4b2c45f2955a6c3e4009f47521f2dbe725a71c2e417653445b180ea4661e96002b864e364f212af7c4acb333ec31228c24f74cfc4197435d2ca56ba74502bce2 +DIST uncertainties-3.2.4.tar.gz 162075 BLAKE2B 62d82e1757673c9af7d09e8eb2af054416563420bc2e36ed774810f7b535502feaf62b8bc768031a614c1a2fdd0d9dbdc93decf586fb3663d4bc578febaf72e8 SHA512 6653b687393b0fc4b779c0dafd6d3115ee57e1f77f3a7d4351e0e790f1faf42dbf0298f72572123e624a590e75fa6c98c2a0de2d869353884273666f6ed61aa4 +DIST uncertainties-3.2.4.tar.gz.provenance 9456 BLAKE2B 1f2a240feca55bf40f48d78dd403939af630ef13adf2a06d2817a52b54f60193f755cbffea884e9bb5c8f19a7198623afaf96185542303b919972a42c62a7d4a SHA512 b0c9e17afc9e59048818c8c55a230862c26581a75e41d22c97641cc456cc510d7193ff3c6e267b90b3c2141d87c1f751cc3f654527403977d148ad1b67fd7b51 diff --git a/dev-python/uncertainties/uncertainties-3.2.4.ebuild b/dev-python/uncertainties/uncertainties-3.2.4.ebuild new file mode 100644 index 000000000000..d619a3ecb5ce --- /dev/null +++ b/dev-python/uncertainties/uncertainties-3.2.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/lmfit/uncertainties +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python module for calculations with uncertainties" +HOMEPAGE=" + https://pythonhosted.org/uncertainties/ + https://github.com/lmfit/uncertainties/ + https://pypi.org/project/uncertainties/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "numpy support" dev-python/numpy +} diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index f00b15f1ff26..80458311405d 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -4,3 +4,4 @@ DIST uv_build-0.9.18.tar.gz 356832 BLAKE2B 61df9000eb4eb0dc147b4a18732937a459ff2 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.22.tar.gz 357175 BLAKE2B 684bfc438483ebcb7b818456fa88994c4f677cc550de06dfee0b05c5a55f058e5079b7851b0e5aa88153e50a78aa28efa6216388a0a6cb1c620b12f80400523d SHA512 dbb19e42fae9ba49eae7a5e55395b4c04542142a22a421ced43195eb616eeec53126452b1f716e9d4cb8a528adf54ab72ab1f36236e5ea1a7a0e7da8d28cf36a +DIST uv_build-0.9.24.tar.gz 359788 BLAKE2B 79cd6452e95d99a01e8212d80c7c0b30aeb5796a75f18c6fa031b1b9800032d3643625db1d9780c649dfa7b14876adac507fb98cac1c62b08aad93ac86be094a SHA512 9b28f7037a2f30e7ebfed6e54af10c1c3c540311723099afcac8ddce1e7c34b34e50e344da8a20e22d8840991342f8fea6ab17e8899a513a70c958f250d8a1d8 diff --git a/dev-python/uv-build/uv-build-0.9.24.ebuild b/dev-python/uv-build/uv-build-0.9.24.ebuild new file mode 100644 index 000000000000..639745396c25 --- /dev/null +++ b/dev-python/uv-build/uv-build-0.9.24.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025-2026 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=( python3_{10..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 b357d991047c..31eaf3dd06c6 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -10,3 +10,5 @@ DIST uv-0.9.21-crates.tar.xz 48642776 BLAKE2B 4ce225a3639d02ea05014c2132a7fd8baf DIST uv-0.9.21.gh.tar.gz 4799580 BLAKE2B 88a65fd86bc3b124e6470c701c387bfe2b4a41c21d4eb82870966b94ab6db6fc5819aaaf2c04c04d1cd2ed367353e995185103ce145e88dc17f9bba507e9a162 SHA512 38c852dfca2bdfa839c37342ace2482d5182e2d4f7b4334ee32da200364912ccbedda04cf08cf89d974ad0f82c374444a19156c9df65ce11019d4a214bf26eb3 DIST uv-0.9.22-crates.tar.xz 48579584 BLAKE2B 22f8c31082fcaf9d2a5de73d4bfa6dee0b52ef79eba095c7607ed6e73642a9987f498858e7971f2c616fdec83aa4aa20b518600d3e795a96a33bf6b7b0a77e1e SHA512 ce6d62c73ecb5a66c348606065979bf3a2929f4f678e82c54dda3f2390146cf4ed92f38f1d642ea6fdfcf83a7d939d2792e8fdd3c72776f8fe38ddf35fe0c684 DIST uv-0.9.22.gh.tar.gz 4801340 BLAKE2B a392a39c106141986d2f9e7b493ec2d4d836284cdb2d683e43febc1b9fe615fa7eef08a4d9f6e7690727b9553fab9b23c2a8ee3b4d5599e96623cc46b0bd9abd SHA512 2dbe4075a8110384435a333ebe47e64429dcbd7e54891671e380b7904fb6f450bc50fc7a456e31448b46a51822216f234db9602674a5ecf6995052a3cfb5fcad +DIST uv-0.9.24-crates.tar.xz 48574824 BLAKE2B ad3fd45f6ad0ff2b84dd092adaec061539b46293bce4c05c694a1aac32ba00cafd3b6ae419149e8251baf7bc6928f8a07c7237e356731d29e222a13093d9388f SHA512 c022e7cb8f9d539e9e52c48f31b8958e570cbd117db8bac4b8ecaf1ba5fd434dab451ebb32a419e426d845f3edafa07b6ad87f270da09f37d61e2ba4104ad046 +DIST uv-0.9.24.gh.tar.gz 4821236 BLAKE2B bb35fc9b0d9ef11bd318c9387f04e14b99968e43bca7e34afae2b32513eda6de3d2fbe1be7fe20d0859ef2866b013b3fab2d3497ef5a6976f6765ebe4d0c3d8e SHA512 713f9dfda0e55b330246643618236f005e3bbee76b9b48499d1608778a7fb190e9daf19c9967fb492426f0cda31028dcaa61867b23fb861e050d2f0f36439478 diff --git a/dev-python/uv/uv-0.9.24.ebuild b/dev-python/uv/uv-0.9.24.ebuild new file mode 100644 index 000000000000..034a691346b0 --- /dev/null +++ b/dev-python/uv/uv-0.9.24.ebuild @@ -0,0 +1,168 @@ +# Copyright 2024-2026 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"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index 078ff64a1c2a..37768e4e4ad7 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -1 +1,2 @@ DIST websockets-15.0.1.gh.tar.gz 455094 BLAKE2B c3bb0fb19624dbe7d5474584b360415931677ea553170483caee142e8a78120e449902b8ccff76f37ced1959f2758480e536d196fd9488c9a54281e2d82e2820 SHA512 878a5c19e393b4f5994bbe7a4c9d1266d97eaa02e2610f307a62ee9af2386a1210387d2cb81c19b4795ab76b80de4e9e2bfcad89e0bca3f7b9db76ce0a148ebb +DIST websockets-16.0.gh.tar.gz 458014 BLAKE2B 409323f84f919064f758ad06bccf526d1aafac7aee791b9fd35908081ad13cbd252ca49cefbfdc870e5526da82e641750ee46f0103e53c10f0e9b35f9483982f SHA512 ed0bfe6e6402c1504680e9afcb7478e06a5f1af6c0761e35a9a6192569b59c5cce5d0a9f0aaea35922e499a3968dba409cb8d398829e9dff6466db5cb5b98b98 diff --git a/dev-python/websockets/websockets-16.0.ebuild b/dev-python/websockets/websockets-16.0.ebuild new file mode 100644 index 000000000000..11bd35b84955 --- /dev/null +++ b/dev-python/websockets/websockets-16.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 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..14} ) + +inherit distutils-r1 + +DESCRIPTION="Library for building WebSocket servers and clients in Python" +HOMEPAGE=" + https://websockets.readthedocs.io/ + https://github.com/python-websockets/websockets/ + https://pypi.org/project/websockets/ +" +# tests are missing pypi sdist, as of 16.0 +SRC_URI=" + https://github.com/python-websockets/websockets/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +BDEPEND=" + test? ( + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + if use native-extensions && [[ ${EPYTHON} != pypy3 ]] ; then + local -x BUILD_EXTENSION=yes + else + local -x BUILD_EXTENSION=no + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_DESELECT=( + # requires DNS access + # https://bugs.gentoo.org/909567 + tests/legacy/test_client_server.py::ClientServerTests::test_explicit_host_port + tests/legacy/test_client_server.py::SecureClientServerTests::test_explicit_host_port + # TODO + tests/asyncio/test_server.py::ServerTests::test_close_server_keeps_handlers_running + ) + + local EPYTEST_PLUGINS=( pytest-rerunfailures ) + epytest tests -p rerunfailures --reruns=10 --reruns-delay=2 +} diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index 80a1765cc376..d51753507d0f 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,4 +1,3 @@ -DIST zope_interface-8.0.1.tar.gz 253746 BLAKE2B a09c110457a647abd3bd13d4deb1a63d8ec9ef4b74a20dafdfa6a7abdf84379e24a62c631213b68310673d87b7313c89f33eddb6f0100bd6b7e6a17210455564 SHA512 9a09a2ab938c050846fc7156e4a7788a2fc83003ed82fe926bae7df417cadf30b62f2d1a4a07ea8cac6ce04235944110a5ad603209cab62942301f75ca4c358c DIST zope_interface-8.1.1.tar.gz 254748 BLAKE2B 380cad109ebb9fb91dbba9f8736552946f4dd240203413424effaf7c816abbd54a9618cd19586c97d0212c72287927b3ae46dddb8d6ea5c5c6b122f19c1f380b SHA512 707579b862992cb2d338a39be509a3ada0bfe26e1317d6487a9dc2e6a0ae389b0211942d449372ed31dc64084ebbe97b10095226adc6f7ba494c390c439c89cf DIST zope_interface-8.1.tar.gz 253831 BLAKE2B 2f63ace35f6eab24200f42475c069e98c513f7d37f7abc3b28a670cf6f2943706ed7c0fa858bdcb4b7e192adba628f44da476d0b70ca5a6d64d6ef932ef1c120 SHA512 ee9d86ad487eb150754aed7f0136b26603cbafb1dba04bd2296125be52c5d8a3dcef22525c85b37038289960b8f7428a1b6084da07239d8de65798aa31f23b75 DIST zope_interface-8.2.tar.gz 254019 BLAKE2B 695eb63188d45f9f4cc5bf4376a8e63e8189e5c016945471582046bc75f07eb33fadd3a435855d51138b34dbd148044b3e210a55860161dc4f4c1337cc5f475f SHA512 f256c6d4f1edee2d742903a482054bd2c3a5facdfaeb108cb9b467e24ad7140db9efb4a092e08fb43f3f1024097405c3f1d05b6788179176b2dd6bb99f12fcf6 diff --git a/dev-python/zope-interface/zope-interface-8.0.1.ebuild b/dev-python/zope-interface/zope-interface-8.0.1.ebuild deleted file mode 100644 index 7c32af93a339..000000000000 --- a/dev-python/zope-interface/zope-interface-8.0.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Interfaces for Python" -HOMEPAGE=" - https://github.com/zopefoundation/zope.interface/ - https://pypi.org/project/zope.interface/ -" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris" -IUSE="+native-extensions test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/zope-event[${PYTHON_USEDEP}] - dev-python/zope-testing[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - distutils-r1_src_prepare - - # force failure if extension build fails - sed -i -e "/'build_ext':/d" setup.py || die - if ! use native-extensions; then - sed -i -e '/ext_modules=/d' setup.py || die - fi -} - -python_test() { - local -x PURE_PYTHON=0 - if ! use native-extensions || [[ ${EPYTHON} == pypy3* ]]; then - PURE_PYTHON=1 - fi - - eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope" -} |
