summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-11-21 16:31:51 +0100
committerMichał Górny <mgorny@gentoo.org>2022-11-21 17:09:01 +0100
commit0430b39a4d4a55c76f96885b65136f8b818cd6e8 (patch)
treea82b7918ea2525dd59d7c864121686242c07b706 /dev-python/scipy
parentsys-apps/systemd-utils: fix install paths for USE="-split-usr" (diff)
downloadgentoo-0430b39a4d4a55c76f96885b65136f8b818cd6e8.tar.gz
gentoo-0430b39a4d4a55c76f96885b65136f8b818cd6e8.tar.bz2
gentoo-0430b39a4d4a55c76f96885b65136f8b818cd6e8.zip
dev-python/scipy: Workaround build failure w/ setuptools-65.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/scipy')
-rw-r--r--dev-python/scipy/scipy-1.9.3.ebuild2
-rw-r--r--dev-python/scipy/scipy-1.9.9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index ffe5bf5fc6c1..18e8c08b3222 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -90,6 +90,8 @@ src_unpack() {
}
python_configure_all() {
+ # workaround stupid numpy distutils overrides, indirectly via pythran
+ export SETUPTOOLS_USE_DISTUTILS=stdlib
export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
}
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index 0f38a0cb37a1..6396c461e4e3 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -90,6 +90,8 @@ src_unpack() {
}
python_configure_all() {
+ # workaround stupid numpy distutils overrides, indirectly via pythran
+ export SETUPTOOLS_USE_DISTUTILS=stdlib
export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
}