diff --git a/dev-python/virtualenv-clone/files/virtualenv-clone-0.5.7-backport-pr79.patch b/dev-python/virtualenv-clone/files/virtualenv-clone-0.5.7-backport-pr79.patch new file mode 100644 index 0000000000000..7ded302ed099b --- /dev/null +++ b/dev-python/virtualenv-clone/files/virtualenv-clone-0.5.7-backport-pr79.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/918079 +https://github.com/edwardgeorge/virtualenv-clone/pull/79 + +From 028494ee84cf4626aab291c621b2b9ec23f8688a Mon Sep 17 00:00:00 2001 +From: matoro +Date: Mon, 18 Dec 2023 18:18:17 -0500 +Subject: [PATCH] Support Python 3.11, 3.12 + +--- + .travis.yml | 2 ++ + setup.py | 2 ++ + tests/__init__.py | 2 +- + tox.ini | 2 +- + 4 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/tests/__init__.py b/tests/__init__.py +index c9a52ca..14648f4 100644 +--- a/tests/__init__.py ++++ b/tests/__init__.py +@@ -8,7 +8,7 @@ + tmplocation = tempfile.mkdtemp() + venv_path = os.path.realpath(os.path.join(tmplocation,'srs_venv')) + clone_path = os.path.realpath(os.path.join(tmplocation,'clone_venv')) +-versions = ['2.7', '3.4', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10'] ++versions = ['2.7', '3.4', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + + def clean(): + if os.path.exists(tmplocation): shutil.rmtree(tmplocation) diff --git a/dev-python/virtualenv-clone/virtualenv-clone-0.5.7.ebuild b/dev-python/virtualenv-clone/virtualenv-clone-0.5.7.ebuild index c3063860f8c8c..d1f083f33ab13 100644 --- a/dev-python/virtualenv-clone/virtualenv-clone-0.5.7.ebuild +++ b/dev-python/virtualenv-clone/virtualenv-clone-0.5.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -28,4 +28,6 @@ BDEPEND=" ) " +PATCHES=( "${FILESDIR}/${PN}-0.5.7-backport-pr79.patch" ) + distutils_enable_tests pytest