diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-24 07:11:34 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-24 07:11:34 +0000 |
| commit | 518a9802b3c051064c58d593f5222a61fae2e644 (patch) | |
| tree | c5a7fa413a7c1e65fc5c54f8424133f699911da2 /dev-python | |
| parent | d3d1a50ec691eb678af61e9ef41be54c7954c521 (diff) | |
| download | baldeagleos-repo-518a9802b3c051064c58d593f5222a61fae2e644.tar.gz baldeagleos-repo-518a9802b3c051064c58d593f5222a61fae2e644.tar.xz baldeagleos-repo-518a9802b3c051064c58d593f5222a61fae2e644.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
42 files changed, 706 insertions, 367 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 560ec2eeefb2..dcb1f34788ee 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -15,3 +15,4 @@ DIST boto3-1.42.91.gh.tar.gz 1124704 BLAKE2B b6916ead939d892467698a93b7fa9257f09 DIST boto3-1.42.92.gh.tar.gz 1125628 BLAKE2B e53dcee267249fd505065f25fba9eacbd9dc930381b8c191750f2515405a8bebd15ece5cd6223bd2a0aef4bcc1616d4bb16b6757aba92a17ddc3df970b78016b SHA512 a56fd9720725efb83376534a0e8b244dad429d1f0b0162591b146fa9d5f052e535ef5c9d7d72e398fcdd0f3e683f103fc41ff1d53072804ab65eeb3fb5ec81ad DIST boto3-1.42.93.gh.tar.gz 1126304 BLAKE2B ee8404e5a2da1588feb02858efee8d6cd9a7babc932d910f43c533968259e4f6535f2351c526dfff290abcc068d59c48dec32328a2100a52f4f72ce51c71e418 SHA512 8d801b54b7a6c76cde0da8f8890633a7c026071bc2de13ad17fd23f068fe112ce588da5e5848d3b5b0e4567285d6ae53efa9371468c9851f9f1b902d85562e31 DIST boto3-1.42.94.gh.tar.gz 1127443 BLAKE2B 581bec1a14fe7f28049e6aa241a2d78bcbdd85ddb460259a3de0086791c4cbda3ba2066c71724dba079f7d556b720f1cd6dbc38c4edcf818471ce23f4948bd7c SHA512 b40f568a008b659647d73550fe3af61c3541b888a8af63b63d47e8f0e64c122c8886094365d97f3190a33427428ce85850bfe2ce06309833a6d793185a54b7aa +DIST boto3-1.42.95.gh.tar.gz 1128216 BLAKE2B 172fcf19ac3f70d98bf5dc5e19fd590d9004effd858b604c5ff50d1df849100c154b8e1748e8534b7f860ce2e4cfe663e9f6b13cf0e85cc5683443c208ed5c41 SHA512 32d3595b8bcde8b899b0669759b9b3e198b569b70ce6d360071a61aa5ec257040520a5df8168c68548f3b7711f2c9e8b2b1cd10f9ab107da7caf3aaedae4f4ec diff --git a/dev-python/boto3/boto3-1.42.95.ebuild b/dev-python/boto3/boto3-1.42.95.ebuild new file mode 100644 index 000000000000..6e5f06a012ad --- /dev/null +++ b/dev-python/boto3/boto3-1.42.95.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_{10..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.16.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 f2e4265a5ae6..8a3b0f06a06e 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -15,3 +15,4 @@ DIST botocore-1.42.91.gh.tar.gz 16138871 BLAKE2B b5090d9707e20d83bdcc2757f13f655 DIST botocore-1.42.92.gh.tar.gz 16157923 BLAKE2B 635caf24f55c3c291f5d8dcb6c4954bd4c9a6b47b4390cb07ed1f55ad668070f0d345557872312e70377d249f7940fab2fbd62eb5b1bd5239dcf6f53d48d7068 SHA512 5077240ed9ab86cf61aee76e6cb111c8749cac5c64eb5e29d350d34afb1e052ba301b38c12622d8effc7d5ab122734cf01f2a93b0e352ab37a5234da17c17fd5 DIST botocore-1.42.93.gh.tar.gz 16167198 BLAKE2B 3e9cde424583c5c613b973cf2f3551e4b919400685bafb20676e09731ea1f33822d18a3a86af7b5146508ca77776ac3410a7ce0d1ce22c229fb9b3b1dee9ed89 SHA512 8276b64b5c25ff6b311f267862e3a79581c46e3b307d121c12388218ace595d694757aca0e50c47087897eca2485f39d0d0374f8a6ee8276102f5a8329f6db5e DIST botocore-1.42.94.gh.tar.gz 16186741 BLAKE2B 70638508206b097d98a7c09d5de7aed9db0adcdb1b1682fa9ea10949d202641b18efaea1c1d018231f244a15f04bede13b4a9e48d18af89cd97a363d1ce555e1 SHA512 b91302f22f6aa541ce26659f0afd9d7b3fb01d7d6bde43ef91aa6341dc7535516fda87c0855194dc4439c855a7ebf98df8effac2649a55f107020a4f881b1dfc +DIST botocore-1.42.95.gh.tar.gz 16187519 BLAKE2B 52ba6fea31a36f0064a0a099c9d208658a120ab8597ce4e3d9cb1bbebce71a9f6a3683e50e5819674fe6211a606d6700283f6801fe77e54d22f5ba08e42a1b54 SHA512 4199045983c267595df46c810bf75d64809c03c36de622166ee910076177a979dd28e3ea7c0a4956a9c21dc310a0ef12223efb32e27e33d5906f92964beb65e2 diff --git a/dev-python/botocore/botocore-1.42.95.ebuild b/dev-python/botocore/botocore-1.42.95.ebuild new file mode 100644 index 000000000000..f6ce0d9ed8d5 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.95.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_{10..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/certifi/Manifest b/dev-python/certifi/Manifest index ebe6bd587fbe..0df5f214b127 100644 --- a/dev-python/certifi/Manifest +++ b/dev-python/certifi/Manifest @@ -1,2 +1,2 @@ -DIST certifi-2026.01.04.tar.gz 154775 BLAKE2B 8bac071f9020a5b5c6b1054a3d0f5f7acf04b7e3082ad4b8686a1ad0e0a87ee1b44673af4a438e7631bf53b76aad203e4acf35b106a84ef5fa7f6558c2253b80 SHA512 14422f1d4d05eaf890573e1fbd00382e41ac938be4fbdd7c45cc4301af82ea34e53b35bc317b14e58afccc716a868e79c45e64da5bf7df3f8d12bb49e2e56d37 DIST certifi-2026.02.25.tar.gz 155529 BLAKE2B 399a659e5e49a4e286b9d4cc9305f1d2789d3b823b199466da7ca9b7c5615b0cd63f8d73f98a2c2a9169d2931f754189c803d960f3f304f955b7bb31569eaf26 SHA512 8109e9d647680f58f536f037e776e36701556e80c45750da296a77fa3218b57d9c51144c0bf70eb79908d15fbaea61c87f80a26f10f6341474ebd1fe7fbf7dad +DIST certifi-2026.04.22.tar.gz 137429 BLAKE2B bcfc5769d0a93333c25c9348fc624df023486b32073376bb48b2012d6fb9f9177dddbaf3ff20caab14f72e840acc0c7407d99bfeedc26e144cd79fa2e350a125 SHA512 c4dcc0b585458beb53fb85242feb5bda60a94855f58938c7bf213404fdec559099fe3ebc7707fd88ac834558d8901532594238fe25ec405c22b580e73cd22250 diff --git a/dev-python/certifi/certifi-2026.01.04.ebuild b/dev-python/certifi/certifi-2026.04.22.ebuild index 727e9002808c..727e9002808c 100644 --- a/dev-python/certifi/certifi-2026.01.04.ebuild +++ b/dev-python/certifi/certifi-2026.04.22.ebuild diff --git a/dev-python/channels/Manifest b/dev-python/channels/Manifest index b58c0c2009cc..93bbf2713782 100644 --- a/dev-python/channels/Manifest +++ b/dev-python/channels/Manifest @@ -1,5 +1 @@ -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 +DIST channels-4.3.2.gh.tar.gz 206077 BLAKE2B c0913d67dc74bc728dd828584cf803b4ad175bab717de71ccf1e1c5b6aaca296fd15d011deb07b2876e63b7daaefab5e5ee24c323e907b3c563f5358759f14b8 SHA512 29d9c91aca721fad44143978863c45812bf596bb65cf99084803f78d85c664d5cc7ca1015df151cdc27754b822c9cfd18102989b6e5f59bc50257f6c9d8b8b3e diff --git a/dev-python/channels/channels-3.0.5.ebuild b/dev-python/channels/channels-3.0.5.ebuild deleted file mode 100644 index 03a4923889fe..000000000000 --- a/dev-python/channels/channels-3.0.5.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# 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 deleted file mode 100644 index 710613a7cbd1..000000000000 --- a/dev-python/channels/channels-4.2.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# 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 new file mode 100644 index 000000000000..ffafd1ece52b --- /dev/null +++ b/dev-python/channels/channels-4.3.2.ebuild @@ -0,0 +1,62 @@ +# 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 new file mode 100644 index 000000000000..18eca8f75445 --- /dev/null +++ b/dev-python/channels/files/channels-4.3.2-fix-install.patch @@ -0,0 +1,14 @@ +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 7093cae71294..0dec5a678a5f 100644 --- a/dev-python/channels/metadata.xml +++ b/dev-python/channels/metadata.xml @@ -2,11 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>negril.nx+gentoo@gmail.com</email> + <name>Paul Zander</name> </maintainer> - <upstream> - <bugs-to>https://github.com/django/channels/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/cssselect/cssselect-1.4.0.ebuild b/dev-python/cssselect/cssselect-1.4.0.ebuild index 42b9ec45966e..f1d95d6053c6 100644 --- a/dev-python/cssselect/cssselect-1.4.0.ebuild +++ b/dev-python/cssselect/cssselect-1.4.0.ebuild @@ -33,4 +33,4 @@ BDEPEND=" distutils_enable_sphinx docs \ dev-python/sphinx-rtd-theme -distutils_enable_tests unittest +distutils_enable_tests pytest diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest index b858881a224a..66a4a4a20f14 100644 --- a/dev-python/hcloud/Manifest +++ b/dev-python/hcloud/Manifest @@ -1,3 +1,4 @@ DIST hcloud-python-2.16.0.gh.tar.gz 150139 BLAKE2B 89664236dacaa53d6fcd5966bcc1e772f02c8febe028c099ed8684c942e6e40b3e37497f4b763e991703a7e570906ece2c81a75339887a65318622c2eb366ae9 SHA512 d12c65e60182638ea6ac7edaf75ac229c1af373b47e92afb99bc0375e4b8979a49787e7fc0b92479b2861558b83919e7d55c194f973aaf17b4f2640f363ce781 DIST hcloud-python-2.17.0.gh.tar.gz 150589 BLAKE2B 4e8f874307690cfacef36246e814d0c12fb03598bdb3187aaf6e1075169d5f8c7a27c48a2321408a6ab6b249f41d074bdc273c53a1ea1e7034bc338d5293efbb SHA512 f69608a295b3f25f24cc5af69f650192891cf127e26ac9a083b7de6ccd2c21fba99099c460a0406e4af5aadccd7f2775986b090ae7b1c569aaf5baa56706a9aa DIST hcloud-python-2.17.1.gh.tar.gz 150707 BLAKE2B e4f7a09a8c1b8e20d77413bc1a8995ff1334a81cb66b3f21c9552e31c00cd365d3a3b1fdd9670fbf66e2b6c38474211024a33c0ec262a68a649083a8321ebdcc SHA512 4881df9ce5eb4e7dbfc855f5cf9b79b08b1106fe19dd93847287ce4c5f8448974106cf8c355f71c4401a5bf330df35fe687c4c2c239251987a54e3480099331a +DIST hcloud-python-2.18.0.gh.tar.gz 150688 BLAKE2B 298b0747aca32c66342b5b6bdaa90cbea10ed563edbcfda4aaa884dd2ee853fe544b10fc82c94946678a29eb9443f8b66ffb8c1e35c0ffbfecfd94b19b6c27de SHA512 af7100650ac156826024e50c2d72f4e2cc499b20c43e021659c702482945b9eda24a97b64be8d6555c3acbc28f17fa05f4ff9d744e13ca37b4d3942fe85801fa diff --git a/dev-python/hcloud/hcloud-2.18.0.ebuild b/dev-python/hcloud/hcloud-2.18.0.ebuild new file mode 100644 index 000000000000..d7afe9e03c30 --- /dev/null +++ b/dev-python/hcloud/hcloud-2.18.0.ebuild @@ -0,0 +1,51 @@ +# 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_{10..14} ) + +inherit distutils-r1 + +MY_P=hcloud-python-${PV} +DESCRIPTION="Official Hetzner Cloud python library" +HOMEPAGE=" + https://github.com/hetznercloud/hcloud-python/ + https://pypi.org/project/hcloud/ +" +# sdist is missing doc assets as of 1.19.0 +# https://github.com/hetznercloud/hcloud-python/pull/183 +SRC_URI=" + https://github.com/hetznercloud/hcloud-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +RDEPEND=" + >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.20[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/myst-parser \ + dev-python/sphinx-rtd-theme + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Integration tests need docker: + # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 + tests/integration +) + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index 62a6282ee5ab..9c4f950af2c4 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -5,3 +5,5 @@ DIST inline_snapshot-0.32.5.tar.gz 2626796 BLAKE2B 3e811658e005b4c095564ba9d94b7 DIST inline_snapshot-0.32.5.tar.gz.provenance 9388 BLAKE2B af33c329be8e941a1a91f6f6d5967dbca4d9ad10d9e7c6d98298d5e3b590348b55b4024a01f45a2756c4ab03722e10c9b0008057eaead6b73aa2258013601702 SHA512 0018391d0373218743c438812af50d38e4ac1394ca5784e4380ca0642d789801b4c3f9d76f5880053e9a78094f99b60238b6d91a29ba111ec698b80f20147cf0 DIST inline_snapshot-0.32.6.tar.gz 2627401 BLAKE2B bc5e6d2df47ee092fa26ed9f2206612dda294340e7df87dbf888583c5fd2965c52dd74d6039a3204f0a69a3679963b9137dd66c8c81e0c7d3b476d398ef7285c SHA512 853b0091e28244fd6d493a1a3d19ff947ce96b424f8e4700ec1f1e82c70fbda5113ee3b8b76f37efc74a80f14b999ff3f9c156936b3c626d67407216d00a8b3e DIST inline_snapshot-0.32.6.tar.gz.provenance 9438 BLAKE2B 8756279a2d22a5945eed8e973699399df90b12c021ecf501bc23c36cd3ac4deb0ddf0bc26e176fcefe4242381952ffa67a0348aa8b981bfbecd6d17b5009fd9f SHA512 0cafbbe3455c5e8c3938fa823c0acf0ab283d01e26ecacf9e4ab7a96dc5859f13d493c16246eac81b7770110ce7607500e27216dcf2247d29861b9631a9f5c49 +DIST inline_snapshot-0.32.7.tar.gz 2630267 BLAKE2B 5e063da1ab736d6506af9bb282e5ba5a3f36af7f8c69411ade923f8daf84c6abc32882bb7def4a8ff65c42c295f883116539eb7c529c93fafbfd22960121397a SHA512 2e417a21e9fa1d315981ab449c3682a3d925035cb6d5dc66cfb77f635e46c12fce9727aaa0c9ad37aeb6e1aa1a3f2fa3a9326e6c0f9e68777bc0f7a62dcd7228 +DIST inline_snapshot-0.32.7.tar.gz.provenance 9387 BLAKE2B 7205386789ed7c4ceaa12a2212df10c490286c1b18f33eddef705bb9276a6515cc6ac4439e390a754fdf931361b4644ccbf140e6a669dfea21e780ba47cc5f6a SHA512 5c6ec866395cbdf1b2d08f9a7bcbe0d07a2d9ff1a714ec4fc0cb41115d74ec9eda861f6779c73bdbf6d5899c2b93f70119a32e0d4028c6b09e411588b7683876 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.32.7.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.32.7.ebuild new file mode 100644 index 000000000000..0967f87cbd6d --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.32.7.ebuild @@ -0,0 +1,65 @@ +# Copyright 2024-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/15r10nk/inline-snapshot +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Create and update inline snapshots in your Python tests" +HOMEPAGE=" + https://15r10nk.github.io/inline-snapshot/ + https://github.com/15r10nk/inline-snapshot/ + https://pypi.org/project/inline-snapshot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] + >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-8.3.4[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/black-23.3.0[${PYTHON_USEDEP}] + >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/mypy[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,subtests,xdist} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires pyright + 'tests/test_typing.py::test_typing_args[pyright]' + 'tests/test_typing.py::test_typing_call[pyright]' + # TODO + tests/test_formating.py::test_format_command_fail + 'tests/test_docs.py::test_docs[categories.md]' + 'tests/test_docs.py::test_docs[code_generation.md]' + 'tests/test_docs.py::test_docs[testing.md]' + ) + + local -x PYTHONPATH=${S}/src + epytest +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ 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 new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +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 271137de443d..7100f5f39dd8 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 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ 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 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/lit-23.0.0.9999.ebuild b/dev-python/lit/lit-23.0.0.9999.ebuild index 2cc4b6485aed..d9be9ae795ab 100644 --- a/dev-python/lit/lit-23.0.0.9999.ebuild +++ b/dev-python/lit/lit-23.0.0.9999.ebuild @@ -30,10 +30,6 @@ llvm.org_set_globals # TODO: move the manpage generation here (from llvm-core/llvm) src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - cd "${WORKDIR}" || die distutils-r1_src_prepare } diff --git a/dev-python/mss/Manifest b/dev-python/mss/Manifest index ca184ee397d8..272269354985 100644 --- a/dev-python/mss/Manifest +++ b/dev-python/mss/Manifest @@ -1 +1,2 @@ DIST mss-10.1.0.tar.gz 84200 BLAKE2B f19a09e2429fc3bed358587680d589578536809055247b81a4bb2b0e9fd86ec531c849b3ad360e6612a08c3c70e29812febbd9650fc2b7ab98315d462077ce1f SHA512 4653881086d32906b88a83674feedfd995b8ad7637fcaf3eecd0a868537c9b2e94aa550ea4bcbfa813f599621cc697a32625ba145f061e994e166ff1501ee204 +DIST mss-10.2.0.tar.gz 200317 BLAKE2B d644ca74474342453c5bfa98773ed90ca35539f17d5ac835053228de92ed741672ee4296d0a8100a83e3ce8ede31f18e5da5d8f078d05656028e6f25a84cd70a SHA512 80ca4ffb85cce9e551ac5c69136ae3d7bb1b836c68bae68c8ff07a9b3f707eb9ccb7e3b9b2ef19aa4f6713aa899e2b35c4a65ad869f89f9411b52c9a837e07f8 diff --git a/dev-python/mss/mss-10.2.0.ebuild b/dev-python/mss/mss-10.2.0.ebuild new file mode 100644 index 000000000000..8d7239d2eed1 --- /dev/null +++ b/dev-python/mss/mss-10.2.0.ebuild @@ -0,0 +1,48 @@ +# 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 virtualx + +DESCRIPTION="An ultra fast cross-platform multiple screenshots module in python using ctypes" +HOMEPAGE=" + https://github.com/BoboTiG/python-mss/ + https://pypi.org/project/mss/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/pyvirtualdisplay[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-rerunfailures ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # upstream tests for self-build, apparently broken by setuptools + # issuing deprecation warnings + src/tests/test_setup.py +) + +EPYTEST_DESELECT=( + # unreliable `lsof -U | grep ...` tests + src/tests/test_leaks.py +) + +src_prepare() { + distutils-r1_src_prepare + sed -i -e '/--cov/d' pyproject.toml || die +} + +src_test() { + virtx distutils-r1_src_test +} diff --git a/dev-python/patch-ng/Manifest b/dev-python/patch-ng/Manifest index 6f5f1771dfd5..1e7bc521bec3 100644 --- a/dev-python/patch-ng/Manifest +++ b/dev-python/patch-ng/Manifest @@ -1 +1,2 @@ DIST python-patch-ng-1.19.0.gh.tar.gz 174192 BLAKE2B 7349d445a1a60c4eeb0f8fc3daf6a4918866700845212c1960964103ecf878b5299a5956e7d2b33ae7cf3222fca2d365a6a53614cb9848d9c25368ff1a534931 SHA512 2a0f65de2970e40a1d6152854d1dbfcccc8f14ef6f0f809e2ff974251dfaa1af995eef6ff514d36b0ee5bca874e34a592b0f1babff0d430377e415ea5cc32fc7 +DIST python-patch-ng-1.19.1.gh.tar.gz 174179 BLAKE2B 512b777df04f901d17e647aea40a34c000552d3f75d501826ed721c067522fcd5efddbe5992e8eeee8f4a167f8f7d0ea75a86f155e1d77a9765e4c45d966dc4d SHA512 4ab16c9404f797e39712161ec50f5d6c6fa172d5916667c8857d7038fa455ad483743da3e8a27f0c0183714e8b927f2703eb97627f7f985870a2f6df23ad4904 diff --git a/dev-python/patch-ng/patch-ng-1.19.1.ebuild b/dev-python/patch-ng/patch-ng-1.19.1.ebuild new file mode 100644 index 000000000000..98971d87d7d1 --- /dev/null +++ b/dev-python/patch-ng/patch-ng-1.19.1.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=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P=python-patch-ng-${PV} +DESCRIPTION="Library to parse and apply unified diffs, fork of dev-python/patch" +HOMEPAGE=" + https://github.com/conan-io/python-patch-ng/ + https://pypi.org/project/patch-ng/ +" +SRC_URI=" + https://github.com/conan-io/python-patch-ng/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests unittest + +python_test() { + "${EPYTHON}" -m unittest -v tests/run_tests.py || + die "Tests failed under ${EPYTHON}" +} diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest index 48565534ee4c..c379f74ed566 100644 --- a/dev-python/peewee/Manifest +++ b/dev-python/peewee/Manifest @@ -1,6 +1,3 @@ DIST peewee-3.19.0.gh.tar.gz 931867 BLAKE2B 94456fee11b8e1dc52e30b7d21fe42fecfaacf02e604b3199dc01b42d0fc29ca6027236cc08e584f180cf0b620891e886c00e1afce21548e23c99461c7f41fd0 SHA512 2924cbb8009f7523bf78aab2f7cc17ce5abfb5f45fbc25ce074e597934e2bd269e1806672b95c570fb199169fefc8e23551254934d964deb69596b8f3c27e6d3 -DIST peewee-4.0.0.gh.tar.gz 902288 BLAKE2B 84da3be85bd3514c817fc4ace518729af47e470eb6ef1d025ab972e2b34e88ea6ce276236f3ec921cce101b5dcbcf7c400aa8cd5504fe2d859ede671ce460f0b SHA512 73921d0363447f99739370b73392f52234ffb5e487faa08fe9f2322c8387456c4d5fa03613c79432b3310a5a95a8b02f5a26786d74ca5470c2089fd798edd87b -DIST peewee-4.0.1.gh.tar.gz 919747 BLAKE2B 4218f58e536ba84c89cee8fed5234a38687af41b871794e2f355420699382e9f27d8dba72219808eef06e15380af261335662673d79b2617a3186c4e61e94807 SHA512 d86b33f7e2570076dda9e23868ba2558567d673e32a9e405210786390283a5fc40cc904ee11e1a2cb93980b2ececa3a3fe94143480f270acac896ec72c541ff8 -DIST peewee-4.0.2.gh.tar.gz 926522 BLAKE2B 806cf98c98dbdcc1aa4e6288546bd573214d16bc1fe4fa3fdc7fe191c0f672f0e9887e3c17645e5f1deed1a22e443dac91949be6dab2a315f1e8a3561829a5cc SHA512 7c524108af91565301e38bc17806d8158a7d26db23142e407fdcc2f75dea7abce6585820164c99f9472559aa776c8477dbb8620e55f0dcd25facae767b94acb1 -DIST peewee-4.0.3.gh.tar.gz 952221 BLAKE2B 3abbf959cfa0a52199f4575d607013d08d9dbdd7b4a08bb27bd379fa195e9c390c0e3e2c9b2b7a71e1c7b9c2f81a7ef90514ad5656abc75348f12a7858d302aa SHA512 c73d3fec97b818a2fce44e5410501f07ef5c2f62b01f2b92d1b49ffaec71cc9609e75fed8ecda924656a35e4ab38a68312b62dc1a57f580609d3610c563926a3 DIST peewee-4.0.4.gh.tar.gz 952486 BLAKE2B 8f2b1ce7ff9199e3fc0b4ad469b4fbd06bb6e2ac2a3fe75e286b6ad3bcc583b5202a0395506431f4aa5acf1c88a23d9fe35625afe2f554cfa0675771593b4bf0 SHA512 2ec0d584db9884c0ccc6f0fee08d0b4abd9da5ecb72f5e93cf8fecaad7fbd801a9ddb80bf66ae07e3c094c0aae07ad34a230cee35dec9d3d0d2b256ff51d20dc +DIST peewee-4.0.5.gh.tar.gz 957569 BLAKE2B e2a8a37cf23c78975f7c98853b4ee6f34cb213a8736e13cbef48f30711e31bacf231dfa0591b1b38a51ce553b362d8dded33a43521b7ee21695daa2360474a53 SHA512 7292c6dc5211a0ffc46911b5f160db059921d02349b0c039f52463a2f9d1aa69b2b419270955b005dfcce645ac91790fbf9dc6c9bb980a464708a1b9801a5460 diff --git a/dev-python/peewee/peewee-4.0.1.ebuild b/dev-python/peewee/peewee-4.0.1.ebuild deleted file mode 100644 index eb74eea6a486..000000000000 --- a/dev-python/peewee/peewee-4.0.1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# 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} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Small Python ORM" -HOMEPAGE=" - https://github.com/coleifer/peewee/ - https://pypi.org/project/peewee/ -" -SRC_URI=" - https://github.com/coleifer/peewee/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -IUSE="examples +native-extensions test" -RESTRICT="!test? ( test )" - -DEPEND=" - native-extensions? ( dev-db/sqlite:3= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - ) - test? ( - dev-db/postgresql - dev-python/psycopg:0[${PYTHON_USEDEP}] - sys-libs/timezone-data - ) -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -src_prepare() { - default - - # disable test failing on postgres 16 - sed -e 's/test_timeout/_&/' -i tests/sqliteq.py || die -} - -src_compile() { - if ! use native-extensions; then - local -x NO_SQLITE=1 - fi - - distutils-r1_src_compile -} - -src_test() { - initdb -D "${T}"/pgsql || die - pg_ctl -w -D "${T}"/pgsql start -o "-h '' -k '${T}'" || die - createdb -h "${T}" peewee_test || die - psql -h "${T}" peewee_test -c 'create extension hstore;' || die - - local -x PEEWEE_PSQL_HOST="${T}" - distutils-r1_src_test - - pg_ctl -w -D "${T}"/pgsql stop || die -} - -python_test() { - "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" -} - -python_install_all() { - use examples && DOCS=( examples/ ) - distutils-r1_python_install_all -} diff --git a/dev-python/peewee/peewee-4.0.2.ebuild b/dev-python/peewee/peewee-4.0.2.ebuild deleted file mode 100644 index eb74eea6a486..000000000000 --- a/dev-python/peewee/peewee-4.0.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# 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} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Small Python ORM" -HOMEPAGE=" - https://github.com/coleifer/peewee/ - https://pypi.org/project/peewee/ -" -SRC_URI=" - https://github.com/coleifer/peewee/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -IUSE="examples +native-extensions test" -RESTRICT="!test? ( test )" - -DEPEND=" - native-extensions? ( dev-db/sqlite:3= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - ) - test? ( - dev-db/postgresql - dev-python/psycopg:0[${PYTHON_USEDEP}] - sys-libs/timezone-data - ) -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -src_prepare() { - default - - # disable test failing on postgres 16 - sed -e 's/test_timeout/_&/' -i tests/sqliteq.py || die -} - -src_compile() { - if ! use native-extensions; then - local -x NO_SQLITE=1 - fi - - distutils-r1_src_compile -} - -src_test() { - initdb -D "${T}"/pgsql || die - pg_ctl -w -D "${T}"/pgsql start -o "-h '' -k '${T}'" || die - createdb -h "${T}" peewee_test || die - psql -h "${T}" peewee_test -c 'create extension hstore;' || die - - local -x PEEWEE_PSQL_HOST="${T}" - distutils-r1_src_test - - pg_ctl -w -D "${T}"/pgsql stop || die -} - -python_test() { - "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" -} - -python_install_all() { - use examples && DOCS=( examples/ ) - distutils-r1_python_install_all -} diff --git a/dev-python/peewee/peewee-4.0.3.ebuild b/dev-python/peewee/peewee-4.0.3.ebuild deleted file mode 100644 index eb74eea6a486..000000000000 --- a/dev-python/peewee/peewee-4.0.3.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# 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} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Small Python ORM" -HOMEPAGE=" - https://github.com/coleifer/peewee/ - https://pypi.org/project/peewee/ -" -SRC_URI=" - https://github.com/coleifer/peewee/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -IUSE="examples +native-extensions test" -RESTRICT="!test? ( test )" - -DEPEND=" - native-extensions? ( dev-db/sqlite:3= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - ) - test? ( - dev-db/postgresql - dev-python/psycopg:0[${PYTHON_USEDEP}] - sys-libs/timezone-data - ) -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -src_prepare() { - default - - # disable test failing on postgres 16 - sed -e 's/test_timeout/_&/' -i tests/sqliteq.py || die -} - -src_compile() { - if ! use native-extensions; then - local -x NO_SQLITE=1 - fi - - distutils-r1_src_compile -} - -src_test() { - initdb -D "${T}"/pgsql || die - pg_ctl -w -D "${T}"/pgsql start -o "-h '' -k '${T}'" || die - createdb -h "${T}" peewee_test || die - psql -h "${T}" peewee_test -c 'create extension hstore;' || die - - local -x PEEWEE_PSQL_HOST="${T}" - distutils-r1_src_test - - pg_ctl -w -D "${T}"/pgsql stop || die -} - -python_test() { - "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" -} - -python_install_all() { - use examples && DOCS=( examples/ ) - distutils-r1_python_install_all -} diff --git a/dev-python/peewee/peewee-4.0.0.ebuild b/dev-python/peewee/peewee-4.0.5.ebuild index eb74eea6a486..eb74eea6a486 100644 --- a/dev-python/peewee/peewee-4.0.0.ebuild +++ b/dev-python/peewee/peewee-4.0.5.ebuild diff --git a/dev-python/pyside/pyside-6.10.3.ebuild b/dev-python/pyside/pyside-6.10.3.ebuild index 4da1d2d60844..a10f71f0f3cf 100644 --- a/dev-python/pyside/pyside-6.10.3.ebuild +++ b/dev-python/pyside/pyside-6.10.3.ebuild @@ -32,7 +32,7 @@ if [[ ${PV} == *.9999 ]]; then else SRC_URI="https://download.qt.io/official_releases/QtForPython/${PN}6/PySide6-${PV}-src/${MY_P}.tar.xz" S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86" fi LICENSE="|| ( GPL-2 GPL-3 LGPL-3 )" diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 3b8ddbdaf2c8..52f90c84465e 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,3 +1,4 @@ DIST pysnmp-7.1.22.gh.tar.gz 463898 BLAKE2B 3e43fe160757b251fc01a2d1f71435d9e32037611361f06fa66ca3e968079ed68c646210c41593543c28a28f312c19ad7905447dc91e37c515aa9d0ba1d7b05d SHA512 f77690c2f269e76c8a2f556e86207af9ccb1ecf608f1748e2fad1e01b0795b133019957e6956027a394cd7c36f45e105eb89ef3a71750266f6839bcdfc49cb95 DIST pysnmp-7.1.23.gh.tar.gz 470924 BLAKE2B 887446ae996c4761d09043a4a4df9ffe8532392e6f6fa8c1d00991567595143e78b331f6e3c23bd4db43d81c723e17e2cbe45891115e02821fb81559ee570f16 SHA512 97d0f9e44b8cff08623feba43eeff7fc185aab80777f953d6e71c0be96e76012cb65e5d96e929398a9ca0571c698c7aa2cef8afdd2265b6e3c213fcfc5ac1544 DIST pysnmp-7.1.24.gh.tar.gz 474073 BLAKE2B 4101e7516a76fabbf7babe7c0444ca802a18e3dce3429f823bc2ca3bdf0e7b153fc35815f07d42083f821a4644432e43b894d8a742cfcc33e1338d0ab77ee8a4 SHA512 c5554855d324e7e80b5ecac4475a95048bf2baf111b21f847912854b561f1a716043ba229735fc005d945a7f4e92b2d9c8c00bd49a20c27ea86c17e5b0042c61 +DIST pysnmp-7.1.25.gh.tar.gz 474626 BLAKE2B 719dc01aed012e29f45fa13c1e4132fe2dfff6a9e852c36d990ee184555ef61067ca626bfb5836b8cd255cc40452e929808002dcc7277d4018f9b09a6bcb136b SHA512 ec6ae8f19e8ee242e36cd1c2fa28c03eb3526b76dd4d7226bc21f63f4b645342c22e66d88880f2083b8a11e8721df50e29ef73329374304349e9c9af0d4a9996 diff --git a/dev-python/pysnmp/pysnmp-7.1.25.ebuild b/dev-python/pysnmp/pysnmp-7.1.25.ebuild new file mode 100644 index 000000000000..ae2698ac61d8 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.25.ebuild @@ -0,0 +1,51 @@ +# 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 + +DESCRIPTION="Python SNMP library" +HOMEPAGE=" + https://pypi.org/project/pysnmp/ + https://github.com/lextudio/pysnmp/ +" +SRC_URI=" + https://github.com/lextudio/pysnmp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/cryptography-43.0.1[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.6.3[${PYTHON_USEDEP}] + >=dev-python/pysmi-1.5.7[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-{asyncio,rerunfailures} ) +# flaky because of timeouts +EPYTEST_RERUNFAILURES=5 +distutils_enable_tests pytest +# TODO +# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/smi/manager/test_mib-tree-inspection.py::test_getNodeName_by_symbol_description_with_module_name_2 + ) + + mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die + mibdump LEXTUDIO-TEST-MIB || die + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 1781ec7d814a..bc2b531fc39f 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,3 +1,3 @@ -DIST stripe-14.3.0.tar.gz 1463618 BLAKE2B 6783b412c94089d13dc1efd14eb43bf2cbed93d818a9ab448cdb32bbfed975dd625baf9f51c6be2630c8dcbfe1da9a9520ee14d306e5fa1ddc7b7c4bdff39994 SHA512 85e82cadd82412b2dfee8750b92029ff8ef835d38499913644914e9a765aa57cafa659603fa403ea102149198744a5e769b5e325c653a13bdccaf31a6c94f944 DIST stripe-14.4.1.tar.gz 1473321 BLAKE2B ec9f7a96f8777b7239baef145de3534e43bdd56d308ace8387ce8cd5f3bf1a17438fd806c6e3200076411aac55796b3b41c2cf635a204a73e57cf6698b1498c7 SHA512 9e7f267363629294b81d8f132a371846a407a7f96d57e40fc9ba3597eb5cf34572afac405d5244aa2d1fc8bce0c3c81dc2321926560b9d3c4cd99b80d59c8a32 DIST stripe-15.0.1.tar.gz 1490326 BLAKE2B 8afe273c6f91a5d43a055f3de32c4c3188537a26267242ab4be281b90f88297811129251379be9ed5652f0eb998691cfef74c11bf20db7c0ffbdc631b9795ed9 SHA512 4bbdfdacf421164b15d1b7329d723b24986e978f04f416e9c2c526a1e72692dbb66075feea5cef3660ea950e6c26d4fb2e6eaaf1d06aac125a5a51fe3af1caec +DIST stripe-15.1.0.tar.gz 1501673 BLAKE2B d494b52288d89a2ec4f42603a4502ae40391c1101a13f4bbd74f6a40e84885c2fdf519f2c41026ae7ac7bb609c446aca50e1ae65ab1661f9ad4538bd4ada6a2d SHA512 1e050e5c66ba4144adf9f07199987ed89c3618599b2cf03234e43df4dd95885089289ded57ed9e204403c84d13fe6242a7bfe7023e220afb206f9b6e6df9fe32 diff --git a/dev-python/stripe/stripe-14.3.0.ebuild b/dev-python/stripe/stripe-15.1.0.ebuild index 391a5ec0f30c..c5285afc42cd 100644 --- a/dev-python/stripe/stripe-14.3.0.ebuild +++ b/dev-python/stripe/stripe-15.1.0.ebuild @@ -16,12 +16,12 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="telemetry" RDEPEND=" >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.7.0[${PYTHON_USEDEP}] " # please bump dev-util/stripe-mock dep to the latest version on every bump BDEPEND=" diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index 980ae0de6259..695daf438495 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,3 +1,4 @@ DIST translate-3.19.3.gh.tar.gz 1297097 BLAKE2B 4dad6f730ad441cb709990a12eebfc38d98b805c469f07b5eafb46f85aee7c58572d449e1325a7f0f7b438288ad290136ee07b1b8acac5680a7f8a5707a7ad0e SHA512 36c2308bbe8c512bf72bf4a8d29129cf096f514c5c78f9c464183130ec287b70dc0cc79d95e73082e1c978af2e335ac48159cb0fca861a0555a320e82128275d DIST translate-3.19.4.gh.tar.gz 1312664 BLAKE2B 90da92402354a10bb68701781bd2572aa8461aa858840badbbdc866da8ddc600006b9d22e177f5f3ce68a5eaec14f38373f6c13c758d84f208da71a97885161d SHA512 e4fbf1276205452782f798b1f57fb2acb57fc1d92246a032e2912def53db1764121a6a0ddff9a9237a21f9bb1fad274129133517ec28e8d26add592ac7b4ebcc DIST translate-3.19.5.gh.tar.gz 1320567 BLAKE2B ea27702656b25423fa71f0624d68a82d75ba8a4bb334846f3dfa2f4448ead68987ad6ff15a7cd1c74f6199ecf14c80e9d3d7b50b914f74756848ed37a6974ed3 SHA512 92a5d65217ff15cee3753071cd78b218c6492049752b395fc841799c71eea056027515455b65565b2d22f1eba7305bc0d5ee453cd7995d52fa7f88f0d3fe7876 +DIST translate-3.19.6.gh.tar.gz 1327150 BLAKE2B a1337276a2a15a7d522e86def20df4137fec8f566df8ca1ec945b12e627a4ebf78aaace4266ef1ef00dca5ac30b3767dea0a1dcd79d3fe8bb8b5cf74dcff1117 SHA512 c21c563e530fe3550c1e5d97f30cb861f47bcde867547a07aaa992fe8721ad20fa18a2a2227fccd2b458cf14a2788137176a1eff5b11f4cfbc4f5cbdfdfc7729 diff --git a/dev-python/translate-toolkit/translate-toolkit-3.19.6.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.19.6.ebuild new file mode 100644 index 000000000000..2745b3ccd23f --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.19.6.ebuild @@ -0,0 +1,130 @@ +# 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_{10..14} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_P=translate-${PV} +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE=" + https://github.com/translate/translate/ + https://pypi.org/project/translate-toolkit/ +" +SRC_URI=" + https://github.com/translate/translate/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+html +ical +ini +subtitles +yaml" + +RDEPEND=" + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}] + >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/unicode-segmentation-rs-0.2.0[${PYTHON_USEDEP}] + >=dev-python/wcwidth-0.2.14[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" +# Technically, the test suite also has undeclared dependency +# on dev-python/snapshottest but all the tests using it are broken +# anyway, so we skip them. +BDEPEND=" + test? ( + dev-python/phply[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # strip unnecessary pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die +} + +src_test() { + # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS + # correctly, so we need to reassemble all data files in a single directory + local -x XDG_DATA_HOME=${T}/share + cp -r translate/share "${T}/" || die + cp -r "${ESYSROOT}"/usr/share/gaupol "${XDG_DATA_HOME}"/ || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Fails with network-sandbox (and even with it off but w/ softer fail) + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + # all tests based on snapshottest are broken and I'm too tired + # to figure this out + tests/translate/tools/test_pocount.py::test_{cases,output} + tests/translate/tools/test_junitmsgfmt.py::test_output + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + tests/translate/storage/test_fluent.py + tests/translate/convert/test_fluent2po.py + # changes directory and does not change it back, sigh + tests/odf_xliff/test_odf_xliff.py + ) + + if ! has_version "dev-python/iniparse[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py + ) + fi + + if ! has_version "media-video/gaupol[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py + ) + fi + + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr + doins -r translate/share + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi +} diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 166bebad0e1f..9b86792523d4 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,3 +1,3 @@ -DIST trimesh-4.11.3.gh.tar.gz 13708539 BLAKE2B 8d14a609eff6ffe4b876e4fe7ad94fab78929cd9096cca99ef7259c596b0cd3de409c1ade316911934fd77e5384146d2ca18f9063042cfa4eb5e5e8f1c7c3b26 SHA512 0481a7ac870da163633c0a51ccaa804d0c0f660cec92765d56af916ebe121a93d5363915b27db40898c03bcc7b6afbe86efd03c76c8eac66ddf1cfb538ec4e3f DIST trimesh-4.11.4.gh.tar.gz 13710953 BLAKE2B 799a9eae33a781d303a6a732b41c1744aae1aaf344d9d59dd33165865c023928246bca4fba023ceffc5d1e7131d43fe6a66457282791bda2ccf57aeb53af3714 SHA512 028b089293cac6c487a20188ef429f11813eb13641b0775ec192e3ae2c07ccb234813f94b29a3bfa7639332586889ddfe2db9f1d56fd7b0170baf919f0ac1ad8 DIST trimesh-4.11.5.gh.tar.gz 13711494 BLAKE2B 4a03edebf9be2bb6d6fb06d6085d8d144175279ec5d876aae79d449aba93ded2410167a3b6f3692ad0ad1da96f62d2c3333beb951b0ef17586a7def8a0b4a4a3 SHA512 da32e900ab14b0abf86703db9caa7475cb906035c9b5f096cf44bb40a24d3d65dd53e2e028e3f78e14c3dd7a91a357b54c4fa802fb09ff1688022b7dd8770f14 +DIST trimesh-4.12.0.gh.tar.gz 13717504 BLAKE2B d712b44ca8fe2acbaeba61f1281294183624e54c4dbb8976ab521b49792acdc4f1b98bbfcbc8ee40f12f2f732f15bf42d6034822a28e7f9a6303390a00795a78 SHA512 80e09da861ebef2568ee61719db18eea349b7d21ab9e7b0bb5a4b4deccc43bfc52dd9e492b9c04fd5ae95e6a59a4130e69b96727ebdef989adeccbd40c9a91c6 diff --git a/dev-python/trimesh/trimesh-4.11.3.ebuild b/dev-python/trimesh/trimesh-4.12.0.ebuild index 1509fa02ec8e..8662f3561981 100644 --- a/dev-python/trimesh/trimesh-4.11.3.ebuild +++ b/dev-python/trimesh/trimesh-4.12.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" dev-python/charset-normalizer[${PYTHON_USEDEP}] @@ -49,9 +49,18 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() +: ${EPYTEST_TIMEOUT:=300} +EPYTEST_RERUNS=3 +EPYTEST_XDIST=1 + +distutils_enable_tests pytest + EPYTEST_DESELECT=( # requires manifold3d tests/test_boolean.py::test_multiple_difference + # requires embreex + tests/test_ray.py::test_rps # timing nonsense tests/test_bounds.py::BoundsTest::test_obb_mesh_large ) @@ -60,13 +69,6 @@ EPYTEST_IGNORE=( tests/test_sweep.py ) -EPYTEST_PLUGINS=() -: ${EPYTEST_TIMEOUT:=300} -EPYTEST_RERUNS=3 -EPYTEST_XDIST=1 - -distutils_enable_tests pytest - python_test() { # We run tests in parallel, so avoid having n^2 threads in lapack # tests. diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest index 1c18ae2d04be..c02e3e5279ed 100644 --- a/dev-python/uvicorn/Manifest +++ b/dev-python/uvicorn/Manifest @@ -6,3 +6,5 @@ DIST uvicorn-0.44.0.tar.gz 86947 BLAKE2B 6cf936eebb395e080707f7c9e5e77ee5c1d783e DIST uvicorn-0.44.0.tar.gz.provenance 9016 BLAKE2B 46257ff3e877215d56031dca65c6161ee6a1877d75127b4321deee13d7cdf5165d7c94a004503110932cbdd6986c64a03beb9cc8c7d85d602b691335022d4fcb SHA512 baa2f9b2eb0e6f8a53a2708854f22c92fdc30ed46d0d5b58865281cf00598f0faff5fee7c9e42e64f1efe27f9bc384cf6162a14bc5c0e86c2a064fe23e87f7b9 DIST uvicorn-0.45.0.tar.gz 87818 BLAKE2B fcee2f622aa6dfebf403fc8467381196c8eb737327a4d1a8b608c5379133ab3d186165d7ffbd1f5a90fd77b73f7816f4a14f41777cec9ee3b030ac7356ec5b67 SHA512 54a3a65c3fa3038a0b77d9fb272f7a7155783dca0a786bd517c96f7ebedb90ad3090b0039d26f388fff107b1bb028a8f0aaccbe6a00ad251e83a9687dadf86d1 DIST uvicorn-0.45.0.tar.gz.provenance 9302 BLAKE2B 382e7c472df9fa8acc89509c32c3fa9d6c00f0689722203ee3a0bde25952fba6884a9a1ba67c470816de9db6910d32f1b7940d9ffbb33a18759b9f1ed07fa135 SHA512 1c810d2a2e90bb27471853ca8ffc710ae824ec07f396e32075c36cbbfc154dcfdca759d35fe412aa3b656e447d3a29323be4b7fa34ac24779a5674d137ec0749 +DIST uvicorn-0.46.0.tar.gz 88758 BLAKE2B b2ea96cf8985d5cee09edb119d0198bc901c8167b6f05bdf4528a0407a571fc0ad814dbf4fd7ac7a20a66d355bcbb1bfbf9bcf1656d94e12d875d7583fe4cfdb SHA512 409d162e597ca5ee8a0155e885f706914e449b1316be6e45401a6ee606997035ccd3950a6841a4bd6daf594dc779420ad35b47479a229fa599821018cc7a4e4b +DIST uvicorn-0.46.0.tar.gz.provenance 9204 BLAKE2B f96dea92f1167050ec785b67fae0a9b89d9e8aebc17d2f299beb3dd3c0627e9a07cf69011b88c0880c37e6f1e45c97cf00900c182afd305689c2a875901f847b SHA512 38e22587c3f1ff4508c19b1bc67da378b7c4c0b006467ac70ec42f8b77f57014836a8e519c6bf3918d4965677ca3acb333f020e512a3e17314facbb4b53a52dd diff --git a/dev-python/uvicorn/uvicorn-0.46.0.ebuild b/dev-python/uvicorn/uvicorn-0.46.0.ebuild new file mode 100644 index 000000000000..2901455f26da --- /dev/null +++ b/dev-python/uvicorn/uvicorn-0.46.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 2021-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/Kludex/uvicorn +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Lightning-fast ASGI server implementation" +HOMEPAGE=" + https://www.uvicorn.org/ + https://github.com/Kludex/uvicorn/ + https://pypi.org/project/uvicorn/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + >=dev-python/h11-0.8[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/a2wsgi[${PYTHON_USEDEP}] + >=dev-python/httptools-0.6.3[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + >=dev-python/websockets-10.4[${PYTHON_USEDEP}] + dev-python/wsproto[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + >=dev-python/watchfiles-0.20[${PYTHON_USEDEP}] + ) + ) +" + +EPYTEST_PLUGINS=( anyio pytest-mock ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # too long path for unix socket + tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers + # TODO + 'tests/protocols/test_http.py::test_close_connection_with_multiple_requests[httptools]' + 'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[httptools-max=defaults sent=defaults+1]' + 'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[h11-max=defaults sent=defaults+1]' + # tests broken with non-ancient dev-python/websockets + tests/protocols/test_websocket.py::test_fragmented_message_exceeding_max_size + tests/protocols/test_websocket.py::test_fragmented_message_reassembly + ) + case ${EPYTHON} in + pypy3*) + # TODO + EPYTEST_DESELECT+=( + tests/middleware/test_logging.py::test_running_log_using_fd + ) + ;; + esac + + epytest +} + +pkg_postinst() { + optfeature "auto reload on file changes" dev-python/watchfiles +} |
