1 |
commit: 43df0040d2daeed6edd9ea6a4f4e4038483d87b6 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 24 15:07:37 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 15:07:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=43df0040 |
7 |
|
8 |
sci-visualization/fsleyes-widgets: bump to 0.12.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
...-0.9.0.ebuild => fsleyes-widgets-0.12.2.ebuild} | 20 +++++---- |
14 |
.../fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild | 47 ---------------------- |
15 |
2 files changed, 9 insertions(+), 58 deletions(-) |
16 |
|
17 |
diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.9.0.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild |
18 |
similarity index 82% |
19 |
rename from sci-visualization/fsleyes-widgets/fsleyes-widgets-0.9.0.ebuild |
20 |
rename to sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild |
21 |
index 4e00e2e47..82a1e587c 100644 |
22 |
--- a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.9.0.ebuild |
23 |
+++ b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.12.2.ebuild |
24 |
@@ -1,9 +1,9 @@ |
25 |
-# Copyright 1999-2021 Gentoo Authors |
26 |
+# Copyright 1999-2022 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=7 |
30 |
+EAPI=8 |
31 |
|
32 |
-PYTHON_COMPAT=( python3_{7,8} ) |
33 |
+PYTHON_COMPAT=( python3_{8..9} ) |
34 |
|
35 |
inherit distutils-r1 virtualx |
36 |
|
37 |
@@ -12,22 +12,20 @@ MY_P="widgets-${PV}" |
38 |
DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer" |
39 |
HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master" |
40 |
SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" |
41 |
+S="${WORKDIR}/${MY_P}" |
42 |
|
43 |
LICENSE="BSD" |
44 |
SLOT="0" |
45 |
KEYWORDS="~amd64 ~x86" |
46 |
|
47 |
RDEPEND=" |
48 |
- dev-python/deprecation[${PYTHON_USEDEP}] |
49 |
=dev-python/numpy-1*[${PYTHON_USEDEP}] |
50 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
51 |
- =dev-python/six-1*[${PYTHON_USEDEP}] |
52 |
- dev-python/wxpython[${PYTHON_USEDEP}] |
53 |
- " |
54 |
- |
55 |
-S="${WORKDIR}/${MY_P}" |
56 |
+ >=dev-python/matplotlib-1.5[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/wxpython-3.0.2.0[${PYTHON_USEDEP}] |
58 |
+" |
59 |
|
60 |
distutils_enable_tests pytest |
61 |
+distutils_enable_sphinx doc dev-python/sphinx_rtd_theme |
62 |
|
63 |
python_prepare_all() { |
64 |
# do not depend on pytest-cov |
65 |
@@ -55,5 +53,5 @@ python_test() { |
66 |
# If this could be set for the eclass, it might fix some of the tests: |
67 |
# https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724 |
68 |
#xvfbargs="-screen 0 1920x1200x24 +extension RANDR" |
69 |
- virtx pytest --verbose || die |
70 |
+ virtx epytest |
71 |
} |
72 |
|
73 |
diff --git a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild b/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild |
74 |
deleted file mode 100644 |
75 |
index cbae95701..000000000 |
76 |
--- a/sci-visualization/fsleyes-widgets/fsleyes-widgets-0.8.4.ebuild |
77 |
+++ /dev/null |
78 |
@@ -1,47 +0,0 @@ |
79 |
-# Copyright 1999-2021 Gentoo Authors |
80 |
-# Distributed under the terms of the GNU General Public License v2 |
81 |
- |
82 |
-EAPI=7 |
83 |
- |
84 |
-PYTHON_COMPAT=( python3_{7,8} ) |
85 |
- |
86 |
-inherit distutils-r1 virtualx |
87 |
- |
88 |
-MY_P="widgets-${PV}" |
89 |
- |
90 |
-DESCRIPTION="GUI widgets and utilities for the FSLeyes viewer" |
91 |
-HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master" |
92 |
-SRC_URI="https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/-/archive/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" |
93 |
- |
94 |
-LICENSE="BSD" |
95 |
-SLOT="0" |
96 |
-KEYWORDS="~amd64 ~x86" |
97 |
-IUSE="test" |
98 |
- |
99 |
-DEPEND=" |
100 |
- test? ( |
101 |
- dev-python/pytest[${PYTHON_USEDEP}] |
102 |
- ) |
103 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
104 |
- " |
105 |
-RDEPEND=" |
106 |
- dev-python/deprecation[${PYTHON_USEDEP}] |
107 |
- =dev-python/numpy-1*[${PYTHON_USEDEP}] |
108 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
109 |
- =dev-python/six-1*[${PYTHON_USEDEP}] |
110 |
- dev-python/wxpython[${PYTHON_USEDEP}] |
111 |
- " |
112 |
- |
113 |
-S="${WORKDIR}/${MY_P}" |
114 |
- |
115 |
-PATCHES=( |
116 |
- "${FILESDIR}/fsleyes-widgets-0.8.4-coverage.patch" |
117 |
- "${FILESDIR}/fsleyes-widgets-0.8.4-tests.patch" |
118 |
-) |
119 |
- |
120 |
-python_test() { |
121 |
- # If this could be set for the eclass, it might fix some of the tests: |
122 |
- # https://github.com/pauldmccarthy/fsleyes-widgets/issues/1#issuecomment-575387724 |
123 |
- #xvfbargs="-screen 0 1920x1200x24 +extension RANDR" |
124 |
- virtx pytest --verbose || die |
125 |
-} |