Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, Zac Medico <zmedico@g.o>
Subject: [gentoo-dev] [PATCH] python-utils-r1.eclass: _python_impl_supported, forward compat
Date: Tue, 02 May 2017 18:50:09
Message-Id: 20170502184903.5408-1-zmedico@gentoo.org
1 Add forward compatibility up to python3.9. It's helpful to allow some
2 flexibility in ebuild PYTHON_COMPAT settings, for third-party
3 repositories that may be used with multiple snapshots of the gentoo
4 repository.
5 ---
6 eclass/python-utils-r1.eclass | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
10 index 66a359e..997a994 100644
11 --- a/eclass/python-utils-r1.eclass
12 +++ b/eclass/python-utils-r1.eclass
13 @@ -70,7 +70,7 @@ _python_impl_supported() {
14 python2_7|python3_[456]|jython2_7)
15 return 0
16 ;;
17 - pypy1_[89]|pypy2_0|python2_[56]|python3_[123])
18 + pypy1_[89]|pypy2_0|python2_[56]|python3_[123789])
19 return 1
20 ;;
21 pypy|pypy3)
22 --
23 2.10.2

Replies