1 |
commit: 720e1d6139727d6366b8d7ae69aedb5c297f113e |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Mon Feb 1 01:48:30 2021 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Feb 1 01:48:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=720e1d61 |
7 |
|
8 |
sci-visualization/fsleyes-widgets: keep old versions |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
.../fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild | 47 ++++++++++++++++++++++ |
14 |
1 file changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000..eac611cac |
19 |
--- /dev/null |
20 |
+++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild |
21 |
@@ -0,0 +1,47 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
28 |
+ |
29 |
+inherit distutils-r1 virtualx |
30 |
+ |
31 |
+MY_P="widgets-${PV}" |
32 |
+ |
33 |
+DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer" |
34 |
+HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master" |
35 |
+SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="BSD" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="test" |
41 |
+ |
42 |
+DEPEND=" |
43 |
+ test? ( |
44 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
45 |
+ ) |
46 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
47 |
+ " |
48 |
+RDEPEND=" |
49 |
+ dev-python/deprecation[${PYTHON_USEDEP}] |
50 |
+ =dev-python/numpy-1*[${PYTHON_USEDEP}] |
51 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
52 |
+ =dev-python/six-1*[${PYTHON_USEDEP}] |
53 |
+ dev-python/wxpython[${PYTHON_USEDEP}] |
54 |
+ " |
55 |
+ |
56 |
+S="${WORKDIR}/${MY_P}" |
57 |
+ |
58 |
+PATCHES=( |
59 |
+ "${FILESDIR}/fsleyes-widgets-0.8.4-coverage.patch" |
60 |
+ "${FILESDIR}/fsleyes-widgets-0.8.4-tests.patch" |
61 |
+) |
62 |
+ |
63 |
+python_test() { |
64 |
+ # If this could be set for the eclass, it might fix some of the tests: |
65 |
+ # https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724 |
66 |
+ #xvfbargs="-screen 0 1920x1200x24 +extension RANDR" |
67 |
+ virtx pytest --verbose || die |
68 |
+} |