summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-10-27 05:28:40 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-10-27 05:28:40 +0000
commit3daf176e5bbeb4e684819d567f579b035c7d9615 (patch)
tree3bebfd40b87864f495dad7cd53968493d60c7814
parent- Update to 1.6.1.8 (diff)
devel/py-raven: unblock python2 build
PR: 213823 Submitted by: jbeich MFH: 2016Q4
Notes
Notes: svn path=/head/; revision=424741
-rw-r--r--devel/py-raven/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/devel/py-raven/Makefile b/devel/py-raven/Makefile
index 15eef295ddc5..8fa6ee98e01a 100644
--- a/devel/py-raven/Makefile
+++ b/devel/py-raven/Makefile
@@ -2,6 +2,7 @@
PORTNAME= raven
PORTVERSION= 5.13.0
+PORTREVISION= 1
CATEGORIES= devel python
#MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,17 @@ COMMENT= Client for Sentry
LICENSE= BSD2CLAUSE
-USES= python:3
+USES= python
# either CHEESESHOP or github, whatever is newer
USE_GITHUB= yes
GH_ACCOUNT= getsentry
GH_PROJECT= raven-python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist concurrent distutils
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3200
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}contextlib2>0:devel/py-contextlib2
+.endif
+
+.include <bsd.port.post.mk>