diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-11-08 09:27:50 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-11-11 11:21:33 +0100 |
commit | 0f076c65649b8eda6480f8c44e4b85f583cdd014 (patch) | |
tree | 2da6c4c59fd0a9a129aef5975f575bacf9bc82dc /eclass/tests | |
parent | fd4001e9682ed11db9f6b2cf87f3e89ed291fe02 (diff) | |
download | gentoo-0f076c65649b8eda6480f8c44e4b85f583cdd014.tar.gz gentoo-0f076c65649b8eda6480f8c44e4b85f583cdd014.tar.xz |
python-utils-r1.eclass: Support getting PYTHON_CONFIG path
Diffstat (limited to 'eclass/tests')
-rwxr-xr-x | eclass/tests/python-utils-r1.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh index 457756de3e4..b683c51830a 100755 --- a/eclass/tests/python-utils-r1.sh +++ b/eclass/tests/python-utils-r1.sh @@ -67,6 +67,7 @@ if [[ -x /usr/bin/python2.7 ]]; then test_var PYTHON_SITEDIR python2_7 "/usr/lib*/python2.7/site-packages" 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 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 @@ -78,6 +79,7 @@ if [[ -x /usr/bin/python3.4 ]]; then test_var PYTHON_SITEDIR python3_4 "/usr/lib*/python3.4/site-packages" test_var PYTHON_INCLUDEDIR python3_4 "/usr/include/python3.4${abiflags}" test_var PYTHON_LIBPATH python3_4 "/usr/lib*/libpython3.4${abiflags}$(get_libname)" + test_var PYTHON_CONFIG python3_4 "/usr/bin/python3.4${abiflags}-config" fi test_var PYTHON_PKG_DEP python3_4 '*dev-lang/python*:3.4' test_var PYTHON_SCRIPTDIR python3_4 /usr/lib/python-exec/python3.4 |