diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-18 07:26:49 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-18 07:26:49 +0000 |
| commit | 73afc839cecfe85547d8ae6fb775796271e6c75c (patch) | |
| tree | 86b6d3e7c08de213b98f18599fdb0b753bc32998 /dev-python | |
| parent | e1bc9878cdf2ca006889a7f210a51592a5989d4a (diff) | |
| download | baldeagleos-repo-73afc839cecfe85547d8ae6fb775796271e6c75c.tar.gz baldeagleos-repo-73afc839cecfe85547d8ae6fb775796271e6c75c.tar.xz baldeagleos-repo-73afc839cecfe85547d8ae6fb775796271e6c75c.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
44 files changed, 656 insertions, 85 deletions
diff --git a/dev-python/amqp/amqp-5.3.1.ebuild b/dev-python/amqp/amqp-5.3.1.ebuild index 973b9ee15c7f..3b84834343b0 100644 --- a/dev-python/amqp/amqp-5.3.1.ebuild +++ b/dev-python/amqp/amqp-5.3.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# 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_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/autopage/autopage-0.5.2.ebuild b/dev-python/autopage/autopage-0.5.2.ebuild index b480f53370ee..ccf6e81b063a 100644 --- a/dev-python/autopage/autopage-0.5.2.ebuild +++ b/dev-python/autopage/autopage-0.5.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 @@ -27,6 +27,7 @@ RESTRICT="!test? ( test )" BDEPEND=" test? ( dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] ) " diff --git a/dev-python/bashate/bashate-2.1.1.ebuild b/dev-python/bashate/bashate-2.1.1.ebuild index c91bb71da867..6729c1464ab5 100644 --- a/dev-python/bashate/bashate-2.1.1.ebuild +++ b/dev-python/bashate/bashate-2.1.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi DESCRIPTION="A pep8 equivalent for bash scripts" diff --git a/dev-python/betamax-matchers/betamax-matchers-0.4.0-r1.ebuild b/dev-python/betamax-matchers/betamax-matchers-0.4.0-r1.ebuild index 11fcd17b423a..15989da8305e 100644 --- a/dev-python/betamax-matchers/betamax-matchers-0.4.0-r1.ebuild +++ b/dev-python/betamax-matchers/betamax-matchers-0.4.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# 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_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 diff --git a/dev-python/bitarray/bitarray-3.3.2.ebuild b/dev-python/bitarray/bitarray-3.3.2.ebuild index 7562464a1ee5..59e922da67f3 100644 --- a/dev-python/bitarray/bitarray-3.3.2.ebuild +++ b/dev-python/bitarray/bitarray-3.3.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" python_test() { "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest index 16659d2bec3f..2b50372f9121 100644 --- a/dev-python/blosc/Manifest +++ b/dev-python/blosc/Manifest @@ -1 +1,2 @@ DIST python-blosc-1.11.2.gh.tar.gz 99160 BLAKE2B 79176961221a2dcdf389165b3ed0e629201605f806aca3e1ada1dd9b35c1acf13ea7fa6692a762f5e31270df327751642256a1c5bafb14fbed48ef69c6b9745c SHA512 56a53828669ac9d1452b247b8aad6bdfcb71ecffe9b8c7723e4405825704506946f150f54633b7e0886160255e5619c698b97847963c909e14c97808c04f39ab +DIST python-blosc-1.11.3.gh.tar.gz 99129 BLAKE2B e75262a25767a800b73e87bbfe46e107380647df6e3bba4dee32a4111afed11ec3c779e0dae1c8f38491015e6f23199945997ac5a5c5311256a7e5efad4c1654 SHA512 fc82b7b100d306965874868b2a0b1b6a9b865f1ba86ce65546aeb8212ba5085ef7a565f46ac3b40f648641d449d9f5265087ca8670075221ba8018dc8efd7be4 diff --git a/dev-python/blosc/blosc-1.11.3.ebuild b/dev-python/blosc/blosc-1.11.3.ebuild new file mode 100644 index 000000000000..4e2097a4f954 --- /dev/null +++ b/dev-python/blosc/blosc-1.11.3.ebuild @@ -0,0 +1,63 @@ +# 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 +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +MY_P=python-blosc-${PV} +DESCRIPTION="High performance compressor optimized for binary data" +HOMEPAGE=" + https://www.blosc.org/ + https://github.com/Blosc/python-blosc/ + https://pypi.org/project/blosc/ +" +SRC_URI=" + https://github.com/Blosc/python-blosc/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/c-blosc-1.19.0:= +" +DEPEND=" + ${RDEPEND} +" +# py-cpuinfo dep is irrelevant for us, as it is only used to configure +# bundled c-blosc build +BDEPEND=" + dev-python/scikit-build[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst ) + +src_configure() { + export USE_SYSTEM_BLOSC=1 + export BLOSC_DIR="${EPREFIX}/usr" +} + +python_compile() { + distutils-r1_python_compile + + # scikit-build is broken and reuses the same build + # https://github.com/scikit-build/scikit-build/issues/633 + rm -r _skbuild || die +} + +python_test() { + "${EPYTHON}" -m blosc.test -v || die +} diff --git a/dev-python/debtcollector/debtcollector-3.0.0.ebuild b/dev-python/debtcollector/debtcollector-3.0.0.ebuild index cfe4834ff6ba..575f13cd11e7 100644 --- a/dev-python/debtcollector/debtcollector-3.0.0.ebuild +++ b/dev-python/debtcollector/debtcollector-3.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# 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_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/fido2/fido2-1.2.0.ebuild b/dev-python/fido2/fido2-1.2.0-r1.ebuild index 558c458b7c95..f7c1e9beab38 100644 --- a/dev-python/fido2/fido2-1.2.0.ebuild +++ b/dev-python/fido2/fido2-1.2.0-r1.ebuild @@ -23,7 +23,7 @@ KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="examples" RDEPEND=" - <dev-python/cryptography-45[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] <dev-python/pyscard-3[${PYTHON_USEDEP}] examples? ( dev-python/flask[${PYTHON_USEDEP}] @@ -33,6 +33,13 @@ RDEPEND=" distutils_enable_tests pytest +src_prepare() { + distutils-r1_src_prepare + + # unpin + sed -i -e '/cryptography/s:, <[0-9]*::' pyproject.toml || die +} + python_install_all() { distutils-r1_python_install_all diff --git a/dev-python/flask-cors/Manifest b/dev-python/flask-cors/Manifest index aeecf6272b0d..11bb7040550d 100644 --- a/dev-python/flask-cors/Manifest +++ b/dev-python/flask-cors/Manifest @@ -1 +1,2 @@ DIST flask-cors-5.0.1.gh.tar.gz 87364 BLAKE2B 6aecc64b8e2d9eac058ad052c1fa8eb5d23b2502c4ddaa0c1f49f1bbfac7fa072b81cc9697a48e716b68db3355f65fe6374a2a2653e5dc2ed3d1452a39cd548e SHA512 24e09787fded384f08de94c507ea199e77a5a2d1895ced77811b7ce421c2851d3315df4b4935ed8d0b2b2bf073fb4e8dabb9fa840ee5e9b4fac240075400b90f +DIST flask-cors-6.0.0.gh.tar.gz 87922 BLAKE2B ff6b1bd780d4f12a4b1bec43713f9b7c0b9638f46ff901608a3ac102e1c8a5160bdb3dd4b51e0c689df468b8601e7832362c9c6247cb834d7a36f9698d3f6362 SHA512 8d8ad511a2ef0afff7781545e1d96aeae65a86e78be7ca258ca4f5b70ddd91cf68a9ffe380690db0fbe0ed0711bc1d2455399454004e7411bb41d026efff3a68 diff --git a/dev-python/flask-cors/flask-cors-6.0.0.ebuild b/dev-python/flask-cors/flask-cors-6.0.0.ebuild new file mode 100644 index 000000000000..3a862fb3740f --- /dev/null +++ b/dev-python/flask-cors/flask-cors-6.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/corydolphin/flask-cors.git" + inherit git-r3 +else + SRC_URI=" + https://github.com/corydolphin/flask-cors/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="A Flask extension for Cross Origin Resource Sharing (CORS)" +HOMEPAGE=" + https://github.com/corydolphin/flask-cors/ + https://pypi.org/project/flask-cors/ +" + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/flask-0.9[${PYTHON_USEDEP}] + >=dev-python/werkzeug-0.7[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/fritzconnection/Manifest b/dev-python/fritzconnection/Manifest index 6ead53122169..56f2d06dd87a 100644 --- a/dev-python/fritzconnection/Manifest +++ b/dev-python/fritzconnection/Manifest @@ -1 +1,2 @@ DIST fritzconnection-1.14.0.gh.tar.gz 165234 BLAKE2B 8a9350ad632eef353d08acd19560ffaed5d0cbfb073881f8892242b6616e1b830c84c7e9236280068278bac459a43f53c140a2f4d474ce9787a064530a8531b0 SHA512 99d002365d425ce459a3cfe9bbf48680639ccb1ef1cea65870a39e684c712abb8be16d10dad2c1a529c8b27c7b15dd9dad4a9eff38c975b1d8ff2fb15af72aa3 +DIST fritzconnection-1.15.0.gh.tar.gz 167546 BLAKE2B 203ff8e0e3211ebe4cf9486096434cb30e19af01b21b2f0b8a4513bc27145f87d2b73d1849bfcf6079d2b89a63d5c85c9ad290bf3e09f2c9605bc8d60e178c9e SHA512 12743d0071d388b1bc2213401d84b25182e867977a82fcfc6b4086a73fee4dcc6c9c1d948b96060c8c0c8989f3a374299b406913d5f7a7bc98448d74423e225b diff --git a/dev-python/fritzconnection/fritzconnection-1.15.0.ebuild b/dev-python/fritzconnection/fritzconnection-1.15.0.ebuild new file mode 100644 index 000000000000..b45c88756527 --- /dev/null +++ b/dev-python/fritzconnection/fritzconnection-1.15.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP" +HOMEPAGE=" + https://github.com/kbr/fritzconnection/ + https://pypi.org/project/fritzconnection/ +" + +LICENSE="MIT" +SLOT="0" +IUSE="qrcode" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/kbr/fritzconnection" + inherit git-r3 +else + SRC_URI=" + https://github.com/kbr/fritzconnection/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +RDEPEND=" + >=dev-python/requests-2.22[${PYTHON_USEDEP}] + qrcode? ( + dev-python/segno[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # flaky (relies on time.sleep(0.01) magically being sufficient) + fritzconnection/tests/test_fritzmonitor.py::test_terminate_thread_on_failed_reconnection + ) + + if has_version "dev-python/segno[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # requires "QR Code detection" support in media-libs/opencv + # https://bugs.gentoo.org/917121 + fritzconnection/tests/test_fritzwlan.py::test_get_wifi_qr_code + fritzconnection/tests/test_fritzwlan.py::test_helper_functions + fritzconnection/tests/test_fritzwlan.py::test_tools + ) + fi + + # "routertest" marks tests against live hardware + epytest -m "not routertest" +} diff --git a/dev-python/netaddr/netaddr-1.3.0.ebuild b/dev-python/netaddr/netaddr-1.3.0.ebuild index a59fdbc91ad6..44612cb4327f 100644 --- a/dev-python/netaddr/netaddr-1.3.0.ebuild +++ b/dev-python/netaddr/netaddr-1.3.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# 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_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 91f8cb6516e4..b68cf1139929 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,3 +1,2 @@ -DIST Nuitka-2.7.1.tar.gz 3882402 BLAKE2B 0772125d02af375ae6fc2ee03451dcd781cbe51b388f28cd02809394487edba8d50f18f72a71cfc169017dc141b1c4cdf31a159a93f114dd5d53ccbc6a69a32f SHA512 0ac4fa937120d82186fc233eb37b8707c553fab0c0e51cd2249961efe60d5b5eb0fbe2569ca608e89a15acdc2107102cc62b84719eb22aa63d23a90ce8c575c4 DIST Nuitka-2.7.2.tar.gz 3883274 BLAKE2B 6f7d35bbe85aee77419a4ebcd28bcc255220c33e091f0c8a7474330551fea476ae1fe3a42f33432aa335b40e7ebb252bad185b7cac2df4ddf7c5cf0c59259adf SHA512 c66d6afe8b05b9d74c1d66b394196a005913d7d3fb0ad0efe8ec9a4256e671cf19ffff19b56c2597cca8ef8e61e484c697a3181590b7c8589b56af3cbbee5944 -DIST Nuitka-2.7.tar.gz 3885354 BLAKE2B 71fb24778148b384193e63846f1c01c1725688be25ea700c1a7810dbc4248ea6417d7227ac38862ce68d848b3ce097cee220435958ae8688b21076f77eefb240 SHA512 cc2a1bc8c6a47e60f1e527316f522d34d5e89019660e44e84736d91cc80a00babf95cebfc682374e82adf1b7c1a0536c6505a74d9903ecbbc85442575841710c +DIST Nuitka-2.7.3.tar.gz 3884010 BLAKE2B 1c917492c8ec34bb6a96c30a56cc31f0b8370503f8f0c5581445e12e5d3351b23ed39246ad8eea7beae0efbb2592699a880a11902963aac8b4170e8f8fab13a0 SHA512 838056e89bc5ff32671ab3f40dfda5f207ea900bc7f19e2152740e9431eff192ad70cbfa6cd67186d98eafecfb7457574497f959541993602e4a6b4b1c545738 diff --git a/dev-python/nuitka/nuitka-2.7.1.ebuild b/dev-python/nuitka/nuitka-2.7.3.ebuild index c97d7f3c6ae8..c97d7f3c6ae8 100644 --- a/dev-python/nuitka/nuitka-2.7.1.ebuild +++ b/dev-python/nuitka/nuitka-2.7.3.ebuild diff --git a/dev-python/nuitka/nuitka-2.7.ebuild b/dev-python/nuitka/nuitka-2.7.ebuild deleted file mode 100644 index c97d7f3c6ae8..000000000000 --- a/dev-python/nuitka/nuitka-2.7.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 flag-o-matic optfeature pypi - -DESCRIPTION="Python to native compiler" -HOMEPAGE=" - https://nuitka.net/ - https://github.com/Nuitka/Nuitka/ - https://pypi.org/project/Nuitka/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~loong ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-build/scons[${PYTHON_USEDEP}] - >=dev-python/ordered-set-4.1.0[${PYTHON_USEDEP}] - >=dev-python/zstandard-0.15[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( dev-util/ccache ) -" - -distutils-r1_src_prepare() { - # remove vendored version of SCons that is Python2 only - # this should be removed when upstream removes support for Python2 - rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die - eapply_user -} - -python_install() { - distutils-r1_python_install - doman doc/nuitka.1 doc/nuitka-run.1 -} - -python_test() { - append-ldflags -Wl,--no-warn-search-mismatch - ./tests/basics/run_all.py search || die -} - -pkg_postinst() { - optfeature "support for stand-alone executables" dev-util/patchelf -} diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index e164bf2ebaf0..82ff19aaaa69 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -5,3 +5,4 @@ DIST numpy-2.2.2.tar.gz 20233295 BLAKE2B 5b95ae4ff511468e55c0367066e9d4b8939fd1d DIST numpy-2.2.3.tar.gz 20262700 BLAKE2B 9e165ea70a49dfd4f361438575433b4cec9d202282408f1710cb1b16316c34ba59964d9665d782689cf129dc49a314fd2958b37cbd3587121e0530ca6ba658d1 SHA512 78c876d8ecc13aa0f802460f6c1462b53162dfdf85c658e32f1cf9823eeef829b6f1af8285a6c0c75719f5a2e05ff8b987dab88a416df6a8371c16fd032f5e6a DIST numpy-2.2.4.tar.gz 20270701 BLAKE2B 608ec0002af890cee76c0d09d1c96ea320c297f8dcb11dc186c1ad7e5b1ab3e8f0023bc14a508ecc97baf74cb388e067824abaf1a6a22e362b34ab4625e07fe8 SHA512 7500cb7a336c2e7762a87d902fecc7153cd991f05a638e1b6740598c044abe3b49d06819b66fa29d99644b3a4efc281fda726795f751ba8c65191f61e7d0d511 DIST numpy-2.2.5.tar.gz 20273920 BLAKE2B c2978e49350fd96969149dd723ca28b9ad643c7fa33f99f25565c571e916c9c1be6e46fe9a8955cd154e2a0ce5b110500ad6df6e8cc9499560d7e8de9dc25227 SHA512 3cc8a8876d659c9c740558c0814795464e44865376efa62cecf8a1265a44774ecb58dd7827c34bfd37675215d08cd66de249663e6e7ae57cd929749e4829ccdf +DIST numpy-2.2.6.tar.gz 20276440 BLAKE2B 597ebbc72b2b3901bba4e0946f4f63ff13baf3b04d2f44d6e1ce8d05112f5d7191cb2e2f80e20006f0bc57a5a3f395fcc6003d9593e41b057394c12ad44f69f7 SHA512 00c82476c6cc8e68c4cd3210896172d91bdb52a46676931d173a3bbd772b29cebc8e819dfbbaf621eba9225fff3fa3f81426fe864d8812de4ff2975e7ac5c338 diff --git a/dev-python/numpy/numpy-2.2.6.ebuild b/dev-python/numpy/numpy-2.2.6.ebuild new file mode 100644 index 000000000000..b5d2fa3e3116 --- /dev/null +++ b/dev-python/numpy/numpy-2.2.6.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +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" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +# +lapack because the internal fallbacks are pretty slow. Building without blas +# is barely supported anyway, see bug #914358. +IUSE="big-endian +lapack" + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + >=dev-build/meson-1.1.0 + >=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/hypothesis-5.8.0[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # https://bugs.gentoo.org/925367 + vrndq_f32 +) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + local PATCHES=( + # https://github.com/numpy/numpy/pull/28748 + # https://github.com/numpy/numpy/pull/28928 + "${FILESDIR}/${PN}-2.2.5-py314.patch" + ) + + # bug #922457 + filter-lto + # https://github.com/numpy/numpy/issues/25004 + append-flags -fno-strict-aliasing + + distutils-r1_python_prepare_all +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dallow-noblas=$(usex !lapack true false) + -Dblas=$(usev lapack cblas) + -Dlapack=$(usev lapack lapack) + # TODO: cpu-* options + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # Very disk-and-memory-hungry + numpy/lib/tests/test_io.py::TestSaveTxt::test_large_zip + 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 + + # Runs the whole test suite recursively, that's just crazy + numpy/core/tests/test_mem_policy.py::test_new_policy + + numpy/typing/tests/test_typing.py + # Uses huge amount of memory + numpy/core/tests/test_mem_overlap.py + ) + + 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 + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest -p rerunfailures --reruns=5 +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + distutils-r1_python_install_all +} diff --git a/dev-python/orjson/orjson-3.10.18.ebuild b/dev-python/orjson/orjson-3.10.18.ebuild index 6f92878b4d1a..b9967287e66e 100644 --- a/dev-python/orjson/orjson-3.10.18.ebuild +++ b/dev-python/orjson/orjson-3.10.18.ebuild @@ -27,7 +27,7 @@ LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-3.0 " SLOT="0" -KEYWORDS="~amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" >=dev-util/maturin-1.7.8[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-context/oslo-context-6.0.0.ebuild b/dev-python/oslo-context/oslo-context-6.0.0.ebuild index 6186a7c2b31e..741b18c007e4 100644 --- a/dev-python/oslo-context/oslo-context-6.0.0.ebuild +++ b/dev-python/oslo-context/oslo-context-6.0.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/oslo-i18n/oslo-i18n-6.5.1.ebuild b/dev-python/oslo-i18n/oslo-i18n-6.5.1.ebuild index f2d4eeb60fb4..539b2a79eab7 100644 --- a/dev-python/oslo-i18n/oslo-i18n-6.5.1.ebuild +++ b/dev-python/oslo-i18n/oslo-i18n-6.5.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/oslotest/oslotest-5.0.1.ebuild b/dev-python/oslotest/oslotest-5.0.1.ebuild index f76c28b5bca7..9d6bf2e83993 100644 --- a/dev-python/oslotest/oslotest-5.0.1.ebuild +++ b/dev-python/oslotest/oslotest-5.0.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/owslib/owslib-0.33.0.ebuild b/dev-python/owslib/owslib-0.33.0.ebuild index 316c044d4c41..a1b667db5cca 100644 --- a/dev-python/owslib/owslib-0.33.0.ebuild +++ b/dev-python/owslib/owslib-0.33.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 diff --git a/dev-python/peewee/peewee-3.18.1.ebuild b/dev-python/peewee/peewee-3.18.1.ebuild index 9d4d9e621772..cde400261e6e 100644 --- a/dev-python/peewee/peewee-3.18.1.ebuild +++ b/dev-python/peewee/peewee-3.18.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="~amd64 ~riscv x86" IUSE="examples +native-extensions test" RESTRICT="!test? ( test )" diff --git a/dev-python/puremagic/puremagic-1.29.ebuild b/dev-python/puremagic/puremagic-1.29.ebuild index a3ad3034d4a4..0264b5740a6b 100644 --- a/dev-python/puremagic/puremagic-1.29.ebuild +++ b/dev-python/puremagic/puremagic-1.29.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" DOCS=( CHANGELOG.md README.rst ) diff --git a/dev-python/pyarrow/pyarrow-20.0.0.ebuild b/dev-python/pyarrow/pyarrow-20.0.0.ebuild index 53a59df543fd..7745db577c17 100644 --- a/dev-python/pyarrow/pyarrow-20.0.0.ebuild +++ b/dev-python/pyarrow/pyarrow-20.0.0.ebuild @@ -33,7 +33,7 @@ S="${WORKDIR}/apache-arrow-${PV}/python" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 arm64 ~riscv ~x86" +KEYWORDS="~amd64 arm64 ~riscv x86" IUSE="+parquet +snappy ssl" RDEPEND=" diff --git a/dev-python/pycares/pycares-4.7.0.ebuild b/dev-python/pycares/pycares-4.7.0.ebuild index c524c3ae2ec0..ddef96db2601 100644 --- a/dev-python/pycares/pycares-4.7.0.ebuild +++ b/dev-python/pycares/pycares-4.7.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="test" # Tests fail with network-sandbox, since they try to resolve google.com PROPERTIES="test_network" diff --git a/dev-python/pycryptodome/Manifest b/dev-python/pycryptodome/Manifest index 540fe06bd9d6..d2cfa7b65cff 100644 --- a/dev-python/pycryptodome/Manifest +++ b/dev-python/pycryptodome/Manifest @@ -1 +1,2 @@ DIST pycryptodome-3.22.0.gh.tar.gz 19700949 BLAKE2B 381aec9085ce2e54dd99061b5966409aca4e0da4315c0e7234f7620438cfbec303d1914ddc20ac529a5504bbdb3354976e56f0cb9c37030da142da33bf620798 SHA512 e997b4ffa2d003bfcd4b53af58d18e07db5aee4fea539f76c3b13c2ed92a9067d73f5bdfd19c649a2584ef143a918e9905f10e6d57a927a5d50ce19e5e95268f +DIST pycryptodome-3.23.0.gh.tar.gz 19732639 BLAKE2B 55ba3bea9d215dfd1f20262f9e333c78c126a7bb07b4f0ed795bb354a609082aea5ba1571fd29c76c716cfd7c74a6187509de7a8cc0e1eb03e27a2068c7aacb3 SHA512 564bad0257f50eaf9f4318c39bc224b79fe0051b4e2d6cff4c1070d2065cf9eb03bce661f9d21346414f9942bbc10a9f40e976eee104231718d1b9484fcbb022 diff --git a/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild b/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild new file mode 100644 index 000000000000..e05be52e0ef0 --- /dev/null +++ b/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild @@ -0,0 +1,60 @@ +# 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 +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="A self-contained cryptographic library for Python" +HOMEPAGE=" + https://www.pycryptodome.org/ + https://github.com/Legrandin/pycryptodome/ + https://pypi.org/project/pycryptodome/ +" +SRC_URI=" + https://github.com/Legrandin/pycryptodome/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2 Unlicense" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +DEPEND=" + dev-libs/gmp:= + >=dev-libs/libtomcrypt-1.18.2-r1:= +" +BDEPEND=" + $(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*') +" +RDEPEND=" + ${DEPEND} + ${BDEPEND} +" + +PATCHES=( + "${FILESDIR}/pycryptodome-3.10.1-system-libtomcrypt.patch" +) + +python_prepare_all() { + # make sure we're unbundling it correctly + rm -r src/libtom || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTHONPATH=${S}/test_vectors:${PYTHONPATH} + "${EPYTHON}" - <<-EOF || die + import sys + from Crypto import SelfTest + SelfTest.run(verbosity=2, stream=sys.stdout) + EOF + + # TODO: run cmake tests from src/test? +} diff --git a/dev-python/pyglet/pyglet-2.1.6.ebuild b/dev-python/pyglet/pyglet-2.1.6.ebuild index 0390dc10963e..a28f3528b29f 100644 --- a/dev-python/pyglet/pyglet-2.1.6.ebuild +++ b/dev-python/pyglet/pyglet-2.1.6.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" IUSE="examples image +sound" RDEPEND=" diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest index 59de1cc87588..0ac4f75fbf61 100644 --- a/dev-python/pyopenssl/Manifest +++ b/dev-python/pyopenssl/Manifest @@ -1 +1,2 @@ DIST pyopenssl-25.0.0.tar.gz 179573 BLAKE2B e5c9c9e4daa590008163b2e67b7c318cf72a0c922b1db41bf8ef31a44aa59f98a7a594ce1b59a887d47ffb0257f1d11faa920d3bf7807a19e6ece819947e5614 SHA512 77f9f03610a4ddaf115d581b873e728a79ba0e8d762ddeffacb600b6bc4a50bde2edfc114aebe12b9e177f3d53c19fe0c2bf0a5821e609489b8640e23c324376 +DIST pyopenssl-25.1.0.tar.gz 179937 BLAKE2B 4c3f9d70c9e1929ae4af04408f6b20585829ca3cffc08444a1ed615e2a864495a93ed09e46f59b2079e603adf89770a1f540ade336545eb9c139ee0d7ef8340e SHA512 a2783d02011b09669fb215b0ab44d0c91bea10bcd72d6369c4f680768fd9eb9d1b7622566c22cd29fcedacea2b21f60a86311f5cf996d2acea1a4b51cbd82ef1 diff --git a/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild b/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild new file mode 100644 index 000000000000..a9ead9decf3c --- /dev/null +++ b/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=pyOpenSSL +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 toolchain-funcs pypi + +DESCRIPTION="Python interface to the OpenSSL library" +HOMEPAGE=" + https://www.pyopenssl.org/ + https://github.com/pyca/pyopenssl/ + https://pypi.org/project/pyOpenSSL/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/cryptography-46[${PYTHON_USEDEP}] + >=dev-python/cryptography-41.0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}] + ' 3.{11..12}) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +src_test() { + local -x TZ=UTC + local EPYTEST_DESELECT=( + tests/test_ssl.py::TestContext::test_set_default_verify_paths + ) + + if ! tc-has-64bit-time_t; then + einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_crypto.py::TestX509StoreContext::test_verify_with_time + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + distutils-r1_src_test +} + +python_test() { + epytest -p rerunfailures +} diff --git a/dev-python/pysimdjson/Manifest b/dev-python/pysimdjson/Manifest index 225533075c79..a2b2e8c46e17 100644 --- a/dev-python/pysimdjson/Manifest +++ b/dev-python/pysimdjson/Manifest @@ -1 +1,2 @@ DIST pysimdjson-6.0.2.gh.tar.gz 4493696 BLAKE2B 18f107fa5db762813e90dbf788d54ee24f823e177d2529f5311ef2b35320a45fd698ef6f8863c45ffad96c116ad5240eaf5a6724a3030578f89111cc40f24897 SHA512 ef8856dd137780a4345539b1604af34757b58a4b4d11854e420ad2e855f3e3f251b2ba6296c04d1bf2b71f095ca95fe95e9076e8740e98c7c4404a57df3617ba +DIST pysimdjson-7.0.0.gh.tar.gz 4670589 BLAKE2B d7bab62a075228d462413e139f4760bfacbe2add4f2cdc26f84b072a7c792e62f3d494053bbb0529d80e3ddc9c67df25ece3f6ccf120d05644bda5b006afc839 SHA512 9d2491885694091b3a37f52c6dba44060c3dff05231056dd5af1720e3593a2047e6e4837f4129d347ff80c9bd65fc0d4cacc93fdd6e3e1088faa97eb90196fec diff --git a/dev-python/pysimdjson/files/pysimdjson-7.0.0-system-lib.patch b/dev-python/pysimdjson/files/pysimdjson-7.0.0-system-lib.patch new file mode 100644 index 000000000000..553ba25fc612 --- /dev/null +++ b/dev-python/pysimdjson/files/pysimdjson-7.0.0-system-lib.patch @@ -0,0 +1,11 @@ +diff --git a/pyproject.toml b/pyproject.toml +index 0e199d8..a885369 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -18,5 +18,5 @@ pysimdjson = { workspace = true } + [tool.setuptools] + ext-modules = [ +- { name = "csimdjson", sources = ["simdjson/simdjson.cpp", "simdjson/util.cpp", "simdjson/csimdjson.pyx"], py-limited-api = true }, ++ { name = "csimdjson", sources = ["simdjson/util.cpp", "simdjson/csimdjson.pyx"], py-limited-api = true, libraries = ["simdjson"] }, + ] + diff --git a/dev-python/pysimdjson/pysimdjson-7.0.0.ebuild b/dev-python/pysimdjson/pysimdjson-7.0.0.ebuild new file mode 100644 index 000000000000..86b040db290c --- /dev/null +++ b/dev-python/pysimdjson/pysimdjson-7.0.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 2020-2025 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_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for simdjson" +HOMEPAGE=" + https://github.com/TkTech/pysimdjson/ + https://pypi.org/project/pysimdjson/ +" +SRC_URI=" + https://github.com/TkTech/pysimdjson/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=dev-libs/simdjson-2.0.1:= + test? ( dev-libs/simdjson[all-impls(-)] ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # unbundle + local PATCHES=( + "${FILESDIR}/pysimdjson-7.0.0-system-lib.patch" + ) + + rm simdjson/simdjson.cpp || die + echo "#include_next <simdjson.h>" > simdjson/simdjson.h || die + + # regressions (new simdjson version?) + #rm jsonexamples/test_parsing/i_number_very_big_negative_int.json || die + #rm jsonexamples/test_parsing/i_number_too_big_pos_int.json || die + #rm jsonexamples/test_parsing/i_number_too_big_neg_int.json || die + + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o required_plugins= +} diff --git a/dev-python/python-stdnum/Manifest b/dev-python/python-stdnum/Manifest index 8bf913e51d47..c3aa170d8e04 100644 --- a/dev-python/python-stdnum/Manifest +++ b/dev-python/python-stdnum/Manifest @@ -1,2 +1,3 @@ DIST python-stdnum-1.20.tar.gz 1191978 BLAKE2B 8395106d155c1f4642a74691d219230b42e81b521db41c57d5e978eb8e1769ca51598a1ad061356a1997fac5a60ca21796d1e8f79fa7d737e70fbbfe78dbfcc6 SHA512 92ec9fcb3bf71405569e93668ab1d089225da74a33095e63ee8f0116c868a4b937d093ba98e29085889d1745cc55eab13936d6ed9ceb24beecbc193c722a515e DIST python_stdnum-2.0.tar.gz 1237342 BLAKE2B d1a0f163b5ef97827aab579bbb12d669923b466a29a4e6799dc950126fcc823e91ea9f1426b8239085355893cd588cd7504424a57e7fc783972b3087a94078af SHA512 583379fec66dd507429b1740edd5c9c66fc1a7bcefc3af608535f86265c375dea2b7e004ac9aae6b4757c3e085c501b64d4e8a7a6c55bed7c452f49d873c2f08 +DIST python_stdnum-2.1.tar.gz 1238596 BLAKE2B 91c7189a05c88c4c5db20585ac5290ca9b98b4040be8cd9cfba852800f2a368e5f1763a2220becba05bf99c3375a74f65d305f000bbab00cea46fafcf6804093 SHA512 d29989fd7a13fbc07763bd61ffd56914f1fdb66d89ad9538f64cf26c00550dda2d4725f24cc7e038a7164115ed68ab9877b4f2485ffd1682500aaca38853d4c0 diff --git a/dev-python/python-stdnum/python-stdnum-2.1.ebuild b/dev-python/python-stdnum/python-stdnum-2.1.ebuild new file mode 100644 index 000000000000..6fc13f1927e0 --- /dev/null +++ b/dev-python/python-stdnum/python-stdnum-2.1.ebuild @@ -0,0 +1,34 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A module to handle standardized numbers and codes" +HOMEPAGE=" + https://arthurdejong.org/python-stdnum/ + https://github.com/arthurdejong/python-stdnum/ + https://pypi.org/project/python-stdnum/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="vies" + +RDEPEND=" + vies? ( + dev-python/zeep[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--cov.*::' setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/rfc3161-client/rfc3161-client-0.1.2.ebuild b/dev-python/rfc3161-client/rfc3161-client-0.1.2-r1.ebuild index 67be3843060e..ac8058477aae 100644 --- a/dev-python/rfc3161-client/rfc3161-client-0.1.2.ebuild +++ b/dev-python/rfc3161-client/rfc3161-client-0.1.2-r1.ebuild @@ -89,7 +89,7 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - =dev-python/cryptography-44*[${PYTHON_USEDEP}] + >=dev-python/cryptography-43[${PYTHON_USEDEP}] " BDEPEND=" test? ( @@ -99,6 +99,13 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + distutils-r1_src_prepare + + # unpin + sed -i '/cryptography/s:,<[0-9]*::' pyproject.toml || die +} + python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest diff --git a/dev-python/rfc3161-client/rfc3161-client-1.0.1.ebuild b/dev-python/rfc3161-client/rfc3161-client-1.0.1-r1.ebuild index 8980f5a624c7..765af386c56b 100644 --- a/dev-python/rfc3161-client/rfc3161-client-1.0.1.ebuild +++ b/dev-python/rfc3161-client/rfc3161-client-1.0.1-r1.ebuild @@ -101,7 +101,7 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - =dev-python/cryptography-44*[${PYTHON_USEDEP}] + >=dev-python/cryptography-43[${PYTHON_USEDEP}] " BDEPEND=" test? ( @@ -111,6 +111,13 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + distutils-r1_src_prepare + + # unpin + sed -i '/cryptography/s:,<[0-9]*::' pyproject.toml || die +} + python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest diff --git a/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild index 688c57a867f2..74b978bb336d 100644 --- a/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-0.11.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" # we always want [pyproject] extra RDEPEND=" diff --git a/dev-python/sigstore/sigstore-3.6.2.ebuild b/dev-python/sigstore/sigstore-3.6.2-r1.ebuild index 7e9775063b2d..bb1974d26531 100644 --- a/dev-python/sigstore/sigstore-3.6.2.ebuild +++ b/dev-python/sigstore/sigstore-3.6.2-r1.ebuild @@ -26,7 +26,6 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - <dev-python/cryptography-45[${PYTHON_USEDEP}] >=dev-python/cryptography-42[${PYTHON_USEDEP}] >=dev-python/id-1.1.0[${PYTHON_USEDEP}] >=dev-python/platformdirs-4.2[${PYTHON_USEDEP}] diff --git a/dev-python/stripe/stripe-12.1.0.ebuild b/dev-python/stripe/stripe-12.1.0.ebuild index d1157ca5e163..1c3eccf49dd3 100644 --- a/dev-python/stripe/stripe-12.1.0.ebuild +++ b/dev-python/stripe/stripe-12.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm64 ~x86" +KEYWORDS="~amd64 arm64 x86" IUSE="telemetry" RDEPEND=" diff --git a/dev-python/uv/uv-0.6.17.ebuild b/dev-python/uv/uv-0.6.17.ebuild index 3bcfcf4a3e96..c712ff64b42c 100644 --- a/dev-python/uv/uv-0.6.17.ebuild +++ b/dev-python/uv/uv-0.6.17.ebuild @@ -46,7 +46,7 @@ LICENSE+=" # ring crate LICENSE+=" openssl" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~loong ppc ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm arm64 ~loong ppc ppc64 ~riscv x86" IUSE="test" RESTRICT="test" PROPERTIES="test_network" |
