dev-python/libvirt-python: set -j1 to avoid setuptools breakage

May ICE when building w/ GCC LTO or even be miscompiled (even w/o LTO).

Bug: https://bugs.gentoo.org/856835
Closes: https://bugs.gentoo.org/907718
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-07-28 09:20:02 +01:00
parent f5c80d9a70
commit 86035d3667
4 changed files with 20 additions and 0 deletions

View File

@@ -48,6 +48,11 @@ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
distutils_enable_tests pytest
python_compile() {
# setuptools is broken for C extensions, bug #907718
distutils-r1_python_compile -j1
}
python_install_all() {
if use examples; then
dodoc -r examples

View File

@@ -48,6 +48,11 @@ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
distutils_enable_tests pytest
python_compile() {
# setuptools is broken for C extensions, bug #907718
distutils-r1_python_compile -j1
}
python_install_all() {
if use examples; then
dodoc -r examples

View File

@@ -48,6 +48,11 @@ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
distutils_enable_tests pytest
python_compile() {
# setuptools is broken for C extensions, bug #907718
distutils-r1_python_compile -j1
}
python_install_all() {
if use examples; then
dodoc -r examples

View File

@@ -48,6 +48,11 @@ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
distutils_enable_tests pytest
python_compile() {
# setuptools is broken for C extensions, bug #907718
distutils-r1_python_compile -j1
}
python_install_all() {
if use examples; then
dodoc -r examples