git: 9843ba088d2a - main - www/py-django-htmx: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jan 2024 07:07:05 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=9843ba088d2ab774ede73b1ddcf369b2618d7be3 commit 9843ba088d2ab774ede73b1ddcf369b2618d7be3 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2024-01-23 07:05:52 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2024-01-23 07:05:52 +0000 www/py-django-htmx: New port 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/). --- www/Makefile | 1 + www/py-django-htmx/Makefile | 24 ++++++++++++++++++++++++ www/py-django-htmx/distinfo | 3 +++ www/py-django-htmx/pkg-descr | 3 +++ 4 files changed, 31 insertions(+) diff --git a/www/Makefile b/www/Makefile index d6b486d93f25..6bc7abff216f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1549,6 +1549,7 @@ SUBDIR += py-django-hierarkey SUBDIR += py-django-hijack SUBDIR += py-django-htmlmin + SUBDIR += py-django-htmx SUBDIR += py-django-i18nfield SUBDIR += py-django-jquery-js SUBDIR += py-django-js-asset diff --git a/www/py-django-htmx/Makefile b/www/py-django-htmx/Makefile new file mode 100644 index 000000000000..b4e0298128e6 --- /dev/null +++ b/www/py-django-htmx/Makefile @@ -0,0 +1,24 @@ +PORTNAME= django-htmx +DISTVERSION= 1.17.2 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +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}django32>=3.2:www/py-django32@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}asgiref>=3.6:www/py-asgiref@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-django-htmx/distinfo b/www/py-django-htmx/distinfo new file mode 100644 index 000000000000..37a8837357ff --- /dev/null +++ b/www/py-django-htmx/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1705945193 +SHA256 (django-htmx-1.17.2.tar.gz) = 4089f2ed38727e9846c2f4cd1daddf6b010c7be8d834cfbcffc8c5ecf445c04e +SIZE (django-htmx-1.17.2.tar.gz) = 9728 diff --git a/www/py-django-htmx/pkg-descr b/www/py-django-htmx/pkg-descr new file mode 100644 index 000000000000..9b84019de4a7 --- /dev/null +++ b/www/py-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/).