aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-05-13 22:30:00 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-05-13 22:30:00 +0000
commit0f34b9361d97941c76855b87911cbf86d5a0c3a8 (patch)
tree7535e928c3bf491c91110aaaf300e6bc8494c43f
parent527e1ce0f8c95d6d0b2f48983ebc7acc17b7488e (diff)
Notes
-rw-r--r--biology/py-biopython/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/biology/py-biopython/Makefile b/biology/py-biopython/Makefile
index 3d88f24329ff..8fc480159f3f 100644
--- a/biology/py-biopython/Makefile
+++ b/biology/py-biopython/Makefile
@@ -3,6 +3,7 @@
PORTNAME= biopython
PORTVERSION= 1.71
+PORTREVISION= 1
CATEGORIES= biology python
MASTER_SITES= http://www.biopython.org/DIST/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,16 +11,22 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= mauricio@arareko.net
COMMENT= Collection of Python modules for bioinformatics
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
-USES= python:2.7
+USES= python
USE_PYTHON= distutils autoplist
OPTIONS_DEFINE= REPORTLAB
OPTIONS_DEFAULT= REPORTLAB
REPORTLAB_DESC= PDF support in Bio.Graphics module
-REPORTLAB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab1>0:print/py-reportlab1@${FLAVOR}
+REPORTLAB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${FLAVOR}
+
+pre-configure: # unbreak for python3: README.rst can't be decoded with the ascii codec: https://github.com/biopython/biopython/issues/1649
+ @truncate -s 0 ${WRKSRC}/README.rst
.include <bsd.port.mk>