summaryrefslogtreecommitdiff
path: root/www/py-dj52-django-htmx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-dj52-django-htmx/Makefile')
-rw-r--r--www/py-dj52-django-htmx/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/www/py-dj52-django-htmx/Makefile b/www/py-dj52-django-htmx/Makefile
new file mode 100644
index 000000000000..6dc8db82841e
--- /dev/null
+++ b/www/py-dj52-django-htmx/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= django-htmx
+DISTVERSION= 1.23.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52-
+DISTNAME= django_htmx-${DISTVERSION}
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Extensions for using Django with htmx
+WWW= https://github.com/adamchainz/django-htmx
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}asgiref>=3.6:www/py-asgiref@${PY_FLAVOR}
+
+USES= python:3.10+
+USE_PYTHON= autoplist pep517
+
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>