dev-python/pyside: 6.10.1 fix cmake paths

Closes: https://bugs.gentoo.org/967329
Closes: https://bugs.gentoo.org/967299
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44992
Closes: https://github.com/gentoo/gentoo/pull/44992
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Paul Zander 2025-12-11 20:00:24 +01:00 committed by Sam James
parent d1ace3ba50
commit 9067a94a51
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -527,8 +527,8 @@ python_compile() {
-e "s~libpyside6\.cpython.*\.so\.$(ver_cut 1-2)~libpyside6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \
-e "s~libpyside6qml\.cpython.*\.so\.$(ver_cut 1-2)~libpyside6qml\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \
-e "s~\${PACKAGE_PREFIX_DIR}/~$(python_get_sitedir)/PySide6/~g" \
-e "s~\${_IMPORT_PREFIX}/shiboken6/include~$(python_get_sitedir)/shiboken6/include~g" \
-e "s~\${_IMPORT_PREFIX}/PySide6/include~$(python_get_sitedir)/PySide6/include~g" \
-e "s~\${_IMPORT_PREFIX}/shiboken6~$(python_get_sitedir)/shiboken6~g" \
-e "s~\${_IMPORT_PREFIX}/PySide6~$(python_get_sitedir)/PySide6~g" \
-i "${BUILD_DIR}/install/usr/lib/cmake/"*/*.cmake || die
local file
for file in "${BUILD_DIR}/install/usr/lib/cmake/"*/*.cpython-*.cmake