aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/bidsschematools/Manifest1
-rw-r--r--sci-biology/bidsschematools/bidsschematools-0.7.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/sci-biology/bidsschematools/Manifest b/sci-biology/bidsschematools/Manifest
index 9b60c2183..c41580c21 100644
--- a/sci-biology/bidsschematools/Manifest
+++ b/sci-biology/bidsschematools/Manifest
@@ -1,2 +1,3 @@
DIST bidsschematools-0.5.1.tar.gz 1159308 BLAKE2B a53355b24e87ea7008fa64ca4f7e71c7bf29effc52f4aa3f855af633ce83817d5551eead4224d39f8cd46693dc48a7d9325a7ad8698e159b468e902982c5a940 SHA512 f1d9ab6b37c8fd4fd6a6aa821ef718c1af7f3d453d44c2c76c104f5601d40e5a328b0332255a591d8431e8c0ca3406dccd852c6c1fc8d832657b27a6b0076adc
DIST bidsschematools-0.6.0.tar.gz 1162053 BLAKE2B b46ae2c19b96416908786347890db33aded14c0656b2af3f8396395a7decd9e74808b1ba54df3d049473eda038b706d7b0561f2e21c97ab5e9534f57c41a560a SHA512 32e2a679b85cb8c57e2a91783f315092b3e976e8cadc661a67822b499685b128a9f5abda70d2124ddcee42163a9357665474de6c3f96cf369c33cefe1586b7f1
+DIST bidsschematools-0.7.0.tar.gz 1227313 BLAKE2B 350621d8052ca8ee45be970c4f8973c34d5c7dfd9da0777758009d8f725691efaa665926d9f97723e2331f5511aedf3601fd1df520746b6ec4aebd6ef27a2cf6 SHA512 391e3ed1a96202bada1486de377ea4d96e8622cced132cbb014a697578dbd1c5fdfa3eb2ce6f44b5031136c987e2298a5bc702c1c5751e35479512cfe57a383b
diff --git a/sci-biology/bidsschematools/bidsschematools-0.7.0.ebuild b/sci-biology/bidsschematools/bidsschematools-0.7.0.ebuild
new file mode 100644
index 000000000..ab470c6c9
--- /dev/null
+++ b/sci-biology/bidsschematools/bidsschematools-0.7.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python library for working with the BIDS schema"
+HOMEPAGE="https://github.com/bids-standard/bids-specification"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="render"
+# Documented upstream:
+# https://github.com/conda-forge/bidsschematools-feedstock/pull/2
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ render? (
+ dev-python/markdown-it-py[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ dev-python/tabulate[${PYTHON_USEDEP}]
+ )
+"
+DEPEND=""
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ if ! use render; then
+ rm "${S}/bidsschematools/render.py"
+ rm "${S}/bidsschematools/tests/test_render.py"
+ fi
+ default
+}