commit:     96e2cb78a44557e310b7e0407de0e4c440a812e5
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Fri Sep 23 13:16:23 2016 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Sep 23 13:16:23 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=96e2cb78

sci-biology/nireg:new ebuild (#680)

Package-Manager: portage-2.3.0

 sci-biology/nireg/metadata.xml      | 15 +++++++++++++++
 sci-biology/nireg/nireg-9999.ebuild | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/sci-biology/nireg/metadata.xml b/sci-biology/nireg/metadata.xml
new file mode 100644
index 0000000..0885cf8
--- /dev/null
+++ b/sci-biology/nireg/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Horea Christian</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <longdescription lang="en">
+               Nireg is a package for nytive-python image registration.
+       </longdescription>
+</pkgmetadata>

diff --git a/sci-biology/nireg/nireg-9999.ebuild 
b/sci-biology/nireg/nireg-9999.ebuild
new file mode 100644
index 0000000..15cc644
--- /dev/null
+++ b/sci-biology/nireg/nireg-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 git-r3
+
+DESCRIPTION="Image registration package for Python."
+HOMEPAGE="http://nipy.org/";
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/nipy/${PN}";
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+KEYWORDS=""
+
+COMMONDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+DEPEND="${COMMONDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+RDEPEND="${COMMONDEPEND}
+       sci-libs/scipy[${PYTHON_USEDEP}]
+       sci-libs/nibabel[${PYTHON_USEDEP}]
+       "
+
+python_test() {
+       #nosetests -v || die
+       python -c "import nireg; nireg.test()" || die
+}

Reply via email to