dev-python/fslpy: new package
Ahead of inclusion in Gentoo Science Signed-off-by: Horea Christian <horea.christ@gmail.com> Package-Manager: Portage-2.3.50, Repoman-2.3.11
This commit is contained in:
parent
23cdb57686
commit
e74e2b161a
5
dev-python/fslpy/ChangeLog
Normal file
5
dev-python/fslpy/ChangeLog
Normal file
@ -0,0 +1,5 @@
|
||||
*fslpy-1.11.1 (14 Oct 2018)
|
||||
|
||||
14 Oct 2018; Horea Christian <h.chr@mail.ru> +fslpy-1.11.1.ebuild,
|
||||
+metadata.xml:
|
||||
dev-python/fslpy: new package Ahead of inclusion in Gentoo Science
|
1
dev-python/fslpy/Manifest
Normal file
1
dev-python/fslpy/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST fslpy-1.11.1.tar.gz 3444491 SHA256 033a1a4de6889d87e6db46a95173623272af84cce736d78244361e973de64a03 SHA512 b34640451a8bc94f7d0790095b343d2e93ead1145e5c31e2c7a831d5c08f3ae4e3f5120aa11f3dc2de734f69698d7102ce8caf80614759b15d1dd9047204aac8 WHIRLPOOL 174069b5826f3e8e5de57c8594cf68190ea808c2108e0c1f1a7f3e9451356774123ae2ea56cc4190eea95d0a72af346e4664343e4026fa274af53d729566e4c6
|
52
dev-python/fslpy/fslpy-1.11.1.ebuild
Normal file
52
dev-python/fslpy/fslpy-1.11.1.ebuild
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="The new FSL image viewer, released with FSL 5.0.10"
|
||||
HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master"
|
||||
SRC_URI="https://github.com/pauldmccarthy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
dev-python/deprecation[${PYTHON_USEDEP}]
|
||||
=dev-python/numpy-1*[${PYTHON_USEDEP}]
|
||||
=dev-python/six-1*[${PYTHON_USEDEP}]
|
||||
dev-python/trimesh[${PYTHON_USEDEP}]
|
||||
dev-python/wxpython[${PYTHON_USEDEP}]
|
||||
sci-libs/Rtree[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
=sci-libs/nibabel-2*[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# Tests fail on Gentoo with mysterious `Fatal Python error: deallocating None`
|
||||
# https://github.com/pauldmccarthy/fslpy/issues/3
|
||||
RESTRICT="test"
|
||||
|
||||
python_prepare_all() {
|
||||
if use test; then
|
||||
# Reported upstream
|
||||
# https://github.com/pauldmccarthy/fslpy/issues/3
|
||||
#sed -i -e \
|
||||
# "/def test_loadVestLutFile():/i@pytest.mark.xfail(reason='Known to fail on Gentoo')" \
|
||||
# tests/test_vest.py || die
|
||||
rm tests/test_vest.py
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
virtx pytest -m "not (dicomtest or fsltest)" --verbose || die
|
||||
}
|
18
dev-python/fslpy/metadata.xml
Normal file
18
dev-python/fslpy/metadata.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>horea.christ@gmail.com</email>
|
||||
<name>Horea Christian</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>sci@gentoo.org</email>
|
||||
<name>Gentoo Science Project</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
FSLeyes is a viewer for 3D and 4D neuroimaging data. It is intended as a
|
||||
replacement for the much loved FSLView. FSLeyes offers similar functionality
|
||||
to FSLView, and aims to improve and expand upon this functionality in many
|
||||
ways.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user