mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
dev-python/numpy: fix regressions introduced by 48dd16c783.
Bug: https://github.com/gentoo/gentoo/pull/15315 Closes: https://bugs.gentoo.org/660754 Package-Manager: Portage-2.3.88, Repoman-2.3.18 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
This commit is contained in:
@@ -10,7 +10,7 @@ FORTRAN_NEEDED=lapack
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit autotools distutils-r1 flag-o-matic fortran-2 multiprocessing toolchain-funcs
|
||||
inherit distutils-r1 flag-o-matic fortran-2 multiprocessing toolchain-funcs
|
||||
|
||||
DOC_PV="1.16.4"
|
||||
DESCRIPTION="Fast array and numerical python library"
|
||||
@@ -24,7 +24,7 @@ SRC_URI="
|
||||
)"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~x86"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc lapack"
|
||||
|
||||
RDEPEND="
|
||||
@@ -37,11 +37,7 @@ BDEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/unzip
|
||||
>=dev-python/cython-0.29.15[${PYTHON_USEDEP}]
|
||||
lapack? (
|
||||
>=sys-devel/automake-1.16.2
|
||||
>=sys-devel/gcc-6.5.0-r1[fortran]
|
||||
virtual/pkgconfig
|
||||
)
|
||||
lapack? ( virtual/pkgconfig )
|
||||
test? (
|
||||
>=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||
@@ -62,11 +58,6 @@ src_unpack() {
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautomake
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
if use lapack; then
|
||||
local incdir="${EPREFIX}"/usr/include
|
||||
@@ -118,6 +109,8 @@ python_prepare_all() {
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
export MAKEOPTS=-j1 #660754
|
||||
|
||||
distutils-r1_python_compile ${NUMPY_FCONFIG}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user