From 1afc16b8f25a66799bd25e2b2cfa9962d6715900 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Sat, 25 Jun 2016 14:21:30 +0200 Subject: sci-biology/dipy: nre package Package-Manager: portage-2.3.0_rc1 --- sci-biology/dipy/dipy-9999.ebuild | 34 ++++++++++++++++++++++++++++++++++ sci-biology/dipy/metadata.xml | 21 +++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 sci-biology/dipy/dipy-9999.ebuild create mode 100644 sci-biology/dipy/metadata.xml diff --git a/sci-biology/dipy/dipy-9999.ebuild b/sci-biology/dipy/dipy-9999.ebuild new file mode 100644 index 000000000..a3852cc1c --- /dev/null +++ b/sci-biology/dipy/dipy-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 ) + +inherit distutils-r1 git-r3 + +DESCRIPTION="computational neuroanatomy project focusing on diffusion MRI" +HOMEPAGE="http://nipy.org/dipy" +SRC_URI="" +EGIT_REPO_URI="git://github.com/nipy/dipy" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="test" + +DEPEND=" + test? ( dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}] + " +RDEPEND=" + dev-python/cython + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + sci-libs/nibabel[${PYTHON_USEDEP}] + " + +src_test() { + emake test-code +} diff --git a/sci-biology/dipy/metadata.xml b/sci-biology/dipy/metadata.xml new file mode 100644 index 000000000..80c312a7f --- /dev/null +++ b/sci-biology/dipy/metadata.xml @@ -0,0 +1,21 @@ + + + + + h.chr@mail.ru + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + Dipy is a free and open source software project for computational neuroanatomy, focusing mainly on + diffusion magnetic resonance imaging (dMRI) analysis. It implements a broad range of algorithms for + denoising, registration, reconstruction, tracking, clustering, visualization, and statistical + analysis of MRI data. + + + nipy/dipy + + -- cgit v1.2.3-65-gdbad From fb40d97766959cab126905bdade24c33d2dc2c72 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Mon, 27 Jun 2016 00:21:03 +0200 Subject: sci-biology/dipy: implemented tests Package-Manager: portage-2.3.0_rc1 --- sci-biology/dipy/Manifest | 1 + sci-biology/dipy/dipy-0.11.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ sci-biology/dipy/dipy-9999.ebuild | 21 ++++++++++++--------- 3 files changed, 49 insertions(+), 9 deletions(-) create mode 100644 sci-biology/dipy/Manifest create mode 100644 sci-biology/dipy/dipy-0.11.0.ebuild diff --git a/sci-biology/dipy/Manifest b/sci-biology/dipy/Manifest new file mode 100644 index 000000000..1c13b2538 --- /dev/null +++ b/sci-biology/dipy/Manifest @@ -0,0 +1 @@ +DIST dipy-0.11.0.tar.gz 4943339 SHA256 b9b7c19ccf9d5087f2bdea86478319a5355bb4d4c5cb23afd7d85b09048d1716 SHA512 012c043f6c555d7abf0e67598a129b9538af6e9c3b613356ed7e015d866e85a165f8d1d3f79efa2f79bc0e101a908c42778bbdec0244f1fa122e1ff828f93cda WHIRLPOOL 9b5a24355fd8eccd168c7583dab725cc2d4a398f15f1fc1b3b7609f253d461286bf41f2e80d2c2adc85f20659169307e3523c4c2c4ceab94c94e7096bec7d358 diff --git a/sci-biology/dipy/dipy-0.11.0.ebuild b/sci-biology/dipy/dipy-0.11.0.ebuild new file mode 100644 index 000000000..9c97079ce --- /dev/null +++ b/sci-biology/dipy/dipy-0.11.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 ) + +inherit distutils-r1 + +DESCRIPTION="computational neuroanatomy project focusing on diffusion MRI" +HOMEPAGE="http://nipy.org/dipy" +SRC_URI="https://github.com/nipy/dipy/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + test? ( dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + " +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + sci-libs/nibabel[${PYTHON_USEDEP}] + " + +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}"/lib || die + nosetests || die +} + diff --git a/sci-biology/dipy/dipy-9999.ebuild b/sci-biology/dipy/dipy-9999.ebuild index a3852cc1c..beb75e456 100644 --- a/sci-biology/dipy/dipy-9999.ebuild +++ b/sci-biology/dipy/dipy-9999.ebuild @@ -19,16 +19,19 @@ KEYWORDS="" IUSE="test" DEPEND=" - test? ( dev-python/nose[${PYTHON_USEDEP}] ) - dev-python/setuptools[${PYTHON_USEDEP}] - " + test? ( dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + " RDEPEND=" - dev-python/cython dev-python/numpy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - sci-libs/nibabel[${PYTHON_USEDEP}] - " + sci-libs/scipy[${PYTHON_USEDEP}] + sci-libs/nibabel[${PYTHON_USEDEP}] + " -src_test() { - emake test-code +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}"/lib || die + nosetests || die } + -- cgit v1.2.3-65-gdbad