mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
www/py-dj50-channels: New port
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. Happy to pass this port to its maintainer who already maintain the Django 4.2 variant of it. Co-authored-by: Kai Knoblich <kai@FreeBSD.org> PR: 283044, 283045 [1] Reported by: James TD Smith MFH: 2024Q4 (required to fix [1])
This commit is contained in:
parent
a210d31a61
commit
6e0d3b5fc7
4 changed files with 35 additions and 0 deletions
|
@ -1502,6 +1502,7 @@
|
|||
SUBDIR += py-daphne
|
||||
SUBDIR += py-dash
|
||||
SUBDIR += py-dj-database-url
|
||||
SUBDIR += py-dj50-channels
|
||||
SUBDIR += py-dj50-django-auth-ldap
|
||||
SUBDIR += py-dj50-django-choices-field
|
||||
SUBDIR += py-dj50-django-cors-headers
|
||||
|
|
27
www/py-dj50-channels/Makefile
Normal file
27
www/py-dj50-channels/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
PORTNAME= channels
|
||||
PORTVERSION= 4.2.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj50-
|
||||
|
||||
MAINTAINER= kai@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
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.6.0<4:www/py-asgiref@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}django50>=4.2:www/py-django50@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj50-channels/distinfo
Normal file
3
www/py-dj50-channels/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1732202562
|
||||
SHA256 (channels-4.2.0.tar.gz) = d9e707487431ba5dbce9af982970dab3b0efd786580fadb99e45dca5e39fdd59
|
||||
SIZE (channels-4.2.0.tar.gz) = 26554
|
4
www/py-dj50-channels/pkg-descr
Normal file
4
www/py-dj50-channels/pkg-descr
Normal file
|
@ -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.
|
Loading…
Add table
Reference in a new issue