summaryrefslogtreecommitdiff
path: root/www/py-dj52-django-stubs-ext/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-dj52-django-stubs-ext/Makefile')
-rw-r--r--www/py-dj52-django-stubs-ext/Makefile22
1 files changed, 17 insertions, 5 deletions
diff --git a/www/py-dj52-django-stubs-ext/Makefile b/www/py-dj52-django-stubs-ext/Makefile
index a3127930ff2d..8dce416590ac 100644
--- a/www/py-dj52-django-stubs-ext/Makefile
+++ b/www/py-dj52-django-stubs-ext/Makefile
@@ -1,12 +1,24 @@
PORTNAME= django-stubs-ext
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj${DJANGO_VERSION}-
+PORTVERSION= 5.2.2
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52-
+DISTNAME= django_stubs_ext-${PORTVERSION}
MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= Monkey-patching and extensions for django-stubs
+WWW= https://github.com/typeddjango/django-stubs
-CONFLICTS_INSTALL= www/py-django-stubs-ext
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
-MASTERDIR= ${.CURDIR}/../py-django-stubs-ext
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=0:www/py-django52@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
-DJANGO_VERSION= 52
+USES= python:3.10+
+USE_PYTHON= autoplist concurrent pep517
-.include "${MASTERDIR}/Makefile"
+NO_ARCH= yes
+
+.include <bsd.port.mk>