aboutsummaryrefslogtreecommitdiff
path: root/www/py-django-hashid-field/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-django-hashid-field/Makefile')
-rw-r--r--www/py-django-hashid-field/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/py-django-hashid-field/Makefile b/www/py-django-hashid-field/Makefile
index 79f534db6212..70af8db65e18 100644
--- a/www/py-django-hashid-field/Makefile
+++ b/www/py-django-hashid-field/Makefile
@@ -1,5 +1,6 @@
PORTNAME= django-hashid-field
PORTVERSION= 3.4.0
+PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -9,12 +10,15 @@ COMMENT= Hashids obfuscated Django Model Field
WWW= https://github.com/nshafer/django-hashid-field
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=1.11:www/py-django32@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=1.11:www/py-django42@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hashids>=1.2.0:textproc/py-hashids@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes