diff options
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/fsleyes-props/Manifest | 1 | ||||
-rw-r--r-- | sci-visualization/fsleyes-props/fsleyes-props-1.8.2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/sci-visualization/fsleyes-props/Manifest b/sci-visualization/fsleyes-props/Manifest index 51fcf1b3c..79ff129e3 100644 --- a/sci-visualization/fsleyes-props/Manifest +++ b/sci-visualization/fsleyes-props/Manifest @@ -1 +1,2 @@ DIST props-1.7.3.tar.gz 122655 BLAKE2B 158d1fe055ed977455888af6daa2f07d12cc98156ada67e3ffb78336423b18ecb321c8be0b3265e98a3352fd9f2dd6b1520b5bf6c3cae7ed9ca84053e4ad4f22 SHA512 9ae299ad67e9a0da8c09235e911679254df1331deb6f1ef1c3eff42a67877eff7766d91917c2c72103e2e0c247912b6e7f11c2f3abe5d91ccd0507854adda9a7 +DIST props-1.8.2.tar.gz 124579 BLAKE2B 5a4a399c18b3a8299fa62d378713988c42f25fba7baa90f52b81aad6786dafeda1dc3fb273f159e88d17b5319977ca007854253eba781b579fd771a84d812bba SHA512 66c6e6d47ecd17e7bde245a6b8c94b3710dbec01e16d1829a257c3315d2f013dcce878f972eb65d0642a0231445f1cc1b0b16987676f5c2ea19e62fe19a9432f diff --git a/sci-visualization/fsleyes-props/fsleyes-props-1.8.2.ebuild b/sci-visualization/fsleyes-props/fsleyes-props-1.8.2.ebuild new file mode 100644 index 000000000..eff42e1bb --- /dev/null +++ b/sci-visualization/fsleyes-props/fsleyes-props-1.8.2.ebuild @@ -0,0 +1,45 @@ +# 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 + +MY_PN="props" + +DESCRIPTION="Object attribute management 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/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/wxpython-3.0.2.0[${PYTHON_USEDEP}] + >=sci-visualization/fsleyes-widgets-0.6[${PYTHON_USEDEP}] + >=dev-python/fslpy-1.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + distutils-r1_python_prepare_all +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + epytest || die "Tests failed with ${EPYTHON}" +} |