1 |
commit: c377e8531bc653276cafbacdf6f41b5e3c53247e |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 14 19:34:17 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 14 19:34:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c377e853 |
7 |
|
8 |
dev-python/fslpy: add version 3.8.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
dev-python/fslpy/fslpy-3.8.1.ebuild | 39 +++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/fslpy/fslpy-3.8.1.ebuild b/dev-python/fslpy/fslpy-3.8.1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000..092f36094 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/fslpy/fslpy-3.8.1.ebuild |
21 |
@@ -0,0 +1,39 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{8..9} ) |
28 |
+ |
29 |
+inherit distutils-r1 virtualx |
30 |
+ |
31 |
+DESCRIPTION="The FSL Python Library" |
32 |
+HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fslpy" |
33 |
+SRC_URI="https://git.fmrib.ox.ac.uk/fsl/${PN}/-/archive/${PV}/${P}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="BSD" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ >=dev-python/h5py-2.9[${PYTHON_USEDEP}] |
41 |
+ >=dev-python/indexed_gzip-0.7.0[${PYTHON_USEDEP}] |
42 |
+ >=dev-python/numpy-1[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/pillow-3.2.0[${PYTHON_USEDEP}] |
44 |
+ >=dev-python/trimesh-2.37.29[${PYTHON_USEDEP}] |
45 |
+ =dev-python/wxpython-4*[${PYTHON_USEDEP}] |
46 |
+ >=sci-libs/rtree-0.8.3[${PYTHON_USEDEP}] |
47 |
+ >=sci-libs/nibabel-2.4[${PYTHON_USEDEP}] |
48 |
+ >=dev-python/scipy-0.18[${PYTHON_USEDEP}] |
49 |
+" |
50 |
+ |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}/fslpy-2.7.0-coverage.patch" |
53 |
+) |
54 |
+ |
55 |
+distutils_enable_tests pytest |
56 |
+distutils_enable_sphinx doc dev-python/sphinx_rtd_theme |
57 |
+ |
58 |
+python_test() { |
59 |
+ virtx epytest --niters=50 -m "not (dicomtest or longtest or fsltest)" |
60 |
+} |