Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 3/4] eclass/tests/python-utils-r1.sh: Remove old impls
Date: Mon, 12 Dec 2022 06:20:21
Message-Id: 20221212061922.46687-4-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/4] distutils-r1.eclass: cross support + minor updates by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/tests/python-utils-r1.sh | 18 +-----------------
4 1 file changed, 1 insertion(+), 17 deletions(-)
5
6 diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh
7 index 6abf10cadabd..6a1d2f98cbf9 100755
8 --- a/eclass/tests/python-utils-r1.sh
9 +++ b/eclass/tests/python-utils-r1.sh
10 @@ -64,23 +64,7 @@ tmpfile=$(mktemp)
11
12 inherit python-utils-r1
13
14 -ebegin "Testing python2.7"
15 -eindent
16 -test_var EPYTHON python2_7 python2.7
17 -test_var PYTHON python2_7 /usr/bin/python2.7
18 -if [[ -x /usr/bin/python2.7 ]]; then
19 - test_var PYTHON_SITEDIR python2_7 "/usr/lib*/python2.7/site-packages"
20 - test_var PYTHON_INCLUDEDIR python2_7 /usr/include/python2.7
21 - test_var PYTHON_LIBPATH python2_7 "/usr/lib*/libpython2.7$(get_libname)"
22 - test_var PYTHON_CONFIG python2_7 /usr/bin/python2.7-config
23 - test_var PYTHON_CFLAGS python2_7 "*-I/usr/include/python2.7*"
24 - test_var PYTHON_LIBS python2_7 "*-lpython2.7*"
25 -fi
26 -test_var PYTHON_PKG_DEP python2_7 '*dev-lang/python*:2.7'
27 -test_var PYTHON_SCRIPTDIR python2_7 /usr/lib/python-exec/python2.7
28 -eoutdent
29 -
30 -for minor in 6 7 8 9 10 11; do
31 +for minor in 8 9 10 11; do
32 ebegin "Testing python3.${minor}"
33 eindent
34 test_var EPYTHON "python3_${minor}" "python3.${minor}"
35 --
36 2.38.2