public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/
Date: Thu,  7 Jul 2022 04:54:29 +0000 (UTC)	[thread overview]
Message-ID: <1657169649.85f2ed73991c388e33ccd855dd509bd95ee378c8.sam@gentoo> (raw)

commit:     85f2ed73991c388e33ccd855dd509bd95ee378c8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 04:34:17 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 04:54:09 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=85f2ed73

sci-visualization/fsleyes-widgets: enable py3.10

See https://projects.gentoo.org/python/guide/distutils.html#running-tests-with-virtualx re virtx.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild
index 82a1e587c..4153ca1b8 100644
--- a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild
+++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 
@@ -49,9 +49,13 @@ python_prepare_all() {
 	distutils-r1_python_prepare_all
 }
 
+src_test() {
+	virtx distutils-r1_src_test
+}
+
 python_test() {
 	# If this could be set for the eclass, it might fix some of the tests:
 	# https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724
 	#xvfbargs="-screen 0 1920x1200x24 +extension RANDR"
-	virtx epytest
+	epytest || die "Tests failed with ${EPYTHON}"
 }


             reply	other threads:[~2022-07-07  4:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-07  4:54 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-23 14:28 [gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes-widgets/ Andrew Ammerlaan
2022-10-11 19:20 Andrew Ammerlaan
2022-10-11 19:20 Andrew Ammerlaan
2022-01-24 16:06 Andrew Ammerlaan
2021-02-01  1:48 Horea Christian
2021-01-20 12:29 Andrew Ammerlaan
2020-01-19 17:32 Horea Christian

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=1657169649.85f2ed73991c388e33ccd855dd509bd95ee378c8.sam@gentoo \
    --to=sam@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