diff --git a/sci-biology/bidsschematools/Manifest b/sci-biology/bidsschematools/Manifest index 255b9e7..9acafeb 100644 --- a/sci-biology/bidsschematools/Manifest +++ b/sci-biology/bidsschematools/Manifest @@ -1 +1,2 @@ DIST bidsschematools-0.3.0_pre20220801.tar.gz 5716585 SHA256 b91e5707786704c6a0ee13489d78fdc0d274b334ea435bb375498c07d40933eb SHA512 524206d54a04587180dd3b150bb4e88282d62cf1273717d3caedb6b227e74102b9b5d4e68cb2b1725ad6e19641e0fbcb5ee1b2b5931fa7025f918d72e8a591a9 WHIRLPOOL 8a732807ee307fe96093c1fa9b4943d8bf5bbe07a24258460c23d2f35adb91c8cce08516dcd8c8e61d0fe2be2a34ca0d8063612697031520fa5fba083cf4be7c +DIST bidsschematools-0.3.0_rc1.tar.gz 5717759 SHA256 3789692e42d975eda76c680b53a8057c4d15b05983e879c09ab43291effa99fa SHA512 f250fd9fd88524d6d35ecd446e1b9abd7c80aa845ed08ee281f996a52e36f6e9d9eee855b752e1c7b35ae5c456eae94ca29b81e4585637286c1f535a5ec93105 WHIRLPOOL 4c6e42969a43c391af691784f4272603b0f26f173704add71891c6d9a255ae0e91444e538089c81368fdb5cc003e534425c9b95dd8f1888af3341f68cf48d613 diff --git a/sci-biology/bidsschematools/bidsschematools-0.3.0_rc1.ebuild b/sci-biology/bidsschematools/bidsschematools-0.3.0_rc1.ebuild new file mode 100644 index 0000000..2ad2ad1 --- /dev/null +++ b/sci-biology/bidsschematools/bidsschematools-0.3.0_rc1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +MY_HASH="9d61ce7ef4004bf6b0a3daeaf4971de373544286" + +inherit distutils-r1 + +DESCRIPTION="A Python library for working with the BIDS schema" +HOMEPAGE="https://github.com/bids-standard/bids-specification" +SRC_URI="https://github.com/TheChymera/bids-specification/archive/${MY_HASH}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC-BY-SA-4.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="dev-python/tabulate" +DEPEND="" + +S="${WORKDIR}/bids-specification-${MY_HASH}/tools/schemacode" + +distutils_enable_tests pytest + +python_test() { + # Ideally we should package the testdata packages: + # https://github.com/bids-standard/bids-examples + # https://github.com/bids-standard/bids-error-examples + export SCHEMACODE_TESTS_NONETWORK=1 + epytest +}