From 2c435e4a442b1c8e7f9d6b80d2f7fa74f44592e1 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Tue, 26 Mar 2019 22:14:10 +0100 Subject: [PATCH] Version bump 0.6.5 ahead of Gentoo Science --- sci-libs/pybids/Manifest | 1 + sci-libs/pybids/metadata.xml | 20 +++++++++++++ sci-libs/pybids/pybids-0.6.5.ebuild | 44 +++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 sci-libs/pybids/Manifest create mode 100644 sci-libs/pybids/metadata.xml create mode 100644 sci-libs/pybids/pybids-0.6.5.ebuild diff --git a/sci-libs/pybids/Manifest b/sci-libs/pybids/Manifest new file mode 100644 index 0000000..e598d71 --- /dev/null +++ b/sci-libs/pybids/Manifest @@ -0,0 +1 @@ +DIST pybids-0.6.5.tar.gz 2915557 SHA256 06fab79c0f2db87a6a9527a3b0043cbd3cf6961e95f9307a763593d89fad36c1 SHA512 9eef42f00440dddf0147d91f90e07db81f9f95a650f0e47c04304771173ca8691cdb366bd0df1d752c0444f102a4aa010c2343ba75df96528cceb9a98f9d8a0e WHIRLPOOL 8a0cecd8fcdfc1c03038f1d1c9b753ff7dc80ea05c695b0b3f579716ec95b402a42b0628eeb2a9dc430a4b5ee41508b212f054a64d521ea0455bfe30f64fff9c diff --git a/sci-libs/pybids/metadata.xml b/sci-libs/pybids/metadata.xml new file mode 100644 index 0000000..143b3ea --- /dev/null +++ b/sci-libs/pybids/metadata.xml @@ -0,0 +1,20 @@ + + + + + horea.christ@gmail.com + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + 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. + + + INCF/pybids + + diff --git a/sci-libs/pybids/pybids-0.6.5.ebuild b/sci-libs/pybids/pybids-0.6.5.ebuild new file mode 100644 index 0000000..07367c6 --- /dev/null +++ b/sci-libs/pybids/pybids-0.6.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +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}] + " + +RESTRICT="test" +# Fails because fixtures are called directly +# https://github.com/bids-standard/pybids/issues/289#issuecomment-476853673 + +python_test() { + rm bids/tests/test_config.py || die + distutils_install_for_testing + #cd "${TEST_DIR}" || die "no ${TEST_DIR} available" + pytest -vv || die + die +} +