aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
Diffstat (limited to 'biology')
-rw-r--r--biology/py-biom-format/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/biology/py-biom-format/Makefile b/biology/py-biom-format/Makefile
index adb20e4c7484..422474b44cd5 100644
--- a/biology/py-biom-format/Makefile
+++ b/biology/py-biom-format/Makefile
@@ -3,6 +3,7 @@
PORTNAME= biom-format
PORTVERSION= 2.1.5
+PORTREVISION= 1
CATEGORIES= biology python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +13,11 @@ COMMENT= Biological Observation Matrix (BIOM) Format Project
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYNUMPY}
-RUN_DEPENDS= ${PYNUMPY} ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}h5py>=2.6.0:science/py-h5py \
+ ${PYTHON_PKGNAMEPREFIX}click>=6.6:devel/py-click \
+ ${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=0.16.1:science/py-scipy
USE_GITHUB= yes
GH_ACCOUNT= biocore
@@ -20,7 +25,13 @@ GH_ACCOUNT= biocore
USES= python
USE_PYTHON= autoplist distutils
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyqi>=0.2.0:devel/py-pyqi
+.endif
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/biom/*.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>