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"
)"
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="
${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}]
fi
}
-src_prepare() {
- default
- eautomake
-}
-
python_prepare_all() {
if use lapack; then
local incdir="${EPREFIX}"/usr/include
}
python_compile() {
+ export MAKEOPTS=-j1 #660754
+
distutils-r1_python_compile ${NUMPY_FCONFIG}
}
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Benda Xu <heroxbd@gentoo.org> (2020-04-27)
+# tests optionally depend on dev-python/hypothesis
+dev-python/numpy test
+
# Lars Wendler <polynomial-c@gentoo.org> (2020-04-20)
# Not keyworded on ppc
net-misc/whois xcrypt
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Benda Xu <heroxbd@gentoo.org> (2020-04-27)
+# tests optionally depend on dev-python/hypothesis
+dev-python/numpy test
+
# Rolf Eike Beer <eike@sf-mail.de> (2020-04-26)
# tests optionally depend on dev-ruby/coffee-script needing nodejs
dev-ruby/tilt test