diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-13 06:59:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-13 06:59:33 +0000 |
| commit | e168d8780d0664a5eed9c2598df993b414637904 (patch) | |
| tree | 84361a8b17fd43d57df0dba8d0dfa68449732031 /dev-python | |
| parent | c75ce2373d06216905c17468a3241ce4968a7266 (diff) | |
| download | baldeagleos-repo-e168d8780d0664a5eed9c2598df993b414637904.tar.gz baldeagleos-repo-e168d8780d0664a5eed9c2598df993b414637904.tar.xz baldeagleos-repo-e168d8780d0664a5eed9c2598df993b414637904.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
46 files changed, 874 insertions, 118 deletions
diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest index a52ce02f565b..c8640337e435 100644 --- a/dev-python/apispec/Manifest +++ b/dev-python/apispec/Manifest @@ -1 +1,2 @@ DIST apispec-6.8.1.tar.gz 77050 BLAKE2B 394714c23721a18cf205c9f705bebbfa34d508d333e34cd89bab7e4fbd0f61d1427f55d94425135dbbd9a4b6eff1b313bea156ca29eccbc21865787e296ada6c SHA512 db6e92ce765ae8a7cb0dafe2b6bdcf47ff4849f7d11b344526640d3536ff5251b644bb49f9385dafea339eeb59072fc08094b309f4092080fcf9ec582071fc9d +DIST apispec-6.8.2.tar.gz 77148 BLAKE2B 20c2463c62e3faf2d893983845bd60370acc64abc8411cd7632f24f096eaa8586be14bfe0e312ee4cf9cc68b0e11991ddf261473851e75099a41b8dfd391579c SHA512 0422c20cacf55d909e965be29b0d61fe9e184f9e8331420a8b64a7337555097a0ff9e51f03ac84123565ac6594bd3fdf446ddf9786fcd790525961ce17ba60de diff --git a/dev-python/apispec/apispec-6.8.2.ebuild b/dev-python/apispec/apispec-6.8.2.ebuild new file mode 100644 index 000000000000..ceb90ff98bb0 --- /dev/null +++ b/dev-python/apispec/apispec-6.8.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pluggable API specification generator" +HOMEPAGE=" + https://github.com/marshmallow-code/apispec/ + https://pypi.org/project/apispec/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/marshmallow-3.18.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-issues \ + dev-python/sphinx-rtd-theme + +python_test() { + local EPYTEST_DESELECT=( + # requires unpackaged prance + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/babelfish/babelfish-0.6.1.ebuild b/dev-python/babelfish/babelfish-0.6.1.ebuild index 73aac78a201d..ab2f3fdbda1d 100644 --- a/dev-python/babelfish/babelfish-0.6.1.ebuild +++ b/dev-python/babelfish/babelfish-0.6.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=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 diff --git a/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild b/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild index 472d2bdc8b1b..753e06ffdc2c 100644 --- a/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild +++ b/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild index 4e3b90b2b33a..dd47d8c0c124 100644 --- a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild +++ b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 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 f9ca9fdb803f..86c3e8df1b98 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,6 +3,7 @@ DIST boto3-1.38.10.gh.tar.gz 937983 BLAKE2B 3e82c1f7e1de9ff61a0db1124d265a03d48a DIST boto3-1.38.11.gh.tar.gz 938736 BLAKE2B b1a27cb729b67047d9df35e4c9892560eeed5aec16e197e57493680423817692bc8ca02ff08afd4b2e678fa82b11226d22c27798270c1e3cc334578dd8a6a041 SHA512 cf70dd6710fb19fbcd604c14b0a98a51dc8efc49e2d4afdb02bcc75654e5c07ceac2695635b1e0a579f5db48b885ad1dcf1efc277bf5695a93da0b097a861ecc DIST boto3-1.38.12.gh.tar.gz 939412 BLAKE2B 096514640df4a98b76c30cd21816260fcb7a23c2a9cda9410094f35bf1c153995046a68497d1af8af7fdce47ece9efdede595a3d9a35ce9605058e5172bc8c60 SHA512 e430a248bf26fcf54fd3737502f0fb335275353381c23d7bfba793f0d092e0e37a1fe0bac550d1ad6386f92c1d62f868a939d9addfc48afc9331a082b9bae07e DIST boto3-1.38.13.gh.tar.gz 939786 BLAKE2B 5c65c92b79ce28f398170950ed0fbce84a0079335a391a7ba4243a103634ba9e863fff8305dd799c47b896871ce16c5393fc2a4974026e34b8e35ca396002092 SHA512 e06f144b4cc6784d2563de2bfba2e0868c7877a2232c390bfee9db70518880b2d3c1506d3849b5f7cf46515ee2d1932a1ca09ca8847da2824f97fa5d828bc313 +DIST boto3-1.38.14.gh.tar.gz 940393 BLAKE2B c3020c79137502354030dce76a5d3c9c684b89a05acab6a4d8ee525ec79b5bc7456dde1cb515b57b842d99cf923b1cbccf63a00b037dc383492eec0c03f9fe76 SHA512 04e6bc77e79c88268c1d9bd70f05e804377b3858cd5e883e1fd1cacd44857e6b48c21eb5aa1c1eadeef13e69d2d2a68d7fce161be14e315eeed8792daf6ffaa2 DIST boto3-1.38.3.gh.tar.gz 934010 BLAKE2B f5008a63aec620385e06c15e97ea37335bba190e5a29920c14389ae0dfc0e09a70ce70f8b50c0d25feda3defd9e855739305d19df7759688c156f53fc698b533 SHA512 8f300e38c7912f5df00431c1b70494521ac49500512b4aba7dc18f6bf0e570508d6a00fe8a98eb3c8607af39744a67e3b47d69507dbaf25d44dd02085f24bf95 DIST boto3-1.38.8.gh.tar.gz 937130 BLAKE2B 4158573a032957c33f62c6406937a45956f4ccf972be4a223e16a327b0b476402a1e7bf7d9b6a5b83005fc324f6c0062ed73008972cabed9247790225c4d4e5a SHA512 3c3854ed132ad4c81cd868848a370cdc73101ac3c578f8ae70bc53c9a98b1d85dcd364258027adef976b3c6d220aa45f865928c055c9320d3a268e0e29d5af63 DIST boto3-1.38.9.gh.tar.gz 937730 BLAKE2B 6b1a68095601d9b32be0679171a73b204897a7f632c1825ee203d27b46c625b196739b9c6ed8f19e84e0f0d2ba3a777539d9474cbaaa526fd499655e62ce9def SHA512 37960c90bb8de6328dc08cabb98a71e0dbb9303137410a1e44efdd650d6d0009398a4c4fb75ab53f8c8dfa7f566925c03de10012092967e661157f6bdc12e583 diff --git a/dev-python/boto3/boto3-1.38.14.ebuild b/dev-python/boto3/boto3-1.38.14.ebuild new file mode 100644 index 000000000000..b862f479d876 --- /dev/null +++ b/dev-python/boto3/boto3-1.38.14.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.12.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index ca0edffd0900..ecbefa5566e7 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,6 +3,7 @@ DIST botocore-1.38.10.gh.tar.gz 14616622 BLAKE2B adf54a0e015d3a8b17ac986f8f05b49 DIST botocore-1.38.11.gh.tar.gz 14617163 BLAKE2B e521777baa74342bff16a59a0a1281e8c44abfa4e83c49aba3cf7ec21ef0fb9e4940a7aa82cd1e51ed628ce64260fbd953db8c0867139c2ed37d2a002e01ad9d SHA512 6b9cd410aa2cf4169450aa6607ae68408a179258d1de8f0c465bc8010cad0ad05946822924780c68259bcce95c1b99e61459c850f9a31a7df5ac8638ba1186cf DIST botocore-1.38.12.gh.tar.gz 14619336 BLAKE2B 65e66c6ef2daccef4e21a8256e4633140c2cfd424b76bee71c76fb1f9609c27623fbf34fa5a73606a9b9e1877e5eae70453b6106f0f02a1148f0baef6b5cda2e SHA512 471918f08af44395297f25b663d972155dddd23d6e1904afb3c002d38e919b52785dbc7da84f8a5b56921198304a7a28320328fc00da2b786ecc8b726bd1f08f DIST botocore-1.38.13.gh.tar.gz 14619576 BLAKE2B 088dfd540934b2c1f20e5a63ffd3aa2351021f3f61207d30d3352e3d92c5df6138e87fe74fc9e48b2bf221dda2ede7e632f50f4378448a6dc6cdc2f87aaa0b02 SHA512 b1c7b585289859b94325bb1f3934bcb3a0d7596cb22e20ee79125aff96af2aa9337ec97a197426200b4ac606370eecf395a0ba7e26c79946c9390fbb02acc578 +DIST botocore-1.38.14.gh.tar.gz 14627287 BLAKE2B 9033f12f01b6478ce9e2bf5a5796a79a5b45157537b542007d22d7a27aed0cc2f680d5be7bbf49dd6e29708b28221de19387dbe9104f6fca0175deba7bacc565 SHA512 f1e49ceb8f39e9978d9765662e8adf7d6973405559aa62c954a16d4ade2740065efbcc0304faf6ce18fc5f71b2e25091d7dbd4cf406e197a81cad15a7617a5ae DIST botocore-1.38.3.gh.tar.gz 14578552 BLAKE2B 4766db1ba2651ebe65c79f8a37c91cf95875a20c0cc51c1886cd394b90d50109738daa79b398e0c4b80031cfab69e1338dfaafbc0ae796fffa3348f6b13fc1ce SHA512 ad69e119d5bbc98a0c14c1c927badeecc1f57d31305e6a07af41d4d4bf6755f5abc150e36321f71b9495221ad93052d84a1dc964fb9ef6fdd791d4c37e75a01a DIST botocore-1.38.8.gh.tar.gz 14606167 BLAKE2B cb92f6014349f5188d62ddeb043e7532c50c7edc984cabae918825cdace981694c37ba656afcbbb64e65e275da4980d5f256a945bbcc63f9609272b08690c3d5 SHA512 bc9096051fde740a908ef0912a0c205595e7df653a349c167f616a788423578ba6b3aed6fe6213f528faa32b1c946abf0ac66dd81afdc05d41d12a4af4f7e818 DIST botocore-1.38.9.gh.tar.gz 14612563 BLAKE2B 10a0e43846393c06c808e306cde1398ea9374712d07b71d16270cd3238d3063f66ff532fab465acb5a87065002b7ca7394d0c77a25c83b9f8b8ecad7823042a2 SHA512 748c373a1be84a123968444316de7ab6f34b548d7619183d23ae07d0b0aeeeebc8ba1d25bb5517f0491144f7578fa9a7e9fbca066f6aa0da7b2d7439138bb8fd diff --git a/dev-python/botocore/botocore-1.38.14.ebuild b/dev-python/botocore/botocore-1.38.14.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.38.14.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +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_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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest index 3873ed83ecb8..f725f2742bc8 100644 --- a/dev-python/bottleneck/Manifest +++ b/dev-python/bottleneck/Manifest @@ -1 +1,2 @@ DIST bottleneck-1.4.2.tar.gz 103563 BLAKE2B a0fe43222acb63bcdf238282868c4a9acc6a8d0c3aa31d0b8ac9c38b6c4bb9e8a99e97e0227067a400b6320e52bbbbf0f29ddd5e38b32bc8c9cc995086d38e50 SHA512 6998a00375527fe77edd159311780a6551ee21dc2ef0ede7f47f6ca26542af4858df0065b2e8e82c3e5914069d0f467a770f460d04da5288d5a01ffd310d6292 +DIST bottleneck-1.5.0rc1.tar.gz 104226 BLAKE2B 83f6f6c8289ea90b68850d970bd8a8c41499070fcef3dff724c17da3643f7b3e8935074babda0eda104118026cab116945a9685f1e508b1adc97c134af68aa31 SHA512 505e7116302266242ac7123c77dcae79ca1329531de98e54e8ae8dba25c65f7a58ad2ff3dd2eb19383362ed1b9591349caa1e92ee24fd5c0eb655d36886436ea diff --git a/dev-python/bottleneck/bottleneck-1.5.0_rc1.ebuild b/dev-python/bottleneck/bottleneck-1.5.0_rc1.ebuild new file mode 100644 index 000000000000..98f628f95077 --- /dev/null +++ b/dev-python/bottleneck/bottleneck-1.5.0_rc1.ebuild @@ -0,0 +1,52 @@ +# 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast NumPy array functions written in C" +HOMEPAGE=" + https://github.com/pydata/bottleneck/ + https://pypi.org/project/Bottleneck/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +DEPEND=" + >=dev-python/numpy-1.9.1:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest + +src_prepare() { + # don't overwrites user's optimization level + sed -e '/extra_compile_args=\["-O2"\]/d' -i setup.py || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # GC assumptions? + tests/memory_test.py::test_memory_leak + ) + ;; + esac + + rm -rf bottleneck || die + epytest --pyargs bottleneck +} diff --git a/dev-python/chainstream/Manifest b/dev-python/chainstream/Manifest index e6d953adc625..7afc83b4e623 100644 --- a/dev-python/chainstream/Manifest +++ b/dev-python/chainstream/Manifest @@ -1 +1,2 @@ DIST chainstream-1.0.1.tar.gz 3160 BLAKE2B 1aa8f9323cbb0f71c4bb7ab1aa709f369cc836b12b946de3d5e4a9beb4acb4d6a7d63642285fc3572eb6d85243bb08d9d387c02e768342cb1a90f91bf7b404bc SHA512 5badc4ef451ea208acf5acfe80a24541e2bbb8edfe43cca0cdac7d229d6a68c2df07d2c83d71d8d4251bc0d4b443952d0cdad638f603a85f4f4657717d0bcbac +DIST chainstream-1.0.2.tar.gz 3434 BLAKE2B 1cb8cd9af284dbfc2e55c9813a0c486d66d91e10a3515c6055777bc1aa6de232ee28343da900cd42d39b73202c891b3bae11e00ff51c5ad13c830a4fb5d164bd SHA512 5f53e9c89cfc719da959d8428f7575cbdb84a2d0421d6b05731bf6e6f5ff43b460b6554100dd8dac6498f69b52cdecb0cf3150d01c79f8537344d33ec8a7f9ff diff --git a/dev-python/chainstream/chainstream-1.0.2.ebuild b/dev-python/chainstream/chainstream-1.0.2.ebuild new file mode 100644 index 000000000000..71a1fd9611ea --- /dev/null +++ b/dev-python/chainstream/chainstream-1.0.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) +inherit distutils-r1 + +DESCRIPTION="Chain I/O-Streams together into a single stream" +HOMEPAGE="https://github.com/rrthomas/chainstream" +SRC_URI="https://github.com/rrthomas/chainstream/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC-BY-SA-4.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +src_configure() { + # upstream doesn't provide build system in pyproject.toml + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["setuptools", "wheel"] + build-backend = "setuptools.build_meta" + EOF +} + +python_test() { + "${EPYTHON}" test.py || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/cloudscraper/cloudscraper-1.2.69.ebuild b/dev-python/cloudscraper/cloudscraper-1.2.69-r1.ebuild index 64e6c68c8bc7..803b1e2a745e 100644 --- a/dev-python/cloudscraper/cloudscraper-1.2.69.ebuild +++ b/dev-python/cloudscraper/cloudscraper-1.2.69-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/enzyme/enzyme-0.5.2.ebuild b/dev-python/enzyme/enzyme-0.5.2.ebuild index 547ed17efa5b..094e1165f92a 100644 --- a/dev-python/enzyme/enzyme-0.5.2.ebuild +++ b/dev-python/enzyme/enzyme-0.5.2.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} ) PYTHON_REQ_USE='xml(+)' inherit distutils-r1 pypi diff --git a/dev-python/expecttest/Manifest b/dev-python/expecttest/Manifest new file mode 100644 index 000000000000..3b5dd113626e --- /dev/null +++ b/dev-python/expecttest/Manifest @@ -0,0 +1 @@ +DIST expecttest-0.3.0.gh.tar.gz 16627 BLAKE2B 02a8c41b996dc16d77c711cf023ee18cd97b6a2bb5bd13e80a6c195b18cf8b795a2b71d62b281d62da897d21b61a868f41af17746e849ec3c0f676c13bf7261a SHA512 3627255e9bfd2e2df9cff8026de8d3bf4997a50fc838c09b147b8becbf35f64b97da19e3606b239df4ee2e68018497aa44fef2f02d2cb980ec1d4e38e83f6d50 diff --git a/dev-python/expecttest/expecttest-0.3.0.ebuild b/dev-python/expecttest/expecttest-0.3.0.ebuild new file mode 100644 index 000000000000..17cbf6b11d78 --- /dev/null +++ b/dev-python/expecttest/expecttest-0.3.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 + +DESCRIPTION="golden tests" +HOMEPAGE="https://github.com/pytorch/expecttest" +SRC_URI="https://github.com/pytorch/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +python_test() { + flake8 || die + mypy --exclude=smoketests . || die + ${EPYTHON} test_expecttest.py || die +} diff --git a/dev-python/expecttest/metadata.xml b/dev-python/expecttest/metadata.xml new file mode 100644 index 000000000000..7787c5173344 --- /dev/null +++ b/dev-python/expecttest/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Alfredo Tupone</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/fastbencode/Manifest b/dev-python/fastbencode/Manifest index 79f105f66814..d2c3b2ced39d 100644 --- a/dev-python/fastbencode/Manifest +++ b/dev-python/fastbencode/Manifest @@ -1 +1,2 @@ DIST fastbencode-0.3.1.tar.gz 20881 BLAKE2B e962e07ebc75402d63c9b4bbae303bafc1cf4a66f76884b756c9604b5fad5dc0165c1500fad4226785e030571bff1a2f26b5e5185880b076ebdb54cac4474da1 SHA512 153501ecbfcff76a55faec4c65924a4e4b171a91e05092ecaba61a8561f84d2abce0ac7b7d51aee44b39e6b706c38b5ea7a23f92a4650545b4526a0ae1ac086d +DIST fastbencode-0.3.2.tar.gz 24878 BLAKE2B a516be3b5d0eb6fc09afc3d4f3c40454893f1cc252592f032fbb8d2d906bc59b8be6b50a13d4ef4e0ab608b68dcc56a24e0b96fae2b12f1f8666f43ff76435c5 SHA512 0750aec47720dbf1e85b7acbf4f9df85e672d0cf53dee522a035340d7eb1e90eca5eeeafe8e0c7fa3b769216bda84d348f7d78133a1540142143db54799ff97f diff --git a/dev-python/fastbencode/fastbencode-0.3.2.ebuild b/dev-python/fastbencode/fastbencode-0.3.2.ebuild new file mode 100644 index 000000000000..a5d3ba09d1c6 --- /dev/null +++ b/dev-python/fastbencode/fastbencode-0.3.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023-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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Implementation of bencode with optional fast C extensions" +HOMEPAGE=" + https://github.com/breezy-team/fastbencode/ + https://pypi.org/project/fastbencode/ +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # makes the extension non-optional (when built) + export CIBUILDWHEEL=1 + if ! use native-extensions; then + sed -i -e '/^add_cython_extension(/d' setup.py || die + fi +} + +src_test() { + mv fastbencode/tests tests || die + rm -r fastbencode || die + + distutils-r1_src_test +} diff --git a/dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild b/dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild index 3710465e7628..cfe6a077da7b 100644 --- a/dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild +++ b/dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 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/jsonrpclib/jsonrpclib-9999.ebuild b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild index 84d7d7721b03..8ad7ffc4a706 100644 --- a/dev-python/jsonrpclib/jsonrpclib-9999.ebuild +++ b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 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/jupyter-server/Manifest b/dev-python/jupyter-server/Manifest index e7410f46e5c3..362db1b7eb20 100644 --- a/dev-python/jupyter-server/Manifest +++ b/dev-python/jupyter-server/Manifest @@ -1 +1,2 @@ DIST jupyter_server-2.15.0.tar.gz 725227 BLAKE2B da7b0106de95aa2dd3abed6d89e768a8beed1377b6a5dd0f6f9d79cd5c22cfe1259279be34771f48065ce618ae5de61ff1376a30af6c2085c481eecdec0b0d62 SHA512 96d5cf536c0ac242c86f20d0c18662f544d8d6b7a11a3fd06e473205fa597da02333f2064ffc9440ffd177c916dd37b3c608a623c35443e67663768aae97f0fc +DIST jupyter_server-2.16.0.tar.gz 728177 BLAKE2B 4a508114057b2e54cc62e794ab8dee8934caea0bf4335928c0586190dc9cf46c9825cd006d5ae35ac82207b00e93f3edd11e45dbeaeba1baadacf472e6e6ec6b SHA512 75cce8d69a57ba5792184d16b53a75e3b83f67222ce8a3f9a7091aa0f452621d9914d639731b8497f5baf92176c405736cac6b5bf7a383e8e3523a67f738fb3c diff --git a/dev-python/jupyter-server/jupyter-server-2.16.0.ebuild b/dev-python/jupyter-server/jupyter-server-2.16.0.ebuild new file mode 100644 index 000000000000..4d991a50e8e6 --- /dev/null +++ b/dev-python/jupyter-server/jupyter-server-2.16.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server/ + https://pypi.org/project/jupyter-server/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] + >=dev-python/argon2-cffi-21.1[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0.3[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-7.4.4[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-terminals-0.4.4[${PYTHON_USEDEP}] + >=dev-python/jupyter-events-0.11.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] + >=dev-python/overrides-5.0[${PYTHON_USEDEP}] + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] + >=dev-python/prometheus-client-0.9[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24[${PYTHON_USEDEP}] + >=dev-python/send2trash-1.8.2[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] + >=dev-python/websocket-client-1.7[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + >=dev-python/pytest-jupyter-0.7[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # This fails if your terminal is zsh (and maybe other non-bash as well?) + tests/test_terminal.py + # Fails because above is ignored + tests/auth/test_authorizer.py + # Fails with additional extensions installed + tests/extension/test_app.py::test_stop_extension + ) + + # FIXME: tests seem to be affected by previously installed version + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest \ + -p pytest_tornasync.plugin \ + -p jupyter_server.pytest_plugin \ + -p pytest_console_scripts \ + -p pytest_timeout \ + -p pytest_rerunfailures --reruns=5 \ + -o tmp_path_retention_policy=all +} diff --git a/dev-python/linode-metadata/Manifest b/dev-python/linode-metadata/Manifest index 47e91663f874..122a5bfeb24d 100644 --- a/dev-python/linode-metadata/Manifest +++ b/dev-python/linode-metadata/Manifest @@ -1 +1,2 @@ DIST linode_metadata-0.3.0.tar.gz 17719 BLAKE2B 9dfb95117cbeb6f8e05dce6d43d4b03a831784c5db9e639d4214b72add2cea46152ff9eac800946dffd925ff0eef2a9ad31fcf0088f6e990c09c65561940ef42 SHA512 e0ba3927deb82b1f4f0b596d1f5d12cd2e25713e2e77e79c710bcc055748930c25dcc7b0722a78da9d048f788519856d06584eb17f5f1a80aa4824d1a9a1a14f +DIST linode_metadata-0.3.1.tar.gz 17754 BLAKE2B 64adc7c2a3576032729227b59b218ae5489b9ecb19cbe0ed96dae96fe6e75b02681401fb1be77697779986e63820ff9d770aa985ba7d706cca9c987627c0d40d SHA512 3b80060b9262e6e3d682ebae5a8732c075fa5c08d2285af891c29f5b9a6e5b3e6447442953fa3cadcc518c784ac8fc8c4a3ab7282329cd9963d5de1f1a77212e diff --git a/dev-python/linode-metadata/linode-metadata-0.3.1.ebuild b/dev-python/linode-metadata/linode-metadata-0.3.1.ebuild new file mode 100644 index 000000000000..82242014911a --- /dev/null +++ b/dev-python/linode-metadata/linode-metadata-0.3.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for the Linode Metadata Service" +HOMEPAGE="https://github.com/linode/py-metadata https://www.linode.com/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +# Tests require network, a linode account, an API key and a ssh key. +RESTRICT="test" + +RDEPEND=" + dev-python/httpx[${PYTHON_USEDEP}] +" diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest index d42913e0e134..092f1b1033fc 100644 --- a/dev-python/narwhals/Manifest +++ b/dev-python/narwhals/Manifest @@ -1,3 +1,2 @@ -DIST narwhals-1.37.1.gh.tar.gz 708868 BLAKE2B 0cda4e6febb2407b12db34068ba5419cfacc2003a6e4c9a62f713db8ab9994128ac6a739d09a8eb40ab543eb689c3867f3069841f761786a221eff5ef1b37b39 SHA512 3aeb15341f525397aff4ca389cafcdce3b433c0cdd7d0ad389592cfaf0c3837019660895b3a52923b84ce4f2b3f9d29670a962dcd5687dca1a4fe99977e49e20 -DIST narwhals-1.38.0.gh.tar.gz 714872 BLAKE2B f60b828c20849866ac2b0a48a4d3cdd21c80c1f2d48beb1cfe1f519e09f9ea7e045ab3824de886a880e3e5385786e73208bc69a6bd8c1c06b94c3161f3be4d6c SHA512 668f57d7830d70992477f5ac7d917abaf95b36ade8c0b60c93d1ed6eb5f4aa892c83812aedd5056b32d6498d727804d835d880ddc41a2e6a0630fee05e30e581 DIST narwhals-1.38.2.gh.tar.gz 715904 BLAKE2B b813fbf86e9210d3d232e06a5de390678742c81ccc6338d3f3c8e79bdd3c95046b947e8924ef736d55b40ed0808cf505e190e0cba14f33f6e46560396847ab99 SHA512 d0e01b754c77ff9764d42360cfcc38f35b1282ed1ce162f69dc1f28299484d1723de4ac13eadf8f7f8852c665c01f2ff9650f3103575e1781cfe5791d3f8748c +DIST narwhals-1.39.0.tar.gz 471928 BLAKE2B c62550cf86de2fe03a677d01b36086c210ba8fd48dd227ef1522647e065386afed3458e5e7dbf45f90c770db258554b7679ce98a5817e7530e3135b84799479d SHA512 0aab6ff4a9b8b5ee8eedcfab80a90cb1573ade28fdb1ff6b66f9d472f59be529cbe7d4d6e9d21427ff39bca32173481dd72bca8ff0c066490eddc8e2a2afadfc diff --git a/dev-python/narwhals/files/narwhals-1.38.0-opt-polars.patch b/dev-python/narwhals/files/narwhals-1.38.0-opt-polars.patch deleted file mode 100644 index 96de66908a42..000000000000 --- a/dev-python/narwhals/files/narwhals-1.38.0-opt-polars.patch +++ /dev/null @@ -1,32 +0,0 @@ -From add7beafc8394ae76309bcb93443aee840d8e5f0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Tue, 6 May 2025 07:12:45 +0200 -Subject: [PATCH] test: make `polars` optional in `truncate_test` - ---- - tests/expr_and_series/dt/truncate_test.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/tests/expr_and_series/dt/truncate_test.py b/tests/expr_and_series/dt/truncate_test.py -index 3e51a796..d2a2e960 100644 ---- a/tests/expr_and_series/dt/truncate_test.py -+++ b/tests/expr_and_series/dt/truncate_test.py -@@ -3,7 +3,6 @@ from __future__ import annotations - from datetime import datetime - - import pandas as pd --import polars as pl - import pytest - - import narwhals as nw -@@ -227,6 +226,10 @@ def test_truncate_custom( - ], - ) - def test_truncate_polars_ns(every: str, expected: list[datetime]) -> None: -+ pytest.importorskip("polars") -+ -+ import polars as pl -+ - df_pl = pl.DataFrame(data, schema={"a": pl.Datetime(time_unit="ns")}) - df = nw.from_native(df_pl) - result = df.select(nw.col("a").dt.truncate(every)) diff --git a/dev-python/narwhals/narwhals-1.38.0.ebuild b/dev-python/narwhals/narwhals-1.38.0.ebuild deleted file mode 100644 index 236d75e3c312..000000000000 --- a/dev-python/narwhals/narwhals-1.38.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries" -HOMEPAGE=" - https://github.com/narwhals-dev/narwhals/ - https://pypi.org/project/narwhals/ -" -# https://github.com/narwhals-dev/narwhals/issues/2284 -SRC_URI=" - https://github.com/narwhals-dev/narwhals/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pyarrow[${PYTHON_USEDEP}] - dev-python/pytest-env[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/narwhals-dev/narwhals/pull/2501 - "${FILESDIR}/${P}-opt-polars.patch" -) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --runslow --constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow" -} diff --git a/dev-python/narwhals/narwhals-1.37.1.ebuild b/dev-python/narwhals/narwhals-1.39.0.ebuild index 8dd51b2328a8..8422b7e22466 100644 --- a/dev-python/narwhals/narwhals-1.37.1.ebuild +++ b/dev-python/narwhals/narwhals-1.39.0.ebuild @@ -6,18 +6,13 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries" HOMEPAGE=" https://github.com/narwhals-dev/narwhals/ https://pypi.org/project/narwhals/ " -# https://github.com/narwhals-dev/narwhals/issues/2284 -SRC_URI=" - https://github.com/narwhals-dev/narwhals/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" LICENSE="MIT" SLOT="0" @@ -37,5 +32,5 @@ distutils_enable_tests pytest python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --runslow --constructors="pandas,pandas[pyarrow],pyarrow" + epytest --runslow --constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow" } diff --git a/dev-python/pyproject-api/Manifest b/dev-python/pyproject-api/Manifest index 2e2ff6bd688f..30f47417cdb3 100644 --- a/dev-python/pyproject-api/Manifest +++ b/dev-python/pyproject-api/Manifest @@ -1 +1,2 @@ DIST pyproject_api-1.9.0.tar.gz 22714 BLAKE2B 743cc09d3a805779940877d3487b7033aeb5e076eb4395f4c2e3c5c062f17b32753e0f94d22609ec8a8e0e54ddedd3f0fcaaf934ec4fabf9f79400d6a3c8c18b SHA512 44822d5433115a353c71ca18a97d33198e0d5c1da80f710abc897fa1f07b5c031a469ec4d1abeeee6e62d5745b5a2e94f79abb4d7318765b1b4fc944b9859d18 +DIST pyproject_api-1.9.1.tar.gz 22710 BLAKE2B 3ec2900c3d2f7e63c1026037a6c82f34ebd9e7b78a54bd049228b308b8d39caab970773bc6c793c5b27812e939de264fe1b374d9f2ea7e359ae17fd1e9813b29 SHA512 d92bf395509c89cc4acb668a959a9ad74e8c1a5ca293ae63bb6e89c604cf5267041a65165483ce79da4aea330ec5961e5b604e961da6892272c4de228365bb60 diff --git a/dev-python/pyproject-api/pyproject-api-1.9.1.ebuild b/dev-python/pyproject-api/pyproject-api-1.9.1.ebuild new file mode 100644 index 000000000000..98073a1415e0 --- /dev/null +++ b/dev-python/pyproject-api/pyproject-api-1.9.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="API to interact with the python pyproject.toml based projects" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-api/ + https://pypi.org/project/pyproject-api/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-25[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-vcs-0.3.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.11.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-70.1.0[${PYTHON_USEDEP}] + >=dev-python/wheel-0.40.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/qiskit/Manifest b/dev-python/qiskit/Manifest index c0d710c71233..31078934f843 100644 --- a/dev-python/qiskit/Manifest +++ b/dev-python/qiskit/Manifest @@ -111,6 +111,7 @@ DIST pyo3-ffi-0.22.6.crate 69352 BLAKE2B 99eea6ed87001b23fdeb263937bc14be0fadadc DIST pyo3-macros-0.22.6.crate 8182 BLAKE2B 81998e4f4cb325763e4d3477af05b332e184cabf6391761f850d23508cebcf8d496ce12f747ea241523bb3899886eb20494b076a0651151744bb81d52901a1b4 SHA512 63f7a7b42e099742518c8a3bbc7647e98debb5500d08c39e11e8140fc146e790ab06e005d8d14c89aba79ebc5bf04fe1c92c0e9c5b13421307d3a4682d044179 DIST pyo3-macros-backend-0.22.6.crate 66312 BLAKE2B ec0b11bee1ad2192e8d95cebab0075d6ec5bf628e3344b86fb8e20a6d0bc1f891b56ccfa4622840a609480581f32bd211b9a3d1dd989716cf255efe3fdc89331 SHA512 87463939b5a5674e30e8ca05ae747f652f8679f0c5c85d20967e9910ad853768a769a914580e82e409188fe4add80a3117ccb9da24c250406bc6f76fe4453799 DIST qiskit-1.4.2.gh.tar.gz 8513418 BLAKE2B 99afd2b678d9aa7cc81c36adb10c54f51340a40a5bbf996905473fdae61adcdc9c110b511c96435ab4695b8198030fee4b79eaddfd8aff793e1f8801902cdc07 SHA512 11225da1654cf576a9d3cc953a59dbc11d5db1b67d8ee024dca7837251393bf76042ce0b490528d8db64a1c87eda064c566fba37d4e7f8597edeab405123f72a +DIST qiskit-1.4.3.gh.tar.gz 8517305 BLAKE2B 663a25830dfab9844f62a125943cd38a662f68052fbe9deb3f8d8b3bd576c3f1489ca9e1b8ad394d3d50fe4c367e7a8033314b5ee9c2d63229e36a79a3cca1d9 SHA512 8f3a91a65240c40bf080a9fbd944002089b043be833ff38f0ec5211165afdfac515b4b355f7745cfbed977d017de4fc2b00c914c802cc049597ec4fc6d48b85d DIST qiskit-2.0.0-crates.tar.xz 15000540 BLAKE2B d7fbd51bff125bdd389b8945c6d69d5646169eb92efa6236f01c0442fa460b8a776e8f8e69e13d36400e68feb40f192c95ea92688ae50cebe15a9aa0c3a3d437 SHA512 0dd619cc11ca4c2d23da56f313ecb92d2b451ca6f01fecb831bf39825610802149bd69ed0d8ae73044041b1d53427ad8c6b510728570c8e76466a3f88cb38ad8 DIST qiskit-2.0.0.gh.tar.gz 7911127 BLAKE2B da36cfbaaef52fe3f8e03916de0fc12ffd7ef8c1ce264e3b4558563909ee44ee5a85a3a61b7def07ba38e2061e9e154a98dddf5d7f280bf6b70b793176a53a65 SHA512 cea8b1722ad12961b86e42236f93e74e996a8be30da279c16c65b5090a957a86c2584c7373c95f4b4c0da04063ee82d7711707ab3dd859f44f594adb35670fb3 DIST qiskit-2.0.0rc1-crates.tar.xz 14966052 BLAKE2B a7c0a83ebc2c03e856b4634e8c2f300d6aa953926e33af3884ab7419f2784b13db70134d1d26d2e20afe597e4acbf84135107842794a0e460389698d8dd9dc6d SHA512 e74a00c53600247a194e80633157c5ad050e6b41b254e8e238f9852272e51d6b2a9f65a1cc4aec89939b1319e32885a35e6fa39d9cde715a29ee68f461807943 diff --git a/dev-python/qiskit/qiskit-1.4.3.ebuild b/dev-python/qiskit/qiskit-1.4.3.ebuild new file mode 100644 index 000000000000..9f7fb498c9b0 --- /dev/null +++ b/dev-python/qiskit/qiskit-1.4.3.ebuild @@ -0,0 +1,314 @@ +# Copyright 2022-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} ) + +CRATES=" + ahash@0.7.8 + ahash@0.8.11 + aho-corasick@1.1.3 + allocator-api2@0.2.20 + approx@0.4.0 + approx@0.5.1 + ariadne@0.3.0 + autocfg@1.4.0 + bitflags@1.3.2 + bitflags@2.6.0 + block-buffer@0.10.4 + boolenum@0.1.0 + bytemuck@1.19.0 + bytemuck_derive@1.8.0 + byteorder@1.5.0 + cfg-if@1.0.0 + coe-rs@0.1.2 + concolor-query@0.3.3 + concolor@0.1.1 + countme@3.0.1 + cov-mark@2.0.0 + cpufeatures@0.2.15 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.20 + crunchy@0.2.2 + crypto-common@0.1.6 + dbgf@0.1.2 + digest@0.10.7 + drop_bomb@0.1.5 + dyn-stack@0.10.0 + either@1.13.0 + enum-as-inner@0.6.1 + equator-macro@0.2.1 + equator-macro@0.4.1 + equator@0.2.2 + equator@0.4.1 + equivalent@1.0.1 + faer-entity@0.19.2 + faer-ext@0.2.0 + faer@0.19.4 + fixedbitset@0.4.2 + gemm-c32@0.18.0 + gemm-c64@0.18.0 + gemm-common@0.18.0 + gemm-f16@0.18.0 + gemm-f32@0.18.0 + gemm-f64@0.18.0 + gemm@0.18.0 + generic-array@0.14.7 + getrandom@0.2.15 + half@2.4.1 + hashbrown@0.12.3 + hashbrown@0.14.5 + hashbrown@0.15.1 + heck@0.5.0 + hermit-abi@0.4.0 + indexmap@2.6.0 + indoc@2.0.5 + is-terminal@0.4.13 + itertools@0.10.5 + itertools@0.11.0 + itertools@0.13.0 + lazy_static@1.5.0 + libc@0.2.162 + libm@0.2.11 + matrixcompare-core@0.1.0 + matrixcompare@0.3.0 + matrixmultiply@0.3.9 + memchr@2.7.4 + memoffset@0.9.1 + nano-gemm-c32@0.1.0 + nano-gemm-c64@0.1.0 + nano-gemm-codegen@0.1.0 + nano-gemm-core@0.1.0 + nano-gemm-f32@0.1.0 + nano-gemm-f64@0.1.0 + nano-gemm@0.1.2 + ndarray@0.15.6 + ndarray_einsum_beta@0.7.0 + npyz@0.8.3 + num-bigint@0.4.6 + num-complex@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + numpy@0.22.1 + once_cell@1.20.2 + oq3_lexer@0.7.0 + oq3_parser@0.7.0 + oq3_semantics@0.7.0 + oq3_source_file@0.7.0 + oq3_syntax@0.7.0 + paste@1.0.15 + pest@2.7.14 + pest_derive@2.7.14 + pest_generator@2.7.14 + pest_meta@2.7.14 + petgraph@0.6.5 + portable-atomic@1.9.0 + ppv-lite86@0.2.20 + priority-queue@2.1.1 + proc-macro-error-attr@1.0.4 + proc-macro-error@1.0.4 + proc-macro2@1.0.89 + pulp-macro@0.1.1 + pulp@0.18.22 + py_literal@0.4.0 + pyo3-build-config@0.22.6 + pyo3-ffi@0.22.6 + pyo3-macros-backend@0.22.6 + pyo3-macros@0.22.6 + pyo3@0.22.6 + quote@1.0.37 + ra_ap_limit@0.0.188 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_distr@0.4.3 + rand_pcg@0.3.1 + raw-cpuid@10.7.0 + rawpointer@0.2.1 + rayon-cond@0.3.0 + rayon-core@1.12.1 + rayon@1.10.0 + reborrow@0.5.5 + regex-automata@0.4.9 + regex-syntax@0.8.5 + regex@1.11.1 + rowan@0.15.15 + rustc-hash@1.1.0 + rustiq-core@0.0.10 + rustversion@1.0.18 + rustworkx-core@0.15.1 + same-file@1.0.6 + seq-macro@0.3.5 + serde@1.0.215 + serde_derive@1.0.215 + sha2@0.10.8 + smallvec@1.13.2 + smol_str@0.2.2 + syn@1.0.109 + syn@2.0.87 + sysctl@0.5.5 + target-lexicon@0.12.16 + text-size@1.1.1 + thiserror-impl@1.0.69 + thiserror@1.0.69 + triomphe@0.1.11 + typenum@1.17.0 + ucd-trie@0.1.7 + unicode-ident@1.0.13 + unicode-properties@0.1.3 + unicode-width@0.1.14 + unicode-xid@0.2.6 + unindent@0.2.3 + version_check@0.9.5 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-util@0.1.9 + windows-sys@0.45.0 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.42.2 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.42.2 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.42.2 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.42.2 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.42.2 + windows_x86_64_msvc@0.52.6 + xshell-macros@0.2.6 + xshell@0.2.6 + yansi@0.5.1 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +inherit cargo distutils-r1 + +MY_P=${P/_} +DESCRIPTION="An open-source SDK for working with quantum computers" +HOMEPAGE=" + https://github.com/Qiskit/qiskit/ + https://pypi.org/project/qiskit/ +" +SRC_URI=" + https://github.com/Qiskit/qiskit/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT + Unicode-DFS-2016 + || ( LGPL-3+ MPL-2.0 ) +" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+visualization" + +RDEPEND=" + >=dev-python/dill-0.3[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/rustworkx-0.15.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.5[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] + <dev-python/symengine-0.14[${PYTHON_USEDEP}] + >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] + >=dev-python/sympy-1.3[${PYTHON_USEDEP}] + visualization? ( + >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] + dev-python/pydot[${PYTHON_USEDEP}] + >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] + >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] + >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] + test? ( + app-text/poppler[png] + >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] + >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] + >=dev-python/networkx-2.2[${PYTHON_USEDEP}] + >=dev-python/qiskit-aer-0.14[${PYTHON_USEDEP}] + >=dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}] + ) +" + +# Files built without CFLAGS/LDFLAGS, acceptable for rust +QA_FLAGS_IGNORED=" + usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so + usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # strip forcing -Werror from tests that also leaks to other packages + sed -i -e '/filterwarnings.*error/d' test/utils/base.py || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw + test/python/quantum_info/operators/symplectic/test_sparse_pauli_op.py::TestSparsePauliOpConversions::test_to_matrix_zero + test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin + test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register + test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_fail_to_assemble_circuits_with_unbounded_parameters + test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_schedule_circuit_in_sec_when_no_one_tells_dt + test/python/compiler/test_assembler.py::TestCircuitAssembler::test_circuit_with_global_phase + test/python/compiler/test_assembler.py::TestPulseAssembler::test_assemble_user_rep_time_delay + # tiny image differences, sigh + test/python/visualization/test_gate_map.py::TestGateMap::test_plot_error_map_over_100_qubit + # assertRaises() on exceptions + test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_invalidate_schedule_circuit_if_new_instruction_is_appended + test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_schedule_circuit_when_backend_tells_dt + test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_transpile_delay_circuit_without_scheduling_method_or_durs + test/python/compiler/test_transpiler.py::TestTranspile::test_scheduling_dt_constraints + test/python/compiler/test_transpiler.py::TestTranspile::test_scheduling_instruction_constraints + test/python/dagcircuit/test_dagcircuit.py::TestDagWireRemoval::test_copy_empty_like + ) + + local EPYTEST_IGNORE=( + # Breaks xdist + test/python/qasm2/test_parse_errors.py + test/python/transpiler/test_preset_passmanagers.py + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # docstring mismatches + test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_meta_lines + test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_multiple_entries + test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_no_meta_lines + ) + ;; + esac + + rm -rf qiskit || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # Run the Python test suite rather than everything under test/ which + # includes the 'randomized' suite. Upstream run that in a separate CI job. + epytest test/python +} diff --git a/dev-python/rebulk/rebulk-3.2.0.ebuild b/dev-python/rebulk/rebulk-3.2.0.ebuild index aaf092ab6166..d070f9f5f293 100644 --- a/dev-python/rebulk/rebulk-3.2.0.ebuild +++ b/dev-python/rebulk/rebulk-3.2.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 diff --git a/dev-python/rq/rq-2.3.3.ebuild b/dev-python/rq/rq-2.3.3-r1.ebuild index 3003d2989434..98726e6d6ea4 100644 --- a/dev-python/rq/rq-2.3.3.ebuild +++ b/dev-python/rq/rq-2.3.3-r1.ebuild @@ -35,8 +35,8 @@ distutils_enable_tests pytest src_prepare() { distutils-r1_src_prepare - # unnecessary typechecking deps - sed -i -e '/types-/d' pyproject.toml || die + # strip pin + sed -i -e '/dependencies/s:,!=[0-9.]*::' pyproject.toml || die } src_test() { diff --git a/dev-python/setproctitle/setproctitle-1.3.5.ebuild b/dev-python/setproctitle/setproctitle-1.3.5.ebuild index 0e0b7ea39013..d1abde7f4e4c 100644 --- a/dev-python/setproctitle/setproctitle-1.3.5.ebuild +++ b/dev-python/setproctitle/setproctitle-1.3.5.ebuild @@ -9,7 +9,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -inherit distutils-r1 flag-o-matic pypi +inherit distutils-r1 pypi DESCRIPTION="Allow customization of the process title" HOMEPAGE=" @@ -29,10 +29,3 @@ src_prepare() { # remove the override that makes extension builds non-fatal sed -i -e '/cmdclass/d' setup.py || die } - -src_configure() { - # https://github.com/dvarrazzo/py-setproctitle/issues/145 - append-cflags -std=gnu17 - - distutils-r1_src_configure -} diff --git a/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.3.2.ebuild b/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.3.2.ebuild index 48f626c9463e..3535cf580ea2 100644 --- a/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.3.2.ebuild +++ b/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/svglib/svglib-1.5.1.ebuild b/dev-python/svglib/svglib-1.5.1.ebuild index 60e910ef0ae2..5976af383dbd 100644 --- a/dev-python/svglib/svglib-1.5.1.ebuild +++ b/dev-python/svglib/svglib-1.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/time-machine/time-machine-2.16.0.ebuild b/dev-python/time-machine/time-machine-2.16.0.ebuild index c676eb24bfb4..0340b914d817 100644 --- a/dev-python/time-machine/time-machine-2.16.0.ebuild +++ b/dev-python/time-machine/time-machine-2.16.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-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} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 diff --git a/dev-python/trakit/trakit-0.2.2.ebuild b/dev-python/trakit/trakit-0.2.2.ebuild index 40f500cb8219..d6c1a446093c 100644 --- a/dev-python/trakit/trakit-0.2.2.ebuild +++ b/dev-python/trakit/trakit-0.2.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest index 5ca5ecdd8c1e..60362aaae176 100644 --- a/dev-python/versioningit/Manifest +++ b/dev-python/versioningit/Manifest @@ -1 +1,2 @@ DIST versioningit-3.1.2.tar.gz 213047 BLAKE2B d34f3d14a667e84a0d7f17fa9de59bbb4d900d466120879939dfb9586b20ee45c6f33991c586438e47cc58de70db03996ade0561a91efffeee49545ac5f1ef97 SHA512 0e09a51ed9a137ffa9a66c2a8b4c43131bd27d07e35b896248d963a780f955d6bf37de29c04e41acf06dd636a3609d045e359b28429d7272fad6187db7748c3c +DIST versioningit-3.1.3.tar.gz 213327 BLAKE2B 7263a22ab0f6dd08f66de6a13bfc15d7bafd6d4af67a90169d19c1ebc82e5381cf64edb786c940416367434ec2540d7faa64d71dec109d67bb181aaf4419890f SHA512 829d595803853e18159f4109bb10fe8335529e9c7c31ebe5948d551e88811453705637e98d8de349972f1bc37c33d3ccdf6546343c13670c7a7672a03bd14cff diff --git a/dev-python/versioningit/versioningit-3.1.3.ebuild b/dev-python/versioningit/versioningit-3.1.3.ebuild new file mode 100644 index 000000000000..572bf62ad97a --- /dev/null +++ b/dev-python/versioningit/versioningit-3.1.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A setuptools plugin for versioning based on git tags" +HOMEPAGE=" + https://github.com/jwodder/versioningit/ + https://pypi.org/project/versioningit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/packaging-17.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + <dev-python/tomli-3[${PYTHON_USEDEP}] + ' 3.10) + dev-vcs/git +" +BDEPEND=" + test? ( + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Tries to do wheel/pip installs + test/test_end2end.py +) + +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/webob/webob-1.8.9.ebuild b/dev-python/webob/webob-1.8.9.ebuild index dab738811f51..d042304a3e46 100644 --- a/dev-python/webob/webob-1.8.9.ebuild +++ b/dev-python/webob/webob-1.8.9.ebuild @@ -23,8 +23,19 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 RDEPEND=" $(python_gen_cond_dep ' >=dev-python/legacy-cgi-2.6[${PYTHON_USEDEP}] - ' 3.13) + ' 3.{13..14}) " distutils_enable_sphinx docs 'dev-python/alabaster' distutils_enable_tests pytest + +python_test() { + if [[ ${EPYTHON} == python3.14* ]] ; then + EPYTEST_DESELECT+=( + # https://github.com/Pylons/webob/issues/479 + tests/test_in_wsgiref.py::test_interrupted_request + ) + fi + + epytest +} diff --git a/dev-python/webtest/webtest-3.0.4.ebuild b/dev-python/webtest/webtest-3.0.4.ebuild index a2368b9cf224..b8034be2a7c4 100644 --- a/dev-python/webtest/webtest-3.0.4.ebuild +++ b/dev-python/webtest/webtest-3.0.4.ebuild @@ -33,7 +33,7 @@ BDEPEND=" dev-python/wsgiproxy2[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/legacy-cgi[${PYTHON_USEDEP}] - ' 3.13) + ' 3.{13..14}) ) " diff --git a/dev-python/yappi/yappi-1.6.10.ebuild b/dev-python/yappi/yappi-1.6.10.ebuild index f1fc1ad14191..867c047fba31 100644 --- a/dev-python/yappi/yappi-1.6.10.ebuild +++ b/dev-python/yappi/yappi-1.6.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 |
