summaryrefslogtreecommitdiff
path: root/dev-python/GridDataFormats
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/GridDataFormats')
-rw-r--r--dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild b/dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild
index 1b6ac494f96c..cf6a81a2be11 100644
--- a/dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild
+++ b/dev-python/GridDataFormats/GridDataFormats-0.5.0.ebuild
@@ -14,10 +14,19 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="LGPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="
>=dev-python/numpy-1.0.3[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # This test needs porting to newer numpy
+ sed -i -e 's/test_resample_factor/_&/' \
+ gridData/tests/test_grid.py || die
+
+ distutils-r1_python_prepare_all
+}