diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-24 03:04:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-24 03:04:37 -0500 |
| commit | 76c83b2d707f66d67a31960e9cc086753d88cd0d (patch) | |
| tree | a43f9af850081a7559c923048f72faf6209068e0 /dev-python | |
| parent | a63c89c464a428a5350317421488a2b8a5c11d14 (diff) | |
| download | baldeagleos-repo-76c83b2d707f66d67a31960e9cc086753d88cd0d.tar.gz baldeagleos-repo-76c83b2d707f66d67a31960e9cc086753d88cd0d.tar.xz baldeagleos-repo-76c83b2d707f66d67a31960e9cc086753d88cd0d.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
59 files changed, 1689 insertions, 98 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 374a7db5d6a2..b30001e664cc 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -4,3 +4,5 @@ DIST aiohttp-3.14.1.tar.gz 7955794 BLAKE2B b8b66efa9410871de7cce19427b5332946074 DIST aiohttp-3.14.1.tar.gz.provenance 9456 BLAKE2B 9cccbaff0ee8d38a6a68704890c8af1d48673b434d52d4fed9fe4045dba84486e764016b1a55d648d81bc266d20dc031cc47798b0a7aa87e6b5b44a22a1b3502 SHA512 267af513e2492462a2da7ac48fb71a47d84efc5129e4b84c79dc86b20f823232e1c199eeb3e278cee9469af9d20a344a920e8c63c7087a2a87b8bfdd0e5ac61e DIST aiohttp-3.14.2.tar.gz 7969860 BLAKE2B bdf5b66795e4fb3efcf5da209f1243bc105b605c7b867bffe9a220f2e84b4239e0f4eea810a4c89f25368daf18230b087b44e1bc0cb3b299a75e30f8e0f1ba39 SHA512 89ae01207a885650bff9c5538de5d56c8f9034ff74f1aa2fb8a94aa792549759594b86c0ddcfdbd0b7b8303abf10af9ce67c7ab030e8486eaac7e710f50bde9a DIST aiohttp-3.14.2.tar.gz.provenance 9636 BLAKE2B 8efe41aae1fce51ebc3949881950ad38fff2898777e742cb2fd613134bfbf04ce5c6ca6a663556d438fa74b1df30adc0b7dd57e9065159d203ed66a9173dd71b SHA512 134fcaac002e5faf42826f199ef49faf70bfa47348c91e0280d4ecf5512c95981370efeb93a69423f75660581f6f288b8bd503f9c06ccf5aca391218a6dc3b57 +DIST aiohttp-3.14.3.tar.gz 7971213 BLAKE2B cdad9e58dd0b88ea1acf393237d7fd62fae8d9f1b0c3142987c9abd9c8821212d81bcac70ad9923026d3444bbfaf33fceb4bf91b77fbc55f1fe2fc5fe6f5f311 SHA512 5130673c6e8e798a20d717a89e142e626e669bf0a0db1750299e69970daacf7602012b837190a9e038b6402fcb711dee388b027dfca82b5f769b421ebaf53be7 +DIST aiohttp-3.14.3.tar.gz.provenance 9781 BLAKE2B dcf0d39420f1b17fa7d369d3033305a67457cd771e8d16170643589a09a887a2d42dff150dff3e0a3e5bcf5b94af54b8da8a7f40791d9bb2f4165222bd0cb336 SHA512 7e20f865b2a11e3aec9d4005f5f70cd116884868a10c1a49ab4eb7fe3efd30b0f00f6152087ca39115dd37cf9901f53618bf65cd1d4368963369928c6d924b88 diff --git a/dev-python/aiohttp/aiohttp-3.14.3.ebuild b/dev-python/aiohttp/aiohttp-3.14.3.ebuild new file mode 100644 index 000000000000..46f1d6d6c6ff --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.14.3.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/aio-libs/aiohttp +PYTHON_COMPAT=( python3_{13..14} ) + +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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions test-rust" + +DEPEND=" + native-extensions? ( + net-libs/llhttp:= + ) +" +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-1.2[${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}] + $(python_gen_cond_dep ' + dev-python/backports-zstd[${PYTHON_USEDEP}] + ' 3.12 3.13) + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] + ' 3.12) +" +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/freezegun[${PYTHON_USEDEP}] + dev-python/isal[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + dev-python/zlib-ng[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/blockbuster[${PYTHON_USEDEP}] + dev-python/time-machine[${PYTHON_USEDEP}] + ' 3.{12..14}) + www-servers/gunicorn[${PYTHON_USEDEP}] + test-rust? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( pytest-{mock,xdist} ) +EPYTEST_RERUNS=5 +: ${EPYTEST_TIMEOUT:=180} +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 + 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() { + # implicitly disabled for pypy3 + if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + else + local -x AIOHTTP_USE_SYSTEM_DEPS=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 + tests/test_client_functional.py::test_invalid_idna + # broken by irrelevant deprecation warnings + tests/test_circular_imports.py::test_no_warnings + # https://github.com/aio-libs/aiohttp/issues/11400#issuecomment-4168569526 + # https://github.com/python/cpython/issues/145599 + # https://github.com/python/cpython/pull/145600 + tests/test_cookie_helpers.py::test_parse_set_cookie_headers_uses_unquote_with_octal + # some warnings + tests/test_multipart.py::TestPartReader::test_read_decode_compressed_exceeds_max_size + ) + + # 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 + + rm -rf aiohttp || die + epytest -m "not internal and not dev_mode" -o filterwarnings= +} diff --git a/dev-python/annotated-types/Manifest b/dev-python/annotated-types/Manifest index ccb7b89c096d..c1c2dd3cd430 100644 --- a/dev-python/annotated-types/Manifest +++ b/dev-python/annotated-types/Manifest @@ -1 +1,2 @@ DIST annotated_types-0.7.0.tar.gz 16081 BLAKE2B 45f536bafb0a9dead41a7fcafe50304508df5024921c2b3637ba51ff144d46fd8cba4d503a65fcec1a973cf2cd791074a83d72fbd2f17269bd9a2d2b9f8c114e SHA512 8a6dd7274270397f7779fc4ca242997ad2ea739b530be5abcc30a72d1e4042fc08753ab432c3d9c7a53c7474b3794504062f68235885cfb6c688cce0700d8758 +DIST annotated_types-0.8.0.tar.gz 15893 BLAKE2B df94cdf484f7d236abca3379543f41ce2b71da5ccc8944e916f60ba58e8adaa6da1446af11b21b2ad33e56987d565e0abd28906a6121ca4a7fa31c1482adc932 SHA512 68ca95ae9ce0991e7d2851ccc1bff58bf775ac8daa1e0049617a689d9060edd9782eaa37cb40c8337affcdffb246be0efc18af6ece1af37fb24fdaccff679a71 diff --git a/dev-python/annotated-types/annotated-types-0.8.0.ebuild b/dev-python/annotated-types/annotated-types-0.8.0.ebuild new file mode 100644 index 000000000000..c14066ba24f4 --- /dev/null +++ b/dev-python/annotated-types/annotated-types-0.8.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Reusable constraint types to use with typing.Annotated" +HOMEPAGE=" + https://github.com/annotated-types/annotated-types/ + https://pypi.org/project/annotated-types/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest diff --git a/dev-python/asyncssh/asyncssh-2.24.0.ebuild b/dev-python/asyncssh/asyncssh-2.24.0.ebuild index eb9fde3e27bc..0469d9751b3e 100644 --- a/dev-python/asyncssh/asyncssh-2.24.0.ebuild +++ b/dev-python/asyncssh/asyncssh-2.24.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="|| ( EPL-2.0 GPL-2+ )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" RDEPEND=" virtual/openssh diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 6c5eb39cea58..9008578744cd 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -10,3 +10,4 @@ DIST boto3-1.43.51.gh.tar.gz 1184372 BLAKE2B d89d6ee90f2e758dd88b2aa9ea70d836c2e DIST boto3-1.43.52.gh.tar.gz 1187251 BLAKE2B 5ee087e5cddac442b2008b564c1d2d1b07986a85db461303d9044a93243169aab9e195885be8065d76c41888d3c5b766ca5304177a3960cae46633f02645cdcb SHA512 66e4e0f07636a3148a8ec28e83bcd82e5328b7e0664c3b4153eac375bbc90ae528c026c8d187b4551b35ea04bbeafaf923bcacae44b99760767153729ce6c279 DIST boto3-1.43.53.gh.tar.gz 1188342 BLAKE2B bc20d159bdf02ea3ed01cc463e4e54a56d9efa752a284e501146093de5642b862b341545544eac1af134a4a644dc90100cb4445033ccc0da5a3eb17c454f560b SHA512 7ce46ee901ee93532fbaeb6df91bb762740835ec23df324ba0147e4a6ff4b5e4d2d0036dc38581e4227119058cb9154afddd6b05ef7c061496c301b1adb30934 DIST boto3-1.43.54.gh.tar.gz 1189579 BLAKE2B c9e15145e1b831e18282622aaf41e4531ef34b504710be95a46ec3ff0865be8f8025c7c7b94fc19159354aa4430b19c888a7ba2dce92950a70f0cf5629dd6e99 SHA512 1d3ad0baa4d31d0e11a85cdf45ebc7bd0421560a16f3744c37bfdea6d496243d84a07d60df8768d4782f6c2356589eaaf949e2dcc60bcf1118816671f9be27d1 +DIST boto3-1.43.55.gh.tar.gz 1190676 BLAKE2B d6e7310829ebc5d7e839a5d826dce95e092107c2f03550f44511ea396006e14fd95e537cfd529da2cb7eecfe3900f3ba9c58684346bf684757cac93fefcc9198 SHA512 303d8dcea109de2e13ddcafc783d5c960f4c3b4880bfc029b9beee71976a474361612f870193e9ffa89a530358d0b2348667f5429908f3c6d279522922b900e4 diff --git a/dev-python/boto3/boto3-1.43.55.ebuild b/dev-python/boto3/boto3-1.43.55.ebuild new file mode 100644 index 000000000000..93fbbe6dd59b --- /dev/null +++ b/dev-python/boto3/boto3-1.43.55.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.19.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index c0e163344a27..e0bae6b73d5d 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -10,3 +10,4 @@ DIST botocore-1.43.51.gh.tar.gz 16704426 BLAKE2B 0c293805968a448b093654c57df15d8 DIST botocore-1.43.52.gh.tar.gz 16708936 BLAKE2B 044e3646265d68818480bd5fd1403c25d9a7d999bc48c47c604c0a0f8d2fc97d55a1161815a810a629e9b70436973927fbb654afabd628a18aa54c86f54fb1a5 SHA512 3b06728a591664fb3f1497a62ecadc45ac027fe873fa7dbe80f5760c16bd24dde35c656e1ac20b5282275dfd57758f77208cf5f27599cc3f1c1d6efce1ca95ce DIST botocore-1.43.53.gh.tar.gz 16712165 BLAKE2B ffe9eb057a1e2c7df7159081fddd610d970778fe121afa9258aa84e263408b98ebd7f72b690a4932c0d015b5861f773ce6ac6ed8d8795c992b1a21690d2e7fab SHA512 bfb73b5238026e63b9b36f2094f6539073fc50b7a4efa1662f4cc9729b545b3897f6d37ce303789a11fc3a5bdd1c60ec2f50b6b14f24f2aef554fc1594ab4324 DIST botocore-1.43.54.gh.tar.gz 16719638 BLAKE2B dd52801b1be555fa76a80627944dfd6458660e603b3c51a100e0df451d58bbea57dc988d3586c76dce848c1c305c62ef73123ef46bdc519a54ebfce7955bfdac SHA512 66b8dd78f926d9366f3786cb4cadbcbba7b8198a7a954e41ba4fa6edac63fee5733166b9620d3ce191beb61afcd3167e2c1836cf9eab2b58e97577add8a82f85 +DIST botocore-1.43.55.gh.tar.gz 16729593 BLAKE2B 50322fd925316103af05e7d656a72810a2e67ee896f725ef147e1651787bde60e7f915ec9be01675511a7c2496f4952efda50e3a8a09c542e376c889753b37c0 SHA512 3d79656d3a14d071093b9fcdafdbb287edf96de2acb5d139a05eda33b229ccd1530649da00c3521f5133e65f335d4f43a621c2059b454c929394de28b18dafc0 diff --git a/dev-python/botocore/botocore-1.43.55.ebuild b/dev-python/botocore/botocore-1.43.55.ebuild new file mode 100644 index 000000000000..a3a161f78545 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.55.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/cachetools/Manifest b/dev-python/cachetools/Manifest index eeabb29802f7..660bfc2c2164 100644 --- a/dev-python/cachetools/Manifest +++ b/dev-python/cachetools/Manifest @@ -1,2 +1,3 @@ DIST cachetools-7.1.4.tar.gz 40085 BLAKE2B 2cee13235209eb489ef3f2d7ebbea45ed979dfec9de3f949d2d807e45c2fded6f886e22b9eec8cac0ac8e7fc999d4a29426d7b2c094547db0b9b4faec9f9adb1 SHA512 b48cdb38ec88695f7763d104e7d57282a88239e2bbe21c47937c25c1edebc3feecaeff072c9f2a9abfc58155ba92e70fbff4ac5b733e01fe4729267adcc1c040 DIST cachetools-7.1.5.tar.gz 40500 BLAKE2B 96119b370860f31ed0d7db4b16560aba9715ece56af2f8f1f4edfb2030d824410f64e626c41faf92cce3cb8236e0a712fc699c9cb62457cd4fe373e4f8a6da3a SHA512 45a030ce744e6bd40ffed29f6471970d4b0d7a6d5fcf9c3bbe2cfb2d338df2c01dca18414256480227081d2ce50cc9581fb9b59a8b477ae7244cfe64b46a3d6a +DIST cachetools-7.1.6.tar.gz 40572 BLAKE2B b11f757a9cd1e57e39484ac72518a26389f5cda85b08f461c7245e9b7b3a214a48cbe0b903538532a1fd15086215e7824bd49fd97c68066d712faeb28f238e1c SHA512 5628ee31363b6869250309ecf075289480165e4a6631105f73b4ab27892e05e55d7107e48cd339bc4e18e07f58fb07328309521d28f0e3640d83ea9a35b2ef65 diff --git a/dev-python/cachetools/cachetools-7.1.6.ebuild b/dev-python/cachetools/cachetools-7.1.6.ebuild new file mode 100644 index 000000000000..ec602b06cbfd --- /dev/null +++ b/dev-python/cachetools/cachetools-7.1.6.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extensible memoizing collections and decorators" +HOMEPAGE=" + https://github.com/tkem/cachetools/ + https://pypi.org/project/cachetools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local -x THREADING_TESTS=1 + epytest +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 31580c608c68..efed3cec6001 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -6,3 +6,5 @@ DIST cfn_lint-1.53.0.tar.gz 4517403 BLAKE2B 931000db6a89629932269e24f9269e950b43 DIST cfn_lint-1.53.0.tar.gz.provenance 10173 BLAKE2B d1fcc344b818f36e27305edb1c8669d898fcfb7ea989830b22bc05eba7f1f857cfd0ab909b159dd8bb6809920ae40db4157ef0c902bb4ae2966e460d3eedefaf SHA512 bf5330f59b9cb267c9453a3760ffa8a222bc50b9791c614112137a8eb888b77229f4c65c609949c0a145b632a49ac43331e737cd46f0b0a765099505821f71d6 DIST cfn_lint-1.53.1.tar.gz 4549692 BLAKE2B 6f0d4f99971279a94a61ce2802e80af70d8928f4ccdc1e27bb4d1063f51829a52a5150a2a757b9dbf964a1e9629ba39c064e03c1361cc7f5516ea69a03cbf169 SHA512 d8d270cd2c0317ef06fdb3ff81c60876715a5197f0f7fbde1e5f2405ccf72fc785b1d85fbd30485f27d5fe42684c75f14babe1ba5429c934dcad405cd7fc7d13 DIST cfn_lint-1.53.1.tar.gz.provenance 9907 BLAKE2B fc6b501799621998b3578e94a13f2d168add94986a2920764756751b9448afab1803db93086e64914b78fc72114b56ad91bc1bb159d6280d4484721dca718ab8 SHA512 d97eea1083a5bedb425b94d85909a726edbc43d64b69b05d9bec12785d997c6c00ae69f1baa018759670a68f293b822bc04a576186e06a8d31caa9bd035c3813 +DIST cfn_lint-1.53.2.tar.gz 4593047 BLAKE2B c7886fca618d4a766f96fd8949469b83a433fbeaaef16a0cd7269d5432afafa2df5f5b2733b0be802367f5b16d2507e38f956820247e5c015f6f9c16a8137fc1 SHA512 94930c45d9e00d269f70d128876f04bd5702dc5f465e446742ed958fce84fe262ccd673fb5b021fb0b35e883001067b67798ae96041079ad2e4bcc998c3b7f27 +DIST cfn_lint-1.53.2.tar.gz.provenance 10130 BLAKE2B 31a264fbd6d2d59b3628ee1fe94b78633857879ce18d97a943e1d8feaea16ad29906b9a288e2225527ed94d8318e22fb28b00a5d751bec3c6f0a0adbe45638aa SHA512 a5c987a5506ee7b5ddd31a836b5a4d6d24d4505fbf4beb357abb59a6723af8dba3dc30b04631e886944e6a32e56bb19d2bf4e109d1fa25cdc1b276475d9122e6 diff --git a/dev-python/cfn-lint/cfn-lint-1.53.2.ebuild b/dev-python/cfn-lint/cfn-lint-1.53.2.ebuild new file mode 100644 index 000000000000..85f616e39f72 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.53.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/aws-cloudformation/cfn-lint +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.111.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.3[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.14.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # different line wrapping somehow + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # crashes on 3.12+, probably pygraphviz + test/unit/module/test_api.py::TestLintByConfig::test_graph + # scripts missing from sdist + test/unit/module/maintenance/test_update_specs_from_pricing.py + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + epytest test/unit +} diff --git a/dev-python/colorlog/Manifest b/dev-python/colorlog/Manifest index deaa20c360bc..836280349cf1 100644 --- a/dev-python/colorlog/Manifest +++ b/dev-python/colorlog/Manifest @@ -2,3 +2,5 @@ DIST colorlog-6.10.1.tar.gz 17162 BLAKE2B f30ebe7ee1342581a65db2a1c860fa339303b5 DIST colorlog-6.10.1.tar.gz.provenance 9456 BLAKE2B 5d601c3a053b2b3571c10eac92951a0ce90eedef9cdb44817c782f2c725e40847b595ea325d4b37dd54dff5c3f682b6a614ec19f719d10b6cad0e01ef25746c8 SHA512 2132c8a6a24c9ee5e73ccdf58a3b2014f2d5c6c4eb53d20adde1b4a58a4669498d1c4eaa2e63b84b6138db425b976c9a84c1482e69e18a0ae9f97dd566767e7a DIST colorlog-6.11.0.tar.gz 17734 BLAKE2B 73b04f5feb260d474d251af430cb89f14dbde4d2d1b0d3ea3918a4a76a0260e8b2c27baf18810a0379175aa5770e761d3b2d485f953bb0c9ed7373bec3e46ab8 SHA512 a263864b0d07f098305b741d1235ec94ba897b7ee68daa4ef46215bb56075fc9d2601eaeab26dc852cab9d7216e333bf8aff9a15500491e37a42802518a5b1ba DIST colorlog-6.11.0.tar.gz.provenance 9796 BLAKE2B c01478f5c05f43cc10988efaffc6811b41849da11b88374935b6124e861a25a7d736313ff9eda1043fd8a5370a30cd2348dc69736ac72ad0ba9b5fc520cf19af SHA512 1b80f44f726ca48687ee002047f4637ffe3b0d2246a75e5814437a88b8f8309068c77d6b55d33d018dafa43d889160fffd77d21ce1f5bd59dcb9235d20bae66f +DIST colorlog-6.12.0.tar.gz 18151 BLAKE2B 1740a53c39a51c4fd4702d83f56f7226cc67cadea676f07ed9db28a01f490a9990379418130cc793dbf264a4dfdf0b9d33ef4ec5c4ff3ee4f1eeee5890d9cd2e SHA512 2a5e00b58ce72e163b276b4f69db71943bea27e8cc832f74343b1931716242228b09bbba965bcdecf7d16944b88eab301ab1d33dfc8862d2f7bedfba10dc4dd2 +DIST colorlog-6.12.0.tar.gz.provenance 10133 BLAKE2B d411dc07a84b9795871f907d93bd3d7319d1c4bb069f6b3cf5741d30c18b22ae3eef855b9111834901b0e46e2d3007b958be5b4050d4d7b95ffc8c3e0bc71911 SHA512 7fe575342e6a406df3549020373d061d6a3c7dabca6c5278aed80eb3eca8b1424b8cc402e890d02e666fa51b13c9aed45a337c4cc442c15b0172aad4bd12e8ea diff --git a/dev-python/colorlog/colorlog-6.12.0.ebuild b/dev-python/colorlog/colorlog-6.12.0.ebuild new file mode 100644 index 000000000000..263675220f2b --- /dev/null +++ b/dev-python/colorlog/colorlog-6.12.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/borntyping/python-colorlog +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Log formatting with colors" +HOMEPAGE=" + https://pypi.org/project/colorlog/ + https://github.com/borntyping/python-colorlog/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/cucumber-tag-expressions/Manifest b/dev-python/cucumber-tag-expressions/Manifest index f3a2742cb8f2..8c904a6ba740 100644 --- a/dev-python/cucumber-tag-expressions/Manifest +++ b/dev-python/cucumber-tag-expressions/Manifest @@ -1 +1,2 @@ DIST cucumber-tag-expressions-10.0.0.gh.tar.gz 151228 BLAKE2B 73b572ea424ed6d0dfebb4609f2340e032245a11910e149fe8677dc872f2072aae3a4f6ff123b1f210430a4646c654cd33a1b2954e143547c826683953ca837f SHA512 93b15f847c91dfff3987de765a29d2548f11bf4a9184d049453db67f85082375edf99b19304ac6ebb1c2a90eeae0474ee6a2025200cd23429775d98771304079 +DIST cucumber-tag-expressions-11.0.0.gh.tar.gz 151104 BLAKE2B b5690e57888a26ded87e990e384228c38290439963eda323dacdb6ebe564cba60ca4d74870d39fd6f1005f0d1a6b1b8c58976f52e3af779730839c6c1307f6a7 SHA512 1ef4dd8bc1f00d8d84f944aff3f9b2aeb1257c57ad8ef96ef097892e2849091a67107800450ba75e27512c58e79e3598d48788ff7e15aa26335de3b70f3bf62d diff --git a/dev-python/cucumber-tag-expressions/cucumber-tag-expressions-11.0.0.ebuild b/dev-python/cucumber-tag-expressions/cucumber-tag-expressions-11.0.0.ebuild new file mode 100644 index 000000000000..7b0baef63f29 --- /dev/null +++ b/dev-python/cucumber-tag-expressions/cucumber-tag-expressions-11.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=uv-build +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Cucumber tag expression parser" +HOMEPAGE=" + https://github.com/cucumber/tag-expressions/ + https://pypi.org/project/cucumber-tag-expressions/ +" +# no tests in sdist +SRC_URI=" + https://github.com/cucumber/tag-expressions/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/tag-expressions-${PV}/python" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + test? ( + >=dev-python/pyyaml-6.0.3[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/gitpython/Manifest b/dev-python/gitpython/Manifest index 3561f6478d7a..db92f24dae0a 100644 --- a/dev-python/gitpython/Manifest +++ b/dev-python/gitpython/Manifest @@ -1,8 +1,6 @@ -DIST GitPython-3.1.52.gitbundle 11480264 BLAKE2B 5a9368453765f664ae813d99c0db8afb5752053e908d61024945a45ad4ef0d9ff39b8cbd3ac543a3f52ef82643685ff96609d9086095ebb84e59394de8a8c361 SHA512 5df37794b755c7820fcbe2215098cb8b58e69bf98f1465d2f4cd5efd688287c229ed8734eb3f9294e660705a8b9a3bc7eec009b79db78711a824d6454e396caf -DIST GitPython-3.1.53.gitbundle 11481045 BLAKE2B 1f45f2766a227f1cdab87835dc81f001f64bc144f527395c93c8d155488d4e6ab09f51648da352f7fec96d842d7624617e136cf695189514360f46d5ee077650 SHA512 3cf929c339f861eff58911bb74b0a9b9b649f6ec632a5811350c18e97ea3b9688279d738334d909207978d08b8c21c54445268445a01d93cc2fcf7ac2a149ae5 DIST GitPython-3.1.54.gitbundle 12994086 BLAKE2B 9709a2bf90eb3ed03517df801b9505d9db0dada09c27359b2c297770fb23a0d359ae62a9518ded8e57b03c82a00b2da2f02bddd312a1e2a3a94ba934e6e70fb9 SHA512 895d4ea52e0853282bbf4a0e524de7ea1e0d544435fcea1db2038a6a97c7be2f0bc1a341d776f2869d5eae84eee8f7c061ab790e4708ba1da75299dd66878f2c +DIST GitPython-3.1.55.gitbundle 12989001 BLAKE2B 0fa2481fd5d3707e44ad2cc84591ed7061533ae9eb79e6e0baaa4ab97b026ab0395caa5cc1d6318e3d41ff937458ef9d5ce7145e27261f8710cb2fc663b27154 SHA512 7baa8393a3871e041498cc847671f5ee64177c89794500ebff93985209a9b9ea7a795444b7c4755d44ed6c977920f2b07843b771d99a481eab96f6d8e43e5550 DIST gitdb-4.0.12.gitbundle 1627457 BLAKE2B 2fb730fb72f682bac9a71a2b70af6ed476f69d57e00b323e669550793bcc330bd4b71575e0d0f008ed58f39e5beb622213ce2a10df6f512f1f5536b72c77871a SHA512 2fc619f511e373ad2ee51a108057e3a558dbfd68cbd7632244d7fd7914ed5fce99c182de5542264273de642e6e7680ee9b54a6da95224c562f43cf65e325db56 -DIST gitpython-3.1.52.tar.gz 223726 BLAKE2B 64c1cf95f45e66f9801aff59cc9b18cbd42784122e96c90b0005abc175734cab98977145d26a21521dbeefc47555c2f972dc8998d5c1d4f4a3fe8b42508f04d9 SHA512 5cdf0dd635a30a516ae28400ce4267b809e9f9512594136f08a5b503dd2ffbc173f524ec48cc2e88948d638f82a2ced5c39d61e4d64923e278d5d8889346e4c9 -DIST gitpython-3.1.53.tar.gz 224597 BLAKE2B b82e7254ccec5e6e6c942d01c2c2aab51f0b12a83e988bc5aeb5c285691eb16bede5203e0f59700401c1a9df97c22bb40075d3bf5d76a2bc5dfbedc353de590f SHA512 a2e27ea55817541840c90e9564f1b18db3ece6d21adb770a06fb24b0bca559072d607254116cb780490e32484df00d0b9910b2e4a0d508f2b516658712b29fb0 DIST gitpython-3.1.54.tar.gz 225076 BLAKE2B e8f649c3b3c966d488c5d40c57e727e68108c4dc2c32ade4848170689d5258fbf119b39d05929430f3764b3e74bf322c5e79d4cc1d8ac87bcbab5f2c2305fdf8 SHA512 52a1059c21615a9e36072f42e5255ed7bd3b48b0a6a2a75212cefd2cb6f201c62bad3b3391d8b407c2ac3e043cc4ab69930896e3a54268a578986984f86fd28a +DIST gitpython-3.1.55.tar.gz 225071 BLAKE2B c7f1915d1c188760db3b734e9d4ebab27544d87683863af4fa0eecb99171d4ff54c26c458829e3f7180d718d726e474ee7dfee0ef8206268dd78fc7306956b49 SHA512 478b30b92c421a008144167b821343b4b0d646b3ef222a6bca83efd07acdc1c0e7213f3a33a0c59ddf1e4763e342a9712f6dc8df83ac317b01a8e614dfeb7470 DIST smmap-5.0.1.gitbundle 362567 BLAKE2B 72c8b48ad3250a33b94218c145c02033dee84c1da5f1eea57983a58699262d51844be675330d95c7d64924b6aeaacd4b0a57e9a5acad3be184aaad62102202e7 SHA512 9ca8386bfec25d1562cdf1c2ee85f7edb15fd3f44ecd1abbef738979f12b82f0b0f39a06589203a39f89518d981d7129e35f64f2d855cd162cd964bdd87c8d18 diff --git a/dev-python/gitpython/gitpython-3.1.52.ebuild b/dev-python/gitpython/gitpython-3.1.52.ebuild deleted file mode 100644 index 1e2b4aa78374..000000000000 --- a/dev-python/gitpython/gitpython-3.1.52.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=GitPython -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -TEST_P=GitPython-${PV} -GITDB_P=gitdb-4.0.12 -SMMAP_P=smmap-5.0.1 - -DESCRIPTION="Library used to interact with Git repositories" -HOMEPAGE=" - https://github.com/gitpython-developers/GitPython/ - https://pypi.org/project/GitPython/ -" -SRC_URI+=" - test? ( - https://distfiles.gentoo.org/pub/proj/python/GitPython/${TEST_P}.gitbundle - https://distfiles.gentoo.org/pub/proj/python/GitPython/${GITDB_P}.gitbundle - https://distfiles.gentoo.org/pub/proj/python/GitPython/${SMMAP_P}.gitbundle - ) -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-vcs/git - >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-mock ) -distutils_enable_tests pytest - -src_test() { - git config --global user.email "travis@ci.com" || die - git config --global user.name "Travis Runner" || die - - git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die - git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ - "${T}"/test/git/ext/gitdb || die - git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ - "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die - - cd "${T}"/test || die - git rev-parse HEAD > .git/refs/remotes/origin/master || die - # this tries to fetch again - sed -i -e '/git submodule/d' init-tests-after-clone.sh || die - TRAVIS=1 ./init-tests-after-clone.sh || die - cat test/fixtures/.gitconfig >> ~/.gitconfig || die - - distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # performance tests are unreliable by design - test/performance - # unimportant and problematic - test/test_installation.py - # Internet - test/test_quick_doc.py::QuickDoc::test_cloned_repo_object - # TODO - test/test_submodule.py::TestSubmodule::test_base_rw - test/test_submodule.py::TestSubmodule::test_root_module - ) - - epytest -o addopts= test -} diff --git a/dev-python/gitpython/gitpython-3.1.54.ebuild b/dev-python/gitpython/gitpython-3.1.54.ebuild index 696f647771d9..1e2b4aa78374 100644 --- a/dev-python/gitpython/gitpython-3.1.54.ebuild +++ b/dev-python/gitpython/gitpython-3.1.54.ebuild @@ -29,7 +29,7 @@ SRC_URI+=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-vcs/git diff --git a/dev-python/gitpython/gitpython-3.1.53.ebuild b/dev-python/gitpython/gitpython-3.1.55.ebuild index 696f647771d9..696f647771d9 100644 --- a/dev-python/gitpython/gitpython-3.1.53.ebuild +++ b/dev-python/gitpython/gitpython-3.1.55.ebuild diff --git a/dev-python/grpcio-status/Manifest b/dev-python/grpcio-status/Manifest index 755dcbe14d9c..f58f6eabd37e 100644 --- a/dev-python/grpcio-status/Manifest +++ b/dev-python/grpcio-status/Manifest @@ -3,3 +3,4 @@ DIST grpc-1.81.0.gh.tar.gz 15840050 BLAKE2B 01defbe7386b8f7752b4abe9b3081fc09801 DIST grpc-1.81.1.gh.tar.gz 15840192 BLAKE2B 900ca16869e1295428054c2bb4c4363ec855878faef2705cdd81249d46596958c25983dbbd87358d942caae6d5910a781d45da71f8e2a4b714affba02aba0dd5 SHA512 2fcc219bf91de49607ed1f74243c2d43c0fb0def4944e48fbd4b382033d648f0e0b8551426993d04db49b9cae8d8b9efe20a817f6985ed3c72f086bf8ea2e26e DIST grpc-1.82.0.gh.tar.gz 16053357 BLAKE2B 334e965c30b9d055c6a16020624cdc68e1d503c23c5c6ddec784478c19e8b6e4c5eaa6c77df3008fd93c79d37f90bdba3b4db5b2f1f17b90f9276a2e62a07165 SHA512 8fe04eab34a2dbf1be198366f9d82d99b2fdb46bec78385e97041d0fa03dc635374b8600eb522b0b022ebe9f32263a9d4d202849581b896555395561c2735fdc DIST grpc-1.82.1.gh.tar.gz 16053195 BLAKE2B ae8495a950eab7b6d0b202deda766532de36c5ba37130d58d4790d5eabb65e3dff2615b33ec473df8c7056fb252ee98689b93064d1734ad7c1f3375cd3ad2801 SHA512 f776f2c329247292cad3649e0bdee75ba37360eb2ee13b1f8750b2a3a2cfd63a0a51295dc71cc9ca0d9477a4a882c4ecaf3ee6f23322926c126146bace0c94a6 +DIST grpc-1.83.0.gh.tar.gz 16249899 BLAKE2B 6eb5aad73d603fe55ae7e88315a193346c4ae63f28b0800c48a5f9f915caaaf5b05aca4d26fe4be97ec6dd1006e4a85d0b27fa414df4a823358ba33f9a5fd2b2 SHA512 6bc1fa040a5087522f8b8292e00d289105e1343883290432e8327f9bca23248b31c95ef8d6954cad1fc9be7a4c1042cbfedc458da2e11de251e980a44ec753a4 diff --git a/dev-python/grpcio-status/grpcio-status-1.83.0.ebuild b/dev-python/grpcio-status/grpcio-status-1.83.0.ebuild new file mode 100644 index 000000000000..daa9f2d13263 --- /dev/null +++ b/dev-python/grpcio-status/grpcio-status-1.83.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +MY_P=grpc-${PV} +DESCRIPTION="Reference package for GRPC Python status proto mapping" +HOMEPAGE=" + https://grpc.io/ + https://github.com/grpc/grpc/ + https://pypi.org/project/grpcio-status/ +" +SRC_URI=" + https://github.com/grpc/grpc/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/src/python/grpcio_status + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/grpcio-${PV}[${PYTHON_USEDEP}] + >=dev-python/googleapis-common-protos-1.5.5[${PYTHON_USEDEP}] + <dev-python/protobuf-8[${PYTHON_USEDEP}] + >=dev-python/protobuf-6.33.5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + cd "${WORKDIR}/${MY_P}/src/python/grpcio_tests" || die + epytest tests{,_aio}/status +} diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index 8fc5cee64c96..8d4795eba424 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -3,13 +3,16 @@ DIST grpc-1.81.0.gh.tar.gz 15840050 BLAKE2B 01defbe7386b8f7752b4abe9b3081fc09801 DIST grpc-1.81.1.gh.tar.gz 15840192 BLAKE2B 900ca16869e1295428054c2bb4c4363ec855878faef2705cdd81249d46596958c25983dbbd87358d942caae6d5910a781d45da71f8e2a4b714affba02aba0dd5 SHA512 2fcc219bf91de49607ed1f74243c2d43c0fb0def4944e48fbd4b382033d648f0e0b8551426993d04db49b9cae8d8b9efe20a817f6985ed3c72f086bf8ea2e26e DIST grpc-1.82.0.gh.tar.gz 16053357 BLAKE2B 334e965c30b9d055c6a16020624cdc68e1d503c23c5c6ddec784478c19e8b6e4c5eaa6c77df3008fd93c79d37f90bdba3b4db5b2f1f17b90f9276a2e62a07165 SHA512 8fe04eab34a2dbf1be198366f9d82d99b2fdb46bec78385e97041d0fa03dc635374b8600eb522b0b022ebe9f32263a9d4d202849581b896555395561c2735fdc DIST grpc-1.82.1.gh.tar.gz 16053195 BLAKE2B ae8495a950eab7b6d0b202deda766532de36c5ba37130d58d4790d5eabb65e3dff2615b33ec473df8c7056fb252ee98689b93064d1734ad7c1f3375cd3ad2801 SHA512 f776f2c329247292cad3649e0bdee75ba37360eb2ee13b1f8750b2a3a2cfd63a0a51295dc71cc9ca0d9477a4a882c4ecaf3ee6f23322926c126146bace0c94a6 +DIST grpc-1.83.0.gh.tar.gz 16249899 BLAKE2B 6eb5aad73d603fe55ae7e88315a193346c4ae63f28b0800c48a5f9f915caaaf5b05aca4d26fe4be97ec6dd1006e4a85d0b27fa414df4a823358ba33f9a5fd2b2 SHA512 6bc1fa040a5087522f8b8292e00d289105e1343883290432e8327f9bca23248b31c95ef8d6954cad1fc9be7a4c1042cbfedc458da2e11de251e980a44ec753a4 DIST grpcio-1.80.0.tar.gz 12978905 BLAKE2B 2583bbdfcb05aaced115b4a4ab7d26b95efbe35bf7c2bd7989d9791d50553e05ba3e6323ce8b52c78459b34b5daeb1566ffd1e2b17c14208a13e4a06f0a2a6d5 SHA512 04ef676d6847f3d2820998c07d9f80585c105dc43e3f754b517566e86a92af94328ecdecba0b772e0abe2a53eb49102a12db93099b50d5bee576ac69cb928db5 DIST grpcio-1.81.0.tar.gz 13032272 BLAKE2B 55ecfd288602cbdc44b11b9ac4afb90b79d8feae773bfd5bb7df1057e4af9b5657d6151b71f8e73e028c92e07f7e105859b8814e781ca3afdf05e4b7eca699b3 SHA512 f57e7c370455028b91574804c511181919c6de23e4213ef35d798c310734f41ab30eabbef00b183cbc2085e22b05b9616109eff8c49443c03932a5b6f8339502 DIST grpcio-1.81.1.tar.gz 13026582 BLAKE2B 8aa2754b7232a211c23852da22e7aa1c73ed630a2ccfceaf99ad80b23ed5845aeacdb87ec34d748357c6573b436bee38bed148c65d54cc438f3badeeb977435d SHA512 7b34b02a5ea487ef98fb6c1017ddc0127f292f54968d71c08ff5cbf9efa016c49a562f67165564d1a6ff219f24be1b2a6a525f12c251699893c8772d226baa41 DIST grpcio-1.82.0.tar.gz 13184479 BLAKE2B 057a039b768a6a686ab67e8d4d6c49de54b2bd329ddd7c785cdf1718ebeb815eb63e4ae622927fd55224077fadf1bcbbf4ab69d9a189f5f1c85721c56b53e4ec SHA512 a9dd795501e0f49db3db79fc00341d0c0b974b0150dad376ec6e162c2c8f022fa8fb94a11bdbbd4a0e6123b15480afe09d403312952f8f2b47026946c5e1b8b6 DIST grpcio-1.82.1.tar.gz 13187300 BLAKE2B 3e53868afd2e06460b613a40c3913c92feb154e145b8bd42e6cf6c9d098047e9895151e37dca0a999f58f618ae7b149aaa6ec3d28ea426569061d867753817fc SHA512 ebd36dc0028a1e40ce27f2ffcf2ba7a280c84a4e8d854b8c44753b52e2cdcf24b7d9188acf5456bc090ea7d68afc158d0b694cf12f1f550722c1f2a8eb18e560 +DIST grpcio-1.83.0.tar.gz 13428824 BLAKE2B 0ddce59208ec61621e85c07cab32da67381e09ef22e47c2cc3dfac355fe2a4acd52b5fce80e1eb46e75263041aba50ebbb0839dae91124ea273847f472e3a308 SHA512 b9fbe71ea6c745473884400839b535fd305bff1f8e0ab35d9a8f1fbab5f5e30a6d2be1931a0fd48763493c8869049813814af81e5c99209a913541a3179df8d8 DIST grpcio_tools-1.80.0.tar.gz 6133212 BLAKE2B 9bf051314482ff946aa6edd4f8b517dec63c1188914d76a2b4d130b68408ee5ec3ec3b5a2075b7ec2257e92ee9dbad37c18c425a2b947b81640f67cadd284df6 SHA512 7d9e17cee024af6731a8b75da6de0c26b554f2c50d75acfefc7708545935af4ab8f60fe0e16550c4c2943eb6c3414c49c38dc1a71df948c87c6c743ee72fff68 DIST grpcio_tools-1.81.0.tar.gz 6235718 BLAKE2B 08cd6c49329349fbfa9e26efe4b3894095801319e41bafda9907f98ae823bf5f4de17db6f02780c31aef9a781d2b0463c88825dae073e5d0617b346c1c39dbca SHA512 0925b13fa8b00483d124ef6c2b6e3ebe6e4116a11fe5c306d158edd9a2f5d4743257bcd2ae04c1f29dd1e562e44f1e76c0d1168a07e4fd2f87ae31066ab2555b DIST grpcio_tools-1.81.1.tar.gz 6236155 BLAKE2B e95db929827c7f465473e0640d2fd53df1d9e6f6ee80f1f3b49709e496f678d248c78c37e90b6f96cd2348fb903bd6e8047b3490353f1c436fe0e0781a26069c SHA512 ca68845b4beef98cd83d4dbdb9d12449ee9289dcf81ca4723617a35a1c576bc937fbbcac12ab0e304d2b7f49993a8a8fbcb00b7021ea141a71196c2a93fb8cdf DIST grpcio_tools-1.82.0.tar.gz 6399122 BLAKE2B a5a8cf5a3e78bbe25718f4b679462f3851124ac7c69e8b635999fec19e904e2f03b7d1ae9c9b177087c1f25eab24abdad26c285d53470a7c9cca4b220b514ccb SHA512 6a3acadbb12b27b4bc9a22cdf2bd1accf36fd96eda862e8c4d2b7915be409d77d770dcd36a7bf0a7ea279f2b56a917923d45988425f361cbef2a90cc95246426 DIST grpcio_tools-1.82.1.tar.gz 6399590 BLAKE2B 4a731b32ddfce566c2405c33736b7dbcf66ef5a63e49b45673996d3fd46d948286a777cea1114f8e3cb1b8583bdea737470dfe8dd406c9737d970bee285dfd67 SHA512 bfc8b9353530b5d8b3eef2fdbc4d442ec6219d0d393c272ef0ed1309041bead71472c920a0e735f5801fb40e094a6ec0176daf8bc9ad93bd8dbd22030806fee4 +DIST grpcio_tools-1.83.0.tar.gz 6400437 BLAKE2B 537209842337e749b0689d7e114395f8eeb6435d3bbcb4d8a857e487e58fc10b31b65fa313ea51f483f048125ea2a2351c88690020e6cc16e7782021c0377d51 SHA512 f18ba3130d1134eaced50f19dbc64edafffe4ad4a7edf66641316c980b0a4a1fe8c3bba21162303841e929a94de689ed1e2d015b2cef7534c9bb99a27e9f4365 diff --git a/dev-python/grpcio/grpcio-1.83.0.ebuild b/dev-python/grpcio/grpcio-1.83.0.ebuild new file mode 100644 index 000000000000..6e9fb2ecc763 --- /dev/null +++ b/dev-python/grpcio/grpcio-1.83.0.ebuild @@ -0,0 +1,137 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 flag-o-matic multiprocessing pypi + +MY_P=grpc-${PV} +DESCRIPTION="HTTP/2-based RPC framework" +HOMEPAGE=" + https://grpc.io/ + https://github.com/grpc/grpc/ + https://pypi.org/project/grpcio/ +" +# Tests need other packages from the source tree, so use a GitHub +# archive. sdist provides bundled library sources (git submodules). +SRC_URI+=" + test? ( + https://github.com/grpc/grpc/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + $(pypi_sdist_url grpcio_tools) + ) +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND=" + dev-libs/openssl:= + net-dns/c-ares:= + virtual/zlib:= +" +RDEPEND=" + ${DEPEND} + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] +" +# TODO: try to remove coverage dep +BDEPEND=" + >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/protobuf-6.33.5[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +# signal handling tests hang often +EPYTEST_RERUNS=5 +: ${EPYTEST_TIMEOUT=15} +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/INSTALL_REQUIRES/s:~=:>=:' setup.py || die +} + +src_configure() { + # -Werror=odr -Werror=lto-type-mismatch + # https://bugs.gentoo.org/856775 + # https://github.com/grpc/grpc/issues/36158 + filter-lto + + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" + # system abseil-cpp crashes with USE=-debug, sigh + # https://bugs.gentoo.org/942021 + #export GRPC_PYTHON_BUILD_SYSTEM_ABSL=1 + export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 + export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 + # re2 needs to be built against the same abseil-cpp version + #export GRPC_PYTHON_BUILD_SYSTEM_RE2=1 + export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + + # copied from setup.py, except for removed -std= that does not apply + # to C code and causes warnings + export GRPC_PYTHON_CFLAGS="-fvisibility=hidden -fno-wrapv -fno-exceptions" + # required by abseil-cpp + append-cxxflags -std=c++17 + # silence a lot of harmless noise from bad quality code + append-cxxflags -Wno-attributes +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/unit/_dns_resolver_test.py::DNSResolverTest::test_connect_loopback + # not a test + tests/unit/_compression_test.py::test_compression + tests_aio/unit/channel_argument_test.py::test_if_reuse_port_enabled + # expects grpcio-admin + tests/unit/test_all_modules_installed.py::TestAllModulesInstalled::test_import_all_modules + # TODO + tests_py3_only/unit/_simple_stubs_test.py::SimpleStubsTest::test_default_ssl + tests/unit/_cython/_channel_test.py::ChannelTest::test_multiple_channels_lonely_connectivity + tests/unit/_cython/_channel_test.py::ChannelTest::test_single_channel_lonely_connectivity + ) + local EPYTEST_IGNORE=( + # not a test + tests/unit/test_common.py + # requires oauth2client + tests/unit/beta/_implementations_test.py + ) + + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + # grpcio proper builds against system libs + # grpcio_tools supports bundled libs only, and requires different + # flags + unset GRPC_PYTHON_CFLAGS + cd "${WORKDIR}/grpcio_tools-${PV}" || die + distutils_pep517_install "${BUILD_DIR}"/test + + cd "${WORKDIR}/${MY_P}" || die + local protodir=src/proto/grpc/testing + local testdir=src/python/grpcio_tests + "${EPYTHON}" -m grpc_tools.protoc -I. --python_out="${testdir}" \ + "${protodir}"/{empty,messages}.proto || die + "${EPYTHON}" -m grpc_tools.protoc -I. --grpc_python_out="${testdir}" \ + "${protodir}"/test.proto || die + + cd "${testdir}" || die + "${EPYTHON}" -m grpc_tools.protoc -I. --python_out=. \ + tests/testing/proto/{requests,services}.proto || die + "${EPYTHON}" -m grpc_tools.protoc -I. --grpc_python_out=. \ + tests/testing/proto/services.proto || die + + # TODO: aio tests are failing randomly, so we're skipping them entirely + epytest tests{_py3_only,}/unit +} diff --git a/dev-python/h2/Manifest b/dev-python/h2/Manifest index 851aebeb71bf..8db80b5ae0b9 100644 --- a/dev-python/h2/Manifest +++ b/dev-python/h2/Manifest @@ -1 +1,2 @@ DIST h2-4.3.0.tar.gz 2152026 BLAKE2B 2cf5292b7c88ed158bcd4633c86df87f4673a041d2202015275cc636a3f9236378b47849bd69cb295c87084f279645e3e044db1245fa60ae03764523a39adf1a SHA512 f4a09644dec595a0a2280db2bdcdc26e22fc05a1853a0692e4c208c77cf7f9fe5ac2f185f31617ecb43d6afd6d0e24d8ce649ce38720744f6a30ca60dd3b9a49 +DIST h2-4.4.0.tar.gz 2156691 BLAKE2B 861ee88aba0b6043cbcd6ea9d306d6b1187dbce36fe641a7388953d5af6f99be4942d44f06d34f7da5d641ca2c168baaba34b45ef3d4ce54abff606d0e3b84ca SHA512 59660c376d7de38da6ee577c201d66ea0c739ce25df6435cf0bc8429524e42f5c7005cef2133a9b591ed4ffa41647f30a4b2f359f94b4280a0c6327596a9fb2f diff --git a/dev-python/h2/h2-4.4.0.ebuild b/dev-python/h2/h2-4.4.0.ebuild new file mode 100644 index 000000000000..fc0fe4b04e4a --- /dev/null +++ b/dev-python/h2/h2-4.4.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP/2 State-Machine based protocol implementation" +HOMEPAGE=" + https://python-hyper.org/projects/h2/en/stable/ + https://github.com/python-hyper/h2/ + https://pypi.org/project/h2/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/hyperframe-6.1[${PYTHON_USEDEP}] + <dev-python/hyperframe-7[${PYTHON_USEDEP}] + >=dev-python/hpack-4.1[${PYTHON_USEDEP}] + <dev-python/hpack-5[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( hypothesis ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest diff --git a/dev-python/httpx2/Manifest b/dev-python/httpx2/Manifest index efa09e893ff7..81fe87d34b24 100644 --- a/dev-python/httpx2/Manifest +++ b/dev-python/httpx2/Manifest @@ -1,3 +1,5 @@ DIST httpx2-2.4.0.gh.tar.gz 2049043 BLAKE2B ec36c399853c4264bfb8247b770f6ddddecab3de150e75659455820fed1d41758326201684c1ec4adaa4a2e5451fceeba58b4ef0210aed7978e285b750ccf806 SHA512 f6033c1032faa078cb954fc9107a3c34ad46a6ab71ef426048f64147b94bd1737ab80447e5bcceec7c3147fd9ccfdf1b58dbaac5d3b9ab8b9bbb46f9e28617ab DIST httpx2-2.5.0.gh.tar.gz 2053138 BLAKE2B 8d436c215dcb47664c41f0b286bfd614e9eef08161a3c534a40bac5e59d5fe57ec51f87ead1498965d13ad41c4939b3a93b2a053ac2a73d0927593aa8cb61a2a SHA512 45cfadee3c884843e595eb8cffb0887fbee98c069d94c1e5c2498e7ac8c90b414c7d4fff2e8ed4a03589b56b605566674f2dd20e22738aa92812795b50c287f3 DIST httpx2-2.7.0.gh.tar.gz 2084293 BLAKE2B 82a2ba5d9ea378ecd345e2f44e83a231e52c6a4551c854d2719387abc5a6b03da16fa8c99b731773ee73bbd7212eaa0843bab586edf0938751f0e545b7d170c5 SHA512 4badec86b0e5a4bf0c0974168e65ab24033598f414ea57af24d63c33d5c4700637de3a443cb552cf87f33c6aad3ed17fe498a7ed061d96bde0fe8c22073f3fb2 +DIST httpx2-2.8.0.gh.tar.gz 2086475 BLAKE2B 1fcf8504f7b7cafa4b1972c1696c1c93ce1d3989e7faa261278205155faa24e972072cf664f4b6e7f28d0d047cafd975bfc83881b4097379edc805bd40150b9d SHA512 140df21e9c18219c0f7a6892c4c2a1dcabd72ae15fe32c4a0bd0dc0670a0c2e3ec5de34befb4d1c4a44208c5e7a72664e58fa2b9b5dc0431ef0d95c461d70ed4 +DIST httpx2-2.9.0.gh.tar.gz 2093086 BLAKE2B b059640db8fa0f3cdb05aa467c92d6127bd48cf8a3e419eb7b38a03c7a612c341c1637d07773cb9776fa1fef6a70032a772b3302e444568db57005f105b32cbc SHA512 cd56a2c55a4b9e8c163834248ff7fb2ca2be8ddda0d878c8cbf29d2fb849fa3a0a72ce34dac394fe981bed605bfec6c53ac0ffa91632505fbaeb08d1c7f23c2b diff --git a/dev-python/httpx2/httpx2-2.8.0.ebuild b/dev-python/httpx2/httpx2-2.8.0.ebuild new file mode 100644 index 000000000000..91015cb37a30 --- /dev/null +++ b/dev-python/httpx2/httpx2-2.8.0.ebuild @@ -0,0 +1,107 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +# This package combines httpx2 and httpcore2 (because of exact version pin). +DESCRIPTION="The next generation HTTP client (Pydantic fork)" +HOMEPAGE=" + https://pypi.org/project/httpx2/ + https://pypi.org/project/httpcore2/ + https://github.com/pydantic/httpx2/ +" +SRC_URI=" + https://github.com/pydantic/httpx2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/anyio-4.10[${PYTHON_USEDEP}] + >=dev-python/idna-3.18[${PYTHON_USEDEP}] + >=dev-python/h11-0.16[${PYTHON_USEDEP}] + >=dev-python/truststore-0.10[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] + ' 3.12) + cli? ( + >=dev-python/click-8.4[${PYTHON_USEDEP}] + =dev-python/pygments-2*[${PYTHON_USEDEP}] + >=dev-python/rich-10[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/uv-dynamic-versioning[${PYTHON_USEDEP}] + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/h2[${PYTHON_USEDEP}] + dev-python/starlette[${PYTHON_USEDEP}] + dev-python/socksio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] + >=dev-python/wsproto-1.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/zstandard-0.18.0[${PYTHON_USEDEP}] + ' 3.12 3.13) + ) +" + +EPYTEST_PLUGINS=( anyio flaky pytest-{httpbin,trio} ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_compile() { + local -x UV_DYNAMIC_VERSIONING_BYPASS=${PV} + + cd src/httpcore2 || die + distutils-r1_python_compile + cd ../httpx2 || die + distutils-r1_python_compile + cd ../.. || die +} + +python_test() { + local EPYTEST_DESELECT=( + # random HTTP header case mismatch + tests/httpx2/test_main.py::test_auth + tests/httpx2/test_main.py::test_binary + tests/httpx2/test_main.py::test_follow_redirects + tests/httpx2/test_main.py::test_get + tests/httpx2/test_main.py::test_json + tests/httpx2/test_main.py::test_post + tests/httpx2/test_main.py::test_redirects + tests/httpx2/test_main.py::test_verbose + # Internet + tests/httpcore2/test_cancellations.py::test_h2_timeout_during_request + tests/httpx2/client/test_proxies.py::test_async_proxy_close + tests/httpx2/client/test_proxies.py::test_sync_proxy_close + # unexpected logs from uvicorn + tests/httpx2/test_utils.py::test_logging_request + tests/httpx2/test_utils.py::test_logging_redirect_chain + ) + + local EPYTEST_IGNORE=() + if ! use cli; then + EPYTEST_IGNORE+=( + tests/httpx2/test_main.py + ) + fi + + epytest tests/{httpcore2,httpx2} +} diff --git a/dev-python/httpx2/httpx2-2.9.0.ebuild b/dev-python/httpx2/httpx2-2.9.0.ebuild new file mode 100644 index 000000000000..91015cb37a30 --- /dev/null +++ b/dev-python/httpx2/httpx2-2.9.0.ebuild @@ -0,0 +1,107 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +# This package combines httpx2 and httpcore2 (because of exact version pin). +DESCRIPTION="The next generation HTTP client (Pydantic fork)" +HOMEPAGE=" + https://pypi.org/project/httpx2/ + https://pypi.org/project/httpcore2/ + https://github.com/pydantic/httpx2/ +" +SRC_URI=" + https://github.com/pydantic/httpx2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/anyio-4.10[${PYTHON_USEDEP}] + >=dev-python/idna-3.18[${PYTHON_USEDEP}] + >=dev-python/h11-0.16[${PYTHON_USEDEP}] + >=dev-python/truststore-0.10[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] + ' 3.12) + cli? ( + >=dev-python/click-8.4[${PYTHON_USEDEP}] + =dev-python/pygments-2*[${PYTHON_USEDEP}] + >=dev-python/rich-10[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/uv-dynamic-versioning[${PYTHON_USEDEP}] + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/h2[${PYTHON_USEDEP}] + dev-python/starlette[${PYTHON_USEDEP}] + dev-python/socksio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] + >=dev-python/wsproto-1.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/zstandard-0.18.0[${PYTHON_USEDEP}] + ' 3.12 3.13) + ) +" + +EPYTEST_PLUGINS=( anyio flaky pytest-{httpbin,trio} ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_compile() { + local -x UV_DYNAMIC_VERSIONING_BYPASS=${PV} + + cd src/httpcore2 || die + distutils-r1_python_compile + cd ../httpx2 || die + distutils-r1_python_compile + cd ../.. || die +} + +python_test() { + local EPYTEST_DESELECT=( + # random HTTP header case mismatch + tests/httpx2/test_main.py::test_auth + tests/httpx2/test_main.py::test_binary + tests/httpx2/test_main.py::test_follow_redirects + tests/httpx2/test_main.py::test_get + tests/httpx2/test_main.py::test_json + tests/httpx2/test_main.py::test_post + tests/httpx2/test_main.py::test_redirects + tests/httpx2/test_main.py::test_verbose + # Internet + tests/httpcore2/test_cancellations.py::test_h2_timeout_during_request + tests/httpx2/client/test_proxies.py::test_async_proxy_close + tests/httpx2/client/test_proxies.py::test_sync_proxy_close + # unexpected logs from uvicorn + tests/httpx2/test_utils.py::test_logging_request + tests/httpx2/test_utils.py::test_logging_redirect_chain + ) + + local EPYTEST_IGNORE=() + if ! use cli; then + EPYTEST_IGNORE+=( + tests/httpx2/test_main.py + ) + fi + + epytest tests/{httpcore2,httpx2} +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 3d42619d18f5..3fd603d783d7 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -12,6 +12,8 @@ DIST hypothesis-6.156.9.gh.tar.gz 9621697 BLAKE2B ff3b9f098c9097285976a44c68f1c4 DIST hypothesis-6.157.0.gh.tar.gz 9623883 BLAKE2B 6c0d9f3db009286e63654561528f230fe74fc7aea62a73e417b469bba89b756cbfa28b5ce5e51e79614ad49a602af677b85ee81f20ce9a4e68285fb6a9b40688 SHA512 bb3267fba9078ccfdc8413951bc3c33366a03c0be1daeed88b76264d72f275f7fc80e693112e450d83512df3daa086f1572858635633807110840ac65f421a8b DIST hypothesis-6.157.2.gh.tar.gz 9627621 BLAKE2B f7e9c4bc145912b523339958efde77eed366b143a9e41102ddd31ee3c4874f5cb01b087abce0f6cdb473fd115015a062d25f9a5c40905b8a5b3d91211c1db287 SHA512 69037e21f93a742ab75ec40b33fe2e8896725c32d671c109fccd06a52a5e657b1fb937a7fdafa8acbf22e4980e5131ff928e14565a8728ad0e21be128379e500 DIST hypothesis-6.160.0.gh.tar.gz 9642148 BLAKE2B a78c6cd13ec95e15173abed213f4debf2f4e1d103ad299cb5a88cb23408789bcde5c9e5dbc0b545015cedaea8f1fbea0f3e509e23535b7fb8416dff1a9358ee6 SHA512 eb50951ce13785ea39ec50eacc439c8afcf0063ba610d617ba9d134e55afa764af880247dc54e590c7fcea733a803238f3d7589c253863615db87e4701a403a3 +DIST hypothesis-6.161.0.gh.tar.gz 9642964 BLAKE2B 2b61a1e188113e98ffb07d63fbe65d42f605a34954bc1eacc876777f3ce8f1ebb52dac436879d7dfff5c99c7656ec3ceaff448a46157addfaf488a7bdee4872b SHA512 f2264e2b7ccdcd2209be9dec093dda2cce35050d984613a9dbc44d2db6324c72563e2f9607a1cc1ffd0a3eb5bd3eb3994d333efb8efa1773004cdae08ac61117 +DIST hypothesis-6.161.1.gh.tar.gz 9643537 BLAKE2B 82d8fc72747c3d724a2194d278f68ea64218a55d69b315011ec28d58a4bdddb138e8198adc4fb8742522807f198af0d60e915e7371f443ac60a2b19bef6fcbf6 SHA512 13643fb7994c487f03f47af8f0c625ce7b9704fff1271617bac7063bc59c6fc7b5fc9eeb978afa31d63cc7b647fc8817f24ba31063c762b2d533952d2ad375e1 DIST libc-0.2.186.crate 821883 BLAKE2B ebe7aac5f8937a8064c64a0d4dc72e5fc794080e09b96c6d245bdec0fd9a19d49ab38e25306e22e47564764cf5dcde45855237cffc70230a143eca2626bd5c3c SHA512 6a58e671ec6811dff9a0d7d4db8f37d38bcbca9efff20dad4706190e5cdb77b426567754bcf0ef0f2d0c31d6506401f724f3ca500b9bed57bb8605b1141ed690 DIST once_cell-1.21.4.crate 35010 BLAKE2B 9117ed1d478e626b7b7be2e3ff8b68a382b051112c7ca4425367bdae86977671f8b5c576131c82fb437740b6d98b72501f718f4172d39781decac2385e8fbd4d SHA512 af67669b0107f44268ba74c355200cb2ed1aab235a6989a8bc54323eb2c9a45677010f8672e7790edadd4c981e939436e0c3a099d33c06dce9c14fd5ede86155 DIST portable-atomic-1.13.1.crate 197001 BLAKE2B 6d0898c2a537a9bf204b7749cca5f5fddf280772b56eb7ce8fdd9cf7d71561137b26ef89f415c40277a1c89981333eef78e5bb4624515a294ba28fdaeb4c70ea SHA512 2a1b31ac9814af884640b3398ab824a9795c72d260527a0966b193113808cfbb3345d50cd1beaebb45863437c3d06c8706d34b26efecceefc649319a4bc274a3 diff --git a/dev-python/hypothesis/hypothesis-6.161.0.ebuild b/dev-python/hypothesis/hypothesis-6.161.0.ebuild new file mode 100644 index 000000000000..8903f56543dd --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.161.0.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +CLI_COMPAT=( python3_{12..15} ) +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="threads(+),sqlite" + +RUST_MIN_VER="1.91.0" +CRATES=" + cfg-if@1.0.4 + crunchy@0.2.4 + getrandom@0.3.4 + half@2.7.1 + heck@0.5.0 + libc@0.2.186 + once_cell@1.21.4 + portable-atomic@1.13.1 + ppv-lite86@0.2.21 + proc-macro2@1.0.106 + pyo3-build-config@0.29.0 + pyo3-ffi@0.29.0 + pyo3-macros-backend@0.29.0 + pyo3-macros@0.29.0 + pyo3@0.29.0 + quote@1.0.46 + r-efi@5.3.0 + rand@0.9.4 + rand_chacha@0.9.0 + rand_core@0.9.5 + syn@2.0.118 + target-lexicon@0.13.5 + unicode-ident@1.0.24 + wasip2@1.0.4+wasi-0.2.12 + wit-bindgen@0.57.1 + zerocopy-derive@0.8.53 + zerocopy@0.8.53 +" + +inherit cargo distutils-r1 optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +S="${WORKDIR}/${P}/hypothesis" + +LICENSE="MPL-2.0" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +QA_PREBUILT="usr/lib/python.*/site-packages/hypothesis/_native.*" + +python_test() { + # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/ + local EPYTEST_DESELECT=( + # broken somehow (xdist?) + 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' + ) + local EPYTEST_IGNORE=( + # require syrupy + tests/cover/test_custom_reprs.py + ) + + case ${EPYTHON} in + python3.15*) + EPYTEST_DESELECT+=( + 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]' + 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]' + 'hypothesis/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' + ) + ;; + esac + + local -x HYPOTHESIS_NO_PLUGINS=1 + epytest -o filterwarnings= tests/{cover,pytest,quality} +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/hypothesis/hypothesis-6.161.1.ebuild b/dev-python/hypothesis/hypothesis-6.161.1.ebuild new file mode 100644 index 000000000000..8903f56543dd --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.161.1.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +CLI_COMPAT=( python3_{12..15} ) +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="threads(+),sqlite" + +RUST_MIN_VER="1.91.0" +CRATES=" + cfg-if@1.0.4 + crunchy@0.2.4 + getrandom@0.3.4 + half@2.7.1 + heck@0.5.0 + libc@0.2.186 + once_cell@1.21.4 + portable-atomic@1.13.1 + ppv-lite86@0.2.21 + proc-macro2@1.0.106 + pyo3-build-config@0.29.0 + pyo3-ffi@0.29.0 + pyo3-macros-backend@0.29.0 + pyo3-macros@0.29.0 + pyo3@0.29.0 + quote@1.0.46 + r-efi@5.3.0 + rand@0.9.4 + rand_chacha@0.9.0 + rand_core@0.9.5 + syn@2.0.118 + target-lexicon@0.13.5 + unicode-ident@1.0.24 + wasip2@1.0.4+wasi-0.2.12 + wit-bindgen@0.57.1 + zerocopy-derive@0.8.53 + zerocopy@0.8.53 +" + +inherit cargo distutils-r1 optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +S="${WORKDIR}/${P}/hypothesis" + +LICENSE="MPL-2.0" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +QA_PREBUILT="usr/lib/python.*/site-packages/hypothesis/_native.*" + +python_test() { + # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/ + local EPYTEST_DESELECT=( + # broken somehow (xdist?) + 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' + ) + local EPYTEST_IGNORE=( + # require syrupy + tests/cover/test_custom_reprs.py + ) + + case ${EPYTHON} in + python3.15*) + EPYTEST_DESELECT+=( + 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]' + 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]' + 'hypothesis/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' + ) + ;; + esac + + local -x HYPOTHESIS_NO_PLUGINS=1 + epytest -o filterwarnings= tests/{cover,pytest,quality} +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/ifaddr/ifaddr-0.2.0.ebuild b/dev-python/ifaddr/ifaddr-0.2.0.ebuild index 0824314408c6..4a8c878f0273 100644 --- a/dev-python/ifaddr/ifaddr-0.2.0.ebuild +++ b/dev-python/ifaddr/ifaddr-0.2.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~s390 ~sparc x86" EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/imaplib2/metadata.xml b/dev-python/imaplib2/metadata.xml index 5a54444ca974..ab58340f9392 100644 --- a/dev-python/imaplib2/metadata.xml +++ b/dev-python/imaplib2/metadata.xml @@ -5,5 +5,8 @@ <name>Florian Schmaus</name> <email>flow@gentoo.org</email> </maintainer> + <upstream> + <bugs-to>https://github.com/jazzband/imaplib2/issues</bugs-to> + </upstream> <origin>baldeagleos-repo</origin> </pkgmetadata> diff --git a/dev-python/jinja2-time/jinja2-time-0.2.0-r1.ebuild b/dev-python/jinja2-time/jinja2-time-0.2.0-r1.ebuild index 4bec7d3c5d75..d3f5d1852458 100644 --- a/dev-python/jinja2-time/jinja2-time-0.2.0-r1.ebuild +++ b/dev-python/jinja2-time/jinja2-time-0.2.0-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" RDEPEND=" dev-python/arrow[${PYTHON_USEDEP}] diff --git a/dev-python/jupyter-builder/jupyter-builder-1.1.1-r1.ebuild b/dev-python/jupyter-builder/jupyter-builder-1.1.1-r1.ebuild index ba8f12f1d6ac..02718c0e34a9 100644 --- a/dev-python/jupyter-builder/jupyter-builder-1.1.1-r1.ebuild +++ b/dev-python/jupyter-builder/jupyter-builder-1.1.1-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD MIT ISC" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64" RDEPEND=" !<dev-python/jupyterlab-4.6.0 diff --git a/dev-python/jupyterlab/jupyterlab-4.6.2.ebuild b/dev-python/jupyterlab/jupyterlab-4.6.2.ebuild index 8508a6ea7d17..f9239300293d 100644 --- a/dev-python/jupyterlab/jupyterlab-4.6.2.ebuild +++ b/dev-python/jupyterlab/jupyterlab-4.6.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD MIT GPL-3 Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64" RDEPEND=" >=dev-python/async-lru-1.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/notebook/notebook-7.6.1.ebuild b/dev-python/notebook/notebook-7.6.1.ebuild index 28296a7bda44..37b888653465 100644 --- a/dev-python/notebook/notebook-7.6.1.ebuild +++ b/dev-python/notebook/notebook-7.6.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64" COMMON_DEPEND=" >=dev-python/jupyter-builder-1.0.2[${PYTHON_USEDEP}] diff --git a/dev-python/pika/Manifest b/dev-python/pika/Manifest index 6528b8eab09a..c9f0e26206e9 100644 --- a/dev-python/pika/Manifest +++ b/dev-python/pika/Manifest @@ -1 +1,2 @@ DIST pika-1.4.1.gh.tar.gz 337544 BLAKE2B e6c402cfefd08e1667de322d3ed6190cafb2abbd18e6e95876528390a9ff92592b7d95db5d2a08e6d1ebd3b112252c0f223d77a1c9542ba9259f0e6bcf670ae5 SHA512 6a40eeb17bb8687648c3c0b2bb791421c1af7275b92e94514adb3d4a5f58743d789616e9de447518f16b57cae9ef37c1e44b841a7239059a564a3a7ef6be5455 +DIST pika-1.4.2.gh.tar.gz 338473 BLAKE2B 01379cefdd2dee3dd9a066ed6528b681670f546ca4bbe58307efbdcf1d2e76f2c9db42a4bda43d5b9e91771305c39747c5dc8a902a3501142bdbf742e8b00e13 SHA512 37e045fe3429c714324c125d2c0d9bec7db8af9c35d4bfa4cfb5b0dcb28cf9a17cdfac150eec64587f8a86c636669f698b5bbdc604f8500bd92abbc162b2e9c9 diff --git a/dev-python/pika/pika-1.4.2.ebuild b/dev-python/pika/pika-1.4.2.ebuild new file mode 100644 index 000000000000..bc49a6e21442 --- /dev/null +++ b/dev-python/pika/pika-1.4.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) +inherit distutils-r1 + +DESCRIPTION="Pure-Python implementation of the AMQP" +HOMEPAGE=" + https://pika.readthedocs.io/ + https://github.com/pika/pika/ + https://pypi.org/project/pika/ +" +SRC_URI="https://github.com/pika/pika/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="test !test? ( test )" +PROPERTIES="test_network" + +BDEPEND=" + test? ( + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/tornado[${PYTHON_USEDEP}] + net-misc/rabbitmq-server + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + epytest -k "not test_with_gevent" +} + +src_test() { + einfo "Starting rabbitmq" + local -x RABBITMQ_LOG_BASE="${T}/rabbitmq/log" + local -x RABBITMQ_MNESIA_BASE="${T}/rabbitmq/mnesia" + local -x RABBITMQ_LOGS="${T}/rabbitmq.log" + local -x RABBITMQ_PID_FILE="${T}/rabbitmq.pid" + local -x RABBITMQ_ENABLED_PLUGINS_FILE="${T}/rabbitmq/enabled_plugins" + /usr/libexec/rabbitmq/rabbitmq-server -p 5672:5672 & + + einfo "Waiting for rabbitmq to fully load" + while ! { echo >/dev/tcp/localhost/5672 ; } &> /dev/null; do + sleep 1 + done + einfo "rabbitmq is ready" + + distutils-r1_src_test + + einfo "Stopping rabbitmq" + kill "$(<"${RABBITMQ_PID_FILE}")" || die +} diff --git a/dev-python/pyrate-limiter/pyrate-limiter-4.4.0.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-4.4.0.ebuild index d81bc22075e1..f9afcbb57539 100644 --- a/dev-python/pyrate-limiter/pyrate-limiter-4.4.0.ebuild +++ b/dev-python/pyrate-limiter/pyrate-limiter-4.4.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" dev-python/filelock[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-tap/pytest-tap-3.5.ebuild b/dev-python/pytest-tap/pytest-tap-3.5.ebuild index 93df8446966f..3fcc06b54dad 100644 --- a/dev-python/pytest-tap/pytest-tap-3.5.ebuild +++ b/dev-python/pytest-tap/pytest-tap-3.5.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/python-tap/pytest-tap/archive/refs/tags/v${PV}.tar.g LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/python-manilaclient/python-manilaclient-6.2.0.ebuild b/dev-python/python-manilaclient/python-manilaclient-6.2.0.ebuild index 2d8417bec6fd..f3ef4a12b227 100644 --- a/dev-python/python-manilaclient/python-manilaclient-6.2.0.ebuild +++ b/dev-python/python-manilaclient/python-manilaclient-6.2.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/pbr-3.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/python-openstackclient/python-openstackclient-10.2.1.ebuild b/dev-python/python-openstackclient/python-openstackclient-10.2.1.ebuild index 476c79958c85..fc9663fe92ae 100644 --- a/dev-python/python-openstackclient/python-openstackclient-10.2.1.ebuild +++ b/dev-python/python-openstackclient/python-openstackclient-10.2.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/cliff-4.13.0[${PYTHON_USEDEP}] diff --git a/dev-python/quart/Manifest b/dev-python/quart/Manifest index 3bec30ec94d5..24c98c09d774 100644 --- a/dev-python/quart/Manifest +++ b/dev-python/quart/Manifest @@ -1 +1,2 @@ DIST quart-0.20.0.gh.tar.gz 746472 BLAKE2B 7c558532e6bbd2b4f37fbde7517700cd5e777faebd6ee2c5249ae774250d222e3e858f22a51ed8012c4695485a880ac7d288c723c615d6d80f7c8593e7eeb441 SHA512 22d99aae1f30ebc50326ed0c589938386d7b6c11398925b1cf326d2efa2d79ca40ad21939acb191b8a804ed78276f213375e20f31b66c7bb63ff28e91047017c +DIST quart-0.21.0.gh.tar.gz 438972 BLAKE2B 483d43b47b087789802d74267bacec3431fb566804042b6f235cf0d2d4218a81d1d9ce8b416a9dad36e74fb0b3559f9193f5cd57c5dc571e56b9b3d104276456 SHA512 27bbdbcc73716305869805f24836f3a4adb50f8ace366a9a706c86040c75c274916087ae578889301990a8841ddc41e142ff89073b5b3bc49eb840becc480763 diff --git a/dev-python/quart/quart-0.21.0.ebuild b/dev-python/quart/quart-0.21.0.ebuild new file mode 100644 index 000000000000..437e7ef2ffc4 --- /dev/null +++ b/dev-python/quart/quart-0.21.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="A Python ASGI web microframework with the same API as Flask" +HOMEPAGE=" + https://github.com/pallets/quart/ + https://pypi.org/project/Quart/ +" +# no tests in sdist as of 0.20.0 +SRC_URI=" + https://github.com/pallets/quart/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/aiofiles[${PYTHON_USEDEP}] + >=dev-python/blinker-1.6[${PYTHON_USEDEP}] + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] + >=dev-python/hypercorn-0.11.2[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/python-dotenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # https://github.com/pallets/quart/issues/465 + 'tests/test_blueprints.py::test_cli_blueprints[cli_group2-args2]' + ) + + epytest -o addopts= +} diff --git a/dev-python/snakeoil/Manifest b/dev-python/snakeoil/Manifest index 7d6bf29b4b1f..90b07109a7da 100644 --- a/dev-python/snakeoil/Manifest +++ b/dev-python/snakeoil/Manifest @@ -2,3 +2,5 @@ DIST snakeoil-0.11.0.tar.gz 201462 BLAKE2B c8d9953b5fc482afbadd471c6de273518d1b3 DIST snakeoil-0.11.0.tar.gz.provenance 9238 BLAKE2B 6724f3cde7cfabdfc44a8e0056a8c112d97ff7ffba98c90c998f8244a7ebf5b38198613b49f0df7dc9106cba6d07a68bb02b6cfaf70d83e6692f730a4fdce1c2 SHA512 990cf993fab784e7878517872183edf91b0a9725c08e618974a05b68c75c35b2bd03e865bd5a3ce21fcc138cbc84a1a0051be40fda639d5f3bcc8c8c0a6ef347 DIST snakeoil-0.11.1.tar.gz 205402 BLAKE2B 5adce8d484b4bfe9936a91368f4aaf618b76365734a75c6659462328641dbcfa5d7dec059a8f3ba6cee626994ed71ef68011e3fa4356e7c8a50c527a46c88ef4 SHA512 ba74e8aea92e52b4643cfcf7d7e4b408567f8b3f8a614831520b8e3c454bfc84258766825285c1495cca4e990b5ac73db8b02f444037ae877531153b29e3a9cd DIST snakeoil-0.11.1.tar.gz.provenance 9560 BLAKE2B 7323544a63f67e1208f01288a09a8254eba31688d57599284b568586109260383ffcf71555963c8998e31cc1974b81de5483e592151bab07efd88f7d1a7cad1b SHA512 1508b466ba8921895279e8b3e8951e338fe240fddae709563d45e47cd948ae2ab51d37664bf3e8780913c45368410ad1704d8b17b2887fffb9bf038f015b4a6e +DIST snakeoil-0.11.2.tar.gz 205822 BLAKE2B 4f7f5a17868562a6216743f3a7bab2c9e0110ce4930ab72b253c52bee2a51279292f6538e774ce9126fee5c8b78c44a02e315c22cf65803c5e82124623768590 SHA512 cad0d03c001366a0d5c80562b5c63b252e202668d8155dad7ae431d254a1d89827032711f224d06e041754e87880b5030e122bc36e1136c825f4c8ef31054a52 +DIST snakeoil-0.11.2.tar.gz.provenance 9842 BLAKE2B 72fe1b24af0cd346d8e2b2d0e12135a14fdec32fc7d29f90dee467d7f98bd60970adad691c588bca96082d75bc3d191828ffbcbd2315f824554e3c7ee4cef39f SHA512 c3f604bf69c4c4fe18c24c7e729ec256ab5831cb44732a22bac2b9204f7393b4e86bcb87fff879f6431b50d9c8d31f2f841751e2a55d8476c08295bcb303c7a8 diff --git a/dev-python/snakeoil/snakeoil-0.11.2.ebuild b/dev-python/snakeoil/snakeoil-0.11.2.ebuild new file mode 100644 index 000000000000..c5ca9f45078f --- /dev/null +++ b/dev-python/snakeoil/snakeoil-0.11.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/pkgcore/snakeoil +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pkgcore/snakeoil.git + https://github.com/pkgcore/snakeoil.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + inherit pypi +fi + +DESCRIPTION="misc common functionality and useful optimizations" +HOMEPAGE=" + https://github.com/pkgcore/snakeoil/ + https://pypi.org/project/snakeoil/ +" + +LICENSE="BSD BSD-2 MIT" +SLOT="0" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/starlette/starlette-1.3.1.ebuild b/dev-python/starlette/starlette-1.3.1.ebuild index 4e0d7192b6f9..021d8f23b592 100644 --- a/dev-python/starlette/starlette-1.3.1.ebuild +++ b/dev-python/starlette/starlette-1.3.1.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm64 ppc ~riscv x86" +KEYWORDS="amd64 arm64 ppc ~ppc64 ~riscv x86" # TODO: default to httpx2? add some flags? RDEPEND=" diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest index ea02e507afc1..772d4333e534 100644 --- a/dev-python/urwid/Manifest +++ b/dev-python/urwid/Manifest @@ -6,3 +6,5 @@ DIST urwid-4.0.4.tar.gz 872046 BLAKE2B 5323c199d34ab4e7afdc26fbf38baf2fe9583a6b9 DIST urwid-4.0.4.tar.gz.provenance 9536 BLAKE2B 40ecc86e3ea98984cae6ad124591cc709c2a41950717ae9aee6306bb620254d84304d45e2fdd81bef05c44730cee7b5a5de2cd16bb464273b9881a0b2b7f9aa4 SHA512 e9691a9c57904a82a3d6523979aa4cd022153b64766c270cda18268338f6740a3db9364f8527dfa136abc96f802dfa474d74b7dfceae7cbbf332a4cac11a58ed DIST urwid-4.0.5.tar.gz 874498 BLAKE2B 5cdfb79940934e801ccf891f84c09d8745f5e96a3ddd50305367e9f72165f4525b83fc9b713d84b2fb2853eb5773f0d18fc13e6376cb848e85ad63d32dab6761 SHA512 60cee9985ef5f09372ec5579b0f9969e81098f4e96e3ece5038291fd0702dd8d73388c78f178f1df7e8149eb6b518d02eb992dee6bd3d567da29cd968aada2df DIST urwid-4.0.5.tar.gz.provenance 9489 BLAKE2B 82739a79ff4e0650b012d2cf25c3e176600884889f73e2c8cbd932e8ef793bf9279dcb6e5c70579f51b22cc2b72020e1493c903f312114e662e4f0fdce6ecbb6 SHA512 2ad9fa3f3c8f355830037f7f5446f2254c75100242f882611257dbf18c67ada13b6b1dfd6fa64c8151a09e79e2be414fccfd00964660337475c6f3a89f340de5 +DIST urwid-4.0.6.tar.gz 877110 BLAKE2B 0020370cd25b856fe279c30e85a2802bf81fb2a88859d1c45f5ab72623c5d647c636a5a5559dcbaaef4e09e22bba62ede47aee85440ed29332a19c802bf8da18 SHA512 149b506484be6b79bd9933876d2d31d7d6fdae1bb568c13b36a3cf79ca8de76a83bd944095c46a128ef1264b63c7ffa32222b3ad8f5c6d24422417084dd94879 +DIST urwid-4.0.6.tar.gz.provenance 9822 BLAKE2B 05f3b4007bd4ddd7aa5ee57a542c3e99472bb7be489b0a493fe31e84996bfecf4783021f565e9ed39d29bd390d46487036e5e846862c2092443776a39cb2c80a SHA512 b70df2f633d82279d9e8b9a7b003693b37a32673a3aca8ced17bb9f83a924cd44be1918fa6e7d2683ab53c0be822eaf029e92e952bb9f1d27bd102934336e1a4 diff --git a/dev-python/urwid/urwid-4.0.6.ebuild b/dev-python/urwid/urwid-4.0.6.ebuild new file mode 100644 index 000000000000..f840d3f28004 --- /dev/null +++ b/dev-python/urwid/urwid-4.0.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/urwid/urwid +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Curses-based user interface library for Python" +HOMEPAGE=" + https://urwid.org/ + https://pypi.org/project/urwid/ + https://github.com/urwid/urwid/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/typing-extensions[${PYTHON_USEDEP}] + >=dev-python/wcwidth-0.4[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e 's:--cov=urwid::' pyproject.toml || die +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Trio event loop" "dev-python/trio" +} diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index 30243b0c6136..7968fc542e22 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -10,3 +10,4 @@ DIST uv_build-0.11.28.tar.gz 408697 BLAKE2B 2c318b2f6f734f1da4bed3ea0bba8fa4ef51 DIST uv_build-0.11.29.tar.gz 411484 BLAKE2B 4a9250bd8ecb4967c222f5ed0842c6415963a3423b593f59dfb87a2fa343839abb0d77f1cb1f90d69ac45c54722cde8ff68e3e567478f54a0b21ba74fd4d55fd SHA512 c9722cb2575d9d0b50ba36b53b8cb2eae35f18e2da92ea7eab74743354e8b17034172f2c932e381cf158d2d748103d9bcb97ba383e465f7770efc2dc11ae2dc6 DIST uv_build-0.11.30.tar.gz 411771 BLAKE2B cad2c9697121953768006433ce0b93cbb3e9ce3624c072ade08b226fceb1c33842ba1c9aacb363d24c864ae6449c9b8a4883da85f036844bfb5038c69880bb9f SHA512 651cef152185689eadcfc33fd9f3293c1c4ade67b59fd4b17634182acbaa9994503ae111a738e770a172ade09c634e9ce68b57767708d2cf73a9db7f9975c60c DIST uv_build-0.11.31.tar.gz 413503 BLAKE2B dae972a5c269555c3a98ee69dc45882a9f0c6a7293449bc33b18357c6263b892ac8015bf9cb3d10288c027bed5207cfd994127bd0060139f61373f2c4429e342 SHA512 e4b58173395c1da961ad5ec6c9b8862646c2fc71b902c3e3cb3507ca5a915617b29c794008b10cb8b796fb0f6a13420f730e0640576f7deeac22e832204abee2 +DIST uv_build-0.11.32.tar.gz 413653 BLAKE2B 8951cd4ddc44655a177c6cccbf81fe871306f1096161ea46cec8bf52b56de713b4d91c469e44913c140229ae61595cbdcbd5b2e0cbb7c791f7937c9fc9db898c SHA512 3732f141b2ffeaed8f08dadadb2b5e72c2d60e0cb9a13c7d6b7360471606afbaae88d841db655b79ca2753ef4e2e18dbb51464e6669c57aed98ee19219fa5b56 diff --git a/dev-python/uv-build/uv-build-0.11.32.ebuild b/dev-python/uv-build/uv-build-0.11.32.ebuild new file mode 100644 index 000000000000..d66584ed2ede --- /dev/null +++ b/dev-python/uv-build/uv-build-0.11.32.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/uv-${PV} +" +BDEPEND=" + test? ( + app-arch/unzip + dev-python/build[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # use the executable from dev-python/uv instead of building + # a largely overlapping uv-build executable (at least for now) + sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die + + # replace the build-system section + sed -i -e '/\[build-system\]/,$d' pyproject.toml || die + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["uv_build<9999"] + build-backend = "uv_build" + backend-path = ["src"] + EOF + + # rename to make uv-build find it + mv python src || die +} + +python_test() { + "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" + + local zip_result=$( + unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die + ) + local zip_expected="\ +Archive: dist/uv_build-${PV}-py3-none-any.whl + testing: uv_build/ OK + testing: uv_build/__init__.py OK + testing: uv_build/__main__.py OK + testing: uv_build/py.typed OK + testing: uv_build-${PV}.dist-info/ OK + testing: uv_build-${PV}.dist-info/WHEEL OK + testing: uv_build-${PV}.dist-info/METADATA OK + testing: uv_build-${PV}.dist-info/RECORD OK +No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ +" + if [[ ${zip_result} != ${zip_expected} ]]; then + eerror ".zip result:\n${zip_result}" + eerror ".zip expected:\n${zip_expected}" + die ".whl result mismatch" + fi + + local tar_result=$( + tar -tf "dist/uv_build-${PV}.tar.gz" || die + ) + local tar_expected="\ +uv_build-${PV}/PKG-INFO +uv_build-${PV}/ +uv_build-${PV}/README.md +uv_build-${PV}/pyproject.toml +uv_build-${PV}/src +uv_build-${PV}/src/uv_build +uv_build-${PV}/src/uv_build/__init__.py +uv_build-${PV}/src/uv_build/__main__.py +uv_build-${PV}/src/uv_build/py.typed\ +" + if [[ ${tar_result} != ${tar_expected} ]]; then + eerror ".tar.gz result:\n${tar_result}" + eerror ".tar.gz expected:\n${tar_expected}" + die ".tar.gz result mismatch" + fi +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 781e7797fc05..e540926c1031 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -22,3 +22,5 @@ DIST uv-0.11.30-crates.tar.xz 43265592 BLAKE2B ccbeac888d7902a32ea69d5a04f02deee DIST uv-0.11.30.gh.tar.gz 7407810 BLAKE2B b999322f54e4180a1301823e5ce1968d07b598f48a5ac5c4b8572009417be0f6ec724dba5595353fd026c6e0ef4fa6beec450ca06bc4c0f21b9260823c45bafb SHA512 40d35103b86f17ba0315cb0ca6f74aca5b004cd7b9a0e30efd089e048fcf4e213cd6c8752064595b45dda7e6eaedf0bf6d8eadda1fb93ee3a653897be6f23d7a DIST uv-0.11.31-crates.tar.xz 43219524 BLAKE2B 0bcf077c48985bc4a790757b024299497c0577dacd311c2dd581979f08f797bf87010796c8f5a0bd2cf4f4df278f949ed520aac350e5ec7e75a7bd302544bf77 SHA512 ad2cf08b2ef5b38a0bb2dbd89db4039bd07ec95860611528dfbb226706443e3ed63719b9d77ca80459cf55c59188b4d57c1b13f058aea229ab81c104544c028a DIST uv-0.11.31.gh.tar.gz 7422584 BLAKE2B bad5203ebc82fbf382c3c72ef6f2b284d46f7b9594992ac6d4ed676335a5cc94dca3dedcb5d164463a6c2c4ca6d19d43c93037326f38dc5314d29c561368f5a5 SHA512 7ae3789adccaf9fafcbb55843c719ff7167d33905587a34b2b423d04203204dcbfa9fcb8c6584ff10400d26ea71e8f44999c420511bd992ea7dfb25504b68d09 +DIST uv-0.11.32-crates.tar.xz 43219524 BLAKE2B 0bcf077c48985bc4a790757b024299497c0577dacd311c2dd581979f08f797bf87010796c8f5a0bd2cf4f4df278f949ed520aac350e5ec7e75a7bd302544bf77 SHA512 ad2cf08b2ef5b38a0bb2dbd89db4039bd07ec95860611528dfbb226706443e3ed63719b9d77ca80459cf55c59188b4d57c1b13f058aea229ab81c104544c028a +DIST uv-0.11.32.gh.tar.gz 7152494 BLAKE2B 87affd2964fa0e4766063b563b6f5155bdabe88362c2154979447f1d2c3b247a63a836df5987ffdd5ef6bab178796915ca8b80dd2c1d61d72bac5aaa40944683 SHA512 cd1c810400b0712f93fa8dd56ca55b726c22e33f8655ab48011f34f8c2a69d8f517ccd758f0cc0a3a293ee1eae2bac994577073d3e2cd7449ff7a43ba2f88194 diff --git a/dev-python/uv/uv-0.11.32.ebuild b/dev-python/uv/uv-0.11.32.ebuild new file mode 100644 index 000000000000..de57cdcfd841 --- /dev/null +++ b/dev-python/uv/uv-0.11.32.ebuild @@ -0,0 +1,162 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.95.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 + CDLA-Permissive-2.0 ISC MIT MIT-0 MPL-2.0 Unicode-3.0 + Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF + + # uv is now forcing bundled liblzma, sigh + sed -i -e '/xz/s:"static"::' Cargo.toml || die +} + +src_configure() { + local myfeatures=( + test-git + test-pypi + test-python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + dobin "$(cargo_target_dir)"/{uv,uvx} + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/uv/uv-9999.ebuild b/dev-python/uv/uv-9999.ebuild index 6f94cdce6bd2..5498bfbc3c21 100644 --- a/dev-python/uv/uv-9999.ebuild +++ b/dev-python/uv/uv-9999.ebuild @@ -31,7 +31,6 @@ RDEPEND=" BDEPEND=" virtual/pkgconfig test? ( - dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 dev-lang/python:3.12 diff --git a/dev-python/xvfbwrapper/Manifest b/dev-python/xvfbwrapper/Manifest index 223853724e4d..f39b9a21854b 100644 --- a/dev-python/xvfbwrapper/Manifest +++ b/dev-python/xvfbwrapper/Manifest @@ -2,3 +2,4 @@ DIST xvfbwrapper-0.2.23.tar.gz 13130 BLAKE2B 77556dafbaec6a74db9d6033424cf4d5122 DIST xvfbwrapper-0.2.25.tar.gz 12711 BLAKE2B dc063eab0316f10797926f59714317cfe58a7692234ad451b160641e1561ff3eb51a5fb15c3803b54507e42dc4be4e87ffc9723dc901b29221fd910f0adf01ae SHA512 8fd1d33282c18f4e98a399b3ef8fb640ca8acf8b323b90e732c23a5c1168b6eff7a89314ad9508ec7d1c2ac8a0c72b723199629a6dcfc2df353113df37012127 DIST xvfbwrapper-0.2.27.tar.gz 12716 BLAKE2B ae79a18c0bce0ce2ba48242b845370083b3db70411c22b59deacbba1dc727a320f27c93613b71002c3dcbb0ecb3ac2b9b1590d9f01c1b77b8817a676672b7d15 SHA512 4cf5254767d483dad45d9365e9cc09c98a1bce0ea730994d5db0516f7ff84596d06d7ca0fde884687920052742390ee981af2241b8db4c95e850aada7c23575c DIST xvfbwrapper-0.2.28.tar.gz 12830 BLAKE2B df12edac5361cdbbfedd148041a123d156ac43e9ac181396e7cf3caf20646173277f38726b1e8bfbb8630fbbf03dd8367d0f29bb3e77f41f35511dcd0d2296d1 SHA512 04638b5d0724ef60a6ae182b597279c46d8814bb86e5318de43241130e0c7a57d0a46f8a836c103cebaaf4fa56663fd9727d638d3e2770f76fadefddcf8d4381 +DIST xvfbwrapper-0.2.29.tar.gz 12853 BLAKE2B d6d931a9742e29e34bc1506da2121c67eaf3bbcaa61f2c14c61fc2a7baaf4424949f836248917903264a7f64c425e8f20a6fa631a789fbff4a0c071a8d59dd47 SHA512 c546c7db922dc0027450a9526e94102cdcc0ac322c106574fb35ff70315daa6b4c1d1319aa240259fb1574af129227835cd3a0670dccf89b5d81f6e7b9a643c5 diff --git a/dev-python/xvfbwrapper/xvfbwrapper-0.2.29.ebuild b/dev-python/xvfbwrapper/xvfbwrapper-0.2.29.ebuild new file mode 100644 index 000000000000..787856574075 --- /dev/null +++ b/dev-python/xvfbwrapper/xvfbwrapper-0.2.29.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper for running a display inside X virtual framebuffer" +HOMEPAGE=" + https://github.com/cgoldberg/xvfbwrapper/ + https://pypi.org/project/xvfbwrapper/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + x11-base/xorg-server[xvfb] +" +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest |
