aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <chr@chymera.eu>2021-01-31 20:48:30 -0500
committerHorea Christian <chr@chymera.eu>2021-01-31 20:48:30 -0500
commit720e1d6139727d6366b8d7ae69aedb5c297f113e (patch)
tree0cf5bb577fc1d8f2a7558d54712853fa8c84bf47 /sci-visualization/fsleyes-widgets
parentsci-visualization/fsleyes-props: keep old version (diff)
downloadsci-720e1d6139727d6366b8d7ae69aedb5c297f113e.tar.gz
sci-720e1d6139727d6366b8d7ae69aedb5c297f113e.tar.bz2
sci-720e1d6139727d6366b8d7ae69aedb5c297f113e.zip
sci-visualization/fsleyes-widgets: keep old versions
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Horea Christian <chr@chymera.eu>
Diffstat (limited to 'sci-visualization/fsleyes-widgets')
-rw-r--r--sci-visualization/fsleyes-widgets/Manifest1
-rw-r--r--sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/sci-visualization/fsleyes-widgets/Manifest b/sci-visualization/fsleyes-widgets/Manifest
index 8850dfdf3..bcfa8ba9a 100644
--- a/sci-visualization/fsleyes-widgets/Manifest
+++ b/sci-visualization/fsleyes-widgets/Manifest
@@ -1 +1,2 @@
+DIST fsleyes-widgets-0.8.4.tar.gz 1063873 BLAKE2B 75aca3b5a3b3726cee821016df5d5da4adcb3db0bbe3ad24c371e63215584bc6e47d1fc941344c44db8c6d32f21332be2541b74aca31c0efbcb34b46a7f872d8 SHA512 b3b3a5f1a963022f82456c2d6978e02e6f0eb459a76d3aa9f924dbb484ad8359fe9344e9d914c859bd213406707b1b3456de8543b1400728b84fb503ae1fddc8
DIST fsleyes-widgets-0.9.0.tar.gz 1064093 BLAKE2B 2bdf0d60d1f04e0473dbbaead4d8d8285c7779eac00fb28851dea25dec55be20ffd7ea95a1c556b5b7be817e147ef0957312ffbd3ade5e0bf6bb791b2d41fec9 SHA512 b514b1d7652654da9aba3de5974ca6e3eb1d4b5dd5e321d7343a56fb9c1af2cce1d1c3672e30c4d48262d2f2cdb3993e890dee35cfe7dc98de340fe0463de100
diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild
new file mode 100644
index 000000000..eac611cac
--- /dev/null
+++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1 virtualx
+
+MY_P="widgets-${PV}"
+
+DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer"
+HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master"
+SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ "
+RDEPEND="
+ dev-python/deprecation[${PYTHON_USEDEP}]
+ =dev-python/numpy-1*[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ =dev-python/six-1*[${PYTHON_USEDEP}]
+ dev-python/wxpython[${PYTHON_USEDEP}]
+ "
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/fsleyes-widgets-0.8.4-coverage.patch"
+ "${FILESDIR}/fsleyes-widgets-0.8.4-tests.patch"
+)
+
+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 pytest --verbose || die
+}