git: a9d834da3db9 - main - www/py-dj42-channels: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Feb 2024 15:19:44 UTC
The branch main has been updated by grembo: URL: https://cgit.FreeBSD.org/ports/commit/?id=a9d834da3db90781a5d90eddad347d9f58178132 commit a9d834da3db90781a5d90eddad347d9f58178132 Author: Michael Gmelin <grembo@FreeBSD.org> AuthorDate: 2024-02-12 17:47:42 +0000 Commit: Michael Gmelin <grembo@FreeBSD.org> CommitDate: 2024-02-18 15:18:20 +0000 www/py-dj42-channels: New port Django 4.2 version of www/py-channels, happy to pass it to its maintainer or make it disappear, once 4.2 is the default django version. --- www/Makefile | 1 + www/py-dj42-channels/Makefile | 23 +++++++++++++++++++++++ www/py-dj42-channels/distinfo | 3 +++ www/py-dj42-channels/pkg-descr | 4 ++++ 4 files changed, 31 insertions(+) diff --git a/www/Makefile b/www/Makefile index 755157508c8e..67a61868700e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1489,6 +1489,7 @@ SUBDIR += py-cssutils SUBDIR += py-daphne SUBDIR += py-dj-database-url + SUBDIR += py-dj42-channels SUBDIR += py-dj42-django-allauth SUBDIR += py-dj42-django-auditlog SUBDIR += py-dj42-django-auth-ldap diff --git a/www/py-dj42-channels/Makefile b/www/py-dj42-channels/Makefile new file mode 100644 index 000000000000..6493a17b1fdc --- /dev/null +++ b/www/py-dj42-channels/Makefile @@ -0,0 +1,23 @@ +PORTNAME= channels +PORTVERSION= 4.0.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- + +MAINTAINER= grembo@FreeBSD.org +COMMENT= Brings async, event-driven capabilities to Django +WWW= https://channels.readthedocs.io/en/latest/ \ + https://github.com/django/channels + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.5.0<4:www/py-asgiref@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-dj42-channels/distinfo b/www/py-dj42-channels/distinfo new file mode 100644 index 000000000000..5b1a85e8267d --- /dev/null +++ b/www/py-dj42-channels/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696904100 +SHA256 (channels-4.0.0.tar.gz) = 0ce53507a7da7b148eaa454526e0e05f7da5e5d1c23440e4886cf146981d8420 +SIZE (channels-4.0.0.tar.gz) = 24446 diff --git a/www/py-dj42-channels/pkg-descr b/www/py-dj42-channels/pkg-descr new file mode 100644 index 000000000000..01296180bc27 --- /dev/null +++ b/www/py-dj42-channels/pkg-descr @@ -0,0 +1,4 @@ +Channels augments Django to bring WebSocket, long-poll HTTP, task offloading and +other async support to your code, using familiar Django design patterns and a +flexible underlying framework that lets you not only customize behaviours but +also write support for your own protocols and needs.