From: Michał Górny Date: Thu, 27 Feb 2020 16:29:12 +0000 (+0100) Subject: eclass/tests/python-utils-r1.sh: Cover PYTHON_{CFLAGS,LIBS} X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd46eb3f8d5cc1bdbcf3277efa32d918285fc27e;p=gentoo.git eclass/tests/python-utils-r1.sh: Cover PYTHON_{CFLAGS,LIBS} Signed-off-by: Michał Górny --- diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh index 279324e163ba..4367890a08a1 100755 --- a/eclass/tests/python-utils-r1.sh +++ b/eclass/tests/python-utils-r1.sh @@ -67,6 +67,8 @@ if [[ -x /usr/bin/python2.7 ]]; then test_var PYTHON_INCLUDEDIR python2_7 /usr/include/python2.7 test_var PYTHON_LIBPATH python2_7 "/usr/lib*/libpython2.7$(get_libname)" test_var PYTHON_CONFIG python2_7 /usr/bin/python2.7-config + test_var PYTHON_CFLAGS python2_7 "*-I/usr/include/python2.7*" + test_var PYTHON_LIBS python2_7 "*-lpython2.7*" fi test_var PYTHON_PKG_DEP python2_7 '*dev-lang/python*:2.7' test_var PYTHON_SCRIPTDIR python2_7 /usr/lib/python-exec/python2.7 @@ -79,6 +81,8 @@ if [[ -x /usr/bin/python3.6 ]]; then test_var PYTHON_INCLUDEDIR python3_6 "/usr/include/python3.6${abiflags}" test_var PYTHON_LIBPATH python3_6 "/usr/lib*/libpython3.6${abiflags}$(get_libname)" test_var PYTHON_CONFIG python3_6 "/usr/bin/python3.6${abiflags}-config" + test_var PYTHON_CFLAGS python3_6 "*-I/usr/include/python3.6*" + test_var PYTHON_LIBS python3_6 "*-lpython3.6*" fi test_var PYTHON_PKG_DEP python3_6 '*dev-lang/python*:3.6' test_var PYTHON_SCRIPTDIR python3_6 /usr/lib/python-exec/python3.6 @@ -91,6 +95,8 @@ if [[ -x /usr/bin/python3.7 ]]; then test_var PYTHON_INCLUDEDIR python3_7 "/usr/include/python3.7${abiflags}" test_var PYTHON_LIBPATH python3_7 "/usr/lib*/libpython3.7${abiflags}$(get_libname)" test_var PYTHON_CONFIG python3_7 "/usr/bin/python3.7${abiflags}-config" + test_var PYTHON_CFLAGS python3_7 "*-I/usr/include/python3.7*" + test_var PYTHON_LIBS python3_7 "*-lpython3.7*" fi test_var PYTHON_PKG_DEP python3_7 '*dev-lang/python*:3.7' test_var PYTHON_SCRIPTDIR python3_7 /usr/lib/python-exec/python3.7