summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>