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

sci-biology/nitime: new ebuild (#679)

Package-Manager: portage-2.3.0

 sci-biology/nitime/metadata.xml       | 19 +++++++++++++++++
 sci-biology/nitime/nitime-0.6.ebuild  | 39 +++++++++++++++++++++++++++++++++++
 sci-biology/nitime/nitime-9999.ebuild | 38 ++++++++++++++++++++++++++++++++++
 3 files changed, 96 insertions(+)

diff --git a/sci-biology/nitime/metadata.xml b/sci-biology/nitime/metadata.xml
new file mode 100644
index 0000000..549788b
--- /dev/null
+++ b/sci-biology/nitime/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>horea.chr...@gmail.com</email>
+               <name>Horea Christian</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>s...@gentoo.org</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <longdescription lang="en">
+               Nitime is a library for time-series analysis of data from 
neuroscience experiments
+               in both the time and spectral domains.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">nipy/nitime</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/sci-biology/nitime/nitime-0.6.ebuild 
b/sci-biology/nitime/nitime-0.6.ebuild
new file mode 100644
index 0000000..59b578a
--- /dev/null
+++ b/sci-biology/nitime/nitime-0.6.ebuild
@@ -0,0 +1,39 @@
+# 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
+
+DESCRIPTION="Time-series analysis of neuroscience data"
+HOMEPAGE="http://nipy.org/nitime/index.html";
+SRC_URI="https://github.com/nipy/nitime/archive/rel/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+COMMON_DEPEND="
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/matplotlib[${PYTHON_USEDEP}]
+       sci-libs/scipy[${PYTHON_USEDEP}]
+       "
+DEPEND="
+       test? ( dev-python/nose[${PYTHON_USEDEP}] )
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       "
+RDEPEND="
+       ${COMMON_DEPEND}
+       dev-python/networkx[${PYTHON_USEDEP}]
+       sci-libs/nibabel[${PYTHON_USEDEP}]
+       "
+
+S="${WORKDIR}/${PN}-rel-${PV}"
+
+python_test() {
+       nosetests -v || die
+}

diff --git a/sci-biology/nitime/nitime-9999.ebuild 
b/sci-biology/nitime/nitime-9999.ebuild
new file mode 100644
index 0000000..e78bd8f
--- /dev/null
+++ b/sci-biology/nitime/nitime-9999.ebuild
@@ -0,0 +1,38 @@
+# 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="Time-series analysis of neuroscience data"
+HOMEPAGE="http://nipy.org/nitime/index.html";
+SRC_URI=""
+EGIT_REPO_URI="git://github.com/nipy/nitime"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+COMMON_DEPEND="
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/matplotlib[${PYTHON_USEDEP}]
+       sci-libs/scipy[${PYTHON_USEDEP}]
+       "
+DEPEND="
+       test? ( dev-python/nose[${PYTHON_USEDEP}] )
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       "
+RDEPEND="
+       ${COMMON_DEPEND}
+       dev-python/networkx[${PYTHON_USEDEP}]
+       sci-libs/nibabel[${PYTHON_USEDEP}]
+       "
+
+python_test() {
+       nosetests -v || die
+}

Reply via email to