commit:     6df21099f76d9c9f49670a3bf61b12fc0edb4762
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 19:01:12 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 19:01:12 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6df21099

dev-python/fslpy: add 3.10.0

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/fslpy/fslpy-3.10.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/dev-python/fslpy/fslpy-3.10.0.ebuild 
b/dev-python/fslpy/fslpy-3.10.0.ebuild
new file mode 100644
index 000000000..7140be033
--- /dev/null
+++ b/dev-python/fslpy/fslpy-3.10.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 virtualx
+
+DESCRIPTION="The FSL Python Library"
+HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fslpy";
+SRC_URI="https://git.fmrib.ox.ac.uk/fsl/${PN}/-/archive/${PV}/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/dill[${PYTHON_USEDEP}]
+       >=dev-python/h5py-2.9[${PYTHON_USEDEP}]
+       >=dev-python/indexed_gzip-0.7.0[${PYTHON_USEDEP}]
+       >=dev-python/numpy-1[${PYTHON_USEDEP}]
+       >=dev-python/pillow-3.2.0[${PYTHON_USEDEP}]
+       >=dev-python/trimesh-2.37.29[${PYTHON_USEDEP}]
+       =dev-python/wxpython-4*[${PYTHON_USEDEP}]
+       >=sci-libs/rtree-0.8.3[${PYTHON_USEDEP}]
+       >=sci-libs/nibabel-2.4[${PYTHON_USEDEP}]
+       >=dev-python/scipy-0.18[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc dev-python/sphinx_rtd_theme
+
+python_prepare_all() {
+       # Do not depend on coverage
+       sed -i -e 's/--cov=fsl//g' setup.cfg || die
+
+       distutils-r1_python_prepare_all
+}
+
+src_test() {
+       virtx distutils-r1_src_test
+}
+
+python_test() {
+       epytest -m "not (dicomtest or longtest or fsltest)" || die "Tests 
failed with ${EPYTHON}"
+}

Reply via email to