summaryrefslogtreecommitdiff
path: root/www/py-dj52-django-htmx
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-dj52-django-htmx')
-rw-r--r--www/py-dj52-django-htmx/Makefile27
-rw-r--r--www/py-dj52-django-htmx/distinfo3
-rw-r--r--www/py-dj52-django-htmx/pkg-descr3
3 files changed, 33 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>
diff --git a/www/py-dj52-django-htmx/distinfo b/www/py-dj52-django-htmx/distinfo
new file mode 100644
index 000000000000..ff5b98d404fe
--- /dev/null
+++ b/www/py-dj52-django-htmx/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1742639003
+SHA256 (django_htmx-1.23.0.tar.gz) = 71e6242ac6bd32a0e14fcb12b340f901c9a924f0b4e9b461a5e6a6eea8d9c6dd
+SIZE (django_htmx-1.23.0.tar.gz) = 63450
diff --git a/www/py-dj52-django-htmx/pkg-descr b/www/py-dj52-django-htmx/pkg-descr
new file mode 100644
index 000000000000..9b84019de4a7
--- /dev/null
+++ b/www/py-dj52-django-htmx/pkg-descr
@@ -0,0 +1,3 @@
+This package offers extensions for using Django with htmx, a library that
+allows one to access modern browser features directly from HTML, rather than
+using JavaScript (see https://htmx.org/).