aboutsummaryrefslogtreecommitdiffstats
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
parentbb1192087f10a4423aa558eb4b0b753b6c5a65a5 (diff)
downloadfreebsd-ports-graphics-79e42959c69131324d461f90b3f45ca3acdc02f2.tar.gz
freebsd-ports-graphics-79e42959c69131324d461f90b3f45ca3acdc02f2.tar.zst
freebsd-ports-graphics-79e42959c69131324d461f90b3f45ca3acdc02f2.zip
- Fix run-time dependency issues
- Bump PORTREVISION PR: 209767 Submitted by: Joseph Mingrone (maintainer)
-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 adb20e4c748..422474b44cd 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>