mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-13 16:06:59 +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"))
|
print(sysconfig.get_path("purelib"))
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
PYTHON_SITEDIR=${EPREFIX}${PYTHON_SITEDIR#"${BROOT-${EPREFIX}}"}
|
||||||
export PYTHON_SITEDIR
|
export PYTHON_SITEDIR
|
||||||
debug-print "${FUNCNAME}: PYTHON_SITEDIR = ${PYTHON_SITEDIR}"
|
debug-print "${FUNCNAME}: PYTHON_SITEDIR = ${PYTHON_SITEDIR}"
|
||||||
;;
|
;;
|
||||||
@ -362,6 +363,7 @@ _python_export() {
|
|||||||
print(sysconfig.get_path("platinclude"))
|
print(sysconfig.get_path("platinclude"))
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
PYTHON_INCLUDEDIR=${ESYSROOT}${PYTHON_INCLUDEDIR#"${BROOT-${EPREFIX}}"}
|
||||||
export PYTHON_INCLUDEDIR
|
export PYTHON_INCLUDEDIR
|
||||||
debug-print "${FUNCNAME}: PYTHON_INCLUDEDIR = ${PYTHON_INCLUDEDIR}"
|
debug-print "${FUNCNAME}: PYTHON_INCLUDEDIR = ${PYTHON_INCLUDEDIR}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user