summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/boto3/Manifest1
-rw-r--r--dev-python/boto3/boto3-1.42.3.ebuild53
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.42.3.ebuild67
-rw-r--r--dev-python/cliff/Manifest1
-rw-r--r--dev-python/cliff/cliff-4.13.0.ebuild39
-rw-r--r--dev-python/django-polymorphic/Manifest1
-rw-r--r--dev-python/django-polymorphic/django-polymorphic-4.2.0.ebuild47
-rw-r--r--dev-python/greenlet/Manifest2
-rw-r--r--dev-python/greenlet/files/greenlet-3.2.3-py312-assert.patch71
-rw-r--r--dev-python/greenlet/files/greenlet-3.2.3-skip-leak-tests.patch51
-rw-r--r--dev-python/greenlet/greenlet-3.3.0.ebuild (renamed from dev-python/greenlet/greenlet-3.2.3.ebuild)9
-rw-r--r--dev-python/hypothesis/Manifest6
-rw-r--r--dev-python/hypothesis/hypothesis-6.139.2.ebuild125
-rw-r--r--dev-python/hypothesis/hypothesis-6.148.1.ebuild91
-rw-r--r--dev-python/hypothesis/hypothesis-6.148.2.ebuild91
-rw-r--r--dev-python/hypothesis/hypothesis-6.148.3.ebuild91
-rw-r--r--dev-python/hypothesis/hypothesis-6.148.7.ebuild (renamed from dev-python/hypothesis/hypothesis-6.148.0.ebuild)0
-rw-r--r--dev-python/pyghmi/Manifest2
-rw-r--r--dev-python/pyghmi/pyghmi-1.6.8.ebuild (renamed from dev-python/pyghmi/pyghmi-1.6.6.ebuild)0
-rw-r--r--dev-python/sphinx/Manifest3
-rw-r--r--dev-python/sphinx/sphinx-9.0.1.ebuild144
-rw-r--r--dev-python/sphinx/sphinx-9.0.4.ebuild (renamed from dev-python/sphinx/sphinx-9.0.0.ebuild)0
-rw-r--r--dev-python/translate-toolkit/Manifest1
-rw-r--r--dev-python/translate-toolkit/translate-toolkit-3.17.4.ebuild129
-rw-r--r--dev-python/txaio/Manifest1
-rw-r--r--dev-python/txaio/txaio-25.6.1.ebuild39
27 files changed, 345 insertions, 721 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 9c19b640c47e..fe04270671b4 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -6,3 +6,4 @@ DIST boto3-1.41.5.gh.tar.gz 1047828 BLAKE2B c4ff68f8851f56539998186d6dab74d015e5
DIST boto3-1.42.0.gh.tar.gz 1051896 BLAKE2B 5bc423d834f4baba83b1e332b67fbfbe76b7dc1dc61e12750ebf3d25bde987d76815039980d3b30b5a0c8904c9fd4045900e03a7d593f99f5ec446e83e491279 SHA512 cd204476d704732077f12fa4be1ffb6ed6c535f5997ffdaae188d9b632604d613b60f0644768ccc4454255afefd2fe762f3590a1bbeada1ab53a2eee98421cb1
DIST boto3-1.42.1.gh.tar.gz 1054688 BLAKE2B 9722ba8fb97df81abfbcc26f5ab5d5c7819a3cd1f265af9938820968ba79232ed453c594db3bc661ac6bed50058638903700e8c8e16613b59c88bc97807ad966 SHA512 961cae734e2e8db1e0511d19f24f5b509b14fbcc9d32327fa39928b21d502516b4dec8a2723c342bdc77649df292086f2b8281b30d54396f9849445b61fff8b7
DIST boto3-1.42.2.gh.tar.gz 1054980 BLAKE2B 5d361d756f41fb2e1df9f4397ba64a842388abb8f8f239b19c450ab062ec999c10c6a46770a52b3f9f664614c54093959fdbb85cff81bd712cb9b431604661a1 SHA512 1c24227ed467c9406c1cb781a46796d7748f44bbc5dddb53ad1153202111a08f33de7c7696f8294ac57df960a67a338cf37620c13df852cddb8d21ed909cbf20
+DIST boto3-1.42.3.gh.tar.gz 1055160 BLAKE2B 86399e22d40747aa40d6d61296e9833f86ddbf8921a157a369bed90c538ce6ca43729c1a69c3f1f99d1b8496414397aa0b1a442d33e81d191fbac6991ab1a840 SHA512 c4f36ae4340e809c398ee9e496af1da5da24be08d6ab443dd434f5612bda97c187375480bb62992cb6129f638f8715cfd476d3a1116f94d3de470756d932d0c3
diff --git a/dev-python/boto3/boto3-1.42.3.ebuild b/dev-python/boto3/boto3-1.42.3.ebuild
new file mode 100644
index 000000000000..56b1da52789f
--- /dev/null
+++ b/dev-python/boto3/boto3-1.42.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+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 ~amd64-linux ~x86-linux"
+
+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 b045452f912a..a41bc49be902 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -6,3 +6,4 @@ DIST botocore-1.41.5.gh.tar.gz 15519699 BLAKE2B 05c9cd0768013d6e3af76ad9daf8b957
DIST botocore-1.41.6.gh.tar.gz 15619213 BLAKE2B 132f1020643f335793393f34545d7f13c0e69394ccaa4ad047694e681832ea340ee76925879e3bcff45145fda387f6b2a81ca9e69d424fe39b8754e04aee541d SHA512 15ecad28923a7ab80c749856ce9e7b02b14eaf9f2346786f0943b3a450bbe94eacd3b2f8275b8b2e6612d6c1faf53aa8788fb790722471e49c6fdf7c3cc2dd81
DIST botocore-1.42.1.gh.tar.gz 15695042 BLAKE2B f0587a7e8112d0fd80cb40fb0da6cf88f3c0ec567a803a062f295624ca3541e0adb4cfc6d039e4bfdbcbf0c4ed07ae0117ce1ce691c6e95914bc4767d57324d4 SHA512 627ae08b65839f48fd24b567951e45363bb5d0c1ff566701a5396f6c6b0e5c58ce66143eb5bab64656d80c0751aad22af04a5d1f048d234a854325139c408846
DIST botocore-1.42.2.gh.tar.gz 15699929 BLAKE2B 9f809924aeb031313806c70207c2063c0a421695b2be1a246f886f3214ca1f7fee1ba25b456b654a93c1d682ed7988e9f5648ac91b1703a0ff534603b4e566f4 SHA512 e23157d1ef297f35cddc73ac43604b46e6274fbd1938b8bcb3a9dc142f4c47e377e8f3675e5045755e1ad70914c56a7a84ad3d39798f5486300a25ff3f4464ca
+DIST botocore-1.42.3.gh.tar.gz 15700743 BLAKE2B d288896f8538dcb4e7589e641f8b2b0e78b9b45576a592ea105353ebcd3e03f695fff3e71af56dfdebd8cdf9cc35bc36593a30fabb02a78a7531dcbd000f2774 SHA512 d32b4b775f5a692c3f731b83a1538cff002c215a4a3947eb69fd27ddf638d47a41e037f7b8a6d73ec4acfaeaf5fbc649103051383f56190e25b5748fcd0b9d88
diff --git a/dev-python/botocore/botocore-1.42.3.ebuild b/dev-python/botocore/botocore-1.42.3.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.42.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+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 ~amd64-linux ~x86-linux"
+
+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/cliff/Manifest b/dev-python/cliff/Manifest
index cb4550fc5318..13c931cd4c8f 100644
--- a/dev-python/cliff/Manifest
+++ b/dev-python/cliff/Manifest
@@ -1,2 +1,3 @@
DIST cliff-4.11.0.tar.gz 86638 BLAKE2B f4e6e4f7ba1e9dc46c40988ef92f808c4f3c03ad53ce5f8b9017a98ceb619d3d797b8ca4922b2104fbed95205b3378e9577a1c68791b3d49aaf7f44f69295126 SHA512 43f60294bece3e6b5f326ff605f9db0c5920326cc35c3953f21135ce8f68ca6f31f35a77c2d39f12b0fe005d6aac1403ae45935919e7f08631a5cd076f3eb820
DIST cliff-4.12.0.tar.gz 86665 BLAKE2B eaf18a9af695da4ed892c0f962b54de90b5d1df00ccc69fed2d62de79226e9bdc69617bcac04443898983e2543a43d2222249c06c4d23edea0a1b71cf446df05 SHA512 be56ef236b83884c5520d05ce367799c1ca741bf6b0b1393857092a5b8f5554f4e95d03f45998122b76e8a304d88d610088398906befdcf2f5ed0e43ee238fb2
+DIST cliff-4.13.0.tar.gz 89337 BLAKE2B 37dd455d79c5a41d76d58d420596f5b4ff9c0a05037cb7ec5eb7e635c09c8e6e087d4cd6fbac1331136383dd58470636ec2edeb1f99acb690a1c5bc907184590 SHA512 c3a64e36a3a1d25c0cf0ac6f2e899d8b4ee21b362dc08354004caddd0850603dd0019f4a7f807268c827ecb76ce1d659642614f737f9f33dbd4f28b374515bbe
diff --git a/dev-python/cliff/cliff-4.13.0.ebuild b/dev-python/cliff/cliff-4.13.0.ebuild
new file mode 100644
index 000000000000..a7b160f46d95
--- /dev/null
+++ b/dev-python/cliff/cliff-4.13.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pbr
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Command Line Interface Formulation Framework"
+HOMEPAGE="
+ https://opendev.org/openstack/cliff/
+ https://github.com/openstack/cliff/
+ https://pypi.org/project/cliff/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/autopage-0.4.0[${PYTHON_USEDEP}]
+ >=dev-python/cmd2-0.8.0[${PYTHON_USEDEP}]
+ dev-python/prettytable[${PYTHON_USEDEP}]
+ >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}]
+ >=dev-python/stevedore-5.6.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-5.0.0[${PYTHON_USEDEP}]
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest
diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest
index 21191fc129a5..9a87b6b6e9c3 100644
--- a/dev-python/django-polymorphic/Manifest
+++ b/dev-python/django-polymorphic/Manifest
@@ -1 +1,2 @@
DIST django-polymorphic-4.1.0.gh.tar.gz 104197 BLAKE2B b76ee07790fc1b88e3f75460adb43d78505e2acce0298872aff9bbcb00bab67e78b4fed228b50a2228c17f22f8fba7a3bb4918281b2535daf3c2273437037d20 SHA512 ef6eab91812d8cd0762648f90b2411ee6d748790e6285e6ea8aea8362c67d9a7433d18726a60b155a1d9f75bf929ed36c447504421d800d04d6e4731e73bb7f1
+DIST django-polymorphic-4.2.0.gh.tar.gz 222029 BLAKE2B 2a277dd817f24f3282f2bd1a1a302553518d12f217cd026ee95fe5d0f765159499699670f29eda28ff4407ba2e82dae431b9297b8acbd718bc4bd40a0a6f0f23 SHA512 b1be07d0527165baea32dd5b0adc03da23c6027c3ed4094e78be7807e3621addef9d4da047a49f223f186b5f60fd3bc1cea1755ad85c8308e44d0681848df445
diff --git a/dev-python/django-polymorphic/django-polymorphic-4.2.0.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.2.0.ebuild
new file mode 100644
index 000000000000..e2116405c021
--- /dev/null
+++ b/dev-python/django-polymorphic/django-polymorphic-4.2.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Seamless Polymorphic Inheritance for Django Models"
+HOMEPAGE="
+ https://github.com/jazzband/django-polymorphic/
+ https://pypi.org/project/django-polymorphic/
+"
+SRC_URI="
+ https://github.com/jazzband/django-polymorphic/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+ >=dev-python/django-4.2[$PYTHON_USEDEP]
+"
+BDEPEND="
+ test? (
+ $(python_gen_impl_dep sqlite)
+ ${RDEPEND}
+ dev-python/dj-database-url[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( pytest-django )
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # requires playwright
+ src/polymorphic/tests/test_admin.py
+ )
+
+ rm -f conftest.py || die
+ epytest -o addopts=
+}
diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest
index 37cc4f11d7ec..7b1cc38b1f67 100644
--- a/dev-python/greenlet/Manifest
+++ b/dev-python/greenlet/Manifest
@@ -1,2 +1,2 @@
-DIST greenlet-3.2.3.tar.gz 185752 BLAKE2B 4e5ea7c83622a954d9cab3da524c88970cc8a22759c3cdfdca1a718c5e630d895d844679292b48a4ebda93bcbbad1da0665c78bbf132cf1215456d742190a3ac SHA512 3153123855b4900387454fa1d4223b321980e3462e1e139b9f90b4eb2d0772102e06375055c6eb612530d7037169ff6e28166f95efe09073ea331db76284d39d
DIST greenlet-3.2.4.tar.gz 188260 BLAKE2B b4ac8d493fe2fa471d61a11d7f5aa8cdec5e94d00f902c44204838d1e049cd289e52ac959dda3967a8b2b1b0d157f42225db0ff1665cd799070e230f834d53c2 SHA512 59a2df6248ba8830d0d92cf26cde97fef87fd6d3b5ebd2661d1a8762e622b98b502ab8531f613830c6645b0249c084f326c38c34824da37b717ff6cfbb105e4c
+DIST greenlet-3.3.0.tar.gz 190651 BLAKE2B 32405286c0b8a7b1170936c419a4c40856b7e4605eac95ff733c0603ba54031fe2510cc47cdecfe33ce97e5e6de0995a9c174fb52dfd637bd351c0782d787929 SHA512 633d207f9fe749074760e31302ca6b2f2a6c72f0161d9676c8c1047928a4108106653f3914430cee62b125d99d449f80566282d089a09f9bb6eb3589b43e9817
diff --git a/dev-python/greenlet/files/greenlet-3.2.3-py312-assert.patch b/dev-python/greenlet/files/greenlet-3.2.3-py312-assert.patch
deleted file mode 100644
index 21737aaf0362..000000000000
--- a/dev-python/greenlet/files/greenlet-3.2.3-py312-assert.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From 739cc559ac42f41f6ccbc7d556d730fd424f3be8 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Wed, 30 Jul 2025 12:17:47 +0200
-Subject: [PATCH] Fix py312+ crash test skips to correctly check for assertions
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Fix the skips for `test_trace_events_multiple_greenlets_switching*`
-to correctly detect assertions being enabled independently of
-`--with-pydebug`. Gentoo builds Python `--without-pydebug` but
-`--with-assertions`, in order to benefit from assertion-implied safety
-checks without the full cost of PyDEBUG. For the purpose of detecting
-it, check for `-DNDEBUG` in optimization flags, as implied by disabling
-assertions. Leave the existing code as a fallback for when build flags
-are unavailable, e.g. in Windows packages.
-
-Signed-off-by: Michał Górny <mgorny@gentoo.org>
----
- src/greenlet/tests/test_tracing.py | 18 +++++++++++++-----
- 1 file changed, 13 insertions(+), 5 deletions(-)
-
-diff --git a/src/greenlet/tests/test_tracing.py b/src/greenlet/tests/test_tracing.py
-index c044d4b6..235fbcd6 100644
---- a/src/greenlet/tests/test_tracing.py
-+++ b/src/greenlet/tests/test_tracing.py
-@@ -1,5 +1,6 @@
- from __future__ import print_function
- import sys
-+import sysconfig
- import greenlet
- import unittest
-
-@@ -7,9 +8,16 @@
- from . import PY312
-
- # https://discuss.python.org/t/cpython-3-12-greenlet-and-tracing-profiling-how-to-not-crash-and-get-correct-results/33144/2
--DEBUG_BUILD_PY312 = (
-- PY312 and hasattr(sys, 'gettotalrefcount'),
-- "Broken on debug builds of Python 3.12"
-+# When build variables are available, OPT is the best way of detecting
-+# the build with assertions enabled. Otherwise, fallback to detecting PyDEBUG
-+# build.
-+ASSERTION_BUILD_PY312 = (
-+ PY312 and (
-+ "-DNDEBUG" not in sysconfig.get_config_var("OPT").split()
-+ if sysconfig.get_config_var("OPT") is not None
-+ else hasattr(sys, 'gettotalrefcount')
-+ ),
-+ "Broken on assertion-enabled builds of Python 3.12"
- )
-
- class SomeError(Exception):
-@@ -198,7 +206,7 @@ def run(self):
-
- self._check_trace_events_from_greenlet_sets_profiler(X(), tracer)
-
-- @unittest.skipIf(*DEBUG_BUILD_PY312)
-+ @unittest.skipIf(*ASSERTION_BUILD_PY312)
- def test_trace_events_multiple_greenlets_switching(self):
- tracer = PythonTracer()
-
-@@ -236,7 +244,7 @@ def g2_run():
- ('c_call', '__exit__'),
- ])
-
-- @unittest.skipIf(*DEBUG_BUILD_PY312)
-+ @unittest.skipIf(*ASSERTION_BUILD_PY312)
- def test_trace_events_multiple_greenlets_switching_siblings(self):
- # Like the first version, but get both greenlets running first
- # as "siblings" and then establish the tracing.
diff --git a/dev-python/greenlet/files/greenlet-3.2.3-skip-leak-tests.patch b/dev-python/greenlet/files/greenlet-3.2.3-skip-leak-tests.patch
deleted file mode 100644
index 3e7ea3a55f27..000000000000
--- a/dev-python/greenlet/files/greenlet-3.2.3-skip-leak-tests.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From cfb846272ab94a79c2f936da13dc3f5213f48912 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Thu, 31 Jul 2025 18:16:00 +0200
-Subject: [PATCH] Skip `TestLeaks` when `GREENLET_SKIP_LEAKCHECKS` is used
-
-When `GREENLET_SKIP_LEAKCHECKS` is used, we do not want to check for
-leaks, and therefore it makes no sense to run tests explicitly checking
-for leaks. Since the conditional is also true for MANYLINUX builds,
-remove the redundant condition.
----
- src/greenlet/tests/test_leaks.py | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/greenlet/tests/test_leaks.py b/src/greenlet/tests/test_leaks.py
-index 99da4eb..fe60fa2 100644
---- a/src/greenlet/tests/test_leaks.py
-+++ b/src/greenlet/tests/test_leaks.py
-@@ -10,6 +10,7 @@
- import time
- import weakref
- import threading
-+import unittest
-
-
- import greenlet
-@@ -17,7 +18,7 @@
- from . import PY314
- from .leakcheck import fails_leakcheck
- from .leakcheck import ignores_leakcheck
--from .leakcheck import RUNNING_ON_MANYLINUX
-+from .leakcheck import SKIP_LEAKCHECKS
-
- # pylint:disable=protected-access
-
-@@ -39,6 +40,7 @@ def reset(cls):
- cls.EXTANT_INSTANCES.clear()
-
-
-+@unittest.skipIf(SKIP_LEAKCHECKS, "Leak checks disabled")
- class TestLeaks(TestCase):
-
- def test_arg_refs(self):
-@@ -313,8 +315,6 @@ def _only_test_some_versions(self):
- assert sys.version_info[0] >= 3
- if sys.version_info[:2] < (3, 8):
- self.skipTest('Only observed on 3.11')
-- if RUNNING_ON_MANYLINUX:
-- self.skipTest("Slow and not worth repeating here")
-
- @ignores_leakcheck
- # Because we're just trying to track raw memory, not objects, and running
diff --git a/dev-python/greenlet/greenlet-3.2.3.ebuild b/dev-python/greenlet/greenlet-3.3.0.ebuild
index f10686082fb4..b3701bf1b18d 100644
--- a/dev-python/greenlet/greenlet-3.2.3.ebuild
+++ b/dev-python/greenlet/greenlet-3.3.0.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="
LICENSE="MIT PSF-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 -hppa ~m68k ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~m68k ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -35,13 +35,6 @@ distutils_enable_sphinx docs \
distutils_enable_tests unittest
src_prepare() {
- local PATCHES=(
- # https://github.com/python-greenlet/greenlet/pull/457
- "${FILESDIR}/${P}-py312-assert.patch"
- # https://github.com/python-greenlet/greenlet/pull/461
- "${FILESDIR}/${P}-skip-leak-tests.patch"
- )
-
distutils-r1_src_prepare
# patch cflag manipulations out
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index 43c2c9774b4b..787b0f757f25 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -1,9 +1,5 @@
-DIST hypothesis-6.139.2.gh.tar.gz 9623909 BLAKE2B 2b509474e06169191087932a47a0564fc5babf0f1e2acddd4f95d7d411befea444a80c7d7fea9c8582fb6ddc8153388a52a7a29d917f4f5ea8c142c8345e9036 SHA512 ffd797bc2ed6591fd67b2639665c606c1814a7ee2cca1b1f4272ef505a3ad83883988feb2dc32e4a92813c540dd485594d2c332e945ad7f58b9eb276af733869
DIST hypothesis-6.142.5.gh.tar.gz 9625137 BLAKE2B 2a0146541b95710419c5ede4288a3996d1e7688932b7f888d960fed5c69b344b1fb5e9e4509c97033d102137e315b10d3d1d336ed6964db8caaacdd23c160213 SHA512 5d7f21dd449a951ea9974dcb586087a5f0a43a2bc84ff5898ef81d53d9a543a7afdc26e85ffc21be01f300d6582eedb2f99cf086fd5eb9debb457b62f75500ea
DIST hypothesis-6.145.1.gh.tar.gz 9636827 BLAKE2B e39544074d83b33b6e04eb26319d20dd48e4196f216c782149fdf9e2bd869b5f29aa97b3606a5235bcf41dc0a98db05966c6e542a64ab5a63470038f9eca02fd SHA512 3af66ecac9217a11dccba070f16af610e0ca0216d802ae298d9a5ded6c62546b70d260d7fd191785b84f106ff9786af2dbda400e30bd4fb5caa05ef6a0fd65ee
DIST hypothesis-6.147.0.gh.tar.gz 9637937 BLAKE2B ee245790ce248a43dd6a25148b9adc40278bbdcedf169820a1047ef0a12707ab90083b285e952ecde2397e5ec313314b7dcd9b8939bbbefdc113509f27db09d9 SHA512 6c5da0c2ceec1110b1f310f9cb0d13ec9e0397ff2cdc53cc47e9e3d7147b2153cd1fbff870ca63589d08f20bb6f7f30a3a73c402312d202974f0ec08a6612918
-DIST hypothesis-6.148.0.gh.tar.gz 9637659 BLAKE2B 49f4a793181e308b5a4c8b134b7b222d42162e1dca0c424ab30a82a061e479028703237e550ea491e3a2ba10610f2c4e248b618527e554b82d95d442f98abced SHA512 169ca9a09c0a3752768cbbd48f8bb444382895f066e0f26c6f64df64dd957e8a5e3a4ef79c33bfc2643908b96159f212661dab7f04e2380a85a82330aaf139e1
-DIST hypothesis-6.148.1.gh.tar.gz 9637657 BLAKE2B 4a933b39815f8d003c97848f95ae40b66b1c80457fb87978e431ef8da89a355c7460aba4e443dc8e4261068215503f00cce8ee6d9cf381144fdabd1a0e9e398b SHA512 d5bf5de8a8b015b2704a1e08ea694d33bacd69d2ca91f63ff33df1f8ae2edc2bac10d20926a787a728d518fd4dc2b7b9cffff3d34d7aba856a8ee33b0f3d595c
-DIST hypothesis-6.148.2.gh.tar.gz 9643732 BLAKE2B a8804651d2f07c1ac514f74316caed430c964d543d523ab0b4422c72c06e0709b9aa0267d431c4a2a0406020c2d6604f4448e638ea5b66e76cb3b9117c8fed06 SHA512 bbf60e86e1cf44d30dfd5b853a3079e549b52418f21087f6cedb9cba86a95b706ab6e22d7741c503bd63d80e0f6f973c085d21040b083059e29af5fb14aed3f9
-DIST hypothesis-6.148.3.gh.tar.gz 9924980 BLAKE2B c65e3316c876187a0065d917f49c2df7455599641fcb35c8f588422e137a38a7ba62365a59ff07d40e4e5c6bed41fc4a678a104b0a352b6cee9575963d8d1527 SHA512 c61fa75f06f88b3a8adeaf0bbfc6ca4c8ad3e770b5a2ed84d4c2e8be5612108b7aefdb4c9c6ed45a3eba27e23c08402056b73ab777a43d2b7b625d0b125b7561
DIST hypothesis-6.148.5.gh.tar.gz 9926203 BLAKE2B 81a95a8bd7dabc004f263e377f1a1a4bb6d4550b86f420afaa65edf2aeb675f6615b44cfbca3aafdbf80c51212e92489cfc5d7b5fc32845017256e9045572e06 SHA512 e5fe49177ca4fe9f59b3185de96bbc6c3e8a0bd8332d1e778547737210831584abc68a8759a1f3c29c7f1dc5aed56917962535efb452275064d7ed6f9c8a8091
+DIST hypothesis-6.148.7.gh.tar.gz 9927096 BLAKE2B 4e6f782918394edba79a2c183be923076eec1b12b24cc184561e4ee5900e97d2f9c7e110ec98a51911ccdd5b0f2b3172947067038bba03723472be99b7005873 SHA512 f9fbe91650a99f9db3fa1e3a389c2a3cdac85cbb0a7c6cb694b29e486b29670833fd534022c6d26ebeac7b2f3135940dda854f865fde0a6b62c229fdd5f422e6
diff --git a/dev-python/hypothesis/hypothesis-6.139.2.ebuild b/dev-python/hypothesis/hypothesis-6.139.2.ebuild
deleted file mode 100644
index e5bf3f7acfef..000000000000
--- a/dev-python/hypothesis/hypothesis-6.139.2.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-CLI_COMPAT=( python3_{11..13} )
-PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3_11 python3_14 python3_{13,14}t )
-PYTHON_REQ_USE="threads(+),sqlite"
-
-inherit distutils-r1 optfeature
-
-TAG=hypothesis-python-${PV}
-MY_P=hypothesis-${TAG}
-DESCRIPTION="A library for property based testing"
-HOMEPAGE="
- https://github.com/HypothesisWorks/hypothesis/
- https://pypi.org/project/hypothesis/
-"
-SRC_URI="
- https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
- -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/${MY_P}/hypothesis-python"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="cli"
-
-RDEPEND="
- >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
- cli? (
- $(python_gen_cond_dep '
- dev-python/black[${PYTHON_USEDEP}]
- dev-python/click[${PYTHON_USEDEP}]
- ' "${CLI_COMPAT[@]}")
- )
-"
-BDEPEND="
- test? (
- dev-python/pexpect[${PYTHON_USEDEP}]
- >=dev-python/pytest-8[${PYTHON_USEDEP}]
- )
-"
-PDEPEND="
- dev-python/hypothesis-gentoo[${PYTHON_USEDEP}]
-"
-
-EPYTEST_PLUGIN_LOAD_VIA_ENV=1
-EPYTEST_PLUGINS=( "${PN}" pytest-xdist )
-EPYTEST_RERUNS=5
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-python_test() {
- # NB: paths need to be relative to pytest.ini,
- # i.e. start with hypothesis-python/
- local EPYTEST_DESELECT=()
- case ${EPYTHON} in
- python3.13t)
- EPYTEST_DESELECT+=(
- # TODO: missing warning
- 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns'
- )
- ;;
- python3.14*)
- EPYTEST_DESELECT+=(
- 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]'
- 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]'
- hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds
- hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence
- hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression
- hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types
- hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types
- hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic
- hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic
- hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic
- hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic
- hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic
- hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic
- hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense
- hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns
- hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope
- hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent
- hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref
- hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref
- hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type
- hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref
- )
- ;;
- esac
-
- local -x HYPOTHESIS_NO_PLUGINS=1
- epytest -o filterwarnings= tests/{cover,pytest,quality}
-}
-
-src_install() {
- local HAD_CLI=
-
- distutils-r1_src_install
-
- if [[ ! ${HAD_CLI} ]]; then
- rm -r "${ED}/usr/bin" || die
- fi
-}
-
-python_install() {
- distutils-r1_python_install
- if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
- HAD_CLI=1
- else
- rm -r "${D}$(python_get_scriptdir)" || die
- fi
-}
-
-pkg_postinst() {
- optfeature "datetime support" dev-python/pytz
- optfeature "dateutil support" dev-python/python-dateutil
- optfeature "numpy support" dev-python/numpy
- optfeature "django support" dev-python/django dev-python/pytz
- optfeature "pandas support" dev-python/pandas
- optfeature "pytest support" dev-python/pytest
-}
diff --git a/dev-python/hypothesis/hypothesis-6.148.1.ebuild b/dev-python/hypothesis/hypothesis-6.148.1.ebuild
deleted file mode 100644
index 94345a57eec1..000000000000
--- a/dev-python/hypothesis/hypothesis-6.148.1.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-CLI_COMPAT=( python3_{11..13} )
-PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3_11 python3_14 python3_{13,14}t )
-PYTHON_REQ_USE="threads(+),sqlite"
-
-inherit distutils-r1 optfeature
-
-TAG=hypothesis-python-${PV}
-MY_P=hypothesis-${TAG}
-DESCRIPTION="A library for property based testing"
-HOMEPAGE="
- https://github.com/HypothesisWorks/hypothesis/
- https://pypi.org/project/hypothesis/
-"
-SRC_URI="
- https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
- -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/${MY_P}/hypothesis-python"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="cli"
-
-RDEPEND="
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
- cli? (
- $(python_gen_cond_dep '
- dev-python/black[${PYTHON_USEDEP}]
- dev-python/click[${PYTHON_USEDEP}]
- ' "${CLI_COMPAT[@]}")
- )
-"
-BDEPEND="
- test? (
- >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
- dev-python/pexpect[${PYTHON_USEDEP}]
- >=dev-python/pytest-8[${PYTHON_USEDEP}]
- )
-"
-PDEPEND="
- dev-python/hypothesis-gentoo[${PYTHON_USEDEP}]
-"
-
-EPYTEST_PLUGIN_LOAD_VIA_ENV=1
-EPYTEST_PLUGINS=( "${PN}" pytest-xdist )
-EPYTEST_RERUNS=5
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-python_test() {
- # NB: paths need to be relative to pytest.ini,
- # i.e. start with hypothesis-python/
-
- local -x HYPOTHESIS_NO_PLUGINS=1
- epytest -o filterwarnings= tests/{cover,pytest,quality}
-}
-
-src_install() {
- local HAD_CLI=
-
- distutils-r1_src_install
-
- if [[ ! ${HAD_CLI} ]]; then
- rm -r "${ED}/usr/bin" || die
- fi
-}
-
-python_install() {
- distutils-r1_python_install
- if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
- HAD_CLI=1
- else
- rm -r "${D}$(python_get_scriptdir)" || die
- fi
-}
-
-pkg_postinst() {
- optfeature "datetime support" dev-python/pytz
- optfeature "dateutil support" dev-python/python-dateutil
- optfeature "numpy support" dev-python/numpy
- optfeature "django support" dev-python/django dev-python/pytz
- optfeature "pandas support" dev-python/pandas
- optfeature "pytest support" dev-python/pytest
-}
diff --git a/dev-python/hypothesis/hypothesis-6.148.2.ebuild b/dev-python/hypothesis/hypothesis-6.148.2.ebuild
deleted file mode 100644
index 94345a57eec1..000000000000
--- a/dev-python/hypothesis/hypothesis-6.148.2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-CLI_COMPAT=( python3_{11..13} )
-PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3_11 python3_14 python3_{13,14}t )
-PYTHON_REQ_USE="threads(+),sqlite"
-
-inherit distutils-r1 optfeature
-
-TAG=hypothesis-python-${PV}
-MY_P=hypothesis-${TAG}
-DESCRIPTION="A library for property based testing"
-HOMEPAGE="
- https://github.com/HypothesisWorks/hypothesis/
- https://pypi.org/project/hypothesis/
-"
-SRC_URI="
- https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
- -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/${MY_P}/hypothesis-python"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="cli"
-
-RDEPEND="
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
- cli? (
- $(python_gen_cond_dep '
- dev-python/black[${PYTHON_USEDEP}]
- dev-python/click[${PYTHON_USEDEP}]
- ' "${CLI_COMPAT[@]}")
- )
-"
-BDEPEND="
- test? (
- >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
- dev-python/pexpect[${PYTHON_USEDEP}]
- >=dev-python/pytest-8[${PYTHON_USEDEP}]
- )
-"
-PDEPEND="
- dev-python/hypothesis-gentoo[${PYTHON_USEDEP}]
-"
-
-EPYTEST_PLUGIN_LOAD_VIA_ENV=1
-EPYTEST_PLUGINS=( "${PN}" pytest-xdist )
-EPYTEST_RERUNS=5
-EPYTEST_XDIST=1
-distutils_enable_tests py