1
0
Fork 0

Ebuild drafts

This commit is contained in:
Horea Christian 2019-05-01 18:38:56 +02:00
parent ca5f02d066
commit 454f5dad02
3 changed files with 141 additions and 0 deletions

View File

@ -0,0 +1,56 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
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/future[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
~dev-python/prov-1.5.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
sci-libs/nibabel[${PYTHON_USEDEP}]
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
${RDEPEND}
)
$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
"
RDEPEND="
>=dev-python/click-6.6[${PYTHON_USEDEP}]
dev-python/networkx[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pydot[${PYTHON_USEDEP}]
dev-python/pydotplus[${PYTHON_USEDEP}]
dev-python/pygraphviz[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
dev-python/traits[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
virtual/python-funcsigs[${PYTHON_USEDEP}]
"
python_test() {
py.test -v --cov nipype\
--cov-config .coveragerc\
--cov-report xml:cov.xml\
-c nipype/pytest.ini\
--doctest-modules nipype\
|| die
}

View File

@ -0,0 +1,57 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
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/future[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
~dev-python/prov-1.5.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
sci-libs/nibabel[${PYTHON_USEDEP}]
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
${RDEPEND}
)
$(python_gen_cond_dep '
dev-python/futures[${PYTHON_USEDEP}]
dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
"
RDEPEND="
>=dev-python/click-6.6[${PYTHON_USEDEP}]
dev-python/networkx[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pydot[${PYTHON_USEDEP}]
dev-python/pydotplus[${PYTHON_USEDEP}]
dev-python/pygraphviz[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
dev-python/traits[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
virtual/python-funcsigs[${PYTHON_USEDEP}]
"
python_test() {
py.test -v --cov nipype\
--cov-config .coveragerc\
--cov-report xml:cov.xml\
-c nipype/pytest.ini\
--doctest-modules nipype\
|| die
}

View File

@ -0,0 +1,28 @@
<?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">
Nipype, an open-source, community-developed initiative under the
umbrella of NiPy, is a Python project that provides a uniform interface
to existing neuroimaging software and facilitates interaction between
these packages within a single workflow. Nipype provides an environment
that encourages interactive exploration of algorithms from different
packages (e.g., SPM, FSL, FreeSurfer, Camino, MRtrix, MNE, AFNI, Slicer),
eases the design of workflows within and between packages, and reduces
the learning curve necessary to use different packages. Nipype is
creating a collaborative platform for neuroimaging software development
in a high-level language and addressing limitations of existing pipeline systems.
</longdescription>
<upstream>
<remote-id type="github">nipy/nipype</remote-id>
<remote-id type="sourceforge">nipy</remote-id>
</upstream>
</pkgmetadata>