diff --git a/sci-libs/nipype/ChangeLog b/sci-libs/nipype/ChangeLog index dc419c0..83fbd96 100644 --- a/sci-libs/nipype/ChangeLog +++ b/sci-libs/nipype/ChangeLog @@ -1,3 +1,8 @@ +*nipype-1.5.0 (17 Jul 2020) + + 17 Jul 2020; +nipype-1.5.0.ebuild: + sci-libs/nipype: version bump 1.5.0 + 31 Mar 2020; nipype-1.4.2.ebuild: sci-libs/nipype: fixed test suite diff --git a/sci-libs/nipype/Manifest b/sci-libs/nipype/Manifest index d35ae15..1006d29 100644 --- a/sci-libs/nipype/Manifest +++ b/sci-libs/nipype/Manifest @@ -1 +1,2 @@ DIST nipype-1.4.2.tar.gz 2823870 SHA256 935b660bfd81f773bd5291a90a921cc226f62940950c094be04f080f6c69501d SHA512 f913d1a63105ccb8392adfdba5ec52b3e5ce0c9ad145b062f6e551a811602b77a52f1f6e89d9d5ff366e9b063f0ab965cfbd6ae5f68a79e25e8970e1a864901c WHIRLPOOL 21ab8554f8d5eec5fc7d5d9e137eef24f11443b805c892cb1a3dfbd5f34030a08c39300778337eb5499b011a2049c3c2724988d2210356d0d5525f4758b33fdf +DIST nipype-1.5.0.tar.gz 2735317 SHA256 dbbe74ac99740da749350a6957326bd78d6ba388694b0c09cd92575f111576af SHA512 eb11096a090855278c3e76ffe9643ab4de046a017511ba51f59448fd8cf9d67a4f6c552acbbbdd38065cfb456c24fd21299cf698fa05c5be507524622f28ac85 WHIRLPOOL ffb44ddcf8d6e6a2d0e4179c89f15d59edc86b5188232e8b170a1352d51aa4b3806313d0a1c6215aced0d916252e27c2d8cc97d5ef94d12ac0418681fae0a40b diff --git a/sci-libs/nipype/nipype-1.5.0.ebuild b/sci-libs/nipype/nipype-1.5.0.ebuild new file mode 100644 index 0000000..d29af71 --- /dev/null +++ b/sci-libs/nipype/nipype-1.5.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 + +DESCRIPTION="Neuroimaging in Python: Pipelines and Interfaces" +HOMEPAGE="http://nipy.sourceforge.net/nipype/" +SRC_URI="https://github.com/nipy/nipype/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/prov[${PYTHON_USEDEP}] + sci-libs/nibabel[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ${RDEPEND} + ) +" +# Dependency disabled as upstream test configuration which requires it fails +#dev-python/pytest-xdist[${PYTHON_USEDEP}] + +RDEPEND=" + >=dev-python/click-6.6[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pydot[${PYTHON_USEDEP}] + dev-python/pydotplus[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/rdflib-5.0.0[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/traits[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] +" + +src_prepare() { + sed -i \ + -e "/def test_no_et(tmp_path):/i@pytest.mark.skip('Known to fail by upstream: https://github.com/nipy/nipype/issues/3196#issuecomment-606003186')" \ + nipype/tests/test_nipype.py || die + sed -i \ + -e "/def test_fslversion():/i@pytest.mark.skip('Known to fail by upstream: https://github.com/nipy/nipype/issues/3196#issuecomment-605997462')" \ + nipype/interfaces/fsl/tests/test_base.py || die + default +} + +python_test() { + # Setting environment variable to disable etelemetry version check: + # https://github.com/nipy/nipype/issues/3196#issuecomment-605980044 + NIPYPE_NO_ET=1 pytest -vv\ + || die + # Upstream test configuration fails + #-c nipype/pytest.ini\ + #--doctest-modules nipype\ + #--cov nipype\ + #--cov-config .coveragerc\ + #--cov-report xml:cov.xml\ +}