mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-12 15:36:58 +02:00
eclass/python-utils-r1: Sync with Gentoo
It's from Gentoo commit 54d6fdbd179f158f4b9e0e21b1b03ff1ae46f404.
This commit is contained in:
parent
a2118dda7b
commit
7c63d4bf93
@ -351,6 +351,7 @@ _python_export() {
|
||||
print(sysconfig.get_path("purelib"))
|
||||
EOF
|
||||
)
|
||||
PYTHON_SITEDIR=${EPREFIX}${PYTHON_SITEDIR#"${BROOT-${EPREFIX}}"}
|
||||
export PYTHON_SITEDIR
|
||||
debug-print "${FUNCNAME}: PYTHON_SITEDIR = ${PYTHON_SITEDIR}"
|
||||
;;
|
||||
@ -362,6 +363,7 @@ _python_export() {
|
||||
print(sysconfig.get_path("platinclude"))
|
||||
EOF
|
||||
)
|
||||
PYTHON_INCLUDEDIR=${ESYSROOT}${PYTHON_INCLUDEDIR#"${BROOT-${EPREFIX}}"}
|
||||
export PYTHON_INCLUDEDIR
|
||||
debug-print "${FUNCNAME}: PYTHON_INCLUDEDIR = ${PYTHON_INCLUDEDIR}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user