commit:     003b014a7c4207ca31999ad4e617b331b0acac5e
Author:     Jan Vesely <jano.vesely <AT> gmail <DOT> com>
AuthorDate: Sat May 28 15:36:04 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun  6 05:14:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=003b014a

app-portage/elicense: Allow python:3.10 and pypy3

Both pypy3 and python:3.10 are already supported by a stable version of
sys-apps/portage.
Drop python:3.7.
v2: Mask pypy3 useflag on selinux profile (portage with USE pypy3 is not 
available)

Bug: https://bugs.gentoo.org/show_bug.cgi?id=842786

Signed-off-by: Jan Vesely <jano.vesely <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25665
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-portage/elicense/elicense-1.0.2.ebuild | 2 +-
 app-portage/elicense/elicense-9999.ebuild  | 2 +-
 profiles/features/selinux/package.use.mask | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-portage/elicense/elicense-1.0.2.ebuild 
b/app-portage/elicense/elicense-1.0.2.ebuild
index d564118c306a..aff71477b274 100644
--- a/app-portage/elicense/elicense-1.0.2.ebuild
+++ b/app-portage/elicense/elicense-1.0.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
 inherit distutils-r1
 
 if [[ ${PV} == "9999" ]]; then

diff --git a/app-portage/elicense/elicense-9999.ebuild 
b/app-portage/elicense/elicense-9999.ebuild
index 831da3331919..6028d25eb4ee 100644
--- a/app-portage/elicense/elicense-9999.ebuild
+++ b/app-portage/elicense/elicense-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
 inherit distutils-r1
 
 if [[ ${PV} == "9999" ]]; then

diff --git a/profiles/features/selinux/package.use.mask 
b/profiles/features/selinux/package.use.mask
index 5a0e4be2a705..7808e7cb7e8d 100644
--- a/profiles/features/selinux/package.use.mask
+++ b/profiles/features/selinux/package.use.mask
@@ -22,6 +22,7 @@ www-servers/uwsgi uwsgi_plugins_systemd_logger
 # Brian Dolbec <dol...@gentoo.org> (2014-09-17)
 # mask pypy for several utilities due to incompatibility with libselinux
 sys-apps/portage python_targets_pypy3
+app-portage/elicense python_targets_pypy3
 app-portage/elogv python_targets_pypy3
 app-portage/gentoolkit python_targets_pypy3
 app-portage/layman python_targets_pypy3

Reply via email to