diff options
Diffstat (limited to 'dev-python')
35 files changed, 989 insertions, 14 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 4a6d132da683..026cc0432b16 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -3,3 +3,4 @@ DIST aiohttp-3.11.18.tar.gz 7678653 BLAKE2B 5886778fd0456ef40f1da5abd3d6a3864db0 DIST aiohttp-3.12.11.tar.gz 7814403 BLAKE2B c08c9ad1a8d194e3d50e92c3c42f50031c0e6592eaab19fc80a4a80ae3a1ce63218b4c54307fed137c83a759207909a5023320e3906aa717944cfdc046457a10 SHA512 9be3e04fad4b2d3b3a72fdfb4a0cfb1cfbe19d3e2beb4589166c6f6aad017e42d4164a0fa542a18935e86cbffdf8c7f20a261a99ba7bcead42ce0f8a1b783b4e DIST aiohttp-3.12.12.tar.gz 7818643 BLAKE2B 95086465a2645505d42f61ee8dfc68d094ea692946fe98550f3afa25bff5427315c9a66d3c6e906f15e4136c634ee9b812eb0467d2bc7a43610a6fac75ac48ab SHA512 a9d127dd7098fc4661c5d1c421161696f07d38163ba7df2e87fc142d6815589615ea76cbe966aa2f24bf0e8c3737c03149104e769cca5d2c2b55d86739aa90f8 DIST aiohttp-3.12.13.tar.gz 7819160 BLAKE2B 32584507d6d48a80c8034b0095af1fbbb74f75066e517205c05b7561bf5d7087e89031405dcba5a84c2d686310c44005ede7a67b421153b9d235c0e37c2cf6d9 SHA512 e384a7581a7e0944a7283adcf70b84c3a4f6a04ddf5fafbff74d1919bd46a3fddfd7fd830189278d7d17717ca65695cf0aa26ebbf38d08e850453887a5b7f487 +DIST aiohttp-3.12.14.tar.gz 7822921 BLAKE2B 2cbba98737ee1a00083e5a7f4ae2fbfc22bee07634a85c9b7de9bea09d3478be78b0460a9a40d6fe7b9a88a7a5d3ba7a2e446963affb50dca58c6030aa42d6ef SHA512 7031ecc166b10663c56f1ece854d272bf9b26160aef026f13a7ef820a3cbf34ed6d1301a08b440308df5bda08f83f1cba504eacf1a85c7cf2721df1b4facc75a diff --git a/dev-python/aiohttp/aiohttp-3.12.14.ebuild b/dev-python/aiohttp/aiohttp-3.12.14.ebuild new file mode 100644 index 000000000000..2fbac7f77821 --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.12.14.ebuild @@ -0,0 +1,158 @@ +# 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 pypi + +DESCRIPTION="HTTP client/server for asyncio" +HOMEPAGE=" + https://github.com/aio-libs/aiohttp/ + https://pypi.org/project/aiohttp/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions test-rust" + +DEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + net-libs/llhttp:= + ' 'python3*') + ) +" +RDEPEND=" + ${DEPEND} + >=dev-python/aiodns-3.3.0[${PYTHON_USEDEP}] + >=dev-python/aiohappyeyeballs-2.5.0[${PYTHON_USEDEP}] + >=dev-python/aiosignal-1.4.0[${PYTHON_USEDEP}] + >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] + dev-python/brotlicffi[${PYTHON_USEDEP}] + >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + native-extensions? ( + >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + ) + test? ( + dev-python/blockbuster[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/isal[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/zlib-ng[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + test-rust? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # increase the timeout a little + sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die + # xfail_strict fails on py3.10 + sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die + sed -i -e 's:-Werror::' Makefile || die + # remove vendored llhttp + rm -r vendor || die +} + +python_configure() { + # check for .install-cython, so that we do this only once + if [[ ! -f .install-cython && ${EPYTHON} != pypy3 ]] && + use native-extensions + then + # force rehashing first + emake requirements/.hash/cython.txt.hash + > .update-pip || die + > .install-cython || die + emake cythonize + fi +} + +python_compile() { + local -x AIOHTTP_USE_SYSTEM_DEPS=1 + # implicitly disabled for pypy3 + if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + # proxy is not packaged + tests/test_proxy_functional.py + # python_on_whales is not packaged + tests/autobahn/test_autobahn.py + # benchmarks + tests/test_benchmarks_client.py + tests/test_benchmarks_client_request.py + tests/test_benchmarks_client_ws.py + tests/test_benchmarks_cookiejar.py + tests/test_benchmarks_http_websocket.py + tests/test_benchmarks_http_writer.py + tests/test_benchmarks_web_fileresponse.py + tests/test_benchmarks_web_middleware.py + tests/test_benchmarks_web_response.py + tests/test_benchmarks_web_urldispatcher.py + ) + + local EPYTEST_DESELECT=( + # Internet + tests/test_client_session.py::test_client_session_timeout_zero + tests/test_connector.py::test_tcp_connector_ssl_shutdown_timeout_nonzero_passed + tests/test_connector.py::test_tcp_connector_ssl_shutdown_timeout_passed_to_create_connection + tests/test_connector.py::test_tcp_connector_ssl_shutdown_timeout_zero_not_passed + # broken by irrelevant deprecation warnings + tests/test_circular_imports.py::test_no_warnings + ) + + case ${EPYTHON} in + python3.14) + EPYTEST_DESELECT+=( + # TODO + tests/test_cookiejar.py::test_pickle_format + # different exception message + tests/test_client_functional.py::test_aiohttp_request_coroutine + ) + ;; + esac + + # upstream unconditionally blocks building C extensions + # on PyPy3 but the test suite needs an explicit switch + if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin + rm -rf aiohttp || die + epytest -m "not internal and not dev_mode" \ + -p rerunfailures --reruns=5 +} diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 55b9619d1ce0..e8e98fb2aa3c 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1,2 +1,3 @@ DIST alembic-1.16.2.tar.gz 1963563 BLAKE2B 5a2fd7a1413b6b8f5c30a8dd28e3eb9fb503fdb9cf7e74f33d8a17e2874cdd7c1e174c0d89764d6a5a7007bf55209419e076fb535c9a77f87a51eccfe1935c0e SHA512 1d8bf5b05fb94dcc2093b4bb8ca73cc3f5ac28d3aea46d7b4318d98bbae8468ca474a86c7203a64d6d4472c3f2f94e1b83a5bcd9d33c41e481fb304ef1592fbd DIST alembic-1.16.3.tar.gz 1967462 BLAKE2B 1e5dbddc98859e9f0966917c473a45ae0a0bdefee2ccbbb4d5c17c48f4b57b8635dd0896c96be351bae00c21a221c1c7b1d574824338d09c294c0698b8a1e01f SHA512 9025ce25aa524a971b93cfe3406d3c75d4dba47dfa4067a8d23c24fc27c00b19f3da726d37933e91fb715a8ab72677a4921101f61b80ea9d09148271b33de3f3 +DIST alembic-1.16.4.tar.gz 1968161 BLAKE2B 417279257dd1ee69039b5dea23ca8313ad3a6c67e51e94ad4eb7206e9c9384421b370f14f8b8fba342b214623c06da1c55598ed3e71362f93f8999e1be087d96 SHA512 7cd6ddd8ebb7c4f9b941ff611226c5a7a498e097dcd15ff1b7c4e6e584f1e2f3c6f0f66d34089708f84275c6b6cc0510580a39acf1e90393119ea4ed925c4d8a diff --git a/dev-python/alembic/alembic-1.16.4.ebuild b/dev-python/alembic/alembic-1.16.4.ebuild new file mode 100644 index 000000000000..62a2e6224a83 --- /dev/null +++ b/dev-python/alembic/alembic-1.16.4.ebuild @@ -0,0 +1,57 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy" +HOMEPAGE=" + https://github.com/sqlalchemy/alembic/ + https://pypi.org/project/alembic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + sys-libs/timezone-data + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + if ! has_version "dev-python/black[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_post_write.py::RunHookTest::test_module + tests/test_post_write.py::RunHookTest::test_module_black_with_cwd + tests/test_post_write.py::RunHookTest::test_module_filename_interpolation + tests/test_post_write.py::RunHookTest::test_module_path_in_config + ) + fi + + # setup.cfg contains -p no:warnings in addopts which triggers + # datetime.utcfromtimestamp() deprecation warning as an error in py3.12 + epytest -o addopts= +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/cli-helpers/Manifest b/dev-python/cli-helpers/Manifest index 1b00ba0aab38..2d48523cf525 100644 --- a/dev-python/cli-helpers/Manifest +++ b/dev-python/cli-helpers/Manifest @@ -1 +1,2 @@ DIST cli_helpers-2.4.0.gh.tar.gz 35309 BLAKE2B 44c668a66bec3ef0520695ecc54e9115c21bf0675d80e4c67001060fcb5cb1c12aa7bb63229d3bd922728e6b0b20923a00e0e3b7f259eef13d4e9b853b953dd0 SHA512 33d2d706634bcb0143af0fbc2df1baae58004c7544793367cfc8d80ca15b0ac709730ec4b5dfb6a7cdb199323cb153c69988b4127d8bf218040e7be1a9408737 +DIST cli_helpers-2.5.0.gh.tar.gz 35922 BLAKE2B 59994bbee0f2e12b67d3980cfe5bded3fe59971ae89850300cec5a31dd5a2010781fa5228b032ee0d86f4d34a28db09ceaeb92ccffd61fa6d1872c7bb5cd2105 SHA512 65dcc95f606d65e421dde8eea6b582aa621b3d48d837cb492386b768ccea599e702e2b13540b50fcd04750b12f42e037c5a908f899822e85d0f3433c14202c67 diff --git a/dev-python/cli-helpers/cli-helpers-2.5.0.ebuild b/dev-python/cli-helpers/cli-helpers-2.5.0.ebuild new file mode 100644 index 000000000000..3d106f82e886 --- /dev/null +++ b/dev-python/cli-helpers/cli-helpers-2.5.0.ebuild @@ -0,0 +1,36 @@ +# 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 + +MY_P=cli_helpers-${PV} +DESCRIPTION="Python helpers for common CLI tasks" +HOMEPAGE=" + https://cli-helpers.rtfd.io/ + https://github.com/dbcli/cli_helpers/ + https://pypi.org/project/cli-helpers/ +" +SRC_URI=" + https://github.com/dbcli/cli_helpers/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/configobj-5.0.5[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/cli-helpers/cli-helpers-9999.ebuild b/dev-python/cli-helpers/cli-helpers-9999.ebuild index 9f05e913d4fd..1e6b6924c872 100644 --- a/dev-python/cli-helpers/cli-helpers-9999.ebuild +++ b/dev-python/cli-helpers/cli-helpers-9999.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 git-r3 @@ -26,4 +26,5 @@ RDEPEND=" dev-python/wcwidth[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/django-allauth/Manifest b/dev-python/django-allauth/Manifest index 3b053e524f75..556a991a5d7c 100644 --- a/dev-python/django-allauth/Manifest +++ b/dev-python/django-allauth/Manifest @@ -1,2 +1,2 @@ -DIST django-allauth-65.8.1.gh.tar.gz 1417684 BLAKE2B f909b77df131ec22e4a79a3bb2f4257b818facfc723fecfdcef8e35965f21d01eac884c21aac6b2bf6e786d1c9aaa1747f70370b2ed78196fbe3ca720d6a6af5 SHA512 655ff5e7cf5bb60eae6a252b6bac4e2a3dee4d507131834fddc2af3ea5ea704e9a07e9243f5987b26d718ec0bc101cc4d2b2f6e4d2b9c19eacb2c1e04879e92e +DIST django-allauth-65.10.0.gh.tar.gz 1500024 BLAKE2B 0ba34e98c698cd50f4970c84229ba7db243f065e6eb4bfeeeb3e24f36d6ebd9c765a344f3b554f44af152e4c2f6085d01027ac912f2036c995d5511eb72c1642 SHA512 b81442b01aed013143cf99d0666f0ed458c9d1d46a5f0d4c2cc62384905ac7d71eba6675b747827c7871bd5ae84825d0bbb4b69aecc632218636ff256792566c DIST django-allauth-65.9.0.gh.tar.gz 1448683 BLAKE2B 12b45ee96fda1c42924aab8ddc19b668e07c140414cfaa4c567f1c9427f034dd3451809dbefba8304d8bf749f13413c29d11ea6135aabf57f68ac888dc097af5 SHA512 aaa555c8dbd5aa61f72375ae3b6e73edeb3b947ecd3dc5917dfb7e51c9e28a6424e3779f1f0c107f9571deb6df4ace340c9d564443db03a631e659f78899ff33 diff --git a/dev-python/django-allauth/django-allauth-65.8.1.ebuild b/dev-python/django-allauth/django-allauth-65.10.0.ebuild index 107063d2408a..107063d2408a 100644 --- a/dev-python/django-allauth/django-allauth-65.8.1.ebuild +++ b/dev-python/django-allauth/django-allauth-65.10.0.ebuild diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest index b28d27e6378c..d2b801a1f437 100644 --- a/dev-python/lmdb/Manifest +++ b/dev-python/lmdb/Manifest @@ -1 +1,2 @@ DIST lmdb-1.6.2.tar.gz 881434 BLAKE2B 3128bf5a27b89935602d49fb8c8ae951835ae8657c21bc91821253d03ca35642323b6601ad9483599078185516d21bc3299b0281921c6c867f04cee1eb5e0c98 SHA512 60ef1954c44e0f5ce34cb5570402f402dcddbb0bffcd7d2004da489dbc1329705f8e1b2655449335d246dfb88ea58e325351d4b3ab21b62a4e167a6b93911a78 +DIST lmdb-1.7.2.tar.gz 883413 BLAKE2B 16c1760ac639a1ba751f3fd033afec93d6fa2961d07ce816eb3e28451a687b273e3bf0ed933df378690964c64987200bdf077e726c3cb11f3970367aae5e4d26 SHA512 ed184397f3c1d28067c0a80e091c732530051757d9f61be26863e6ad114ef01a5327c2a9fe66a6e8edb97728e300efe59ccb18a60249927e7e0da4e20b0907d2 diff --git a/dev-python/lmdb/lmdb-1.7.2.ebuild b/dev-python/lmdb/lmdb-1.7.2.ebuild new file mode 100644 index 000000000000..f3a80e8a80b8 --- /dev/null +++ b/dev-python/lmdb/lmdb-1.7.2.ebuild @@ -0,0 +1,41 @@ +# 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 pypi + +DESCRIPTION="Python bindings for the Lightning Database" +HOMEPAGE=" + https://github.com/jnwatson/py-lmdb/ + https://pypi.org/project/lmdb/ +" + +LICENSE="OPENLDAP" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +# cffi is used only on pypy, so no dep +DEPEND=" + >=dev-db/lmdb-0.9.28:= +" +RDEPEND=" + ${DEPEND} +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_compile() { + local -x LMDB_FORCE_SYSTEM=1 + distutils-r1_src_compile +} + +python_test() { + rm -rf lmdb || die + epytest tests +} diff --git a/dev-python/orderly-set/Manifest b/dev-python/orderly-set/Manifest index 5a6b03239911..3d8b0e8fcdb6 100644 --- a/dev-python/orderly-set/Manifest +++ b/dev-python/orderly-set/Manifest @@ -1,2 +1,2 @@ -DIST orderly_set-5.4.0.tar.gz 20934 BLAKE2B 49259d0e18db9988d080dd464381086ee4c6fe351a66de43cbf1dde26e2e64b289d363df784bfeca8eb0bc1569f400e0ba72672f86e640cff6830e569c2dac03 SHA512 2de050ffd87919540952a54df8b0f28f1e1ed6b503c4e99b3737119287bf5d10e06d5c4d6a6efae953dd95c16429f277c01fdc08e9a1c4aa75a8939128d7bc50 DIST orderly_set-5.4.1.tar.gz 20943 BLAKE2B 4828cca61ca512de5cb4818515bc3c9eaab24a1e4df5187c4c3deee145cf0bef1123c719276e369bd4a6faaed7a309559a991515a741ed97929139ef3a5e5fb1 SHA512 3806247f3893dcb7a532e95ba8ccca85b3d478e393868de126fefff83514725449c9ecffebc781815e70c0e94ee641dad1d10a1d13e548b28035d5b6c24de4e7 +DIST orderly_set-5.5.0.tar.gz 27414 BLAKE2B 84b6164189db1c1830616869ab46667a0c2106cad12ed1b1005ea0c4bad24ec843451e40defb4a72410a16df22597ae4e9c374a50d36d46ccd7bd1c1d6441670 SHA512 3fc85cc0e84329aa85e797c0b1fbd909cb2a4f482134eec4e4ada680a9e0d1a3fdf67ecd3521c67c10b9988358ebceddb060e2da0e18f0d2fd59d81227f94190 diff --git a/dev-python/orderly-set/orderly-set-5.4.0.ebuild b/dev-python/orderly-set/orderly-set-5.5.0.ebuild index 2124383bce7a..6d7f39036d99 100644 --- a/dev-python/orderly-set/orderly-set-5.4.0.ebuild +++ b/dev-python/orderly-set/orderly-set-5.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -DISTUTILS_USE_PEP517=setuptools +DISTUTILS_USE_PEP517=flit PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 pypi @@ -16,14 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm64 ~x86" +EPYTEST_PLUGINS=() distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unconditional mypy dep for a test that is not even run - # https://github.com/seperman/orderly-set/pull/5 - sed -i -e '/mypy\.api/d' tests/*.py || die -} diff --git a/dev-python/oslo-config/Manifest b/dev-python/oslo-config/Manifest index ead28c8c5d39..af6a353c3505 100644 --- a/dev-python/oslo-config/Manifest +++ b/dev-python/oslo-config/Manifest @@ -1 +1,2 @@ +DIST oslo_config-10.0.0.tar.gz 164993 BLAKE2B d0f185c3f72c73f3c0580eb712872a0eb5e2f7d498d2ba8b21b9a0c0da386b909878ba2a1101b4d58a6de264963454119e501b7cdf442956a464ff03160e6740 SHA512 d1f3e0b297fa76e5c5df052657a721fc57bb3698899bf2dd3c78eadfdd8d19cbe17a37329f8fcb9e1d56f0a3b89d351839f2177a24dec1e6fc2167fcf25de838 DIST oslo_config-9.8.0.tar.gz 165087 BLAKE2B 7b04abceefb078a69554dc1d61264227a7ce1d169ec985ffc7d44f4ebc5b8e80024955328c4cea89e00e082aa2e490ce58607596c2d0690d1bc470a2cee6c875 SHA512 44cded1e949f76578d0ed73328a3d81e51d665dc15a1ff9d8b04e7987b6003d5d10f5f5cbdf11a6861a9e2d14f98519bcc3ad01b8749dd759712b0f0016ec7c4 diff --git a/dev-python/oslo-config/oslo-config-10.0.0.ebuild b/dev-python/oslo-config/oslo-config-10.0.0.ebuild new file mode 100644 index 000000000000..06ee7e4f8482 --- /dev/null +++ b/dev-python/oslo-config/oslo-config-10.0.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pbr +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Oslo Configuration API" +HOMEPAGE=" + https://opendev.org/openstack/oslo.config/ + https://github.com/openstack/oslo.config/ + https://pypi.org/project/oslo.config/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/pbr-1.3[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.5.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.8.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # broken by some dep upgrade + sed -i -e '/DeprecationWarningTestsNoOsloLog/,$d' \ + oslo_config/tests/test_cfg.py || di + distutils-r1_src_prepare +} + +python_test() { + local -x COLUMNS=80 + eunittest -b +} diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest index 61fc7466d078..20e00a467b19 100644 --- a/dev-python/oslo-log/Manifest +++ b/dev-python/oslo-log/Manifest @@ -1 +1,2 @@ DIST oslo_log-7.1.0.tar.gz 96654 BLAKE2B a1d4fedbc38a0ca130560d2be7dbcf2c964fa76b2c164278f098b1c9e22ec52e34de2e28bff53770e8ff3932c14f2bd8732135aca45c61c2ef4ee989e80f0d17 SHA512 db99997afb0c30f8965d291dbc323e53ee1cdd5bf4ce3b4f97f5a1faeb78072665a0d4bb38ecab0502f759e0abc60cc97250ff9a21c2b082bfbd820fa1980ccb +DIST oslo_log-7.2.0.tar.gz 98103 BLAKE2B ce51bfa8cb0c9b6d0fe922e1cc1a031dd54b6bcca073a37dcaeba89053e26ec1b86636ed81904a5c561feee3ab5bbcb4383f84fb2413dfa65f79586a298d2316 SHA512 5329b1d431a166d583380e73460745210a1a220a0b19b3747d95d2768ec372a62447b0ea4606b6bbc8987460426971a671af81b8350747b3cc44443d34ca9129 diff --git a/dev-python/oslo-log/oslo-log-7.2.0.ebuild b/dev-python/oslo-log/oslo-log-7.2.0.ebuild new file mode 100644 index 000000000000..0ce8e78bd944 --- /dev/null +++ b/dev-python/oslo-log/oslo-log-7.2.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pbr +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenStack logging config library, configuration for all openstack projects" +HOMEPAGE=" + https://opendev.org/openstack/oslo.log/ + https://github.com/openstack/oslo.log/ + https://pypi.org/project/oslo.log/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/debtcollector-3.0.0[${PYTHON_USEDEP}] + >=dev-python/pbr-3.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-7.1.0-r1[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.25.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] + test? ( + >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_test() { + # requires eventlet + rm oslo_log/tests/unit/test_pipe_mutex.py || die + # suddenly started failing on py3.13 (also in old version) + sed -i -e 's:test_rate_limit:_&:' \ + oslo_log/tests/unit/test_rate_limit.py || die + + distutils-r1_src_test +} diff --git a/dev-python/pyaml/Manifest b/dev-python/pyaml/Manifest index 83100cb9ab8b..e6022d3955af 100644 --- a/dev-python/pyaml/Manifest +++ b/dev-python/pyaml/Manifest @@ -1 +1,2 @@ DIST pyaml-25.5.0.tar.gz 29812 BLAKE2B d737dd5479bbb151fe4973b6514f47f1793c2611d9a5adc0e4e92552fd869095481a0aef28e3e416e35233b671d6d2c14fbd51bee92bfca69c58043cb1b4d95d SHA512 b4d95cc93d6a948527ccc99395476539da999b78d330ff49006e6af5be59b3ba39791de3cecd5efd6e611ef3023fd742259be61f327b4a5bebf933870793896c +DIST pyaml-25.7.0.tar.gz 29814 BLAKE2B 21c83478283bf55f2b6e357bcf90b8ce52df14a83803bf1e62a173c41b3dbbde024757a53cf3da1420e29accbebdb47685f428d3b7db89d0de69f784dfe7af8c SHA512 cff46329cff9976f4628608ed87d8e6d811edba8a2a708b18a4216bde3bcd2f84fb06f31605c4bd684a87da8ab7fa5b4ae3bac976058ad707b0e37a30c365063 diff --git a/dev-python/pyaml/pyaml-25.7.0.ebuild b/dev-python/pyaml/pyaml-25.7.0.ebuild new file mode 100644 index 000000000000..d768241a419d --- /dev/null +++ b/dev-python/pyaml/pyaml-25.7.0.ebuild @@ -0,0 +1,30 @@ +# 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 pypi + +DESCRIPTION="PyYAML-based module to produce pretty and readable YAML-serialized data" +HOMEPAGE=" + https://github.com/mk-fg/pretty-yaml/ + https://pypi.org/project/pyaml/ +" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/unidecode[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index c5244f7d8346..892dd2be2e60 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,3 +1,4 @@ DIST pybind11-2.13.6.gh.tar.gz 800804 BLAKE2B 1f2efa05727ebbcd8e439b83bacfebb21d26a6f8f719e0a627633abdcae59837936e37e6441196e097e0075c9f922048d4e88146bb627d97ada28c48165bddb7 SHA512 497c25b33b09a9c42f67131ab82e35d689e8ce089dd7639be997305ff9a6d502447b79c824508c455d559e61f0186335b54dd2771d903a7c1621833930622d1a +DIST pybind11-3.0.0.gh.tar.gz 915234 BLAKE2B dfacb629b8d1cf5adeb30b305ca68f5db465fbec7a7da9b42485032279ac49721adbb248ce14c7acfdafecbd192e2542cccb08a61d8b3ee3884bbff9fc977a49 SHA512 a68a5eb3253db771308ed0922852207e6dc9a3089ad055ba3ccd36690f68b93cad98cc1a3ab822eb653153af2eeef10e6f6272b93314b2da1119e17f6c63337b DIST pybind11-3.0.0rc3.gh.tar.gz 910739 BLAKE2B f82d93b400e39818cba2e293be055fc5f322103f5142f1e60fffb66431149e8d064d956386fa4f255981d17c291ac33649009d41a48b8b81a3bce42c069c5e86 SHA512 fa04c5f63ff42b89ad5d13368f2b9680d6601b79d1365b3c52b721be6949537f1217453dec0b99e7e9f9f2673af305d547f050fff9365840fad5cd3813b21c48 DIST pybind11-3.0.0rc4.gh.tar.gz 915129 BLAKE2B e43d76fc29aca61055f0d2cd14bbaa0c327c2b6b7467d76d13028b50bbcd4d6dd2362212134d057830c69daa00bbc0d6dab1dff80f05fa6549d0f8d3f2147153 SHA512 9e0dd52009e470bc41b98300f24f56e017a810b94faf8e0c7edf2c1c73a53f9ab3ce05265ec910f1c4ed02c40597dd763701192de0d0fce406030dabbe1f327e diff --git a/dev-python/pybind11/pybind11-3.0.0.ebuild b/dev-python/pybind11/pybind11-3.0.0.ebuild new file mode 100644 index 000000000000..37c119c1f415 --- /dev/null +++ b/dev-python/pybind11/pybind11-3.0.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=scikit-build-core +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit cmake distutils-r1 + +MY_P=${P/_} +DESCRIPTION="AST-based Python refactoring library" +HOMEPAGE=" + https://pybind11.readthedocs.io/en/stable/ + https://github.com/pybind/pybind11/ + https://pypi.org/project/pybind11/ +" +SRC_URI=" + https://github.com/pybind/pybind11/archive/v${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-cpp/eigen:3 +" +BDEPEND=" + test? ( + <dev-cpp/catch-3:0 + >=dev-cpp/catch-2.13.9:0 + dev-libs/boost + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + cmake_src_prepare + distutils-r1_src_prepare + + # https://github.com/scikit-build/scikit-build-core/issues/912 + sed -i -e '/scikit-build-core/s:0\.11\.2:0.8:' pyproject.toml || die +} + +python_configure() { + DISTUTILS_ARGS=( + # disable forced lto + -DHAS_FLTO=OFF + # https://github.com/pybind/pybind11/issues/5087 + -DPYBIND11_FINDPYTHON=OFF + -DPYBIND11_INSTALL=ON + -DPYBIND11_TEST=OFF + ) + + local mycmakeargs=( + "${DISTUTILS_ARGS[@]}" + -DPYBIND11_TEST=$(usex test) + ) + cmake_src_configure +} + +python_compile() { + distutils-r1_python_compile + # Compilation only does anything for tests + use test && cmake_src_compile +} + +python_test() { + cmake_build cpptest test_cmake_build + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/tests" || die + epytest -p rerunfailures --reruns=5 "${S}/tests" +} + +python_install() { + distutils-r1_python_install + cmake_src_install +} diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest index ca5ee8a5ab3e..b1c35712f959 100644 --- a/dev-python/python-glanceclient/Manifest +++ b/dev-python/python-glanceclient/Manifest @@ -1 +1,2 @@ DIST python_glanceclient-4.8.0.tar.gz 208444 BLAKE2B e880bb7eded96b933c40981d408d772e7486971ab243cec0ea8b09ff82f69f20dfe96bb0765eb5102996a16f052ab21bad220539b2903bbcc5f80a4f82659abe SHA512 2948ca3b215c3f3b32cfd7f60c8fd40aecceb96fcc005519b3c21e98f3045ad24a77aa1700962eae5ef707eb35b8afb58f6bf96911ce4146ced05219b1e4b58f +DIST python_glanceclient-4.9.0.tar.gz 208601 BLAKE2B 5a66cb7c49eefebbd46737c373e5397557e97a19c72653c8da176cd0c46576c14fa9ed2803148ee71cfee0203e9e0ef29f831e17b3ee080c4f74280d4cb20dee SHA512 f3e04de7b2cc424344f4778a202cde3a2aae72bcc792beff1efd4cf9636289153b4dc5b90ed177cdda246b3413a4ed8a6b82197a134f26d25a71027ca3eb2dcc diff --git a/dev-python/python-glanceclient/python-glanceclient-4.9.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.9.0.ebuild new file mode 100644 index 000000000000..500aa6ae62f3 --- /dev/null +++ b/dev-python/python-glanceclient/python-glanceclient-4.9.0.ebuild @@ -0,0 +1,61 @@ +# 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 client for the OpenStack Glance API" +HOMEPAGE=" + https://opendev.org/openstack/python-glanceclient/ + https://github.com/openstack/python-glanceclient/ + https://pypi.org/project/python-glanceclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/keystoneauth1-3.6.2[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/warlock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/tempest[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +PATCHES=( + # combined patch for urllib3-2 and py3.12 test failures + # https://bugs.launchpad.net/python-glanceclient/+bug/2069684 + # https://bugs.launchpad.net/python-glanceclient/+bug/2069682 + "${FILESDIR}/${PN}-4.6.0-test.patch" + + # py3.13 added close() to mock_open calls + # https://review.opendev.org/c/openstack/python-glanceclient/+/923628 + "${FILESDIR}/${PN}-4.6.0-test-py3.13.patch" +) + +python_test() { + # functional tests require cloud instance access + eunittest -b glanceclient/tests/unit +} diff --git a/dev-python/python-novaclient/Manifest b/dev-python/python-novaclient/Manifest index b6f19828ddbd..a3f076ad1bf8 100644 --- a/dev-python/python-novaclient/Manifest +++ b/dev-python/python-novaclient/Manifest @@ -1 +1,2 @@ +DIST python_novaclient-18.10.0.tar.gz 340630 BLAKE2B 6457e951ae338f5bd2af95e9db59dc7587c19ecb2a927c4e53c523410f7f2b5de2b1a575242a41b06c6db075e29a45f00825645a79b7ad241ab682303b7ed038 SHA512 d5a8ee3751e7f258204afec4a60db3947522c6fd016ab3166d234f5fad6ef7303fcda27159357ca65a2b5ea5d62a112088f6cd489c86963068d61ca6b4ffcf3b DIST python_novaclient-18.9.0.tar.gz 340629 BLAKE2B d98e9a755c27dd83344bc4545fac370b9e6a344ab213c3bd9aeca0c8d3ba94f9b92eb7fb45ebd1aca93fc85e2c35202ac8806c35bda4af0e5629ac026c8cf832 SHA512 bbccde847290faebd7dab7bf7f99c70ac8b24789d867b277b5f91c2a465b8f35a1435103df0915108340af8f881a57aa2b60a7c7be4b3a6fdb9f5e29396b2593 diff --git a/dev-python/python-novaclient/python-novaclient-18.10.0.ebuild b/dev-python/python-novaclient/python-novaclient-18.10.0.ebuild new file mode 100644 index 000000000000..d5b7c307f762 --- /dev/null +++ b/dev-python/python-novaclient/python-novaclient-18.10.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pbr +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack Nova API" +HOMEPAGE=" + https://opendev.org/openstack/python-novaclient/ + https://github.com/openstack/python-novaclient/ + https://pypi.org/project/python-novaclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.5.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}] + >dev-python/requests-2.12.2[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/bandit[${PYTHON_USEDEP}] + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/python-keystoneclient[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/openstacksdk[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/tempest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + sed -e 's/test_osprofiler/_&/' -i novaclient/tests/unit/test_shell.py || die + sed -e 's/novaclient\.tests\.unit\.//' -i novaclient/tests/unit/test_api_versions.py || die + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b novaclient/tests/unit +} diff --git a/dev-python/qiskit/Manifest b/dev-python/qiskit/Manifest index 70069b4872f5..5e51a62c55bd 100644 --- a/dev-python/qiskit/Manifest +++ b/dev-python/qiskit/Manifest @@ -1,2 +1,4 @@ DIST qiskit-2.1.0-crates.tar.xz 15412164 BLAKE2B 24a65f0ec256c2f848102c039106ef0fecb33be0fb00494f0ca707285e224ade0efd1a4a6a557dc5dd7d2224924e2b94a4a4585d8a9030a310f0f1a999ac0713 SHA512 779aca54c2da20f2558f5fab2de0ee22c861f2edd88dea17e79d1f7f796eda9612bcf45a08a0647032049e67e9c467236b493cb02efcf199e2951109c316e53a DIST qiskit-2.1.0.gh.tar.gz 7093669 BLAKE2B 9168e31826e1fa83a4424eadbdd6af5e87c88f1828d0a4a70db00fc00e94056233c530b384ce4d17947feb4610aa238518f6f05393b5d644fb038d9cccf0827d SHA512 18bf63c6ac381f1fd110cf08de0b0b7a4ea14c15c86835d6bd006d7e831d5623aec2b0cf17f4f3ac5aeb18e60d33ef245e8dd6aff4c219d3bd5033043e8900e0 +DIST qiskit-2.1.1-crates.tar.xz 15412164 BLAKE2B 24a65f0ec256c2f848102c039106ef0fecb33be0fb00494f0ca707285e224ade0efd1a4a6a557dc5dd7d2224924e2b94a4a4585d8a9030a310f0f1a999ac0713 SHA512 779aca54c2da20f2558f5fab2de0ee22c861f2edd88dea17e79d1f7f796eda9612bcf45a08a0647032049e67e9c467236b493cb02efcf199e2951109c316e53a +DIST qiskit-2.1.1.gh.tar.gz 7095152 BLAKE2B fa611f4a5e772ba66bc58bc2832f6779dee514b1956adfea03dc92f7745f607e0f7654d018f3b501f9f1ce740875c60b14c2d3c92142240ce324a6b91daa8f6a SHA512 7eade06c30c264979ceaffb2cd948dfea358973351165a66472150ab8e6bfc73e6c2c5107b4024352efcc01bea9beea897ac4fbc389e81df79e07e54f2673851 diff --git a/dev-python/qiskit/qiskit-2.1.1.ebuild b/dev-python/qiskit/qiskit-2.1.1.ebuild new file mode 100644 index 000000000000..f7b94c4150a2 --- /dev/null +++ b/dev-python/qiskit/qiskit-2.1.1.ebuild @@ -0,0 +1,110 @@ +# 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=" +" + +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} + https://github.com/gentoo-crate-dist/qiskit/releases/download/${PV/_}/${MY_P}-crates.tar.xz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT MPL-2.0 + Unicode-3.0 ZLIB +" +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/rustworkx-0.15.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.5[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${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}] + <dev-python/symengine-0.14[${PYTHON_USEDEP}] + >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] + >=dev-python/sympy-1.3[${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/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_PLUGINS=( hypothesis ) +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/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin + test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register + # tiny image differences, sigh + test/python/visualization/test_gate_map.py::TestGateMap::test_plot_error_map_over_100_qubit + # TODO: failures from dill + test/python/circuit/test_parameters.py::TestParameters::test_transpiling_multiple_parameterized_circuits + test/python/compiler/test_transpiler.py::TestTranspile::test_delay_converts_expr_to_dt + test/python/compiler/test_transpiler.py::TestTranspile::test_transpile_two + test/python/transpiler/test_naming_transpiled_circuits.py::TestNamingTranspiledCircuits::test_multiple_circuits_name_list + ) + + local EPYTEST_IGNORE=( + # Breaks xdist + test/python/qasm2/test_parse_errors.py + test/python/transpiler/test_preset_passmanagers.py + ) + + rm -rf qiskit || die + # 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/sigstore-protobuf-specs/Manifest b/dev-python/sigstore-protobuf-specs/Manifest index 5d8fffb51092..2bd9f1f08844 100644 --- a/dev-python/sigstore-protobuf-specs/Manifest +++ b/dev-python/sigstore-protobuf-specs/Manifest @@ -2,3 +2,4 @@ DIST sigstore_protobuf_specs-0.3.2.tar.gz 17529 BLAKE2B e12bcd471f20c993b0fd5cab DIST sigstore_protobuf_specs-0.4.1.tar.gz 19520 BLAKE2B 5a5a680dc83f737c6560ce0b38add4513a47c0863388adcd4fca050e198f5204b7fce2ab41b2ca26ad310d49b8afbe29091385a9e451743c31e50b46027b14ed SHA512 32811f0e93a05857ee13efe85b657360ca43c0cc089737166c7f302f54ff2f64eb3d836c544c9cbc43f99ab777fd661ad8642f26a932e996a4df72c4b9d17228 DIST sigstore_protobuf_specs-0.4.2.tar.gz 20802 BLAKE2B 7a093e3f0f4f93a3eaf86342ac33987d1c6678cb524e512c93aa91119d380d48848cc391803628158a47405ed401fec8377c707adb08aec3a9ece684e0aeccb7 SHA512 06b9bf5094ebae71d59e2df116a0072e1ee92c1cff72059455ecbb867242fe3322923a749bed40739718e9d3f7dd2fdd4592aa20584e53dba721f17a587b8277 DIST sigstore_protobuf_specs-0.4.3.tar.gz 21655 BLAKE2B ac50e6f2e3314c897750f1b087ce93975fd81d29c71378af763add8f837d2f71ba97bd9e0ed0002637b756c1ec406e4c282a35fe429309758c45373773c469b6 SHA512 d40fad6cb2db98c40d2856d0d0460196217dee0a881adc0f2225acbb2887144adf6717d7f8259d9ff17ec1f37c2f3447183917976b5ab2f65493671465d922ce +DIST sigstore_protobuf_specs-0.5.0.tar.gz 21667 BLAKE2B 08ef6bd46a86cfdc29d618c4490b2c3d0267a957c7bda9d6acee67d0c515cbf9ce3652732cf34cd4916208d2830d943b00cb015728fcc69c04330bfc00fbc4c3 SHA512 0f1244a88b477d5fa132f4f13574201cd0a2b749e369b2fcab34803b60d479517fae3a9722087db9a1edf7daf9d7e1a4babbb265a8e851278ef765220cf600e1 diff --git a/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.5.0.ebuild b/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.5.0.ebuild new file mode 100644 index 000000000000..91d183b0922a --- /dev/null +++ b/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.5.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2024-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 library for serializing and deserializing Sigstore messages" +HOMEPAGE=" + https://github.com/sigstore/protobuf-specs/tree/main/gen/pb-python/ + https://pypi.org/project/sigstore-protobuf-specs/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + ~dev-python/betterproto-2.0.0_beta7[${PYTHON_USEDEP}] + =dev-python/pydantic-2*[${PYTHON_USEDEP}] +" diff --git a/dev-python/types-docutils/Manifest b/dev-python/types-docutils/Manifest index efa45a78d250..cb815eb1392a 100644 --- a/dev-python/types-docutils/Manifest +++ b/dev-python/types-docutils/Manifest @@ -1,2 +1,3 @@ DIST types_docutils-0.21.0.20250604.tar.gz 40953 BLAKE2B 35ca47bb71ece85f2786396d224835f74592ec2e7278f6c0459bea8451a4ee7c9299be1fcaa2a8d41a6c0d8a1abacbb72403611069ef24df9940330682c01103 SHA512 84ee5f87686bc75e0e41437b05a23932de4e92a179bc19763bb6cc823b31e8055f143e27d74fd77d1752b945d56db0979ab9a418f8edf63aeb195b621620c0ba DIST types_docutils-0.21.0.20250708.tar.gz 42011 BLAKE2B bae246422aff90ff0ef9b3403c4cd57c87609d7ea68d21f7d3d55a8f2f088751ce52a88c1c73d82f9acc2bf96adb83a0cd93eb8dc20f14b434b8a5cec476439a SHA512 788e557828421997846573dbf5ca1c741105751f83f85c90373323923a2d57d15d2e7e12078f8f74804a1dac3e03a06989cda13c8e7d9a2896d937d2fff925dc +DIST types_docutils-0.21.0.20250710.tar.gz 42077 BLAKE2B 8e7b9bac166a54a9df0d6c64e585b3a4e8132886e60242d7afb684087bdb6c7e5a3221931c9d27f34cb5a339c49361a98e602963874e8685a3391977993b2979 SHA512 1c1bd2711a196aa54511f8d68f69feee05cebfcd6a05dcf6311aff1645dde8f1157f935481a81e4ffac404151a610be4bf9bcd1641be22c93c5466c18f59c99d diff --git a/dev-python/types-docutils/types-docutils-0.21.0.20250710.ebuild b/dev-python/types-docutils/types-docutils-0.21.0.20250710.ebuild new file mode 100644 index 000000000000..9fdbbf2b35dd --- /dev/null +++ b/dev-python/types-docutils/types-docutils-0.21.0.20250710.ebuild @@ -0,0 +1,16 @@ +# 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_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for docutils" +HOMEPAGE="https://pypi.org/project/types-docutils/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index 8945f4db6873..b005800bbc6e 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1,2 +1,3 @@ DIST xarray-2025.6.1.tar.gz 3003185 BLAKE2B a75f68947922e922dad94dc6ab5454d9d2b2ec993e5fd06d760b2e3685b3feda2a88fb879e7ebb353b35dea5540fa8899eb8cba33ab0e5f9b59cb3fd885de1af SHA512 4fc7980f843f86c8e83015fbf9ea2c8440b046faaa1589a605cf1e2f64f9380e28e157c8afda5c0058b3fe8cfe01122ba8582f5d61b9f0eabdf7107ce6d81c0c DIST xarray-2025.7.0.tar.gz 3005754 BLAKE2B 5e1cf6f1a845a9d38fee6f639016c79b14c10922fa96d241cea0a0a35d2c784ce98cfeb70ea49e03de0fd82d966e9656482caa380b48dbace7cf26b31a34b2fb SHA512 3cfe560c261cdd6a6c64cf100951e92cf63fff835dfa82ee7d1c7578ff808706905fbc2a1ae65a0db1c5abead203be43aff4771420f6851bfc357bacca4ffc95 +DIST xarray-2025.7.1.tar.gz 3013717 BLAKE2B 37abbeec6736745a9a0cc098bfdb36b76c5b07a1f762a3207e7a69bda1670ad464c328daabcb5845f65dcb0b9901f045c633fb12fed4524bcc7dacfcc259e65b SHA512 446e50cfa16a3ba54124dc9417203ea96f6232e05515de38dc191b06ee417e165fd2faefaf4718eddb9620d32675abc6c2125ac7555759eb003263a70662cb7e diff --git a/dev-python/xarray/xarray-2025.7.1.ebuild b/dev-python/xarray/xarray-2025.7.1.ebuild new file mode 100644 index 000000000000..1e98d86dfb2d --- /dev/null +++ b/dev-python/xarray/xarray-2025.7.1.ebuild @@ -0,0 +1,121 @@ +# 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="N-D labeled arrays and datasets in Python" +HOMEPAGE=" + https://xarray.pydata.org/ + https://github.com/pydata/xarray/ + https://pypi.org/project/xarray/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="big-endian" + +RDEPEND=" + >=dev-python/numpy-1.26[${PYTHON_USEDEP}] + >=dev-python/pandas-2.2[${PYTHON_USEDEP}] + >=dev-python/packaging-24.1[${PYTHON_USEDEP}] +" +# note: most of the test dependencies are optional +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/bottleneck[${PYTHON_USEDEP}] + dev-python/cftime[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + !riscv? ( !x86? ( + >=dev-python/netcdf4-1.6.0[bzip2,szip,${PYTHON_USEDEP}] + ) ) + dev-python/toolz[${PYTHON_USEDEP}] + !hppa? ( >=dev-python/scipy-1.13[${PYTHON_USEDEP}] ) + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO: these fail with filter errors even if netcdf4 is built + # with blosc/zstd support + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[zstd]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz4]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz4hc]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_zlib]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_zstd]' + ) + + if ! has_version ">=dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + 'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]' + ) + + if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + xarray/tests/test_calendar_ops.py::test_interp_calendar + ) + fi + fi + + if use big-endian ; then + EPYTEST_DESELECT+=( + # Appears to be a numpy issue in display? See bug #916460. + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-20-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-09-21T00:12:44.145224808-ns-float64-1e+30-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225216-ns-float64--9.223372036854776e+18-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:21:52.901038080-ns-float32-20.0-True]' + ) + fi + + if [[ ${ABI} != *64* ]]; then + EPYTEST_DESELECT+=( + # these tests hardcode object sizes for 64-bit arches + # https://github.com/pydata/xarray/issues/9127 + xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex + xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex_long + xarray/tests/test_dataset.py::TestDataset::test_repr + xarray/tests/test_dataset.py::TestDataset::test_repr_multiindex + xarray/tests/test_datatree.py::TestRepr::test_doc_example + xarray/tests/test_datatree.py::TestRepr::test_repr_truncates_nodes + xarray/tests/test_formatting.py::test_array_repr_dtypes_unix + + # converting timestamps into ns, causing an overflow + xarray/tests/test_cftimeindex.py::test_asi8 + xarray/tests/test_coding_times.py::test_decode_cf_time_bounds + xarray/tests/test_coding_times.py::test_use_cftime_false_standard_calendar_in_range + xarray/tests/test_coding_times.py::test_decode_cf_datetime_non_standard_units + ) + fi + + case ${ARCH} in + arm64) + EPYTEST_DESELECT+=( + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale[dtype0-create_unsigned_false_masked_scaled_data-create_encoded_unsigned_false_masked_scaled_data]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale[dtype1-create_unsigned_false_masked_scaled_data-create_encoded_unsigned_false_masked_scaled_data]' + ) + ;; + esac + + if ! has_version "dev-python/seaborn[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + xarray/tests/test_plot.py::TestContour::test_colors + ) + fi + + epytest -o addopts= +} diff --git a/dev-python/xmlsec/Manifest b/dev-python/xmlsec/Manifest index f90f5a629747..5010c73eab56 100644 --- a/dev-python/xmlsec/Manifest +++ b/dev-python/xmlsec/Manifest @@ -1 +1,2 @@ DIST python-xmlsec-1.3.15.gh.tar.gz 80101 BLAKE2B a810fa8cb16c55ac01ca360b70519bebc4c709bbf48c03560b85f149b3e70fd4b9d81f4b4aefc229dbcfa8ed2e80f0967fe46bccc9c3bf085e92464ecfcb6476 SHA512 7b55661499050ccf46c51703c9730f3c1ee0f483daec74dd7f8a97dfcf1bdc693f052ea0324165a70dadc2810d330488f6878d0423e32740f7553b04d665acdf +DIST python-xmlsec-1.3.16.gh.tar.gz 80406 BLAKE2B 1be23867ae44a108dc0596698b712a4d2c8cff4206a9518cab3960368f5242981b8c4e4ba70b9183c298e5a35d2ab823d926019d7292d0a697e7bd3127f88bcc SHA512 1ed39d613c8c656b8d6898730212a3c990f1ab5b807dfdacc0a1c9db1ffaf79cbcc403e771d19faebdf170de7dc886df5582ee8589b6d0d72e3cb9ddc193012a diff --git a/dev-python/xmlsec/xmlsec-1.3.16.ebuild b/dev-python/xmlsec/xmlsec-1.3.16.ebuild new file mode 100644 index 000000000000..e8bf5b96d640 --- /dev/null +++ b/dev-python/xmlsec/xmlsec-1.3.16.ebuild @@ -0,0 +1,59 @@ +# Copyright 2021-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 + +MY_P=python-xmlsec-${PV} +DESCRIPTION="Python bindings for the XML Security Library" +HOMEPAGE=" + https://github.com/xmlsec/python-xmlsec/ + https://pypi.org/project/xmlsec/ +" +SRC_URI=" + https://github.com/xmlsec/python-xmlsec/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +DEPEND=" + dev-libs/xmlsec:=[openssl] +" +RDEPEND=" + ${DEPEND} + dev-python/lxml[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] +" + +EPYTEST_DESELECT=( + # Fragile based on black version? + tests/test_type_stubs.py::test_xmlsec_constants_stub +) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + + export PYXMLSEC_OPTIMIZE_SIZE= + if use debug; then + # we don't want to use PYXMLSEC_ENABLE_DEBUG envvar, + # as it forces -O0 + export CPPFLAGS="${CPPFLAGS} -DPYXMLSEC_ENABLE_DEBUG=1" + fi +} |
