summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/lnav/lnav-0.11.1-r1.ebuild4
-rw-r--r--app-portage/gpyutils/files/implementations.txt2
-rw-r--r--app-text/wgetpaste/metadata.xml9
-rw-r--r--dev-lang/python/python-3.8.16-r2.ebuild (renamed from dev-lang/python/python-3.8.16.ebuild)3
-rw-r--r--dev-lang/python/python-3.8.16-r3.ebuild (renamed from dev-lang/python/python-3.8.16-r1.ebuild)1
-rw-r--r--dev-python/backports-tempfile/Manifest1
-rw-r--r--dev-python/backports-tempfile/backports-tempfile-1.0-r1.ebuild43
-rw-r--r--dev-python/backports-tempfile/metadata.xml13
-rw-r--r--dev-python/backports-weakref/Manifest1
-rw-r--r--dev-python/backports-weakref/backports-weakref-1.0_p1-r1.ebuild39
-rw-r--r--dev-python/backports-weakref/metadata.xml13
-rw-r--r--dev-python/backports-zoneinfo/Manifest1
-rw-r--r--dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r2.ebuild56
-rw-r--r--dev-python/backports-zoneinfo/files/backports-zoneinfo-0.2.1-py38.patch22
-rw-r--r--dev-python/backports-zoneinfo/metadata.xml10
-rw-r--r--dev-python/pkgutil_resolve_name/Manifest1
-rw-r--r--dev-python/pkgutil_resolve_name/metadata.xml12
-rw-r--r--dev-python/pkgutil_resolve_name/pkgutil_resolve_name-1.3.10.ebuild21
-rw-r--r--dev-python/time-machine/time-machine-2.8.2.ebuild11
-rw-r--r--dev-python/time-machine/time-machine-2.9.0.ebuild9
-rw-r--r--eclass/python-utils-r1.eclass10
-rwxr-xr-xeclass/tests/python-utils-r1.sh17
-rw-r--r--profiles/base/package.use.force3
-rw-r--r--profiles/desc/python_single_target.desc3
-rw-r--r--profiles/desc/python_targets.desc3
-rw-r--r--profiles/package.mask7
26 files changed, 39 insertions, 276 deletions
diff --git a/app-admin/lnav/lnav-0.11.1-r1.ebuild b/app-admin/lnav/lnav-0.11.1-r1.ebuild
index dce0dbdd165c..a2b632547075 100644
--- a/app-admin/lnav/lnav-0.11.1-r1.ebuild
+++ b/app-admin/lnav/lnav-0.11.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/tstack/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="pcap test"
RESTRICT="!test? ( test )"
diff --git a/app-portage/gpyutils/files/implementations.txt b/app-portage/gpyutils/files/implementations.txt
index 88202c6748a3..ab471bfc7b49 100644
--- a/app-portage/gpyutils/files/implementations.txt
+++ b/app-portage/gpyutils/files/implementations.txt
@@ -17,7 +17,7 @@ python3_4 dead 3.4
python3_5 dead 3.5
python3_6 dead 3.6
python3_7 dead 3.7
-python3_8 old 3.8
+python3_8 dead 3.8
python3_9 old 3.9
python3_10 current 3.10
python3_11 supported 3.11
diff --git a/app-text/wgetpaste/metadata.xml b/app-text/wgetpaste/metadata.xml
index 24014eb1423d..0ecaea5e3d91 100644
--- a/app-text/wgetpaste/metadata.xml
+++ b/app-text/wgetpaste/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>xxc3ncoredxx@gmail.com</email>
+ <name>Oskari Pirhonen</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">zlin/wgetpaste</remote-id>
diff --git a/dev-lang/python/python-3.8.16.ebuild b/dev-lang/python/python-3.8.16-r2.ebuild
index 086407df8721..57fdc6566d61 100644
--- a/dev-lang/python/python-3.8.16.ebuild
+++ b/dev-lang/python/python-3.8.16-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -43,7 +43,6 @@ RESTRICT="!test? ( test )"
RDEPEND="
app-arch/bzip2:=
app-arch/xz-utils:=
- dev-lang/python-exec[python_targets_python3_8(-)]
dev-libs/libffi:=
sys-apps/util-linux:=
>=sys-libs/zlib-1.1.3:=
diff --git a/dev-lang/python/python-3.8.16-r1.ebuild b/dev-lang/python/python-3.8.16-r3.ebuild
index 1e07c8aeabab..3f281df2bbf1 100644
--- a/dev-lang/python/python-3.8.16-r1.ebuild
+++ b/dev-lang/python/python-3.8.16-r3.ebuild
@@ -43,7 +43,6 @@ RESTRICT="!test? ( test )"
RDEPEND="
app-arch/bzip2:=
app-arch/xz-utils:=
- dev-lang/python-exec[python_targets_python3_8(-)]
dev-libs/libffi:=
sys-apps/util-linux:=
>=sys-libs/zlib-1.1.3:=
diff --git a/dev-python/backports-tempfile/Manifest b/dev-python/backports-tempfile/Manifest
deleted file mode 100644
index 2e3778ca3bd6..000000000000
--- a/dev-python/backports-tempfile/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST backports.tempfile-1.0.tar.gz 10262 BLAKE2B 9436c8a3eb7fa6da17dad4466ab030f62b93a19103e519efcbe79e35cf0687ca2960666a9337cdc2929aeeed3790a7ee0441377755b1f1e2a8192b07ed7f049a SHA512 1f3cf634e289704e96bd8483289415aae896d95a16f5ac9b226ba879497675d76148399770966bd2ef14a02d3c8848516a9b39cc400819023b06254b5b0500dc
diff --git a/dev-python/backports-tempfile/backports-tempfile-1.0-r1.ebuild b/dev-python/backports-tempfile/backports-tempfile-1.0-r1.ebuild
deleted file mode 100644
index 31422cd61781..000000000000
--- a/dev-python/backports-tempfile/backports-tempfile-1.0-r1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit distutils-r1
-
-MY_PN=${PN/-/.}
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Backport of new features in Python's tempfile module"
-HOMEPAGE="https://github.com/PiDelport/backports.tempfile https://pypi.org/project/backports.tempfile/"
-SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="PSF-2.3"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
-IUSE=""
-RDEPEND="
- dev-python/backports-weakref[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
-# Tests require backports.test.support
-RESTRICT="test"
-S="${WORKDIR}/${MY_P}"
-
-python_prepare_all() {
- sed -e "s|'setuptools_scm'||" \
- -i setup.py || die
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- PYTHONPATH="${BUILD_DIR}/lib" \
- "${PYTHON:-python}" tests/test_tempfile.py || die "tests failed with ${EPYTHON}"
-}
-
-python_install() {
- # avoid collisions due to namespaces
- rm "${BUILD_DIR}"/lib/backports/__init__.py || die
- distutils-r1_python_install --skip-build
-}
diff --git a/dev-python/backports-tempfile/metadata.xml b/dev-python/backports-tempfile/metadata.xml
deleted file mode 100644
index 42ebdc39def4..000000000000
--- a/dev-python/backports-tempfile/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>zmedico@gentoo.org</email>
- <name>Zac Medico</name>
- </maintainer>
- <upstream>
- <remote-id type="github">PiDelport/backports.tempfile</remote-id>
- <remote-id type="pypi">backports.tempfile</remote-id>
- <bugs-to>https://github.com/PiDelport/backports.tempfile/issues</bugs-to>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/backports-weakref/Manifest b/dev-python/backports-weakref/Manifest
deleted file mode 100644
index 6b5303d586cd..000000000000
--- a/dev-python/backports-weakref/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST backports.weakref-1.0.post1.tar.gz 10574 BLAKE2B a53a64dc22d8d1ac93a157bef4a858156f620593ae3d9e69b99762298e9aed73a04fd0557d98f53eed8816e746869718bc028aeda619330ce7c031f8b6f346b1 SHA512 27fb7ffd3313e62ca5ac220efe5ce0a9ae2ba8a589c80d3c5cf98741e913da7f713e1ecf2af848510383f574fa3bc3b7b3c21e6696f0a252fb517fe836c07cc7
diff --git a/dev-python/backports-weakref/backports-weakref-1.0_p1-r1.ebuild b/dev-python/backports-weakref/backports-weakref-1.0_p1-r1.ebuild
deleted file mode 100644
index 15194fca86af..000000000000
--- a/dev-python/backports-weakref/backports-weakref-1.0_p1-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit distutils-r1
-
-MY_PN=${PN/-/.}
-MY_P=${MY_PN}-${PV/_p/.post}
-
-DESCRIPTION="Backport of new features in Python's weakref module"
-HOMEPAGE="https://github.com/PiDelport/backports.weakref https://pypi.org/project/backports.weakref/"
-SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="PSF-2.3"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
-IUSE=""
-# Tests require backports.test.support
-RESTRICT="test"
-
-python_prepare_all() {
- sed -e "s|'setuptools_scm'||" \
- -i setup.py || die
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- PYTHONPATH="${BUILD_DIR}/lib" \
- "${PYTHON:-python}" tests/test_weakref.py || die "tests failed with ${EPYTHON}"
-}
-
-python_install() {
- # avoid collisions due to namespace
- rm "${BUILD_DIR}"/lib/backports/__init__.py || die
- distutils-r1_python_install --skip-build
-}
diff --git a/dev-python/backports-weakref/metadata.xml b/dev-python/backports-weakref/metadata.xml
deleted file mode 100644
index fa47716e80a7..000000000000
--- a/dev-python/backports-weakref/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>zmedico@gentoo.org</email>
- <name>Zac Medico</name>
- </maintainer>
- <upstream>
- <remote-id type="github">PiDelport/backports.weakref</remote-id>
- <remote-id type="pypi">backports.weakref</remote-id>
- <bugs-to>https://github.com/PiDelport/backports.weakref/issues</bugs-to>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/backports-zoneinfo/Manifest b/dev-python/backports-zoneinfo/Manifest
deleted file mode 100644
index 7beb84400245..000000000000
--- a/dev-python/backports-zoneinfo/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST zoneinfo-0.2.1.tar.gz 85385 BLAKE2B a6382560dbe8c4207c5a53971431497126a3bad7374580f4a67ffd1ffe5940701f13a09bc3a5ba4b729ab8d2484516ea2dc71131b7276f5339b1f60fc39c4ab1 SHA512 1f17ce34eef489dcd263665d58780ab54cf8aa83a601d31148bb4316e600f94d0af1d0baa1d6554d069c0801af906e21b9d5535db2bf76de32333820c61e2364
diff --git a/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r2.ebuild b/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r2.ebuild
deleted file mode 100644
index aaf846dbcb93..000000000000
--- a/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_8 )
-inherit distutils-r1
-
-MY_P=${P#backports-}
-DESCRIPTION="Backport of the standard library zoneinfo module"
-HOMEPAGE="https://github.com/pganssle/zoneinfo/"
-SRC_URI="
- https://github.com/pganssle/zoneinfo/archive/${PV}.tar.gz
- -> ${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
-
-BDEPEND="
- test? (
- >=dev-python/hypothesis-5.7.0[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-
-# pytest is used only for one skip, and requires unpackaged
-# pytest-subtests
-distutils_enable_tests unittest
-
-PATCHES=(
- # fix segv in py3.8.7rc1+
- # https://github.com/pganssle/zoneinfo/pull/97
- "${FILESDIR}"/${P}-py38.patch
-)
-
-python_test() {
- if [[ ${EPYTHON} == pypy3 ]]; then
- # pypy3.6 does not support dataclasses, and the backport
- # does not work with pypy
- local pypy3_version=$(best_version -b 'dev-python/pypy3')
- if [[ ${pypy3_version} != *_p37* ]]; then
- einfo "Skipping tests on pypy3.6 due to missing deps"
- return
- fi
- fi
-
- "${EPYTHON}" -m unittest discover -v ||
- die "Tests failed with ${EPYTHON}"
-}
-
-python_install() {
- # avoid file collisions
- rm "${BUILD_DIR}"/lib/backports/__init__.py || die
- distutils-r1_python_install
-}
diff --git a/dev-python/backports-zoneinfo/files/backports-zoneinfo-0.2.1-py38.patch b/dev-python/backports-zoneinfo/files/backports-zoneinfo-0.2.1-py38.patch
deleted file mode 100644
index dbe9695a9a53..000000000000
--- a/dev-python/backports-zoneinfo/files/backports-zoneinfo-0.2.1-py38.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 0e42cc3999b4e3833b5f3f41857b8c1e3c9143f3 Mon Sep 17 00:00:00 2001
-From: Pablo Galindo <pablogsal@gmail.com>
-Date: Mon, 21 Dec 2020 02:02:34 +0000
-Subject: [PATCH] Decrement the refcount of _PyLong_One in the correct branch
-
----
- lib/zoneinfo_module.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/zoneinfo_module.c b/lib/zoneinfo_module.c
-index e0c72d3..07ef603 100644
---- a/lib/zoneinfo_module.c
-+++ b/lib/zoneinfo_module.c
-@@ -616,7 +616,7 @@ zoneinfo_fromutc(PyObject *obj_self, PyObject *dt)
- Py_DECREF(args);
- Py_DECREF(kwargs);
- Py_DECREF(replace);
--#ifndef ATLEAST_37
-+#ifdef ATLEAST_37
- Py_DECREF(one);
- #endif
-
diff --git a/dev-python/backports-zoneinfo/metadata.xml b/dev-python/backports-zoneinfo/metadata.xml
deleted file mode 100644
index c8a2de863dfb..000000000000
--- a/dev-python/backports-zoneinfo/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="pypi">backports.zoneinfo</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/pkgutil_resolve_name/Manifest b/dev-python/pkgutil_resolve_name/Manifest
deleted file mode 100644
index d515ae6e546e..000000000000
--- a/dev-python/pkgutil_resolve_name/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pkgutil_resolve_name-1.3.10.tar.gz 5054 BLAKE2B 3e10c593f2389899349315dd1304233e6ca7c56ea36658cf7e7a429f00c9a3d560ef0d51f841dbd4f825501495aad41cc050266bb43b2d7deebb5026d218ae30 SHA512 878d54678d33297528dc9d1c07b45455989d3ece48dedfc468e9fbbad7cb5d17a75d66563ee841b5d65fc07fbf45cb91523f009088cb16f83846edc1f2fef7f2
diff --git a/dev-python/pkgutil_resolve_name/metadata.xml b/dev-python/pkgutil_resolve_name/metadata.xml
deleted file mode 100644
index cd502a3ab5c1..000000000000
--- a/dev-python/pkgutil_resolve_name/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- </maintainer>
- <stabilize-allarches/>
- <upstream>
- <remote-id type="github">graingert/pkgutil-resolve-name</remote-id>
- <remote-id type="pypi">pkgutil_resolve_name</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/pkgutil_resolve_name/pkgutil_resolve_name-1.3.10.ebuild b/dev-python/pkgutil_resolve_name/pkgutil_resolve_name-1.3.10.ebuild
deleted file mode 100644
index 64e2dc046b0f..000000000000
--- a/dev-python/pkgutil_resolve_name/pkgutil_resolve_name-1.3.10.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=flit
-# backport from python3.9
-PYTHON_COMPAT=( python3_8 )
-
-inherit distutils-r1
-
-DESCRIPTION="Resolve a name to an object"
-HOMEPAGE="
- https://github.com/graingert/pkgutil-resolve-name/
- https://pypi.org/project/pkgutil_resolve_name/
-"
-SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
diff --git a/dev-python/time-machine/time-machine-2.8.2.ebuild b/dev-python/time-machine/time-machine-2.8.2.ebuild
index e7b8033bcf4c..4f651ae7e543 100644
--- a/dev-python/time-machine/time-machine-2.8.2.ebuild
+++ b/dev-python/time-machine/time-machine-2.8.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
@@ -25,12 +25,5 @@ KEYWORDS="~amd64 ~ppc"
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
"
-BDEPEND="
- test? (
- $(python_gen_cond_dep '
- dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
- ' 3.8)
- )
-"
distutils_enable_tests pytest
diff --git a/dev-python/time-machine/time-machine-2.9.0.ebuild b/dev-python/time-machine/time-machine-2.9.0.ebuild
index 6c033cf82850..0f892d6ef9fc 100644
--- a/dev-python/time-machine/time-machine-2.9.0.ebuild
+++ b/dev-python/time-machine/time-machine-2.9.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
@@ -25,12 +25,5 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv"
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
"
-BDEPEND="
- test? (
- $(python_gen_cond_dep '
- dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
- ' 3.8)
- )
-"
distutils_enable_tests pytest
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 83bf5d035c4a..43472bd1fae0 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -40,7 +40,7 @@ inherit multiprocessing toolchain-funcs
# All supported Python implementations, most preferred last.
_PYTHON_ALL_IMPLS=(
pypy3
- python3_{8..11}
+ python3_{9..11}
)
readonly _PYTHON_ALL_IMPLS
@@ -52,7 +52,7 @@ _PYTHON_HISTORICAL_IMPLS=(
jython2_7
pypy pypy1_{8,9} pypy2_0
python2_{5..7}
- python3_{1..7}
+ python3_{1..8}
)
readonly _PYTHON_HISTORICAL_IMPLS
@@ -129,9 +129,9 @@ _python_set_impls() {
# please keep them in sync with _PYTHON_ALL_IMPLS
# and _PYTHON_HISTORICAL_IMPLS
case ${i} in
- pypy3|python3_[89]|python3_1[01])
+ pypy3|python3_9|python3_1[01])
;;
- jython2_7|pypy|pypy1_[89]|pypy2_0|python2_[5-7]|python3_[1-7])
+ jython2_7|pypy|pypy1_[89]|pypy2_0|python2_[5-7]|python3_[1-8])
obsolete+=( "${i}" )
;;
*)
@@ -440,8 +440,6 @@ _python_export() {
PYTHON_PKG_DEP)
local d
case ${impl} in
- python3.8)
- PYTHON_PKG_DEP=">=dev-lang/python-3.8.16:3.8";;
python3.9)
PYTHON_PKG_DEP=">=dev-lang/python-3.9.16:3.9";;
python3.10)
diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh
index 6a1d2f98cbf9..9d37bf0b24d0 100755
--- a/eclass/tests/python-utils-r1.sh
+++ b/eclass/tests/python-utils-r1.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -64,7 +64,7 @@ tmpfile=$(mktemp)
inherit python-utils-r1
-for minor in 8 9 10 11; do
+for minor in 9 10 11; do
ebegin "Testing python3.${minor}"
eindent
test_var EPYTHON "python3_${minor}" "python3.${minor}"
@@ -199,15 +199,18 @@ test_is "_python_impl_matches python3_6 python*" 0
test_is "_python_impl_matches python3_7 python*" 0
test_is "_python_impl_matches pypy3 python*" 1
set +f
-test_is "_python_impl_matches python3_8 3.8" 0
-test_is "_python_impl_matches python3_8 3.9" 1
-test_is "_python_impl_matches python3_8 3.10" 1
-test_is "_python_impl_matches python3_9 3.8" 1
test_is "_python_impl_matches python3_9 3.9" 0
test_is "_python_impl_matches python3_9 3.10" 1
-test_is "_python_impl_matches pypy3 3.8" 1
+test_is "_python_impl_matches python3_9 3.11" 1
+test_is "_python_impl_matches python3_10 3.9" 1
+test_is "_python_impl_matches python3_10 3.10" 0
+test_is "_python_impl_matches python3_10 3.11" 1
+test_is "_python_impl_matches python3_11 3.9" 1
+test_is "_python_impl_matches python3_11 3.10" 1
+test_is "_python_impl_matches python3_11 3.11" 0
test_is "_python_impl_matches pypy3 3.9" 0
test_is "_python_impl_matches pypy3 3.10" 1
+test_is "_python_impl_matches pypy3 3.11" 1
eoutdent
rm "${tmpfile}"
diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force
index fbce620680a2..7521686e4e29 100644
--- a/profiles/base/package.use.force
+++ b/profiles/base/package.use.force
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Matt Turner <mattst88@gentoo.org> (2022-12-02)
@@ -213,7 +213,6 @@ app-shells/bash:0 readline
# Michał Górny <mgorny@gentoo.org> (2012-10-14)
# Force-enable all PYTHON_TARGETS for python-exec to avoid using private
# API. Please remember to keep it in sync with python_targets.desc.
-dev-lang/python-exec python_targets_python3_8
dev-lang/python-exec python_targets_python3_9
dev-lang/python-exec python_targets_python3_10
dev-lang/python-exec python_targets_python3_11
diff --git a/profiles/desc/python_single_target.desc b/profiles/desc/python_single_target.desc
index 6c978694943c..e0f1bed263a1 100644
--- a/profiles/desc/python_single_target.desc
+++ b/profiles/desc/python_single_target.desc
@@ -1,9 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors.
+# Copyright 1999-2023 Gentoo Authors.
# Distributed under the terms of the GNU General Public License v2
# This file contains descriptions of PYTHON_SINGLE_TARGET USE_EXPAND flags.
-python3_8 - Build for Python 3.8 only
python3_9 - Build for Python 3.9 only
python3_10 - Build for Python 3.10 only
python3_11 - Build for Python 3.11 only
diff --git a/profiles/desc/python_targets.desc b/profiles/desc/python_targets.desc
index ad77fbf5b60f..7b5841ecd4b3 100644
--- a/profiles/desc/python_targets.desc
+++ b/profiles/desc/python_targets.desc
@@ -1,9 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors.
+# Copyright 1999-2023 Gentoo Authors.
# Distributed under the terms of the GNU General Public License v2
# This file contains descriptions of PYTHON_TARGETS USE_EXPAND flags.
-python3_8 - Build with Python 3.8
python3_9 - Build with Python 3.9
python3_10 - Build with Python 3.10
python3_11 - Build with Python 3.11
diff --git a/profiles/package.mask b/profiles/package.mask
index 89d5cb479917..803bf4a47069 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -33,6 +33,13 @@
#--- END OF EXAMPLES ---
+# David Seifert <soap@gentoo.org> (2023-01-14)
+# Py3.8 only backports
+dev-python/backports-tempfile
+dev-python/backports-weakref
+dev-python/backports-zoneinfo
+dev-python/pkgutil_resolve_name
+
# Andreas Sturmlechner <asturm@gentoo.org> (2023-01-10)
# Unmaintained and reportedly broken by KDE Plasma 5.25 already.
# Masking current stable version is the first step towards last-rites.