1 |
commit: 8d3b91dd8241fea3f42514b49040ab30d24db9a5 |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Fri Sep 23 17:04:57 2022 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Sep 23 17:04:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8d3b91dd |
7 |
|
8 |
sci-biology/bidsschematools: add 0.5.1 |
9 |
|
10 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
11 |
|
12 |
.../bidsschematools/bidsschematools-0.5.1.ebuild | 37 ++++++++++++++++++++++ |
13 |
1 file changed, 37 insertions(+) |
14 |
|
15 |
diff --git a/sci-biology/bidsschematools/bidsschematools-0.5.1.ebuild b/sci-biology/bidsschematools/bidsschematools-0.5.1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000..735f130e9 |
18 |
--- /dev/null |
19 |
+++ b/sci-biology/bidsschematools/bidsschematools-0.5.1.ebuild |
20 |
@@ -0,0 +1,37 @@ |
21 |
+# Copyright 2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="A Python library for working with the BIDS schema" |
32 |
+HOMEPAGE="https://github.com/bids-standard/bids-specification" |
33 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="MIT" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
38 |
+IUSE="render" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
42 |
+ render? ( |
43 |
+ dev-python/tabulate[${PYTHON_USEDEP}] |
44 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
45 |
+ ) |
46 |
+" |
47 |
+DEPEND="" |
48 |
+ |
49 |
+distutils_enable_tests pytest |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ if ! use render; then |
53 |
+ rm "${S}/bidsschematools/render.py" |
54 |
+ rm "${S}/bidsschematools/tests/test_render.py" |
55 |
+ fi |
56 |
+ default |
57 |
+} |