From 38423c67c8a23f6a1bc42038193182e2da3116eb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Apr 2020 11:37:10 +0100 Subject: gentoo resync : 25.04.2020 --- eclass/python-utils-r1.eclass | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'eclass/python-utils-r1.eclass') diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 77982c9b9c76..e85aefda792a 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -341,10 +341,14 @@ _python_export() { local val case "${impl}" in - python*) - # python-2.7, python-3.2, etc. + python2*|python3.6|python3.7*) + # python* up to 3.7 val=$($(tc-getPKG_CONFIG) --libs ${impl/n/n-}) || die ;; + python*) + # python3.8+ + val=$($(tc-getPKG_CONFIG) --libs ${impl/n/n-}-embed) || die + ;; *) die "${impl}: obtaining ${var} not supported" ;; @@ -378,7 +382,7 @@ _python_export() { python3.6) PYTHON_PKG_DEP=">=dev-lang/python-3.6.10:3.6";; python3.7) - PYTHON_PKG_DEP=">=dev-lang/python-3.7.6:3.7";; + PYTHON_PKG_DEP=">=dev-lang/python-3.7.7-r1:3.7";; python3.8) PYTHON_PKG_DEP=">=dev-lang/python-3.8.2:3.8";; pypy3) -- cgit v1.2.3