commit:     8c25ca238bd0d2df7e204f6506d7258a6cdf1615
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Wed May 23 00:24:36 2018 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Wed May 23 00:24:36 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=8c25ca23

sci-libs/pybids: new package

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 sci-libs/pybids/metadata.xml        | 20 ++++++++++++++++++++
 sci-libs/pybids/pybids-0.5.0.ebuild | 34 ++++++++++++++++++++++++++++++++++
 sci-libs/pybids/pybids-9999.ebuild  | 37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 91 insertions(+)

diff --git a/sci-libs/pybids/metadata.xml b/sci-libs/pybids/metadata.xml
new file mode 100644
index 000000000..143b3ea21
--- /dev/null
+++ b/sci-libs/pybids/metadata.xml
@@ -0,0 +1,20 @@
+<?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">
+               PyBIDS is a Python library to centralize interactions with 
datasets
+               conforming BIDS (Brain Imaging Data Structure) format. For more
+               information about BIDS visit http://bids.neuroimaging.io.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">INCF/pybids</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/sci-libs/pybids/pybids-0.5.0.ebuild 
b/sci-libs/pybids/pybids-0.5.0.ebuild
new file mode 100644
index 000000000..2a2ecf29e
--- /dev/null
+++ b/sci-libs/pybids/pybids-0.5.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python package to access BIDS datasets"
+HOMEPAGE="https://github.com/INCF/pybids";
+SRC_URI="https://github.com/INCF/pybids/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       "
+RDEPEND="
+       dev-python/grabbit[${PYTHON_USEDEP}]
+       dev-python/num2words[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/pandas[${PYTHON_USEDEP}]
+       dev-python/patsy[${PYTHON_USEDEP}]
+       dev-python/six[${PYTHON_USEDEP}]
+       sci-libs/nibabel[${PYTHON_USEDEP}]
+       sci-libs/scipy[${PYTHON_USEDEP}]
+       "
+
+# Tests are broken: https://github.com/INCF/pybids/issues/138
+RESTRICT="test"

diff --git a/sci-libs/pybids/pybids-9999.ebuild 
b/sci-libs/pybids/pybids-9999.ebuild
new file mode 100644
index 000000000..397820db4
--- /dev/null
+++ b/sci-libs/pybids/pybids-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 git-r3
+
+DESCRIPTION="Python package to access BIDS datasets"
+HOMEPAGE="https://github.com/INCF/pybids";
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/INCF/pybids";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+       "
+RDEPEND="
+       dev-python/grabbit[${PYTHON_USEDEP}]
+       dev-python/num2words[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/pandas[${PYTHON_USEDEP}]
+       dev-python/patsy[${PYTHON_USEDEP}]
+       dev-python/six[${PYTHON_USEDEP}]
+       sci-libs/nibabel[${PYTHON_USEDEP}]
+       sci-libs/scipy[${PYTHON_USEDEP}]
+       "
+
+python_test() {
+       py.test -v || die
+}

Reply via email to