1 |
commit: 8c25ca238bd0d2df7e204f6506d7258a6cdf1615 |
2 |
Author: Horea Christian <horea.christ <AT> yandex <DOT> com> |
3 |
AuthorDate: Wed May 23 00:24:36 2018 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Wed May 23 00:24:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8c25ca23 |
7 |
|
8 |
sci-libs/pybids: new package |
9 |
|
10 |
Package-Manager: Portage-2.3.38, Repoman-2.3.9 |
11 |
|
12 |
sci-libs/pybids/metadata.xml | 20 ++++++++++++++++++++ |
13 |
sci-libs/pybids/pybids-0.5.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ |
14 |
sci-libs/pybids/pybids-9999.ebuild | 37 +++++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 91 insertions(+) |
16 |
|
17 |
diff --git a/sci-libs/pybids/metadata.xml b/sci-libs/pybids/metadata.xml |
18 |
new file mode 100644 |
19 |
index 000000000..143b3ea21 |
20 |
--- /dev/null |
21 |
+++ b/sci-libs/pybids/metadata.xml |
22 |
@@ -0,0 +1,20 @@ |
23 |
+<?xml version="1.0" encoding="UTF-8"?> |
24 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
25 |
+<pkgmetadata> |
26 |
+ <maintainer type="person"> |
27 |
+ <email>horea.christ@×××××.com</email> |
28 |
+ <name>Horea Christian</name> |
29 |
+ </maintainer> |
30 |
+ <maintainer type="project"> |
31 |
+ <email>sci@g.o</email> |
32 |
+ <name>Gentoo Science Project</name> |
33 |
+ </maintainer> |
34 |
+ <longdescription lang="en"> |
35 |
+ PyBIDS is a Python library to centralize interactions with datasets |
36 |
+ conforming BIDS (Brain Imaging Data Structure) format. For more |
37 |
+ information about BIDS visit http://bids.neuroimaging.io. |
38 |
+ </longdescription> |
39 |
+ <upstream> |
40 |
+ <remote-id type="github">INCF/pybids</remote-id> |
41 |
+ </upstream> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/sci-libs/pybids/pybids-0.5.0.ebuild b/sci-libs/pybids/pybids-0.5.0.ebuild |
45 |
new file mode 100644 |
46 |
index 000000000..2a2ecf29e |
47 |
--- /dev/null |
48 |
+++ b/sci-libs/pybids/pybids-0.5.0.ebuild |
49 |
@@ -0,0 +1,34 @@ |
50 |
+# Copyright 1999-2018 Gentoo Foundation |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=6 |
54 |
+ |
55 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
56 |
+ |
57 |
+inherit distutils-r1 |
58 |
+ |
59 |
+DESCRIPTION="Python package to access BIDS datasets" |
60 |
+HOMEPAGE="https://github.com/INCF/pybids" |
61 |
+SRC_URI="https://github.com/INCF/pybids/archive/${PV}.tar.gz -> ${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="MIT" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64" |
66 |
+IUSE="" |
67 |
+ |
68 |
+DEPEND=" |
69 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
70 |
+ " |
71 |
+RDEPEND=" |
72 |
+ dev-python/grabbit[${PYTHON_USEDEP}] |
73 |
+ dev-python/num2words[${PYTHON_USEDEP}] |
74 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
75 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
76 |
+ dev-python/patsy[${PYTHON_USEDEP}] |
77 |
+ dev-python/six[${PYTHON_USEDEP}] |
78 |
+ sci-libs/nibabel[${PYTHON_USEDEP}] |
79 |
+ sci-libs/scipy[${PYTHON_USEDEP}] |
80 |
+ " |
81 |
+ |
82 |
+# Tests are broken: https://github.com/INCF/pybids/issues/138 |
83 |
+RESTRICT="test" |
84 |
|
85 |
diff --git a/sci-libs/pybids/pybids-9999.ebuild b/sci-libs/pybids/pybids-9999.ebuild |
86 |
new file mode 100644 |
87 |
index 000000000..397820db4 |
88 |
--- /dev/null |
89 |
+++ b/sci-libs/pybids/pybids-9999.ebuild |
90 |
@@ -0,0 +1,37 @@ |
91 |
+# Copyright 1999-2018 Gentoo Foundation |
92 |
+# Distributed under the terms of the GNU General Public License v2 |
93 |
+ |
94 |
+EAPI=6 |
95 |
+ |
96 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
97 |
+ |
98 |
+inherit distutils-r1 git-r3 |
99 |
+ |
100 |
+DESCRIPTION="Python package to access BIDS datasets" |
101 |
+HOMEPAGE="https://github.com/INCF/pybids" |
102 |
+SRC_URI="" |
103 |
+EGIT_REPO_URI="https://github.com/INCF/pybids" |
104 |
+ |
105 |
+LICENSE="MIT" |
106 |
+SLOT="0" |
107 |
+KEYWORDS="" |
108 |
+IUSE="test" |
109 |
+ |
110 |
+DEPEND=" |
111 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
112 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
113 |
+ " |
114 |
+RDEPEND=" |
115 |
+ dev-python/grabbit[${PYTHON_USEDEP}] |
116 |
+ dev-python/num2words[${PYTHON_USEDEP}] |
117 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
118 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
119 |
+ dev-python/patsy[${PYTHON_USEDEP}] |
120 |
+ dev-python/six[${PYTHON_USEDEP}] |
121 |
+ sci-libs/nibabel[${PYTHON_USEDEP}] |
122 |
+ sci-libs/scipy[${PYTHON_USEDEP}] |
123 |
+ " |
124 |
+ |
125 |
+python_test() { |
126 |
+ py.test -v || die |
127 |
+} |