diff options
Diffstat (limited to 'dev-python')
38 files changed, 749 insertions, 293 deletions
diff --git a/dev-python/channels/Manifest b/dev-python/channels/Manifest index 93bbf2713782..b58c0c2009cc 100644 --- a/dev-python/channels/Manifest +++ b/dev-python/channels/Manifest @@ -1 +1,5 @@ -DIST channels-4.3.2.gh.tar.gz 206077 BLAKE2B c0913d67dc74bc728dd828584cf803b4ad175bab717de71ccf1e1c5b6aaca296fd15d011deb07b2876e63b7daaefab5e5ee24c323e907b3c563f5358759f14b8 SHA512 29d9c91aca721fad44143978863c45812bf596bb65cf99084803f78d85c664d5cc7ca1015df151cdc27754b822c9cfd18102989b6e5f59bc50257f6c9d8b8b3e +DIST channels-3.0.5.gh.tar.gz 200118 BLAKE2B 7a7653f986face1e87369917317db013e5c9fc912c6e2d7c737054ffef167bd01feb48f7e2d00d0d331e7a16093478e5416645717aed59e46dfec8f9b3641a2e SHA512 b12d1aec9602b702b5a097e9ca52dccad49940f82fcbe5594890c9bd1f1879a2fcf0f29630ca53e4972a26853df8f71d07d7b2cccd876abbf2417a76dee281bf +DIST channels-4.2.2.gh.tar.gz 197010 BLAKE2B 321bf62c68038ce511145acd43c036dd298d58056f20ab2d676c3e3a8d6360a86a4f07c8f9ed6c123f888c012d69da22cfae4fb477dd5422cf326bf2de6a4c8f SHA512 8f7c8f27981988fed8ec254db91ce0a130b24842949ef94cc9ae21b4a259a7003654ec86c4e18aa81924e26d9b81b6a2aafaac404e490cbdda6b4a100476917a +EBUILD channels-3.0.5.ebuild 936 BLAKE2B 788d0e9a2822dd9d0ed2d1d1a62135aeb5f244710b66f7591962518a5204cde5b8e779280783dd1d1a1b1a3fa9b272a0eb457f1d88d62c8ecefc8f67384929ef SHA512 89003fa68c7ab1cdd1a329f4389ba6fe28f491217a70c03b2979a992b450d8aa1a02f024f073ad5fc0aa1d093d81c6c8b1adaa45bdc9a179f5bd1607d85c13ef +EBUILD channels-4.2.2.ebuild 829 BLAKE2B e5946c4a0eaf9fb3ffa2092a3d5d49d3d6ee16f151483fa2b716c8bab3350eca5e330a22822f881421d8882ffb970f4c56154c613477d094319e46addf1a5537 SHA512 84ce30d87a654c1a89ac299fb0f6447ca9c736e4b63497d83fc2687384e9cbe8094ba8f5021a19f726f9bae97c6b6d11eddef6a9ee5c275efe827bf95d3848ec +MISC metadata.xml 445 BLAKE2B b4c0a41d6caadfbc53cbba3c41f8b7689a286b3f8d285c37a88a1f79d8dc350b82fea255048c022b92091a1e0cc67bf19645d6c32183b82a6dd49cccadf5078f SHA512 380c8b98efe8d9a2513c51899b7de90b115d4a51f104f46b552ff8929c322850e511e245a2ba0e976213416ae7241a17292ca98248caacfc891fcdcf5cea5d44 diff --git a/dev-python/channels/channels-3.0.5.ebuild b/dev-python/channels/channels-3.0.5.ebuild new file mode 100644 index 000000000000..03a4923889fe --- /dev/null +++ b/dev-python/channels/channels-3.0.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Extends Django abilities beyond HTTP protocol" +HOMEPAGE="https://github.com/django/channels" +SRC_URI="https://github.com/django/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/async-timeout[${PYTHON_USEDEP}] + >=dev-python/daphne-3.0[${PYTHON_USEDEP}] + <dev-python/daphne-4.0[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst ) + +distutils_enable_tests pytest + +python_prepare_all() { + # https://github.com/django/channels/issues/1915 + echo 'asyncio_mode = auto' >> setup.cfg + + distutils-r1_python_prepare_all +} diff --git a/dev-python/channels/channels-4.2.2.ebuild b/dev-python/channels/channels-4.2.2.ebuild new file mode 100644 index 000000000000..710613a7cbd1 --- /dev/null +++ b/dev-python/channels/channels-4.2.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Extends Django abilities beyond HTTP protocol" +HOMEPAGE="https://github.com/django/channels" +SRC_URI="https://github.com/django/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/asgiref-3.5.0[${PYTHON_USEDEP}] + >=dev-python/django-4.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/async-timeout[${PYTHON_USEDEP}] + >=dev-python/daphne-4.0.0[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme diff --git a/dev-python/channels/channels-4.3.2.ebuild b/dev-python/channels/channels-4.3.2.ebuild deleted file mode 100644 index ffafd1ece52b..000000000000 --- a/dev-python/channels/channels-4.3.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 #pypi - -DESCRIPTION="Brings async, event-driven capabilities to Django" -HOMEPAGE=" - https://channels.readthedocs.io/ - https://github.com/django/channels/ - https://pypi.org/project/channels/ -" -# no tests in sdist -SRC_URI=" - https://github.com/django/channels/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - <dev-python/asgiref-4[${PYTHON_USEDEP}] - >=dev-python/asgiref-3.9.0[${PYTHON_USEDEP}] - >=dev-python/django-4.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/async-timeout[${PYTHON_USEDEP}] - dev-python/selenium[${PYTHON_USEDEP}] - ) -" - -EPYTEST_IGNORE=( - # avoid daphne as it requires autobahn - tests/sample_project/tests/test_selenium.py - tests/security/test_websocket.py - tests/test_database.py - tests/test_generic_http.py - tests/test_generic_websocket.py - tests/test_http.py - tests/test_testing.py -) - -EPYTEST_PLUGINS=( pytest-django pytest-asyncio ) -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/channels-4.3.2-fix-install.patch -) - -python_prepare_all() { - # avoid daphne as it requires autobahn - sed -e '/"daphne"/d' -i tests/sample_project/config/settings.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/channels/files/channels-4.3.2-fix-install.patch b/dev-python/channels/files/channels-4.3.2-fix-install.patch deleted file mode 100644 index 18eca8f75445..000000000000 --- a/dev-python/channels/files/channels-4.3.2-fix-install.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/setup.cfg b/setup.cfg -index 742e1f6..43d8c0d 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -52,7 +52,7 @@ types = - - [options.packages.find] - exclude = -- tests -+ tests* - - [flake8] - exclude = venv/*,tox/*,docs/*,testproject/*,build/* - diff --git a/dev-python/channels/metadata.xml b/dev-python/channels/metadata.xml index 0dec5a678a5f..7093cae71294 100644 --- a/dev-python/channels/metadata.xml +++ b/dev-python/channels/metadata.xml @@ -2,10 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> - <stabilize-allarches/> + <upstream> + <bugs-to>https://github.com/django/channels/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/fido2/Manifest b/dev-python/fido2/Manifest index 1e67565a3dfb..db0c1b0fffc9 100644 --- a/dev-python/fido2/Manifest +++ b/dev-python/fido2/Manifest @@ -1,2 +1,3 @@ DIST fido2-0.9.3.tar.gz 217894 BLAKE2B ccc3a9b59045216037664b5bf4b969a79b86b300f67fc4253b563acbbee98912ea076996772f17b88141d2a36a933b4926de96f05c53e204d0bb4eaaa2daad6b SHA512 f105c347784cdfab88ab08852227d24f4bca623145f7f76bd066dadab6ada1eae751934fd4dc7436a5c5fb3a0ed2fc4d5c59bb2a93888d470028f0713ca7e09e DIST fido2-2.1.1.tar.gz 4455940 BLAKE2B 1d45ca8b3ebd3a010c8b055b169340a2c288ed53f52d6341a3cc887b873c44d10c8734e3d908c746ea77131fb80013f94a53f7fb70702c8f51bb564ad8906657 SHA512 883cfaf0c0cd304f467fcd515417c456fde353fcd991fa6aaf74fb12ba97a378d082f2fe0ae435bcf14a8c284e0b4665c721410ad2315bc8922e2f09d16d7cac +DIST fido2-2.2.0.tar.gz 294167 BLAKE2B 189a86d4c003b0070063fbad55f618dbd973c6e8cb701a42ed7cf5af757d1e5d69e92b17f44a180ff7a6c219332e4ac7b3288f78fc50ef398081e77a7c330048 SHA512 bd250e77ff239256240b153da61c525232bb83c056becdce588ef8c287bfccb0ebdfc6d2ac1b7f50a857abc229f9c8a46d99092d26579f68649de5cdd1e15fa2 diff --git a/dev-python/fido2/fido2-2.2.0.ebuild b/dev-python/fido2/fido2-2.2.0.ebuild new file mode 100644 index 000000000000..713c471403a2 --- /dev/null +++ b/dev-python/fido2/fido2-2.2.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python based FIDO 2.0 library" +HOMEPAGE=" + https://github.com/Yubico/python-fido2/ + https://pypi.org/project/fido2/ +" +SRC_URI=" + https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz +" + +LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0" +SLOT="0/1.0" # Bumped every time a backwards-incompatible version is released +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + <dev-python/pyscard-3[${PYTHON_USEDEP}] + examples? ( + dev-python/flask[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin + sed -i -e '/cryptography/s:, <[0-9]*::' pyproject.toml || die +} + +python_test() { + # skip device integration tests + epytest --no-device +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + docinto examples + dodoc -r "${S}"/examples/. + docompress -x "/usr/share/doc/${PF}/examples" + fi +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..d12ab8aeaca8 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 7100f5f39dd8..271137de443d 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/osc-placement/osc-placement-4.7.0.ebuild b/dev-python/osc-placement/osc-placement-4.7.0.ebuild index c8656e313606..3b20ac7f6f4f 100644 --- a/dev-python/osc-placement/osc-placement-4.7.0.ebuild +++ b/dev-python/osc-placement/osc-placement-4.7.0.ebuild @@ -24,15 +24,17 @@ RDEPEND=" >=dev-python/osc-lib-1.2.0[${PYTHON_USEDEP}] >=dev-python/oslo-utils-3.37.0[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - >=dev-python/coverage-4.0.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] - >=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}] - >=dev-python/stestr-1.0.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-4.2.2[${PYTHON_USEDEP}] - ) -" + +# Tests disabled as it depends on dev-python/stestr which is masked for removal +# BDEPEND=" +# test? ( +# >=dev-python/coverage-4.0.0[${PYTHON_USEDEP}] +# >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] +# >=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}] +# >=dev-python/stestr-1.0.0[${PYTHON_USEDEP}] +# >=dev-python/fixtures-4.2.2[${PYTHON_USEDEP}] +# ) +# " EPYTEST_IGNORE=( # Require the placement service to be packaged, too @@ -47,4 +49,4 @@ EPYTEST_IGNORE=( osc_placement/tests/functional/test_plugin.py ) -distutils_enable_tests pytest +# distutils_enable_tests pytest diff --git a/dev-python/osc-placement/osc-placement-4.8.0.ebuild b/dev-python/osc-placement/osc-placement-4.8.0.ebuild index c8656e313606..3b20ac7f6f4f 100644 --- a/dev-python/osc-placement/osc-placement-4.8.0.ebuild +++ b/dev-python/osc-placement/osc-placement-4.8.0.ebuild @@ -24,15 +24,17 @@ RDEPEND=" >=dev-python/osc-lib-1.2.0[${PYTHON_USEDEP}] >=dev-python/oslo-utils-3.37.0[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - >=dev-python/coverage-4.0.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] - >=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}] - >=dev-python/stestr-1.0.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-4.2.2[${PYTHON_USEDEP}] - ) -" + +# Tests disabled as it depends on dev-python/stestr which is masked for removal +# BDEPEND=" +# test? ( +# >=dev-python/coverage-4.0.0[${PYTHON_USEDEP}] +# >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] +# >=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}] +# >=dev-python/stestr-1.0.0[${PYTHON_USEDEP}] +# >=dev-python/fixtures-4.2.2[${PYTHON_USEDEP}] +# ) +# " EPYTEST_IGNORE=( # Require the placement service to be packaged, too @@ -47,4 +49,4 @@ EPYTEST_IGNORE=( osc_placement/tests/functional/test_plugin.py ) -distutils_enable_tests pytest +# distutils_enable_tests pytest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index d73b45f5cb48..f08426cad337 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,5 @@ DIST pypdf-6.10.1.gh.tar.gz 8404717 BLAKE2B 14f552547f08d30147d4b4504dd356f1119c2acc6146086995b6dbe4a81a961335dd7e97f225506b5358c5a6790a5aa0a6f4ba43f63416ba6c14983aee7b2dff SHA512 065ff9a934c7213045f0fb4c1700de9d200dfeed9427a24e3e3b38ef4fbb50373afed2c1829a3241e7d40203a4331e99f56850638e1a9d069e0c51ec1fe3557f +DIST pypdf-6.10.2.gh.tar.gz 8408895 BLAKE2B 50d6bdfbc2483f7ffbb8d22a0d9b23230fdf6592ff4a75f806388d85e2a8327e21d17e1a0eb0dea502de3f49e7345a689c7dc4dc5ad29ee5499b3be11b909782 SHA512 d17c24a92a660593379b432af25c1a4009df4bb467720fa3fd5f8c616ce2e21fdf1eff6a8ad3cb7cccc8d8a71b8781cd4a499502aa15a84794b155ec84521214 DIST pypdf-6.7.5.gh.tar.gz 8386598 BLAKE2B e3b49c4a5f00769f89b4973677c798b6e00a6e3d2f47ccd4d2e89f21496fc24bac9a73a5c469f4ce9b50ab4ff3738f08710bef3f8ece44dbf75e23229618098f SHA512 1d33acc25027fae56e5a94ea496771cc033b5a42598b05f5d1bc28171974834f5ab2fe247c4da7d8917ade9b3640c2d615e5e3230b1cac64ba542683c743d9b9 DIST pypdf-6.9.0.gh.tar.gz 8394613 BLAKE2B 9e127c143aa4f5e92dd0fbe930651d05ee3cf0c39f8d06344db054681443f03a38a00e73200b44e0af5a419d4379e90e9a3e70bf1be32ee8fbc337ea7e7e4bd1 SHA512 eb223c3d1b0446505a75e37fcb1f6d6f976e88e0d3d5f34033a112c0ff1bebc2628d314877a186a3de9506f891b8b8901fc386e89ca77cdd507a61f6cec4e174 DIST pypdf-6.9.1.gh.tar.gz 8395503 BLAKE2B 5b3e515383fd3e17846caa4ecffd1b975832fce3e2d80402d1048c7f082ad273e62193f313f477ceec6a06bd3a4d42ff305e8c8e293a82e52b46bec9841a5689 SHA512 2e15c9de64e934c07c0ac5c0afd2362f5d65e6b5477acc07f01ffd5875b4d78595c483d7d268c833d531ccde2511327de49b52e2e8e2cd0a9b0a095bec2d1ce8 diff --git a/dev-python/pypdf/pypdf-6.10.2.ebuild b/dev-python/pypdf/pypdf-6.10.2.ebuild new file mode 100644 index 000000000000..1af29f6831a9 --- /dev/null +++ b/dev-python/pypdf/pypdf-6.10.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=65e82ed36c1efd9bd7172a35c8dcfd6e18aabfb2 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/jbig2dec[png] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pyrefly/Manifest b/dev-python/pyrefly/Manifest index 93fb823f284d..ff96f8190da8 100644 --- a/dev-python/pyrefly/Manifest +++ b/dev-python/pyrefly/Manifest @@ -190,6 +190,7 @@ DIST memory-stats-1.2.0.crate 11060 BLAKE2B ad3d5dc6e90099bb70f48a6cf56446de1e1f DIST mimalloc-0.1.48.crate 4742 BLAKE2B caebd736d598c17e0b09f2695175789d227e9999e30a76d5cd7a5c04399bd1877d9ed60fa5986a96f10962b7877f533813d2a3ecce4f43c79aa8ec2de7b7172f SHA512 c12fc48e673c323bf7bf850553695b1fdbc63795e3849028a15490421f072745b9208501ddb7394d3f93f2c1a569636ee8e77cdb37340c52762ce0d3af3fc1ac DIST miniz_oxide-0.8.8.crate 67065 BLAKE2B 8cffe475d689a07246c00f979db6ea37d7e2ec3f8f2e6b5ac548f1182ec97e2ef1374e26ef275edb6f67814f33e32f130f77dc6731fc33f2e786bd9eb3ff22a5 SHA512 3537bb17c9d67c71b601e48008d44c51ba087ef4c827c5fc04b08ab09df92e87392c56b03ff52c66323f5923130580a81f4641d549ebb3f5f7e36bfab90bad04 DIST mio-1.1.1.crate 105630 BLAKE2B db279c3e46108375f5391a5ebc3ae07e8ccbcc9f6a71aa41996adb862c5d2b965af3cb0da25becdadb16d401ae69ccf5a07e21b0b6fb36e07294633cdf690141 SHA512 0b1c82773f5cc3f33ccb80a2cfbd58e48ffac82934afa7d9ec632b36484f8a13a079802dd8a658dbc94fc158e597e4d7a2c02a799f7b506a7de98fe74e80e684 +DIST mio-1.2.0.crate 106403 BLAKE2B c9b2342879cf19b95c9b9e472fd5e8caa6f6371bc7734b6d9af71c736a4aa218837ac3c8a1f84d1fd1ce4bfed9ff417d319f47e52c4d637b15e2a179f859c3ae SHA512 148daec8a99b63ad5742695ce7b5306d32dfcb484fc819b1220079c59219695d2892bbf83b65aa2dd76b68272fa195d353ecb28d9de795e176c4a38be729b04c DIST nix-0.23.1.crate 240531 BLAKE2B 8e03f4edbad39a467c1557083cfbbd6eff4b78d5ec4e0f1ba06eb043f853352f5154f115ce75556e0d672f0499a9d4c03650bc5a1f57ba1b920cd1595cc50ea9 SHA512 23431030b094ebb027200d8cdc05d0ac1730fbb86ee088795a2314f1ba19b76ed5f24373c1aba8125575bf69f8e7d4d9c08344b9cb49a4ae3d8f7987b5f4e6b6 DIST notify-8.2.0.crate 39067 BLAKE2B 34792d7e0d43dde7ac70158dc3a0059c0cf86cbef9160e8f10a3292581ff866fba5c6cb000212789a47ae083fae0a65ae5180a49b5d40008bb0709b637ca1e0c SHA512 5b68f2437a2798aac5c240a10aac642708ef9ceefd58f448e7d37facd148768080cd3712e352e1736f910b660609753b47d8e00d4c6d0936cc5009c4d32084e9 DIST notify-types-2.0.0.crate 14495 BLAKE2B 4e647ec4682d8cd27b6dede818bb98bd1fbdb6c4d983687057fc1f86e3eb56832d25dc83e7700639e1289da76e3dd987d89648ce438e5869c3236847cd8dc91d SHA512 2364311cb22104a661ee4f0b687777f5887c988a3760162a0b51cece66ce99838bc2224f346994687057fda1e19c01e6b1cf812eb1de8e3aad9667b229f9e5ec @@ -234,10 +235,10 @@ DIST pulldown-cmark-0.13.3.crate 154953 BLAKE2B f732e8af5ff90ae77d923ce484f14c71 DIST pulldown-cmark-escape-0.11.0.crate 6719 BLAKE2B 232d5e5efaa6c9b5ba140051e21cbc16b46b32fc40931bf434fe25c24fea5d8a39e47926a6256a826548081e246b4ae36c41c7449a866cdaf60037eb64ee0965 SHA512 b8244d6c93a983bcade5e1ff699f334aa72eb638b7e4d22cc746b713b1d0144e6c1eac243476362a77bfed37a3a13a6315ac8d57920dadee7d2734f4d96023e0 DIST pyrefly-0.59.1.tar.gz 5475432 BLAKE2B e1033e0e42d723f215c7da77879b0dae13779c7850024b5b7810f18c61b10028da4e9d049ba0db04c90104fb8d8569ed67f3f71140df1e9f21b09d1ae98a1eec SHA512 facd6fa9999bb3054fa3678c1918c11b5d5e40fb485c1388052e7f04963408f6b59cdc30a30b72573bf193ca448768776867b6496ab481d22a2c4c01dce200cc DIST pyrefly-0.59.1.tar.gz.provenance 9313 BLAKE2B 614635bf3e01ba72eff920ae958063b22d0ebbc3fd431f07bf7043290eca88bc00f55394dd4903d8a919782a2bc6c8825db18e39edb824089bd60d4b8c2946a8 SHA512 8e1db51651ba4e18ffcada6fb640c49ee498fe15c5e8afa9d837ef6fd317de5951b956264213d0580636ccfaf0ff1bb2e576591debbb39abdedc2b5d0c025d3d -DIST pyrefly-0.60.0.tar.gz 5500389 BLAKE2B df15748c80c276fac9002561712b510ff6ff24322f6db1f1e9aa77ec775ba5b064b2702bed03e34391956463005776a85f113d04a7a37b29192f8f3d3a27b437 SHA512 f3adbc58674e6b62b3d5d6c9d0592e4744cec584000fcf09012ed9922c95583f271cf5df025d2c0fc5da4031870de1a0f791d4cb403a169ed6fec79d8a322708 -DIST pyrefly-0.60.0.tar.gz.provenance 9607 BLAKE2B d31af04faa736eb11ce428db158dde4a16199c5acdaa33320c82f10879b84331058198df4e7a05e6e4bb07917cd357b1e27919349dc11e8ccb64335e55eae3f6 SHA512 484151b85bfa559130a83b9164778c5c08c52c712099a315701f4822f5cfc615804d6b972af5aa6d1073ad8cfd3707b633926002534960ef4c40ba7d31ec9a80 DIST pyrefly-0.60.2.tar.gz 5517467 BLAKE2B 960a1f54ce757eaff0c2524fb5200e1559d4d7e62f3b4bae9a8e73ac3fb3e40b3581b8e9feeda6b1d3760f40caffb99db3bf4e990b2137fa1543e4db29069c18 SHA512 ba6f37e9b216fbec592edfc2775cfd32af4ea4c5d41a893c30e484b2bcc528dc10acf4b6da739b5e99943278d02ed58583218f6a419682c55ca990838db7dfab DIST pyrefly-0.60.2.tar.gz.provenance 9411 BLAKE2B 41afbc21875ed148c13a3c6220adc00354fd54e5a8453d63ec1b71d023ccf62646344fc4ef73d66b12f810ba56031126fdfd294d2cd0b1b4908b6b92e556386b SHA512 f3c893d4e6f14faad5e8358d48754ed19ba3413b460babe9c35ba822abc0a0bef39734d1a755f9375f7cf04e6d5532b476d605294f1b544e70b294534cfddd31 +DIST pyrefly-0.61.0.tar.gz 5520984 BLAKE2B 277612a938fea6e5622733023ef3f6eaad64998e85c2f013bd9702611ea1c4ceca7d2ab159e031af224d8cde97399314796732226382e770a91ad01bd0b1aad0 SHA512 12e3c546c75d9ba7e7f2b11123adc8f5266dc7cf6c25220db2871400613db2335e0510c4b488a97340ec102e1527cadf7150257d20328582a97f6c4929435579 +DIST pyrefly-0.61.0.tar.gz.provenance 9266 BLAKE2B 4510ae6dbb41b574940f0a7c4968381c7c8605404cdf229bcfa40f9fda3670206b3121936bdb9b1676ae1cc325647f8e1d0117bd6e047a393dcf1ab0eae4f8bc SHA512 8f4d377ea919d96abc3c94d78439b062407d31513f121d11661148df4516465f528d9d5032a51f76be352da21479f4903ff49cade814e1fffa2067d832fb0207 DIST quickcheck-6ecdf5bb4b0132ce66670b4d46453aa022ea892c.gh.tar.gz 29222 BLAKE2B 6ef1d6f2fb27f382c78691a952363d5a4263a20f85ba19cba8010b5d7ef6d862f7f5f5c0cb88949a59e81143ba3aeaa4fd2e4cda7371de771ef8f5ca3a5c0d3c SHA512 e52a65947432f3a92d47c54df3645a1b3aa721b74c1357281d9d06c56b85e816794082dfaa1f2f9de2239fa156e2eb18003c6ca4fe3b13fcec4dd90a157aadb1 DIST quote-1.0.45.crate 31564 BLAKE2B 1b2c2c3e6ebabfe10affa4c43ca0bfd1f52d8fd49e1df463e13e63a82de41272089c8e09e4c02e8a33cfee768ace26d4d42a50752de8fb5a776c59806139ad5d SHA512 df96ede01ebd0ed642b758bf1d0862d0e116fc2b3343e14edb657ce5438ccabe743dec4a0a40de4dee98c134d169af9aba459faadf9c7a832b26377e755d49b0 DIST quote-use-0.8.4.crate 3067 BLAKE2B e60ff6700aceb55275013c5cb12f5d6b358879d31173d32aa40d3cc07bfdef26ff70a441e6c56719a43aff527dbc46558117380a0a5ba3a51bc90adcd6eba610 SHA512 eb14fc2fa9f63ab7c544eba0f0de36516896d7389c9bbef82ca4ad9343c720261943d512d04f195989f8fd4347ec169ad400a96ab8d36e9ccac7567b2f22d19a @@ -267,6 +268,7 @@ DIST relative-path-1.9.3.crate 22400 BLAKE2B c6bd04b060013de042079a741a864150632 DIST ruff-474b00568ad78f02ad8e19b8166cbeb6d69f8511.gh.tar.gz 8416527 BLAKE2B ed62c56625d69655ed06163710a3c1fa9c8398252605f12cbe089f0b32c0b6c028033b057994ef9feee136786c9fb449df75e027880779b6460371fc7c1ae743 SHA512 868d53980c56f1b0f0013a5c9ba85e370cae11ff6a748780c2070e8acf3cd44d278230e255c5f4f85b4bc9f1cd40300e9af3fbe154ce975efdb216670c153224 DIST rustc-demangle-0.1.27.crate 30448 BLAKE2B c301ebc7d127c679d95dc77798f738263aed592a9d08cc6a5e3f53a4b48fcdb8ddc824550c35c6274093315d71dd720588e1bb7d6145d1e3975dcdef72c45932 SHA512 da827b28e0be62af85b4b5dc15de06d78058bdf19888ebc7c55a46b533d81e2d8ba922bf032bcfa5334c6c43dd5bb272ae9510ffcf9ca2711a284bfbe245fcc4 DIST rustc-hash-2.1.1.crate 14154 BLAKE2B 7a1b3b82bbbf6a123512815c3e8f068a17890cbbb8b68e88a5a492f62469942fadd776207eebd913052a1c06e1fd37a549e86526b9fc8f08b9ca7cb0044ac16b SHA512 87097d98d47f327d000041ab13acddc366f1500d9c3e5c82169c3358112c7a7c03701c9b3c2c81d9f9da65b7ebac1c479b179dfaf7c059cd0b929b4673e51084 +DIST rustc-hash-2.1.2.crate 14754 BLAKE2B 6e9bd4ca7c27339e5d06bb82139d9d4f18c9b56d4d9cebba69c7dd7220e9cd16b9894881ef1e82adbd8ad01d5255b984952332438c97d55eadf40b320df1fa27 SHA512 0e63079dabc124395e73b585b7c68ce00be583e0809c3ecd2d1cfe0b4d64e2f2870294372c658051fdaeafc51fdd348a461ceaf1b87ebd5f2e2dfc717c2ac5e1 DIST rustix-0.38.44.crate 379347 BLAKE2B 780efaa7c9e7fb78782c552345ead692e4dc87a6e68fe9c972097ed4ef9066b54633c565d4f1b4752e08a1ceceef15ed5d8c11286c7cf17d971648ac5f9d399f SHA512 b7e66a27c9188eff307aa9912852706f686864852a97af0696ac5fc5dccdf2e4d22a69266fa74ac71aa123e2831f24b898b7ee9121850d65cfb56e12bd647d8f DIST rustix-1.1.4.crate 425241 BLAKE2B d0d710cecb9b20fa755e61a27d23b946a5b860211a9e63f34cfde2012bca2b9cc6952b546444a8a06a97ab8bb5817f87fd7fcdc7e3075640fbdb86f189f7f443 SHA512 33619ed2434963a98b0846414656bcc4945ca0e9b883821869fe0cc86db4a74c6961ce1375963ae49c6b5044ad0536eda807dac1320209739c9d669bd80fd75c DIST rustversion-1.0.22.crate 21096 BLAKE2B cdf773cda21ebde50da897c0af0e4af14660ce953d3037054a99d8adc3db2dc6e30a57201a45676abfb183c62016a68069848e7537f711b1752339d194b0a378 SHA512 7929352df3e5279ac88cebb26ca89bb13c755f46986d2d1f514d18a3239a63638bf64f8ff153920569d173185d988d692ee676335afba0bf72d47f71babe0e15 @@ -366,7 +368,9 @@ DIST utf16_iter-1.0.5.crate 9736 BLAKE2B edcd9776113d4d2b267a9cbd58cab11c5497ff1 DIST utf8_iter-1.0.4.crate 10437 BLAKE2B 1e7a8b9241ebbb62cb497542b970473780f735010a0af900771a43abceae4e7f362d21d4f79f7c00630e4549400875ea17574b2cbe4f5ea19e8ed428e3b5577d SHA512 a72671995b3eb295581c60dc632e4a25ba257227fb5d58a8bec322428b6d69529bba79a6f02b8e7ee6698b7779d9d6695f5badad73e07c254b00c9d6256c9090 DIST utf8parse-0.2.2.crate 13499 BLAKE2B 095b5d219ab8ff04c06fd6303e03d913ae36a57845f0b2ca3217a40e31a54cb0fb5ecedbde165d28f5f60f1553d8252986d7098fa83befc84a7cb20bf3b76144 SHA512 f3dbf78fe924f1dc3cf9498b6e43fb10174699463f31091a7a8136d8f31ec84fc00e80e3d8551b7e86257e8b3573cfddb56fc0de797fdb2cde0e962a8f239266 DIST uuid-1.22.0.crate 61780 BLAKE2B 53dc1175c57d33b4733f885514c66f9cf79a9bf97d355ef19e2dafbcc668a39f1eac11c1188c77d8f83eb4b0267a7e94cdc9fe73a60ddb5af758bf4cc7e2b996 SHA512 6ff9dcbb7281feb4415d6d6c49541af2a90cb91703ede4d99fa994d63770c03ea45ea2e445d3f26f017a5301a9d79e477c34e7c609587326bbc2c665aecae7dc +DIST uuid-1.23.0.crate 63006 BLAKE2B 77bcbf3c658f0bb5d09bed862b9a8720110d62094a2bf9065ab8f98e6c458e4213767a9152280bdd71941eae7077036deae56adbcdddc14fdcbbac4cbd030061 SHA512 60e476dcbc407a0447f362ee019abb128c0441503e0adacdcac5685ecc16aa680faa575b25fcce147e9c49bfb5b8fa04964a25c5d7e4e9870e0078bf8f18fabf DIST uuid-rng-internal-1.22.0.crate 4050 BLAKE2B d34fe5c2656431cdb4741a50576e13bfd44dd4a65d230ae44141320135fd4621aa30feea882fb8e2f0b521879e058e7679952a261b96086c052f81705af69547 SHA512 e335157684559135fd1b16d1f5501101ac1eb045b51b2b066e6937db93e1f7681ac701c19b4c172515919981b343c54ff4bd1fb1b4c557184315e64888ff5877 +DIST uuid-rng-internal-1.23.0.crate 4054 BLAKE2B e76d67da38832203ac0e282ddd19c3f31a3c0fa6b64f429f1b35666ce94a0003c89b27fb7e4615916d41a0261a3f6008f834ca1f372f4112f74c5398c4ddfb13 SHA512 e7d2ff63239ce333be811757510b9300180842843100c1527079cdfc21420829c21a6e85a2520264952663e3686a7d2f7424671bea67637ead0839690f0b3a42 DIST valuable-0.1.1.crate 28679 BLAKE2B 33a68f81cb0448fa737fd7416f2dc1f0e4f171851692e5f759bc375ca8ffbe6eb53912823a59da44228029d379729b669e8213f00928c9b1a182c5d26c0de8bb SHA512 d8a4bffdc8a166d1ee11b87dd91cd68e5c898916b14db7039ad2faaad34f4bfef76f3fc3d17d6e7bf05e495778f7c9d5223fbf45331bd114f93fb6ec950eadbf DIST vec1-1.12.1.crate 34165 BLAKE2B b941fa0077ff3757eda77f3b295fb505881c10de6a340888ace26a537f913af55a17622947e0d7bb47e7080c4b361fef5e6e0015fe9fd20ad0f4e52a1278bb24 SHA512 4029c43c0bc0c72747954fe64684f33092693bb1bda6b59118d0edd460f1927e849817c27ae71200e5ff2312fbaaf8000edc17dd542a33d3948cf1ad9c9a1e85 DIST version_check-0.9.5.crate 15554 BLAKE2B 131e75cc287518831e142430e2a39b48e4275874f4473780d47a27552294097aa1cddb65c385583e1022478f940b495eb43c24a8b1617b8ac5a24af3340c0d72 SHA512 d11d5a2240ab0c67ea69db56561ce202201edeef9a8e5eda3d9ae7ab7bb5752d8f343fe7f6536d8383de8d55f9024efa84f66a0c21e69563b7a38c4a628014db @@ -446,7 +450,9 @@ DIST yansi-1.0.1.crate 75497 BLAKE2B c0d396c93a733ed6ec12aca3385d816f39b1f1fbed7 DIST yoke-0.7.4.crate 27781 BLAKE2B 42d6176af3e8d046b42fa89eacc0bb249eb0a6e13dbe7e97890b0cae98c3cc0059255f15314bbc343610d60605bf2d13869402c17d36cbf7f495956496572212 SHA512 b3d1456e28d53723470644ae15a4298fa96a79593d90729221ca4e45a6f09de4d7c554703425c61595c4e78959652122db95865c0337cc0cd6a4ec57d7bea84d DIST yoke-derive-0.7.4.crate 7470 BLAKE2B e5c0ca6f9cad4336b6b7554d05c3926d1720707aa70b588ebb884426747eb7d3d82614ba20563a5e801c4645f90fed9e067f50f43749a66e52f20c4204fb94db SHA512 5be38b8ae8dcb640a3fcb097e5b118354b45a41a0367afeff3c2ba5d13458524e88f9433848f09c670533d36a49a0e2b393e23368921553b5bb008e66e8e4a40 DIST zerocopy-0.8.31.crate 257633 BLAKE2B 42b49b61a19d7d9865a0c7600d644902eb50b279a9f372769a5adcde211a7408d13b7fc83959b898422141abddd0460cbef67a2edc7c34591a183c0a6c82f0f7 SHA512 0d21cf7e269c50a4c4451426c9b4be3836fc53b0c7ae2c737996a7e6ad5dac3863c554e47308720087e928535ce4a2c4a25e1ead4cb927c29bb6a68fe66d2069 +DIST zerocopy-0.8.48.crate 287554 BLAKE2B f66a7efa5970e16ad8c0e35a7f894192d93f9f9328bf1f8ff3f75f0a091cc8a44c5bddb4cd89e6acd8422cbc1ca1c6fc230c65b32e82460ab541435ab81408dc SHA512 c66a2a301bebfcb6519ac122d5b03a5f5ea2443d83ebcacfacc564d01b9d6173581fcb4df122444c910ea0b0e420d1529e3318d60695cec3d9df28a1837b9f9e DIST zerocopy-derive-0.8.31.crate 90835 BLAKE2B 3389db8cd661caf45a147b1f70fada5adf3a70375e27dcb3eeb75f079ef9e776daa397a851df0846cdb0d26448a30725993d3cf27f196d85434f78432c1fd757 SHA512 ebfae66be4685754c06cd6aded9c7bfe143997626cfc1295cca9bbf233d4f48719bf19101b5e5a9905aafd53d889939f4eb31743fbac76426c22bd20765b186f +DIST zerocopy-derive-0.8.48.crate 97646 BLAKE2B a75bf954fc7b9878325bb7dd953351eef1858ab3d41464661cd5fd8638f8417fa2ae05c4fc9b72ea7c2121a6455ecf683a1f096b49f62941fc110f2c43316ee5 SHA512 7dd11845b9c07fcc6c7289f792a27c30b2eb6122a403e9cfaa59177a953a60e5e412040a085d12b31a4c52306d3e3517a7f295ba62fb4441aac8e2d5f052e3c3 DIST zerofrom-0.1.4.crate 5044 BLAKE2B 8ad9a14b8b0c251cffb420f7ac673669fd29b74bc2f5e220c8e86d592f58cbb2c7be88d906b7dac8803dbd76ec459c4a249b7d1ede75a055454a1626b387f128 SHA512 11f37a67108185a8090cda71338b02492fabd15e6cfe018833a165cd869ed65338e12d7c5680ffb0b763fc3acbdff6fe4df30457653dfe4d79ecc864b69d780f DIST zerofrom-derive-0.1.4.crate 8232 BLAKE2B 98f69cdeff7df52822b982e3c089ccfa3ac2ce67f320b0d32eeffa899d2b34627268ed0a01b03504a0a6fcb6bef34d808cc79c811d5daed7f8acf59282e82088 SHA512 f2ea4650fcb4e7c3583f0f7c6146c7734cf6e80e07d92c330c6bc6a0a4e0fe14ae3393845713331240c70685e92eec114565c5be21189e687fe6232aef75a9c0 DIST zerovec-0.10.4.crate 126398 BLAKE2B b078784d6f178bbb9de1c3c1b6c7ef996f00bdd7dfd2924bda921e62f3e09e953fbf50f8d0da99ac6ff6d134f146253846f5663549dcf8df08eaf34b9d4016b3 SHA512 db12bba1d7476ddead92e6dfcdcc30e2e0defff4f263a740244eabee265a2cab265473a663d3dc3210f48e113b66d951da496dfab7965ce1bc792e5f2db422a0 diff --git a/dev-python/pyrefly/pyrefly-0.60.0.ebuild b/dev-python/pyrefly/pyrefly-0.61.0.ebuild index 70ab613b0726..1c3dbe589113 100644 --- a/dev-python/pyrefly/pyrefly-0.60.0.ebuild +++ b/dev-python/pyrefly/pyrefly-0.61.0.ebuild @@ -192,7 +192,7 @@ CRATES=" memory-stats@1.2.0 mimalloc@0.1.48 miniz_oxide@0.8.8 - mio@1.1.1 + mio@1.2.0 nix@0.23.1 notify-types@2.0.0 notify@8.2.0 @@ -259,7 +259,7 @@ CRATES=" regex@1.12.3 relative-path@1.9.3 rustc-demangle@0.1.27 - rustc-hash@2.1.1 + rustc-hash@2.1.2 rustix@0.38.44 rustix@1.1.4 rustversion@1.0.22 @@ -281,7 +281,7 @@ CRATES=" serde_json@1.0.149 serde_jsonrc@0.1.0 serde_repr@0.1.20 - serde_spanned@1.0.4 + serde_spanned@1.1.1 serde_with@3.18.0 serde_with_macros@3.18.0 sha2@0.10.9 @@ -308,7 +308,7 @@ CRATES=" tar@0.4.45 tempfile@3.27.0 termcolor@1.4.1 - terminal_size@0.4.3 + terminal_size@0.4.4 thiserror-impl@1.0.69 thiserror-impl@2.0.18 thiserror@1.0.69 @@ -328,8 +328,8 @@ CRATES=" toml@0.9.12+spec-1.1.0 toml_datetime@0.7.5+spec-1.1.0 toml_edit@0.23.10+spec-1.0.0 - toml_parser@1.0.9+spec-1.1.0 - toml_writer@1.0.6+spec-1.1.0 + toml_parser@1.1.2+spec-1.1.0 + toml_writer@1.1.1+spec-1.1.0 tracing-attributes@0.1.31 tracing-core@0.1.36 tracing-log@0.2.0 @@ -341,7 +341,7 @@ CRATES=" unicase@2.9.0 unicode-ident@1.0.24 unicode-normalization@0.1.25 - unicode-segmentation@1.12.0 + unicode-segmentation@1.13.2 unicode-width@0.1.14 unicode-width@0.2.2 unicode-xid@0.2.6 @@ -352,8 +352,8 @@ CRATES=" utf16_iter@1.0.5 utf8_iter@1.0.4 utf8parse@0.2.2 - uuid-rng-internal@1.22.0 - uuid@1.22.0 + uuid-rng-internal@1.23.0 + uuid@1.23.0 valuable@0.1.1 vec1@1.12.1 version_check@0.9.5 @@ -413,6 +413,7 @@ CRATES=" windows_x86_64_msvc@0.52.6 windows_x86_64_msvc@0.53.0 winnow@0.7.15 + winnow@1.0.1 wit-bindgen-core@0.51.0 wit-bindgen-rust-macro@0.51.0 wit-bindgen-rust@0.51.0 @@ -427,8 +428,8 @@ CRATES=" yansi@1.0.1 yoke-derive@0.7.4 yoke@0.7.4 - zerocopy-derive@0.8.31 - zerocopy@0.8.31 + zerocopy-derive@0.8.48 + zerocopy@0.8.48 zerofrom-derive@0.1.4 zerofrom@0.1.4 zerovec-derive@0.10.3 diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index cad4dc633626..fbba53a66ec1 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,2 +1,4 @@ DIST pytest_asyncio-1.3.0.tar.gz 50087 BLAKE2B 7a7c913cd31c9412947b63ab4fdf67998540831ef7d6914c96a4a97b271c92f81aeb9acad484de7aa98e36ec5b504a9a0a37a0684bf1cc2b99a22f683a3a9f11 SHA512 239fa63116622cdb22b0521f8af5b4f0c7f1c0e3975592a7711160ff636d2fbe3277d261df44dca5e11a666b50614732c5089c981d345b818de1abcad47dcf14 DIST pytest_asyncio-1.3.0.tar.gz.provenance 9390 BLAKE2B 3d73af4756ba0860af2ddea485595d6b09fe60c67d21fd5e441bca5e8b66de3dfd21e804283dbfc722d23ad690245bee2f8f620e58a872bdec0641e3c4a1041c SHA512 0e31a7de06316ac6fdd2a9e05325ca3fcdc6bad4837384c3a9b9230720994c1d71ba405c3bb9497c6dbe8c26f05df46e7a5459faef4ef2cbe5898dfd8e2fe4fe +DIST pytest_asyncio-1.4.0a1.tar.gz 57070 BLAKE2B 0f986f4d61ef07fab76f3ee56c7a5b14e13978ed9d1dc180bc39ca1a4d4eb6676a856ab5c456f2722fa33f35b95f2544470b10df1a25dfdf2e8ee6ef023aa242 SHA512 0e76449f620ded1b03eaa65c0c5eda0e45640aa563af2cb9a48045a6b9e24d0ad91cc157e9be20aa357659983886c735da6c406a8ddd2f7cd82d469ae23d87d6 +DIST pytest_asyncio-1.4.0a1.tar.gz.provenance 9675 BLAKE2B e827520f79b5d054a13c46b2fb3de85734e5b25947c3808c69117fc17d5bdf39069c54f693221582ff5017f2bf99b217f9965cb46cfc8e97fbe847678f5e6976 SHA512 684d0229043715267fc17f12e0becd15d881b286421ce8dfee36f61625e43038a207b2be1daffc6f8958d1ff0dd43bb27d4ae5b4581ec93e95327106d5b4ce27 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha1.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha1.ebuild new file mode 100644 index 000000000000..91034821f1d4 --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha1.ebuild @@ -0,0 +1,54 @@ +# Copyright 2019-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/pytest-dev/pytest-asyncio +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library for testing asyncio code with pytest" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-asyncio/ + https://pypi.org/project/pytest-asyncio/ +" + +LICENSE="Apache-2.0" +SLOT="0" +if [[ ${PV} == *_alpha* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +fi + +RDEPEND=" + >=dev-python/pytest-8.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] + ' 3.{11..12}) +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( hypothesis "${PN}" ) +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fail due to mismatched warning count + tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture + tests/test_event_loop_fixture.py::test_closing_event_loop_in_sync_fixture_teardown_raises_warning + tests/test_event_loop_fixture.py::test_event_loop_fixture_asyncgen_error + tests/test_event_loop_fixture.py::test_event_loop_fixture_handles_unclosed_async_gen + # docs often fail randomly over test ordering (xdist) + docs +) + +src_prepare() { + distutils-r1_src_prepare + + # remove pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die +} diff --git a/dev-python/python-designateclient/python-designateclient-6.3.0.ebuild b/dev-python/python-designateclient/python-designateclient-6.3.0.ebuild index 0aa937ea8fb0..fd21b12be8a6 100644 --- a/dev-python/python-designateclient/python-designateclient-6.3.0.ebuild +++ b/dev-python/python-designateclient/python-designateclient-6.3.0.ebuild @@ -32,21 +32,22 @@ RDEPEND=" >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/python-subunit-1.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] - >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/tempest-25.0.0[${PYTHON_USEDEP}] - ) -" +# Tests disabled as it depends on dev-python/stestr which is masked for removal +# BDEPEND=" +# test? ( +# >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}] +# >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] +# >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] +# >=dev-python/python-subunit-1.0.0[${PYTHON_USEDEP}] +# >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] +# >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] +# >=dev-python/tempest-25.0.0[${PYTHON_USEDEP}] +# ) +# " EPYTEST_IGNORE=( # not packaged designateclient/hacking/checks.py ) -distutils_enable_tests pytest +# distutils_enable_tests pytest diff --git a/dev-python/python-designateclient/python-designateclient-6.4.0.ebuild b/dev-python/python-designateclient/python-designateclient-6.4.0.ebuild index 4b22b65addec..bf988b770112 100644 --- a/dev-python/python-designateclient/python-designateclient-6.4.0.ebuild +++ b/dev-python/python-designateclient/python-designateclient-6.4.0.ebuild @@ -32,17 +32,18 @@ RDEPEND=" >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/python-subunit-1.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] - >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/tempest-25.0.0[${PYTHON_USEDEP}] - ) -" +# Tests disabled as it depends on dev-python/stestr which is masked for removal +# BDEPEND=" +# test? ( +# >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}] +# >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] +# >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] +# >=dev-python/python-subunit-1.0.0[${PYTHON_USEDEP}] +# >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] +# >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] +# >=dev-python/tempest-25.0.0[${PYTHON_USEDEP}] +# ) +# " EPYTEST_IGNORE=( # not packaged @@ -50,4 +51,4 @@ EPYTEST_IGNORE=( designateclient/functionaltests/ ) -distutils_enable_tests pytest +# distutils_enable_tests pytest diff --git a/dev-python/python-manilaclient/Manifest b/dev-python/python-manilaclient/Manifest index 6c2f30acb04d..71dd98522f38 100644 --- a/dev-python/python-manilaclient/Manifest +++ b/dev-python/python-manilaclient/Manifest @@ -1,4 +1,2 @@ -DIST python_manilaclient-5.6.0.tar.gz 391970 BLAKE2B c1d48df24db9e5dade2e8e12ceded3fc246c23813e741cae053bb3e46698e36d555c9dc5d2469f4e44bc89ecae81c229273de3ffc452602ae0cb2ceed98cd482 SHA512 32943fb5dd7d495c18608c4ec1112b71c02480445c9da128d65aaa46ed52dab2d1b7147c1db5b178f8a4081339521268da08bc2bedfe0c311047b1bb97e65852 -DIST python_manilaclient-5.7.0.tar.gz 393500 BLAKE2B a07e83583165b356e2e890024fd8ac26a05d7ca1b86a85da4989a7df5c850bfabce42135ad395ed7dcd348669a2cdbf50167481800782752966c646f9775db0d SHA512 731a95668ed19f90c5ab7ff2b933bf71cd5f09487e9f6841bc4ffcb6699541b4ca380e41622fc62224dca99e6000cf68461c66f6f55d18edca45873145343626 DIST python_manilaclient-5.7.1.tar.gz 395046 BLAKE2B 1f57d8e16454dcaa4c24ada4d4c90f930d4e929d56688da3aaeff9f95d2ba4bbac31721b067c164a7358aa41bb0e84022cb45149cae368d856a86fa05febd8ef SHA512 0e49d33b46248e250a0834db752c8da0fb8c731df2795b1dc7f6334bcd78a17c06909ef04a1467beae424d4a88e7b1bff69b2a4220f68073423d40a2a36b9449 DIST python_manilaclient-6.0.0.tar.gz 302012 BLAKE2B cabd518230f82d140b8b731edf9b6cb5a0bbf38fa6754c59c15a3074b62efa571dd2f316669f17a049f88c2606dc923017d55e6928e543adf34ed09b28b3ce81 SHA512 4e2839248fbd25a5ebbae6283a0e7cae5d1325488fc5f58da4265276b59769bb5e519f96cf1568c9aec3f642a5177c72be093fd40d36de2f7b40695d3068fc79 diff --git a/dev-python/python-manilaclient/python-manilaclient-5.6.0.ebuild b/dev-python/python-manilaclient/python-manilaclient-5.6.0.ebuild deleted file mode 100644 index 75512cbf2498..000000000000 --- a/dev-python/python-manilaclient/python-manilaclient-5.6.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings to the OpenStack Manila API" -HOMEPAGE=" - https://opendev.org/openstack/python-manilaclient - https://github.com/openstack/python-manilaclient/ - https://pypi.org/project/python-manilaclient/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - >=dev-python/pbr-3.0.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-2.20.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] - >=dev-python/osc-lib-3.2.0[${PYTHON_USEDEP}] - >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}] - >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/python-openstackclient-5.3.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_test() { - # The functional tests would requier the OpenStack manila service to be - # packaged, too. - eunittest manilaclient/tests/unit -} diff --git a/dev-python/python-manilaclient/python-manilaclient-5.7.0.ebuild b/dev-python/python-manilaclient/python-manilaclient-5.7.0.ebuild deleted file mode 100644 index 34ecb6b04f69..000000000000 --- a/dev-python/python-manilaclient/python-manilaclient-5.7.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pbr -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings to the OpenStack Manila API" -HOMEPAGE=" - https://opendev.org/openstack/python-manilaclient - https://github.com/openstack/python-manilaclient/ - https://pypi.org/project/python-manilaclient/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - >=dev-python/pbr-3.0.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-2.20.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] - >=dev-python/osc-lib-3.2.0[${PYTHON_USEDEP}] - >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}] - >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/python-openstackclient-5.3.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_test() { - # The functional tests would requier the OpenStack manila service to be - # packaged, too. - eunittest manilaclient/tests/unit -} diff --git a/dev-python/python-manilaclient/python-manilaclient-5.7.1.ebuild b/dev-python/python-manilaclient/python-manilaclient-5.7.1.ebuild index 34ecb6b04f69..9b06d5eef9ab 100644 --- a/dev-python/python-manilaclient/python-manilaclient-5.7.1.ebuild +++ b/dev-python/python-manilaclient/python-manilaclient-5.7.1.ebuild @@ -32,19 +32,20 @@ RDEPEND=" >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}] - >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/python-openstackclient-5.3.0[${PYTHON_USEDEP}] - ) -" +# Tests disabled as it depends on dev-python/stestr which is masked for removal +#BDEPEND=" +# test? ( +# >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}] +# >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] +# >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] +# >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] +# >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] +# >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] +# >=dev-python/python-openstackclient-5.3.0[${PYTHON_USEDEP}] +# ) +#" -distutils_enable_tests unittest +# distutils_enable_tests unittest python_test() { # The functional tests would requier the OpenStack manila service to be diff --git a/dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild b/dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild index 0ebbb18aa4a7..2d997d074309 100644 --- a/dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild +++ b/dev-python/python-manilaclient/python-manilaclient-6.0.0.ebuild @@ -32,20 +32,21 @@ RDEPEND=" >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}] - >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] - >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/python-openstackclient-5.3.0[${PYTHON_USEDEP}] - ) -" +# Tests disabled as it depends on dev-python/stestr which is masked for removal +#BDEPEND=" +# test? ( +# >=dev-python/coverage-4.5.0[${PYTHON_USEDEP}] +# >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] +# >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] +# >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] +# >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] +# >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] +# >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] +# >=dev-python/python-openstackclient-5.3.0[${PYTHON_USEDEP}] +# ) +#" -distutils_enable_tests unittest +# distutils_enable_tests unittest python_test() { # The functional tests would requier the OpenStack manila service to be diff --git a/dev-python/sjcl/sjcl-0.2.1-r1.ebuild b/dev-python/sjcl/sjcl-0.2.1-r1.ebuild index 4e113916cd6f..82fe9d95f54f 100644 --- a/dev-python/sjcl/sjcl-0.2.1-r1.ebuild +++ b/dev-python/sjcl/sjcl-0.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2025 Gentoo Authors +# Copyright 2021-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index 4c87b57f24a3..c14b06e74515 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -2,6 +2,8 @@ DIST sphinx_autodoc_typehints-3.10.0.tar.gz 72801 BLAKE2B 535b854a9b211f998a9b30 DIST sphinx_autodoc_typehints-3.10.0.tar.gz.provenance 9573 BLAKE2B bcdc2e87127388fd7b232b81ad84cc09e30e9e909efb695b3e71be8d409616c64b9b4dc8b867ee31693a972b57d12048a349fce769d74519b700dee7bf232056 SHA512 7c0715c8dc53f25b85c06796f300dfe65924f5b56c707bdc52f9487036a614e6e1885f8bc9e296077fd6c929256879ab279831436112a415919eaae1086b78e1 DIST sphinx_autodoc_typehints-3.10.1.tar.gz 73190 BLAKE2B 3a7b54251128db83c2c161f5c15fb37a2c3d3a76fbcf6bedbceb9f22b698c8d588746446d2923024013c61d25ed0ad71391ea5ff2263042c25bc222487406d1b SHA512 18a9896cf3286fad2811da92eaa235fcc708916c03c83b1508d9ab69dab3d90ae70013c0427e4eb884ebe376cf3d518e19b9c304a818c10fd83c97a34efa6724 DIST sphinx_autodoc_typehints-3.10.1.tar.gz.provenance 9945 BLAKE2B 00db86d745b5f6f45e7d361a88a27122e79378a1948f3235fb6ac0b37bf4b7b8d9c8ca2f1b22edd0d5f77b76595447a1cbb4263955a04b11cc596c86c3812953 SHA512 9360646c20f2f190b930ddcad76259a9ac4a8de8dc290b20d54076b4e700d7c46a5f084e217ca99fa376a2f48b588ba4d8c2dda7b66cc8dbafa456c1760e5b38 +DIST sphinx_autodoc_typehints-3.10.2.tar.gz 74241 BLAKE2B 8ba5a42b508a13d95f4a66a4c45115b31e8ee81db7c34a95e5b76123a87624d5d7c2ee0929ff2b17f48c5e73ff1c78689b355c76a2e5696875573e4c284f0d45 SHA512 58780573ba8ca74191ffbba1629e1b618b6b4689f0c67525195b88442417f657e4588e54197cfd98f4998ae75c50570039bd2bd99b0926ceed958d113fe76a7c +DIST sphinx_autodoc_typehints-3.10.2.tar.gz.provenance 10039 BLAKE2B f3f8699c481cadae8d8d416b4ab04061611f3608e0e445b7aff93c6eabd94979ffe2a82c5d90ac73112ce6197a5134d2e99ced960e0eab98e5fa977df4060f72 SHA512 fb2308cf8e1a5e59ad780e754d6b3247d609cbc4e2ae0e3c2db5bf25c11c81c50ae06fa51d22e9fc0dae3587cc9d793cf1c900c316fd9f5d22e8c95d0df79ed8 DIST sphinx_autodoc_typehints-3.8.0.tar.gz 59672 BLAKE2B 05bf3eff2eb1f4a66b151e8d676ebddb081e2d8240c13c50d255d4e3f88cfe284c0cccac8be355a2b850c0341ba8a59aba4ab10c1fdbec5b47bf75e2fdadd84d SHA512 48648be12dce2640531846ccebdec653496f44309ec002411a61ee531efcfea8911fed75edcf95718bb0e5a8b096f9d47b8214b8a4a64f299f94b9e0d552967b DIST sphinx_autodoc_typehints-3.8.0.tar.gz.provenance 9964 BLAKE2B b1a4800a4778509bb2af2f3350b4e0213a1f3cc34f3636a9505ec07be7c5eea8d431ffee3796597d4ffbc4218b85f4aff5b4fe1809f7dae25189b6f18faebc6b SHA512 7f630714ab8461ab4449e839d2fabb0633f24490b1c4851600cb94407051e4ad7862870e9b382c4bfb4d8dbc34a080a84ce6abf63c1944d7656ab629d918448b DIST sphinx_autodoc_typehints-3.9.11.tar.gz 70261 BLAKE2B b5953b4536f3e0f5e9d422a5166a5f7dbec5a2792cc74b23614d26287e4e4b94179d1a8b4809d389431f72c783f7ef09adf3d1df7bc4bb6104b29674033376cc SHA512 6305a90a01e8b3fe2ed01177c2c54defd8a90906de761fe0c0cba7dfbbe0a3a12d5f712e8550ea2abb9c884ad42e9fd3f0c410a3088907563c0daac216a5a5ad diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.10.2.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.10.2.ebuild new file mode 100644 index 000000000000..a0ad03fedabb --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.10.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/sphinx-autodoc-typehints +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Type hints support for the Sphinx autodoc extension" +HOMEPAGE=" + https://github.com/tox-dev/sphinx-autodoc-typehints/ + https://pypi.org/project/sphinx-autodoc-typehints/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/sphinx-9.0.4[${PYTHON_USEDEP}] +" +# skipping optional test dep on dev-python/nptyping as that package +# is horribly broken and on its way out +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-25.4[${PYTHON_USEDEP}] + >=dev-python/numpydoc-1.10[${PYTHON_USEDEP}] + >=dev-python/sphobjinv-2.3.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_annotations.py::test_format_annotation + tests/test_resolver/test_stubs.py::test_sphinx_build_stub_types_produce_crossrefs +) diff --git a/dev-python/testscenarios/Manifest b/dev-python/testscenarios/Manifest index 9f65f8169e07..415f90a00ddd 100644 --- a/dev-python/testscenarios/Manifest +++ b/dev-python/testscenarios/Manifest @@ -1 +1,2 @@ DIST testscenarios-0.5.0.tar.gz 20951 BLAKE2B 154915281456aad3353e144ffec8404514622fdeb8d2129ba530d3d5a02814599c2fead9dc25ab4904bad68b2892a435f9cbbcde92503d71477624bbec154f53 SHA512 f08b868babf504482369c5cb945d3e95bca1cc00f92d5013f6898c488051be0c26dc49aaabcef362aea45450a8d041d9826fb6b5c848beec013fb102d6935521 +DIST testscenarios-0.6.tar.gz 14970 BLAKE2B 01e0ee8160ed56da1ef6f00870aff2ac414bb3c7492773656936c9e7c8a0ae5be2bea21fe62fb7cc18809b0177a0d1e60a0fe5c6a4399eed1f08174339e518b7 SHA512 fd83ed0fae6a1d39d829db5616bc54e86b960cf5f049fb472e416e6a49bdbba676bdea543f4396471debe990ba5c6bbf8574964111eea9bc7afed4355c1191c6 diff --git a/dev-python/testscenarios/testscenarios-0.6.ebuild b/dev-python/testscenarios/testscenarios-0.6.ebuild new file mode 100644 index 000000000000..6095968db5c1 --- /dev/null +++ b/dev-python/testscenarios/testscenarios-0.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pyunit extension for dependency injection" +HOMEPAGE=" + https://launchpad.net/testscenarios/ + https://github.com/testing-cabal/testscenarios/ + https://pypi.org/project/testscenarios/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/testtools[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + ) +" + +python_test() { + "${EPYTHON}" -m testtools.run -v testscenarios.tests.test_suite || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index 4f2f59009f48..29510c17428e 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -5,3 +5,4 @@ DIST uv_build-0.11.2.tar.gz 381227 BLAKE2B a0989816b2c4f224fe78d88a0dbee2f87b642 DIST uv_build-0.11.3.tar.gz 382592 BLAKE2B c212ba9dbd57d588f229a6972a20824cb1439c1770d677a7754a2ccad598a0b9235edbd4c6e178bae99c04c2a31a104a6213335e2c8e005728b25500c1b3a729 SHA512 3ed531b2ac111a8446336861eb80e90d5e7aa595cc65de7e83c79f94f4b2a0183028e3738ed30169b00430ef380574701fd1beffd120bc2cf7510d3bcb28bf11 DIST uv_build-0.11.5.tar.gz 360294 BLAKE2B 5e913cc609b40bbc906e574a16d1cecec8fa59517ef3dac392ebe81e7d377ca20346ddb09b4292377cbbc506cce95e5c4df284d80b5f26907de6539999bc52d3 SHA512 731cdd7a17ba40d20add0ef9928c688016b4f19b5378a7cb71a3d02aca09a4585a1bd6b6304ef4c1b5745fe3edb5ee36a1a49b563946dd29d1e210fd5946d1de DIST uv_build-0.11.6.tar.gz 361928 BLAKE2B 800f59a32bab5b850fb30627b6e47c4a2e7bd8d1a292584e2c3b33e2c3aee81907b8e6ebe95298bac607df161e29437cc8a84bb8a44e32435028ab5fd3bf22af SHA512 8a9fc7cca9e42f42db888b6a9f3888393feae79d0ce8ca56568c83cbee977675d8a39a38b820606d1ac685ef99b92a182795c2521f4796865acd774fd73c6bac +DIST uv_build-0.11.7.tar.gz 365752 BLAKE2B 2de7a3656ea9960d2959a6bde66b85979b56e1cedce5ccc38759dae6a165d1d79998bcab3f43e472d91281fe320aadbb00f765776da3f06902b6a81b37d8b0aa SHA512 5ef23796480d36b20d1ca1b5c22eeb86c6634acbe9eb62642044d6c34a8dc45ca59727a77793fa324dbc3656a3659521544387d8afa346879675ff09fef1ca62 diff --git a/dev-python/uv-build/uv-build-0.11.7.ebuild b/dev-python/uv-build/uv-build-0.11.7.ebuild new file mode 100644 index 000000000000..2ab229426f84 --- /dev/null +++ b/dev-python/uv-build/uv-build-0.11.7.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~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 cd07f4c2d5b5..d583274e9f5b 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -12,3 +12,5 @@ DIST uv-0.11.5-crates.tar.xz 46830584 BLAKE2B 6fbf2c9aa231588833e5cce30da2a9238a DIST uv-0.11.5.gh.tar.gz 5200922 BLAKE2B 67631c35da46465c324bb3417312be7f5e9f50cafaf7f32b679b282ab4e5997c7ddc3a6a0cba3af138d95c4890475e3055cd6dc0dacf0e42bfa63761b839d766 SHA512 ade88d151b3da1a73dbd43b6b9c27722822f61e7088a53dfc1a073436350705468b37ebd301eaa5ddb2fdcd39978096b2c95180c735bc49c4a07391ca3bd4c09 DIST uv-0.11.6-crates.tar.xz 46830584 BLAKE2B 6fbf2c9aa231588833e5cce30da2a9238af8bd22fd849cf45c3ffab52b405bcd6c5b488a9cc6975e09781ce379405c6323d7cb3c330243ae5a7b53efb775d06e SHA512 243e69e5512d09a48d47c76f100dae390e2ea9de51eb4671a9bc84a8fcbbdafe96832b6afc7222185f09f1c11c5aa6a32be9185f723b7dc67e13a94205f759d2 DIST uv-0.11.6.gh.tar.gz 5211342 BLAKE2B 43b6cf60e3a97e70c847878e36d5ae854e7458922121b4b85a9d61d48a1e740c47c408600c92458e4a89d69308fef4833da41b2dd0ad5dbb6ac94b5d2e48c549 SHA512 3f370f98b253dd84706f1724155ba4ed5cafb41b612fa75151aef26dd4f18c85f59d93c5bbddae1c59ea594fdc88857d005b6e8728cdd24f5b37b99ba4ef32cd +DIST uv-0.11.7-crates.tar.xz 46854096 BLAKE2B b4fc06608d3c68910a48af598803b934017787bbf14599f66fa43096aa3ef2cdeca8ee35230ea3b8446da044a29f0b476f58f224732959e8017720e79a0d7cd8 SHA512 9cdcc1f565a3bf4d3490296710a7821e3760164d723057d591bf923e093aac50f51ad209ceed6f8c4e8fd2104ee90363750017bb56de2c76fca5dda7fcee815b +DIST uv-0.11.7.gh.tar.gz 5220735 BLAKE2B aae6d54fb59def30a517b4b4a1df524af346128a601e8a016dd9f4df3c49733c835e9259a85321f7dd1bdbcad93e6c53a5568521419e213a977653c9d48bde81 SHA512 f9b34b628ac035cacb36bd9cd7276d28c59f768360a197f4c1c036a81651aa6c40b17656c4b5230cc19b496c415687fc99f05bf4c66459e5457f5cef105b8d7e diff --git a/dev-python/uv/uv-0.11.7.ebuild b/dev-python/uv/uv-0.11.7.ebuild new file mode 100644 index 000000000000..ea2607714c56 --- /dev/null +++ b/dev-python/uv/uv-0.11.7.ebuild @@ -0,0 +1,164 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.92.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 + CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 + ZLIB BZIP2 +" +# 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.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF + + # 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() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest index 519cb5239c34..c00c86c958ba 100644 --- a/dev-python/wrapt/Manifest +++ b/dev-python/wrapt/Manifest @@ -2,3 +2,4 @@ DIST wrapt-1.17.3.gh.tar.gz 140900 BLAKE2B 88c4cd718cd98a97c866c4f0b9f7e095347fe DIST wrapt-2.1.2.tar.gz 81678 BLAKE2B f7fc45f31b8077d6d97c14c1f649437e0f1da7537769d369d427edede0ba1b84c8c07e6de9ded8088f29f2fb774272186d0f9b707e6b2bef650dc5f78444d852 SHA512 97f1af4cabfd7a4cfabfaf36d26d1afc577747f18946226fbb80256e13c55302b746005e01720e874d46d536826c83e9234544c98f8dd1ecd3c9a091113da808 DIST wrapt-2.2.0rc5.tar.gz 101797 BLAKE2B 4784e51ece7f671cb7df884de69ec245569c1c5ea6fc6c8be58438ace8238b910b1d78c9d95de72e7e9a37d2c189d5326253c6784952092187962da6b742ec92 SHA512 509de5d5d1deff63485e0c2b7cbae04709c61276f5863596f31049f451e1eb845d23016d0cee03b9eea0495ce578e62db0a368499819965477d2a2bc08722ae8 DIST wrapt-2.2.0rc6.tar.gz 107658 BLAKE2B 4efd21c7a575d7a19b421e6068d704a107013a4be09143544cabef6bd490cf11e7278eb011bb6024858fb61d116f628f6658519fd974a171874e51a64f1b9392 SHA512 2d28aaffd3da3d340428ef3f5d34461647eddc973b2b0fba6388dc14a3af3219d74d3c0635e7a964bf35809d7fd8cd099dc655a766841ddba4688774f3ddf4d3 +DIST wrapt-2.2.0rc7.tar.gz 110602 BLAKE2B 727d02fd827ac875bb35430d9c2d3a9d8a33cc12ea16c7e15519c8eb2a51f59b90487629a49efebae44d8911655466b32864e4c1bc1f182a796268133bd94b8e SHA512 17848645d32e58f1bb18fea0a99f3cd156eff7353f7a7c7328873597a2ca3ca6b48173f4109f70e48311d9f26780fc7b3d331a8581474cfe27cb3654bc996ee9 diff --git a/dev-python/wrapt/wrapt-2.2.0_rc7.ebuild b/dev-python/wrapt/wrapt-2.2.0_rc7.ebuild new file mode 100644 index 000000000000..8514e94dc258 --- /dev/null +++ b/dev-python/wrapt/wrapt-2.2.0_rc7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +MY_P=${P/_} +DESCRIPTION="Module for decorators, wrappers and monkey patching" +HOMEPAGE=" + https://github.com/GrahamDumpleton/wrapt/ + https://pypi.org/project/wrapt/ +" + +LICENSE="BSD" +SLOT="0" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +fi +IUSE="+native-extensions" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # skip mypy tests, they are fragile + rm -r tests/mypy || die +} + +python_compile() { + local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false) + distutils-r1_python_compile +} |
