1 |
commit: cd46eb3f8d5cc1bdbcf3277efa32d918285fc27e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 27 16:29:12 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 27 16:29:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd46eb3f |
7 |
|
8 |
eclass/tests/python-utils-r1.sh: Cover PYTHON_{CFLAGS,LIBS} |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
eclass/tests/python-utils-r1.sh | 6 ++++++ |
13 |
1 file changed, 6 insertions(+) |
14 |
|
15 |
diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh |
16 |
index 279324e163b..4367890a08a 100755 |
17 |
--- a/eclass/tests/python-utils-r1.sh |
18 |
+++ b/eclass/tests/python-utils-r1.sh |
19 |
@@ -67,6 +67,8 @@ if [[ -x /usr/bin/python2.7 ]]; then |
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 |
@@ -79,6 +81,8 @@ if [[ -x /usr/bin/python3.6 ]]; then |
29 |
test_var PYTHON_INCLUDEDIR python3_6 "/usr/include/python3.6${abiflags}" |
30 |
test_var PYTHON_LIBPATH python3_6 "/usr/lib*/libpython3.6${abiflags}$(get_libname)" |
31 |
test_var PYTHON_CONFIG python3_6 "/usr/bin/python3.6${abiflags}-config" |
32 |
+ test_var PYTHON_CFLAGS python3_6 "*-I/usr/include/python3.6*" |
33 |
+ test_var PYTHON_LIBS python3_6 "*-lpython3.6*" |
34 |
fi |
35 |
test_var PYTHON_PKG_DEP python3_6 '*dev-lang/python*:3.6' |
36 |
test_var PYTHON_SCRIPTDIR python3_6 /usr/lib/python-exec/python3.6 |
37 |
@@ -91,6 +95,8 @@ if [[ -x /usr/bin/python3.7 ]]; then |
38 |
test_var PYTHON_INCLUDEDIR python3_7 "/usr/include/python3.7${abiflags}" |
39 |
test_var PYTHON_LIBPATH python3_7 "/usr/lib*/libpython3.7${abiflags}$(get_libname)" |
40 |
test_var PYTHON_CONFIG python3_7 "/usr/bin/python3.7${abiflags}-config" |
41 |
+ test_var PYTHON_CFLAGS python3_7 "*-I/usr/include/python3.7*" |
42 |
+ test_var PYTHON_LIBS python3_7 "*-lpython3.7*" |
43 |
fi |
44 |
test_var PYTHON_PKG_DEP python3_7 '*dev-lang/python*:3.7' |
45 |
test_var PYTHON_SCRIPTDIR python3_7 /usr/lib/python-exec/python3.7 |