From be88a86dea938e680085db5cc19607753a229a88 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 20 Feb 2026 07:16:49 +0000 Subject: Adding metadata --- dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.42.53.ebuild | 53 ++++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.42.53.ebuild | 67 +++++++++++ dev-python/dj-database-url/Manifest | 1 + .../dj-database-url/dj-database-url-3.1.2.ebuild | 29 +++++ dev-python/flask/Manifest | 3 +- dev-python/flask/flask-3.1.1.ebuild | 58 --------- dev-python/flask/flask-3.1.3.ebuild | 56 +++++++++ dev-python/isort/Manifest | 1 + dev-python/isort/isort-8.0.0.ebuild | 73 +++++++++++ dev-python/langdetect/Manifest | 2 - .../files/langdetect-1.0.9-explicit-config.patch | 13 ++ dev-python/langdetect/langdetect-1.0.9.ebuild | 4 +- dev-python/langdetect/metadata.xml | 10 +- dev-python/regex/Manifest | 1 + dev-python/regex/regex-2026.2.19.ebuild | 37 ++++++ dev-python/responses/Manifest | 2 +- dev-python/responses/responses-0.25.7.ebuild | 44 ------- dev-python/responses/responses-0.26.0.ebuild | 33 +++++ dev-python/rich/Manifest | 1 + dev-python/rich/rich-14.3.3.ebuild | 70 +++++++++++ dev-python/testtools/Manifest | 2 + dev-python/testtools/testtools-2.8.4.ebuild | 44 +++++++ dev-python/tox/Manifest | 2 + dev-python/tox/tox-4.41.0.ebuild | 92 ++++++++++++++ dev-python/typeguard/Manifest | 2 + dev-python/typeguard/typeguard-4.5.1.ebuild | 41 +++++++ dev-python/virtualenv/Manifest | 2 + dev-python/virtualenv/virtualenv-20.38.0.ebuild | 133 +++++++++++++++++++++ dev-python/werkzeug/Manifest | 2 + dev-python/werkzeug/werkzeug-3.1.6.ebuild | 53 ++++++++ 32 files changed, 820 insertions(+), 113 deletions(-) create mode 100644 dev-python/boto3/boto3-1.42.53.ebuild create mode 100644 dev-python/botocore/botocore-1.42.53.ebuild create mode 100644 dev-python/dj-database-url/dj-database-url-3.1.2.ebuild delete mode 100644 dev-python/flask/flask-3.1.1.ebuild create mode 100644 dev-python/flask/flask-3.1.3.ebuild create mode 100644 dev-python/isort/isort-8.0.0.ebuild create mode 100644 dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch create mode 100644 dev-python/regex/regex-2026.2.19.ebuild delete mode 100644 dev-python/responses/responses-0.25.7.ebuild create mode 100644 dev-python/responses/responses-0.26.0.ebuild create mode 100644 dev-python/rich/rich-14.3.3.ebuild create mode 100644 dev-python/testtools/testtools-2.8.4.ebuild create mode 100644 dev-python/tox/tox-4.41.0.ebuild create mode 100644 dev-python/typeguard/typeguard-4.5.1.ebuild create mode 100644 dev-python/virtualenv/virtualenv-20.38.0.ebuild create mode 100644 dev-python/werkzeug/werkzeug-3.1.6.ebuild (limited to 'dev-python') diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 828e6e118abe..53b4d04dbd9f 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -9,3 +9,4 @@ DIST boto3-1.42.49.gh.tar.gz 1085810 BLAKE2B f9015a7ea5ff20a8c65d2ce25de3df2dab0 DIST boto3-1.42.50.gh.tar.gz 1086325 BLAKE2B d81f65b37af6cbec127dcc3e188880b31c6516b9870e33888117b70acfb739ac7677010b0496707518fce190e8bf49453de044ca3dd4e3a7a5cf57b75b496676 SHA512 1834d06a828e7ba1b8cbee90040afa1c0b128646d53f5cd4b253ce000c4970375484480c89c4d9ee1b6cc769d466af2a5595dd11205b373b4fe373867ffadae5 DIST boto3-1.42.51.gh.tar.gz 1086626 BLAKE2B 2e08abbef723638076c39fd515659bde8fb485868e6951525a1930a5e5cdff5ac0a5683302e295d64bb737a333d7da36d950431c78baafc5e29fb1783c5097ca SHA512 8f51f5dc3b37ffaad6c4c2a87408b54dc7d8dce6c08009876c3475c3e95a247e78baf83144715c6b485a66abbc725948e248c6f032467f5bdeb4029f4a9fdf2a DIST boto3-1.42.52.gh.tar.gz 1086491 BLAKE2B 45f71cdaa4b4b73c9c502cec09772d25328a9140517bc5941d3b3125c3417f20f60ba7269035725f991a5ed2ded6755db89cff6232e9d50c67e2993844a674e0 SHA512 69d139ec9f68f6d8e3794e6fa2e63fd17f9953e1a06df74ef7f7b4eae31f4c1a4876c33f694aac37448d6b82ac6788fe59916b3a82b76c65d6064b7929aa8308 +DIST boto3-1.42.53.gh.tar.gz 1087318 BLAKE2B af74c567314eaaa3a225632317d63c1df76019863012177857c44436fe9c979e4e102e81ad3b92197187307f30728c7af1f0ed69e121fff15515d608f4f72aed SHA512 11c1f1bfb6645dee88da3fb08c05ce40b1c4593a4ea33ea6a322b8eb004a4317dde5acc47434bd978d7be858929cdd686516f171384f98f127fe82352713f19c diff --git a/dev-python/boto3/boto3-1.42.53.ebuild b/dev-python/boto3/boto3-1.42.53.ebuild new file mode 100644 index 000000000000..6e5f06a012ad --- /dev/null +++ b/dev-python/boto3/boto3-1.42.53.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 f346548423bb..8f5d017561d7 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -9,3 +9,4 @@ DIST botocore-1.42.49.gh.tar.gz 15843630 BLAKE2B 823ba230ac7ba7fb3ecef8c716ff0fa DIST botocore-1.42.50.gh.tar.gz 15844813 BLAKE2B 17738a393aee02ecf689acbb95daa9e1a8350913e8d8e24d00e0cd8a25f83bd688363558594f6cc22627a2d79c28b52dd2a99be64d2dc9023721e71c0de1881b SHA512 ebdd01be0d7653c2d31b77007998bfa09f1e67df1054e1bba4b121446fe1aa25a8646de8002621b870cbcd35614c80ce56ad89025f0b017c8d90ff3e66754a16 DIST botocore-1.42.51.gh.tar.gz 15803682 BLAKE2B 9b986c8171c3e4d8770d9996b995c2a440bd18f2e66c4bead3dbeee2f83b234576aebd3ce0d26e15a2a383cb1951111c06ebb1e614d29b6e1a818deb3199fa90 SHA512 13779007ca629d687fdc631dcd3e3f72f91f53496010f94d489c84132180cb71ff1209b933ac6de5a26adaa63670d12cb0229b8d3be35bd673cd9f0d0417ed09 DIST botocore-1.42.52.gh.tar.gz 15803656 BLAKE2B 429a6dafb158f11504d9ce888373af52d5916e76349101aec3ed83d3feb92e319692f6c8cdcb6d7dbf34cff4525bcc19dbea0346d95cf81c7516d56a83917818 SHA512 e88701a7f6091f8967586476b5dbe4216dc7a9b244e6a3f6d4c78612c8c47a14dd37e8cbff4e13d20cbf283e8eda858cba4f41498a6cade0c946b18c943a5ea7 +DIST botocore-1.42.53.gh.tar.gz 15805189 BLAKE2B 41192b9714c72f7841c6ad1dc11014c0714ce1b89f6020cbe806f91fde811762028d02b71499e3c14703f0b46f0f450f4662bc6901fe4787ff5b6e5703a3ea60 SHA512 812ac85114b50b038e97f25b4ac4467949c1919d3b49d029f15bc66e8aa6a170d8c0b927fa2f6ab75872c064b36113fa0758aca44766006e32c5ebffd9e1d1e1 diff --git a/dev-python/botocore/botocore-1.42.53.ebuild b/dev-python/botocore/botocore-1.42.53.ebuild new file mode 100644 index 000000000000..f6ce0d9ed8d5 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.53.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/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/dj-database-url/Manifest b/dev-python/dj-database-url/Manifest index c9885fd84db2..31a81b54da50 100644 --- a/dev-python/dj-database-url/Manifest +++ b/dev-python/dj-database-url/Manifest @@ -1 +1,2 @@ DIST dj_database_url-3.0.1.tar.gz 12556 BLAKE2B a0c9fc78c1f37f7f08addc111178636250706feb65e7200e1403c12916a619eb16fcddb11f8d59f528df8b5aa7816217fa0abcf1ee77f55811f264e5aaa50eda SHA512 7a7bb8b4f30659bf88f95b698b4147a3767c52a21996c39367267f516abe8d623954d9a9921cb3995e617478d22a2c6d56c30e1b80ad543933c1f0dbfe3e46bd +DIST dj_database_url-3.1.2.tar.gz 11490 BLAKE2B f3a1fa91c1919878ac6dc84de1ff267ca86bd414a2df066395fd0d7902973edfff187f6160943506dc40fdb867f1ffff5ad2846acd47abf2870bd41787c6b92c SHA512 e2c465542ef7840d8950b583f3d89988bf52c432a4c3f3ec3825f94634fd2729c0964dcd4570c91698cd6d136421cc50236fae0118932ff5602bc09b29186199 diff --git a/dev-python/dj-database-url/dj-database-url-3.1.2.ebuild b/dev-python/dj-database-url/dj-database-url-3.1.2.ebuild new file mode 100644 index 000000000000..ca6e0a61baaf --- /dev/null +++ b/dev-python/dj-database-url/dj-database-url-3.1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=uv-build +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Use Database URLs in your Django Application" +HOMEPAGE=" + https://github.com/jazzband/dj-database-url/ + https://pypi.org/project/dj-database-url/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/django-4.2[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + eunittest -s tests +} diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest index a5d70980f977..d472421f2e0a 100644 --- a/dev-python/flask/Manifest +++ b/dev-python/flask/Manifest @@ -1,2 +1,3 @@ -DIST flask-3.1.1.tar.gz 753440 BLAKE2B 272ffc7c97ed68c8929e4b9aa41b6efac0beb205471e60e5a14030328be28fe629fe35d02440920abedc27d288ba20d36221c83aa6f64ef090d6ed3b248576bd SHA512 b582b71e10f72c2096f4a665a8182775165f48eece8bcded9ca5791bc575e3333ac913fb355279f0bee93fc57c16f9a8b635b329bfd71ed42df2b288c1a69741 DIST flask-3.1.2.tar.gz 720160 BLAKE2B 504b78897fb62ebed541d63edb14063dce70cf6f5aaabfa2e53570f64ca2184ff1ba5720f559efa9fdb477917370e256619a97b9250e38559a8f759b2cbfb4d3 SHA512 4eacac745cc285d82956a040385ec08d134ef639a7fe802a0bbb8b8d92e0c341668eed3ab49eedf4500796b7f1d54930e6a94515f88daedb39928fdbc693ac9b +DIST flask-3.1.3.tar.gz 759004 BLAKE2B ff058d5d1f3565072704542245296ea709bf34061277b3681cb600705e201ca6d38153e02df3a3e3a6c9e7bf78add85fc9209c13509bd92ca687a89df4c5b945 SHA512 17c290fdccf3c7e45eeaf5d12a967889f6b0c6aac06a518624a18eb4de67904e825a2724d0c4d7701bb7e75a2f4629089a658e30909c6c7fe20992cc431b273e +DIST flask-3.1.3.tar.gz.provenance 9221 BLAKE2B 8f06b8964259a210d39814f5905bcd22a0ed023a8394b47f63612ddc74261c81dfb4af74e29078c222bf14e699dc1647a0638d6887d802e424b6463b1a482c1e SHA512 f7a4b0843fc0cf133c68cb3778217b2561cc3af40af233a1ec96abed5869a74ebd190eb915489ff97461ea8401683996614146d1dd21e423b452215bfb7a18a8 diff --git a/dev-python/flask/flask-3.1.1.ebuild b/dev-python/flask/flask-3.1.1.ebuild deleted file mode 100644 index 6a9264bc2baf..000000000000 --- a/dev-python/flask/flask-3.1.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" -HOMEPAGE=" - https://palletsprojects.com/p/flask/ - https://github.com/pallets/flask/ - https://pypi.org/project/Flask/ -" -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git" - inherit git-r3 -else - inherit pypi - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="examples" - -RDEPEND=" - >=dev-python/blinker-1.9[${PYTHON_USEDEP}] - >=dev-python/click-8.1.3[${PYTHON_USEDEP}] - >=dev-python/itsdangerous-2.2.0[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.1.2[${PYTHON_USEDEP}] - >=dev-python/werkzeug-3.1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/asgiref-3.2[${PYTHON_USEDEP}] - !!dev-python/shiboken2[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs \ - dev-python/pallets-sphinx-themes \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs \ - dev-python/sphinxcontrib-log-cabinet -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/flask/flask-3.1.3.ebuild b/dev-python/flask/flask-3.1.3.ebuild new file mode 100644 index 000000000000..7a44193ad52c --- /dev/null +++ b/dev-python/flask/flask-3.1.3.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=flit +PYPI_VERIFY_REPO=https://github.com/pallets/flask +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" +HOMEPAGE=" + https://palletsprojects.com/p/flask/ + https://github.com/pallets/flask/ + https://pypi.org/project/Flask/ +" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git" + inherit git-r3 +else + inherit pypi + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="examples" + +RDEPEND=" + >=dev-python/blinker-1.9[${PYTHON_USEDEP}] + >=dev-python/click-8.1.3[${PYTHON_USEDEP}] + >=dev-python/itsdangerous-2.2.0[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.1.2[${PYTHON_USEDEP}] + >=dev-python/werkzeug-3.1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/asgiref-3.2[${PYTHON_USEDEP}] + !!dev-python/shiboken2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/pallets-sphinx-themes \ + dev-python/sphinx-issues \ + dev-python/sphinx-tabs \ + dev-python/sphinxcontrib-log-cabinet + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/isort/Manifest b/dev-python/isort/Manifest index 5f3f72129250..9e0677afa223 100644 --- a/dev-python/isort/Manifest +++ b/dev-python/isort/Manifest @@ -1 +1,2 @@ DIST isort-7.0.0.gh.tar.gz 812142 BLAKE2B 47758d2f046c43f2a9cf6bad9f638446d6131b22fcb4b0ad89f186f4dbfb2bc258b416042578414e27d7f4962123ac255c39165186ae69a2ea58597ed773b2f9 SHA512 d13328787962e045bbd65120dc90dee9794392ba4f637135ef1ef7e79032a4aaf5896441dda7cf85417b4e839be39ca1e3d3b4ecb02c933e743b0aad5dd2e2cb +DIST isort-8.0.0.gh.tar.gz 773774 BLAKE2B fbd6423fc6c3ea348a37f5eedc8d9e32eddebd99a3fc57a20bbd353e0c85f837a11d01e5c4c7408f7112684856ec2e9dd9d28e37a1a9a9144eda839d3e6db601 SHA512 0439176a6e9e6229094ccac96ee286c0881451fa8d518ff49cec997d87c1c4e99f48ab56dbd3aa20aa4185367609503182e54f5159f6eb7b9170a5b755e77597 diff --git a/dev-python/isort/isort-8.0.0.ebuild b/dev-python/isort/isort-8.0.0.ebuild new file mode 100644 index 000000000000..00611c143044 --- /dev/null +++ b/dev-python/isort/isort-8.0.0.ebuild @@ -0,0 +1,73 @@ +# 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 + +DESCRIPTION="A python utility/library to sort imports" +HOMEPAGE=" + https://github.com/PyCQA/isort/ + https://pypi.org/project/isort/ +" +SRC_URI=" + https://github.com/PyCQA/isort/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/black[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + dev-python/natsort[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-mock ) +distutils_enable_tests pytest + +src_prepare() { + # unbundle tomli + sed -i -e 's:from ._vendored ::' isort/settings.py || die + rm -r isort/_vendored || die + + distutils-r1_src_prepare + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + # Install necessary plugins + local p + for p in example*/; do + pushd "${p}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local EPYTEST_IGNORE=( + # Excluded from upstream's test script + tests/unit/test_deprecated_finders.py + ) + + if ! has_version "dev-python/pylama[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/unit/test_importable.py + tests/unit/test_pylama_isort.py + ) + fi + + epytest tests/unit +} 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 @@ - marcin.deranek@slonko.net - Marcin Deranek + pastalian46@gmail.com + Takuya Wakazono - - https://github.com/Mimino666/langdetect/issues - - slonko-overlay + + gentoo-guru-overlay \ No newline at end of file diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index af70af566af9..a57ec670114d 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -1,2 +1,3 @@ DIST regex-2025.11.3.tar.gz 414669 BLAKE2B df6ddec6ab70f9119ecc780a5a69061cd19ed2067d8d5311712e2804b2d039988e243921366224c2e983cbbc4d4c38516839f7683b710e956a77e66d0ec1efc8 SHA512 929c4de507416c435343d7e27f2ce05520166c1b7499887747055c10dd05e7a424e009d3bf9661038707fbe99bd3cd0eda1eab2d5743d5bd8cae4bfd576390c4 DIST regex-2026.1.15.tar.gz 414811 BLAKE2B c8e75bc8981dea96bc40e5599e0244407c03c0bd2e85789577f8b600e3c1526996abaaeb67c7d26e4f2e2f0db8531863a09951f21c1cb72d166c2df66621bd5b SHA512 38d3b0dcb4c2cf705dd9cceeb57ddc7ee1b7612ccd3f00cc97f4b21f99ae716f0d411bbb5fb1aab489558d9892cefb269a286ab790b15644175e6fb250aca7ef +DIST regex-2026.2.19.tar.gz 414973 BLAKE2B 6d0bb23520da74d6f5d00603e2bdec3136fb19118ba7dc8393523430f0391f36913921969e7f79b64945575d793316214201359a1250ff25d98db9a5fdf3270d SHA512 4a546d90e755d58d899ee5d80381bd24b1d38718dedb3903e8c5e286620a7e54a0631a77f5d8ac4f2807265b4dc8d22d29779853255e97a1ce57162c93ee044c diff --git a/dev-python/regex/regex-2026.2.19.ebuild b/dev-python/regex/regex-2026.2.19.ebuild new file mode 100644 index 000000000000..aefc54aa0166 --- /dev/null +++ b/dev-python/regex/regex-2026.2.19.ebuild @@ -0,0 +1,37 @@ +# 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 +# pypy isn't supported upstream because of its UTF8 representation for strings +# See https://github.com/mrabarnett/mrab-regex/issues/521#issuecomment-1936260187. +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Alternative regular expression module to replace re" +HOMEPAGE=" + https://github.com/mrabarnett/mrab-regex/ + https://pypi.org/project/regex/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="doc" + +distutils_enable_tests unittest + +python_install_all() { + use doc && local HTML_DOCS=( docs/Features.html ) + local DOCS=( README.rst docs/*.rst ) + + distutils-r1_python_install_all +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)/regex/tests" || die + eunittest +} diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest index 978213bd17c6..45b0e99051a7 100644 --- a/dev-python/responses/Manifest +++ b/dev-python/responses/Manifest @@ -1,2 +1,2 @@ -DIST responses-0.25.7.tar.gz 79203 BLAKE2B 54225c450e965171e12d8f8d1847d34f40012ef4dc60a29d422347737da5870260ad697274185b847380a6e0d1aab3285c4a761b4aa03e58a7e339f7236b8a6f SHA512 929d516b3670619b6ce399a7df1145b38aa498ffe7f7f5e16608c72e31f16bed5a1c2825ca9db84b51cd56c819ffd34f293679563d08895cd53b1c683f21578b DIST responses-0.25.8.tar.gz 79320 BLAKE2B 8a681c789e22b9a310cf237d81cc97c457fc0eb62b170c5d4958c26024a8398083bcabe09fc3a1183527af096adb1324f53b42869be67a6aee50903df410bfb2 SHA512 59cf48cf71347de3cd80aa84176bab2e3d5dd20cd6c0b7b6278f40be6adc530d6268360c2e722331ba6faede51be4fdd62c163de4eface0371588c49ec384ffb +DIST responses-0.26.0.tar.gz 81303 BLAKE2B d5bb4cd185d738bfdb8d609c17cedefc9e2dbc0182448210ed99fe8e0a02438cb37459639b8083e9d6954bb870e46f18709562a60392d4a1937dfc8f14d7523f SHA512 62807ad4276cf9236cfbed045d550530695e97f695a0ac94195e4d477fe446dd99f621f57e4ba8d346db2d774d2f2a7d905aab86472a201ba773fd49724c0edb diff --git a/dev-python/responses/responses-0.25.7.ebuild b/dev-python/responses/responses-0.25.7.ebuild deleted file mode 100644 index 3a213058b890..000000000000 --- a/dev-python/responses/responses-0.25.7.ebuild +++ /dev/null @@ -1,44 +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="Utility for mocking out the Python Requests library" -HOMEPAGE=" - https://pypi.org/project/responses/ - https://github.com/getsentry/responses/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -# tomli backend is optional now, with pyyaml being the new default. -# However, keeping it unconditional here for backwards compatibility. -RDEPEND=" - dev-python/pyyaml[${PYTHON_USEDEP}] - =dev-python/requests-2.30.0[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - =dev-python/urllib3-1.25.10[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o asyncio_mode=auto -p asyncio -p pytest_httpserver -} diff --git a/dev-python/responses/responses-0.26.0.ebuild b/dev-python/responses/responses-0.26.0.ebuild new file mode 100644 index 000000000000..d2c95d946903 --- /dev/null +++ b/dev-python/responses/responses-0.26.0.ebuild @@ -0,0 +1,33 @@ +# 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 pypi + +DESCRIPTION="Utility for mocking out the Python Requests library" +HOMEPAGE=" + https://pypi.org/project/responses/ + https://github.com/getsentry/responses/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# tomli backend is optional now, with pyyaml being the new default. +# However, keeping it unconditional here for backwards compatibility. +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] + =dev-python/requests-2.30.0[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + =dev-python/urllib3-1.25.10[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-{asyncio,httpserver} ) +distutils_enable_tests pytest diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index d15f01f0bce0..f0957b88e004 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,3 +1,4 @@ DIST rich-14.2.0.gh.tar.gz 15072049 BLAKE2B a44560624c3e3b77f279885935a239b162251087a4a58688c40ec7feb84fd7f4948b5966091231e71067131875c3ad71fd8ee4f5e72d90a872c5dc6f08d1d071 SHA512 8e1f7ee149ceac9074cf60ad1298f2b96cdeeb1f71e1e4181101ab0b0da858d03907998a8667fb73154abf02ae511c595257618bcc3321136df253842f8e4a85 DIST rich-14.3.1.gh.tar.gz 15087781 BLAKE2B c89a1c935db2be86423835ce0f026ec488741cca1de08b32604e89f56ff4f1b7a00758f8bac74a8841803544a49ce5166c786cb8846178288f23ac8f167a8af2 SHA512 7d99cf7a2fa3682d27792d37b39a6ffd5ce403498581b7f19e829c709e49ca01f8a1290b5909eea8323879cccaafdad0301e2de81b4312f0c16751905afbc146 DIST rich-14.3.2.gh.tar.gz 15086838 BLAKE2B 4ed2d676273dcb671b602982709179e7e2d317ce39ee1b882ee3c52c844b0357b6c4ab11e0617dd4db9edcd4865a01975f453b2fde8f97e73bced962467e315e SHA512 68a82b2c19c9ccf475549f5c096b646b40606626d86425ab2b87a18010039fca275ab431d96775a2770530ae975213109d984ed1934127c361c56f705c0dc13a +DIST rich-14.3.3.gh.tar.gz 15087403 BLAKE2B 3d21a0b1e5b5441bdcb9d0051a552ffe771287707bc0ab24d75cea5f6dc14b8fad9daffd0d4b1f0704c96883259d11a0c57701ae7c2628b86157912a1b7fa591 SHA512 61026597c8224f64bb113231dc1e991b7ed471793c72700ca8d52adf5234f96c84de09ec8d175a60582e68d8ff935c507fdb2599d0a567832f739abcb599ef96 diff --git a/dev-python/rich/rich-14.3.3.ebuild b/dev-python/rich/rich-14.3.3.ebuild new file mode 100644 index 000000000000..4f51a918264a --- /dev/null +++ b/dev-python/rich/rich-14.3.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 2022-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 optfeature + +DESCRIPTION="Python library for rendering rich text, tables, etc. to the terminal" +HOMEPAGE=" + https://github.com/Textualize/rich/ + https://pypi.org/project/rich/ +" +SRC_URI=" + https://github.com/Textualize/rich/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + >=dev-python/markdown-it-py-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.13.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/attrs-21.4.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_console.py::test_size_can_fall_back_to_std_descriptors + # TODO: segfault in recursion (PyQt6 interfering?) + tests/test_traceback.py::test_recursive + # TODO: some random dep changes? + tests/test_markdown.py::test_inline_code + tests/test_syntax.py::test_blank_lines + tests/test_syntax.py::test_python_render_simple_indent_guides + # pygments version? + tests/test_syntax.py::test_from_path + tests/test_syntax.py::test_syntax_guess_lexer + # flaky? plain broken? + tests/test_console.py::test_brokenpipeerror + ) + # version-specific output -- the usual deal + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + tests/test_inspect.py::test_inspect_integer_with_methods_python311 + ) + ;; + esac + + local -x COLUMNS=80 + epytest +} + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +} diff --git a/dev-python/testtools/Manifest b/dev-python/testtools/Manifest index 3391ab461a44..611e25081325 100644 --- a/dev-python/testtools/Manifest +++ b/dev-python/testtools/Manifest @@ -1,3 +1,5 @@ DIST testtools-2.7.2.tar.gz 201430 BLAKE2B d827d8e66c85908f4d16aa0762c3b0a454d374a0d23323fc3c123027f55f0e85f4fea9a24b5d1d0279266af2185f08abbcbbdcb785014b237df45a6448587611 SHA512 5815519d2b72d6b1e9f453c02793c70eb7d3b6580a211fb3708cd6121aed3c6100ceb1e35321f481a63b1f999ede030e43f1ae91d3621faf461c1908db767551 DIST testtools-2.8.2.tar.gz 206889 BLAKE2B 4c25e88d5602c00ab9079d5ef504648cf7f59ae63d8844d5bdbac2b215db64234925ee9ce89532ca71d681031fa4d656e1c60413f731aa135791b43edbbd6015 SHA512 2880b5e8c92e59e3d9cad7b6b64781763a549abf74672a46f0b3a33300793d91ea8453fc364d497ae7492095385309e6b150a712fea4529324cf4673b6e60aa7 DIST testtools-2.8.3.tar.gz 215317 BLAKE2B b3247497a492ab2c89e90dd30e2154797bed9a48b43f12a4b28bdd76cf8ee07d38f877f5e3407adc24c9f83473a873a2099aaf450f25fcaf734b0af88e3841fe SHA512 3f91f638d04e7e0d2c5a5723a8ed19e49aaefc7c31cb9db789d97dbc8ff8fdfdc6f924a02c412730451aaae78f7eb1e3ccb80acd9ad87048c9b8fea24b6a3e58 +DIST testtools-2.8.4.tar.gz 219143 BLAKE2B a0ddac267ebd0583f53fdec5b74769532708d76b00573fab4355f77fab1b3801c7dc65eb587635b2baf3d426f7f439d41797231d2d028496f63f56f36c4d8f26 SHA512 ba60cc64453921e9515cc7c5f04d61cb4e3ce7f0168e1acff564781e8a7392aff9c5306d9b3dca46eb891fb2b0df60847ca429bd926dc1df799c7318567b6b00 +DIST testtools-2.8.4.tar.gz.provenance 9220 BLAKE2B 32d60cdeb63500a3efdfa722a11a87b85773b45d9ef268bc75518f15fef9db4ab8b6d5201b3207a9dd9dbeaaa2c6cdd73668a78cab0ce9b33bb2b28d80b56fb3 SHA512 0d6bdcbdf67a3edaa1ce5c37326b7482837c14f05377fb76c7ec020e7dedf3a11100a295a48753052f1f350a8994ea9bb6bbb4252717ac6a1d5e4d8994f97f14 diff --git a/dev-python/testtools/testtools-2.8.4.ebuild b/dev-python/testtools/testtools-2.8.4.ebuild new file mode 100644 index 000000000000..f76cca969639 --- /dev/null +++ b/dev-python/testtools/testtools-2.8.4.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/testing-cabal/testtools +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Extensions to the Python standard library unit testing framework" +HOMEPAGE=" + https://github.com/testing-cabal/testtools/ + https://pypi.org/project/testtools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-2.0.0[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + dev-python/testresources[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc + +python_test() { + if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then + sed -i -e '/twistedsupport/d' tests/test_suite.py || die + fi + + "${EPYTHON}" -m testtools.run tests.test_suite || + die "tests failed under ${EPYTHON}" +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 410c703e75c0..135179c1b95d 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -16,3 +16,5 @@ DIST tox-4.38.0.tar.gz 215498 BLAKE2B d7fa0df218c205bf90d213fab3de5c729750db4ef8 DIST tox-4.38.0.tar.gz.provenance 9232 BLAKE2B 49593ac7877b6feee78ec58944f19c622a56a431266d8101d7dc2fd779626f4f1a5e204a2acf4a413207b6c930dbc2ab9dd5cbea9adb07e37480e7a0e1e040db SHA512 9e03320bd129dada7771f8cf8a8a5e51afd9c2a893d70607ccd8fe07e003cff603b775029fad209558e8dfce22b002a87353253cb331f7c098ab761fbb58621e DIST tox-4.39.0.tar.gz 221354 BLAKE2B e1a648abbf8b3ac10915fad3f89542b99d3140157035b55e96c532880c4a8f1e48605e7ab99f7eb40dd807bd48f754e4a202b37929f6f3b4e9c0301cfcc00b05 SHA512 a7ebdc2cb06f73b9ff84971e39811553f48b1191146116b5ebd3f59b5f9027e1cd968aac0064f9d2e267c7f0a0c28c79f75305f55bef247e8d0fdec77c7442e9 DIST tox-4.39.0.tar.gz.provenance 9240 BLAKE2B e12c7db4f636960052c52ae8590635838c22905aaec6cd163c4a951d201b5d509028973d4247954d5ee33ff70a8cd577b41bd4864c75b3388aee56e1bc9186b1 SHA512 0a91eb44d63f071a997853891ca2edceae719d8002308dd733780350abb501465777aff1e44a027a44cd8ae09ccf25eac57ab74d99c57adf4427121e53c255ad +DIST tox-4.41.0.tar.gz 228941 BLAKE2B f295d6b6b547cf350fa7ddc6e9215b0ac8713d912382651a64f4e9289d3b7790cefc57465c105afd09abbe32a30de5a1f37721532413210dae6b3be3b697cb2c SHA512 5803952a1912445791e1ce49e304b501ec0d519067e6946134531381097a50b5e3f4fde08bd8abd34cfc385a548fc1349a0874bf07b3d6a47839fb96cb866df7 +DIST tox-4.41.0.tar.gz.provenance 9142 BLAKE2B dad45f1f36c296d64a13a56c77b3edde9377c013a81ab34fb170d6200e2054a6ab62532a076306519645dec82e1755a0ecac99a0f27cb668867205f08758eabd SHA512 93cd8cf47cc2cf4e5fb8267dfed311ad9257a8608878a88d1b9891dcba294a60982ffbf88a980844bba0f4ae01b1d11686ac97d5e71631f1685576bb42a4ec71 diff --git a/dev-python/tox/tox-4.41.0.ebuild b/dev-python/tox/tox-4.41.0.ebuild new file mode 100644 index 000000000000..42367ebe26f8 --- /dev/null +++ b/dev-python/tox/tox-4.41.0.ebuild @@ -0,0 +1,92 @@ +# 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/tox +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pyproject-api[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} ) +# xdist seems to mess up state between successive implementation runs +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz + tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + case ${EPYTHON} in + python*) + local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) + ;; + pypy3*) + EPYTEST_DESELECT+=( + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' + ) + ;; + esac + + epytest -o addopts= +} diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 805dd881862a..c13e0c1c2358 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,3 +1,5 @@ DIST typeguard-4.4.4.tar.gz 75203 BLAKE2B 573adfc6a1f80eea451ec3f438827851532ccdadd94581f6e40da69f65f4e5b8878aaa36c34a580149ba6b6bf4dab29384b1c962b6a76f1924ad592287df18e1 SHA512 0ab8cdfe8cdc51db82185b272f388eb2ebc5788a86a1d897b72e7268da367b65032d36c25813e2086c6838d98dc07706abb04508c3882d2186804746032aebf9 DIST typeguard-4.5.0.tar.gz 79993 BLAKE2B 7981c5a45bd894dbc919ae9eef875c97ff6f414a300a83783baa1f0376a4c129aecfb7ad4c03b41f592197480254df387643bc764e22d6cb6af74c0354b3f3c5 SHA512 79959a14dc5a5ca572f66211d6d83bf2fb842609d0f0ff3532353185cae597d43f0f0c7da9c7218a40857eb3856c0693dfa0febd9dee21c3142b141af0d3fe42 DIST typeguard-4.5.0.tar.gz.provenance 9341 BLAKE2B 8665a9de034227edd8e52129b870402f0c60ebe167e273a33e0d0837c662cb75a3944a9d211ded946d83aea1e687b355ceb48b8d7fce281b92fd2b069ed4b5e7 SHA512 9bb18ed5f9184beec4e2e0717f1d7829fa788f2b67cbc4d344eb119855f2a8d8fe641d57655e8b1a0cff190e6666c2e27d68235fb944cd5203fc973693b77278 +DIST typeguard-4.5.1.tar.gz 80121 BLAKE2B 4156be34863fa4d14ef1c928059f3a6d5ffe5e508d09fedaa729c668fa9b3e8d3a6357082308c761440d4ebb55bec396c333b1c0b76ae23f2cb9396e5dd1e67d SHA512 6f9dea4b0eab7f9480d93d021673d61292bcaf4c2c688d7e00a3ce9948f18d230d4707c532ea40e588bb883fc5b60c59b385276e2e8963c31eb696f3891d3439 +DIST typeguard-4.5.1.tar.gz.provenance 9482 BLAKE2B 18feded8f2be9faffe6c23eba7b7bbc5346ea39c9b49bd236f0509ceaec975cc51ecb6268b1e182ea0bc706222bc899b0be1f449dbe527ec83d43fe749e755ee SHA512 48b8a6155eb34939678ff867c967909456aa39ec1d1babb02327d837887afd9e9609b6681b7fa62350560ab57a3477112798515ba5fd4f7585d38fce74364469 diff --git a/dev-python/typeguard/typeguard-4.5.1.ebuild b/dev-python/typeguard/typeguard-4.5.1.ebuild new file mode 100644 index 000000000000..c6a8a47df7ab --- /dev/null +++ b/dev-python/typeguard/typeguard-4.5.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-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/agronholm/typeguard +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Run-time type checker for Python" +HOMEPAGE=" + https://pypi.org/project/typeguard/ + https://github.com/agronholm/typeguard/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/typing-extensions-4.14.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # mypy changes results from version to version + tests/mypy + ) + + local -x PYTHONDONTWRITEBYTECODE= + # the XFAIL test pass due to some package being installed + epytest -o xfail_strict=False -p typeguard +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 9adcde679303..ba2ff7f685ad 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -8,3 +8,5 @@ DIST virtualenv-20.36.1.tar.gz 6032239 BLAKE2B 9d4cd6e28275ab1e5737e12e0661c4e77 DIST virtualenv-20.36.1.tar.gz.provenance 9246 BLAKE2B 4ee139a4eef0092c20d791db0e3e9901f65db574367ac234bc84cc02998e386a713314d474b7401d484df35dabe52ad9f9bc14cdf0230566853cb84e58e3d660 SHA512 a8b9ec9269848716e6496578b0de27f416327228d205a8fca8f60373c6e72ff11af3da0f241dbbdef660253cb604b9a35c96575eaad4476892a98cc168198aff DIST virtualenv-20.37.0.tar.gz 5864710 BLAKE2B e3a86f35f68df45e10a2a6e2d2fc6cd67233752957efc1410de3142e4a3282a49bc40039c4eb2ea2990a74ae41af93b56082b218591bc350bf90631333bd1f9d SHA512 3425d19797d313039fde54f8a94e7079d2fb2e998b3f7135854597089cbf9d2e1d09299a3eb7f091c25709a5b8a962ad317dec79d0633367abd7d59cdab3aa14 DIST virtualenv-20.37.0.tar.gz.provenance 9304 BLAKE2B 194fde1f7781211ad66bd66239bfffed818aec5c757e0f236bd7abad86caac6eaf7dcd5382d4b56e3f5ed836abeb096e2c5fee0ba3498ae101f780f36b355d59 SHA512 76ea2857f8131e61742b61f9d1edb8b7d791a2862f47185d960ca03b1ec382ff8b445689c4da9acbc84147b0c664f6a4e89efdc992b19f2afc0f3ef37197ed70 +DIST virtualenv-20.38.0.tar.gz 5864558 BLAKE2B b085b7813b1f29d854842346dcf3c45e30e084d3a993e1af27a93e777918ae75a742dec0cd858d945c220c6f4c5897bf2d598300e3812ba0be1ab397f1b21775 SHA512 336d2bbf6a33a664c07d42b26c1000710cbdebacaedd7fa13cd6598d7002e320551b9c60454b6b8b29fb318f1b0138581fa733e42dfe68a9ed2c149070fd571d +DIST virtualenv-20.38.0.tar.gz.provenance 9633 BLAKE2B eb7f486f5bf39c05dd73c0c82fa5dfb4ddf74dd560f6566d3c4faf6ab351afe680ee11095f46fb68cb5c80dd5b2a1c461d48fc5c92cbbddc0cbc53efdedff403 SHA512 d821d2a4c406cee74dda97bcaeb61c1de4cce5340b13c17710e0554fda7b46e755f00cd1862a6c436bd40abd49169e5b9b4e0ee619680d979ff048d5f9361d57 diff --git a/dev-python/virtualenv/virtualenv-20.38.0.ebuild b/dev-python/virtualenv/virtualenv-20.38.0.ebuild new file mode 100644 index 000000000000..99756ea15499 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.38.0.ebuild @@ -0,0 +1,133 @@ +# 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/pypa/virtualenv +PYTHON_TESTED=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + >=dev-python/ensurepip-setuptools-70.1 + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' python3_{11..14}) + $(python_gen_cond_dep ' + >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] + ' 'pypy3*') + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-20.31.1-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + # Internet + tests/unit/create/test_creator.py::test_create_distutils_cfg + ) + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # these don't like the executable called pypy3.11? + tests/unit/activation/test_bash.py::test_bash + tests/unit/activation/test_fish.py::test_fish + tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable + ) + ;; + esac + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) + if [[ ${EPYTHON} == pypy3* ]]; then + EPYTEST_PLUGINS+=( pytest-freezer ) + else + EPYTEST_PLUGINS+=( time-machine ) + fi + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest index 51970e46d60a..40f5d67615ae 100644 --- a/dev-python/werkzeug/Manifest +++ b/dev-python/werkzeug/Manifest @@ -2,3 +2,5 @@ DIST werkzeug-3.1.4.tar.gz 864687 BLAKE2B a9fd3ddf37bbd2e8725871a30c003634f200d9 DIST werkzeug-3.1.4.tar.gz.provenance 8926 BLAKE2B a9926cbe703498870b7e111cfe083ca2ccbd41d14316e0e9762e828838207f7b555cbc0cd470b811a6d84ac90e74de0a0eef7e2ee29899ff471df518cf77bac7 SHA512 7d0243da7c20bea504306e2411cc4df231f1621ece3a2c7006636b498e8e555fd57241e2cdf3b24508b552472d6150aab3efcc70f4e03d9de1b6a5a860311fff DIST werkzeug-3.1.5.tar.gz 864754 BLAKE2B 12b85f0f69a87b75dde88dc2edbff44c4325346e3717cd89f06f221316cd59e278bc155d3164af84956d765ca7cf610cfa4d1aeabe57382253dcb564b4179285 SHA512 eb76c4b1af04af6c3cdf4fdb0a21df52b1b8414466620d80ad0e284a9ebd22a4ff93d8028b5cb1b7caf5a3fcc079de61aa90030282bb647018c1b53e90c77360 DIST werkzeug-3.1.5.tar.gz.provenance 9202 BLAKE2B 4cd1ff3f32067554eb22bb905856439590df10bf89f84a8ead8e11734d1cd3db6f35f08863da229f82f0aeb172ea8c09758b3354392ce3efd78cd48e05811c5e SHA512 7a08b79481fde287c76329edf99fc45109b60d11c91bf80f298d6c78f4046936c15dab679ef0e618eed899983626836482b81879053ea4a41b9fcfe5d8dec20c +DIST werkzeug-3.1.6.tar.gz 864736 BLAKE2B 2681147ff088da31f76293f8fb01a23c7bd266f785603a9dddb24c741d80f0f201c2ce4305ce65c5652081d66dc07b2a7e639d2aaff53729bf0fd13ad4794308 SHA512 2bc6b67aa1cac571bd30c59818483e8ef73cd07be2154ce52703429ba29e2f8a8caf2e174291d977df16b944a1f3137b0646effdfb43df8058f6562a2c0bcc04 +DIST werkzeug-3.1.6.tar.gz.provenance 9249 BLAKE2B 214bbbf7dab32bcf74687a43ee0360ddc1b189bd4bd34aa8fea13bc778e9fcfb3cf49ce08cd7be264871d82001670c7530d6c25ead1eb3a24d84d85b5a162e34 SHA512 2c87f10036d40c0144d4d97f53df3f3eac3b0d0855a4a9e3f09bbf3a54b0ceb68a1679312be8a5233a6a52cab8a8a5f4ae1e86eaff5372dd4da4b829e89d4bcb diff --git a/dev-python/werkzeug/werkzeug-3.1.6.ebuild b/dev-python/werkzeug/werkzeug-3.1.6.ebuild new file mode 100644 index 000000000000..3618b6e376d6 --- /dev/null +++ b/dev-python/werkzeug/werkzeug-3.1.6.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=flit +PYPI_VERIFY_REPO=https://github.com/pallets/werkzeug +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of various utilities for WSGI applications" +HOMEPAGE=" + https://palletsprojects.com/p/werkzeug/ + https://pypi.org/project/Werkzeug/ + https://github.com/pallets/werkzeug/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] + >=dev-python/watchdog-2.3[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + ) +" + +EPYTEST_PLUGINS=( pytest-{timeout,xprocess} ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + "tests/test_serving.py::test_server[https]" + tests/test_serving.py::test_ssl_dev_cert + tests/test_serving.py::test_ssl_object + ) + fi + + # the default portage tempdir is too long for AF_UNIX sockets + local -x TMPDIR=/tmp + epytest +} -- cgit v1.3