public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/enable/
Date: Sun, 27 May 2018 13:38:47 +0000 (UTC)	[thread overview]
Message-ID: <1527428279.89d30fa4eef6bc82bd1315af9128fc5b07494a05.pacho@gentoo> (raw)

commit:     89d30fa4eef6bc82bd1315af9128fc5b07494a05
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun May 27 13:37:59 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun May 27 13:37:59 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89d30fa4

dev-python/enable: Run tests as upstream wants and restrict

until fixed (#654090, https://github.com/enthought/enable/issues/303)

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 dev-python/enable/enable-4.7.1.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-python/enable/enable-4.7.1.ebuild b/dev-python/enable/enable-4.7.1.ebuild
index 1672c3a01ef..afe2cd13e91 100644
--- a/dev-python/enable/enable-4.7.1.ebuild
+++ b/dev-python/enable/enable-4.7.1.ebuild
@@ -17,6 +17,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples test"
 
+RESTRICT="test" # Until https://github.com/enthought/enable/issues/303 is solved
+
 RDEPEND="
 	dev-python/apptools[${PYTHON_USEDEP}]
 	dev-python/kiwisolver[${PYTHON_USEDEP}]
@@ -34,6 +36,7 @@ DEPEND="${RDEPEND}
 	dev-python/cython[${PYTHON_USEDEP}]
 	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
 	test? (
+		dev-python/coverage[${PYTHON_USEDEP}]
 		dev-python/fonttools[${PYTHON_USEDEP}]
 		dev-python/hypothesis[${PYTHON_USEDEP}]
 		dev-python/mock[${PYTHON_USEDEP}]
@@ -61,9 +64,9 @@ python_compile_all() {
 
 python_test() {
 	pushd "${BUILD_DIR}"/lib > /dev/null
-	# https://github.com/enthought/enable/issues/158
-	PYTHONPATH=.:kiva \
-		virtx nosetests --verbose
+	# https://github.com/enthought/enable/issues/303
+	virtx coverage run -m nose.core enable -v
+	virtx coverage run -a -m nose.core kiva -v
 	popd > /dev/null
 }
 


             reply	other threads:[~2018-05-27 13:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-27 13:38 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-04-15  7:49 [gentoo-commits] repo/gentoo:master commit in: dev-python/enable/ Mikle Kolyada
2018-05-29  8:19 Mikle Kolyada
2018-05-28  0:48 Thomas Deutschmann
2018-04-25 19:17 Pacho Ramos
2018-04-23  2:52 Aaron Bauman
2018-04-22  6:32 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=1527428279.89d30fa4eef6bc82bd1315af9128fc5b07494a05.pacho@gentoo \
    --to=pacho@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