commit:     f70ee4b8e441a7a03d4440c9672aef88664b6e81
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Jan 20 10:30:06 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Jan 20 10:30:06 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f70ee4b8

dev-python/fslpy: version bump. bump py targets

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/fslpy/{fslpy-2.8.4.ebuild => fslpy-3.4.0.ebuild} | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/dev-python/fslpy/fslpy-2.8.4.ebuild 
b/dev-python/fslpy/fslpy-3.4.0.ebuild
similarity index 85%
rename from dev-python/fslpy/fslpy-2.8.4.ebuild
rename to dev-python/fslpy/fslpy-3.4.0.ebuild
index 572f1aae1..a01f84ab8 100644
--- a/dev-python/fslpy/fslpy-2.8.4.ebuild
+++ b/dev-python/fslpy/fslpy-3.4.0.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 PYTHON_COMPAT=( python3_{7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 virtualx
 
@@ -14,14 +15,7 @@ 
SRC_URI="https://github.com/pauldmccarthy/${PN}/archive/${PV}.tar.gz -> ${P}.tar
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
 
-DEPEND="
-       test? (
-               dev-python/pytest[${PYTHON_USEDEP}]
-       )
-       dev-python/setuptools[${PYTHON_USEDEP}]
-"
 RDEPEND="
        dev-python/h5py[${PYTHON_USEDEP}]
        dev-python/indexed_gzip[${PYTHON_USEDEP}]
@@ -37,6 +31,8 @@ RDEPEND="
 
 PATCHES=( "${FILESDIR}/fslpy-2.7.0-coverage.patch" )
 
+distutils_enable_tests pytest
+
 python_test() {
        virtx pytest --niters=50 -m "not (dicomtest or longtest or fsltest)" 
--verbose || die
 }

Reply via email to