diff options
author | Sam James <sam@gentoo.org> | 2022-07-07 05:34:17 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-07 05:54:09 +0100 |
commit | 85f2ed73991c388e33ccd855dd509bd95ee378c8 (patch) | |
tree | dc8487cc085590d09663418552fecd31c854d6d6 /sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild | |
parent | sci-libs/nibabel: enable py3.10 and disable py3.7 (diff) | |
download | sci-85f2ed73991c388e33ccd855dd509bd95ee378c8.tar.gz sci-85f2ed73991c388e33ccd855dd509bd95ee378c8.tar.bz2 sci-85f2ed73991c388e33ccd855dd509bd95ee378c8.zip |
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@gentoo.org>
Diffstat (limited to 'sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild')
-rw-r--r-- | sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild | 8 |
1 files 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}" } |