aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-django-debreach/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-django-debreach/Makefile')
-rw-r--r--www/py-django-debreach/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/www/py-django-debreach/Makefile b/www/py-django-debreach/Makefile
index 2e7ad7691c1e..1d87560aa589 100644
--- a/www/py-django-debreach/Makefile
+++ b/www/py-django-debreach/Makefile
@@ -1,6 +1,6 @@
PORTNAME= django-debreach
-PORTVERSION= 2.1.0
-PORTREVISION= 1
+DISTVERSION= 2.1.0
+PORTREVISION= 2
CATEGORIES= www security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,17 +12,16 @@ WWW= https://github.com/lpomfrey/django-debreach
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>0:www/py-django42@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist pep517
NO_ARCH= yes
-# Workaround to make the port still buildable with "distutils"
-post-extract:
- @${CP} ${FILESDIR}/setup.py ${WRKSRC}/
-
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} runtests.py