diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-20 16:17:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-20 16:17:52 +0200 |
commit | e472013c0f25673007e16927fc79ec78de82cea0 (patch) | |
tree | 79d7bf55db1c8111d7b5b832f393a26f75cf91de | |
parent | dev-python/cffi: Remove python2 (diff) | |
download | gentoo-e472013c.tar.gz gentoo-e472013c.tar.bz2 gentoo-e472013c.zip |
dev-python/numpy-python2: Remove tests to unblock deps
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/numpy-python2/numpy-python2-1.16.6.ebuild | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/dev-python/numpy-python2/numpy-python2-1.16.6.ebuild b/dev-python/numpy-python2/numpy-python2-1.16.6.ebuild index 7fb38cf003b9..e103d561cbc2 100644 --- a/dev-python/numpy-python2/numpy-python2-1.16.6.ebuild +++ b/dev-python/numpy-python2/numpy-python2-1.16.6.ebuild @@ -25,8 +25,8 @@ SRC_URI=" LICENSE="BSD" SLOT="0" 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 test" -RESTRICT="!test? ( test )" +IUSE="doc lapack" +RESTRICT="test" RDEPEND=" !<dev-python/numpy-1.17 @@ -41,9 +41,6 @@ BDEPEND=" app-arch/unzip dev-python/setuptools[${PYTHON_USEDEP}] lapack? ( virtual/pkgconfig ) - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - ) " S="${WORKDIR}/${MY_PN}-${PV}" @@ -138,18 +135,6 @@ python_compile() { ${NUMPY_FCONFIG} } -python_test() { - distutils_install_for_testing --single-version-externally-managed \ - --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} - - cd "${TMPDIR}" || die - - "${EPYTHON}" -c " -import numpy, sys -r = numpy.test(label='full', verbose=3) -sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}" -} - python_install() { # https://github.com/numpy/numpy/issues/16005 local mydistutilsargs=( build_src ) |