public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/numpy-python2/
Date: Sun, 20 Sep 2020 14:19:39 +0000 (UTC)	[thread overview]
Message-ID: <1600611472.e472013c0f25673007e16927fc79ec78de82cea0.mgorny@gentoo> (raw)

commit:     e472013c0f25673007e16927fc79ec78de82cea0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 20 14:17:52 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 14:17:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e472013c

dev-python/numpy-python2: Remove tests to unblock deps

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/numpy-python2/numpy-python2-1.16.6.ebuild | 19 ++-----------------
 1 file 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 7fb38cf003b..e103d561cbc 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 )


             reply	other threads:[~2020-09-20 14:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20 14:19 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-16 10:05 [gentoo-commits] repo/gentoo:master commit in: dev-python/numpy-python2/ Michał Górny
2020-08-12 19:01 Sergei Trofimovich
2020-06-02 22:21 Mart Raudsepp
2020-05-20  6:24 Agostino Sarubbo
2020-05-20  6:23 Agostino Sarubbo
2020-05-04 11:26 Michał Górny
2020-05-01 16:57 Pacho Ramos
2020-04-17 14:10 Michał Górny
2020-01-28 20:40 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1600611472.e472013c0f25673007e16927fc79ec78de82cea0.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox