aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2016-06-11 17:25:04 +0800
committerolivierd <olivierd@FreeBSD.org>2016-06-11 17:25:04 +0800
commit79e42959c69131324d461f90b3f45ca3acdc02f2 (patch)
tree6d012a434d8d72ad1c431aa4b732ec03a0504af2 /biology
parentbb1192087f10a4423aa558eb4b0b753b6c5a65a5 (diff)
downloadfreebsd-ports-gnome-79e42959c69131324d461f90b3f45ca3acdc02f2.tar.gz
freebsd-ports-gnome-79e42959c69131324d461f90b3f45ca3acdc02f2.tar.zst
freebsd-ports-gnome-79e42959c69131324d461f90b3f45ca3acdc02f2.zip
- Fix run-time dependency issues
- Bump PORTREVISION PR: 209767 Submitted by: Joseph Mingrone (maintainer)
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>