From nobody Sat Dec 14 16:57:23 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y9XSN04mxz5gTM2; Sat, 14 Dec 2024 16:57:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y9XSM6FPQz57ZD; Sat, 14 Dec 2024 16:57:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734195443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bHeYOSB17V83i++tun+Xix5fcUGc1xazXjF5qnfBKRU=; b=PYZneDm9ry+ajqI6dKUhGdi1cPbdSUKgDLR5xPToVIpzUZ4lYEAuqX76zcM+885fiT+qZP XAQhi7K/KTtLH/j1MA3zMakx09KyOgEntixkgos4X+wjv64ZpWY6JEP6uJkYCyF76Hrv4p U8yuCZZLDM9EpERIcQb1iw941KW+SOA0ZUZDpjSs5qRlJ4pcwzcVrnaJbq/Gl/pEGRgR82 9CxzrjpT2DrZydjBzkxAejW2eU2XwVDJ04gQLTJCyCBTagl4Y8OcQrG4dvSGkj/sIDg4za w+lMGMDJIFrik9uUsv1TPP7NwIAisy0kA7PYbPgit7ummfc4zIOoCvz5Z4WZ/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734195443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bHeYOSB17V83i++tun+Xix5fcUGc1xazXjF5qnfBKRU=; b=ipc93+UBQ2x3QV17mWCT4pavyY0OPZ/z22itQX8pbIV7Ht22vydtpwT9V+2Z8hlkdvlhQA UTF0suGhRObEdFvlTtU7sBEZjPryeOOIsQGKAfIB6KG8fpkKk38MTxMHzKNSLdZgoan2jB h/o80l3QOKPY+G1PqiHYQ6FHlNePuuACMEp652DxgFwoCzv2Yzr8kw9aGlBzGS/J5eit3I dRBVGzcZ4XLXRIi+IlB1X9TvH5brXQOIoymZp6e88h6h91kyezG9Tg5lRjoxWnw/yVB1EZ uzymkCL57Haqy8coNTuIBisMTXnG9Mcq91NwuUfPY73IqsI0XCQi/G6+/JZqtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734195443; a=rsa-sha256; cv=none; b=XP+otwdYIfIZxFv+haVJN8Rd3ZKVz9Ff32i5qpLs3NgAv3HXb/OHFcjX4eiwAv89iaQHHh WmGVAaYlUZ3CljZYk7JexyQ8AvNGJktZtDl2k0mFnej9hzVkY560UUiuyftPKZx6e1PIiA 9IDuwEypGXi9GV88U2EAcIMN9wXRcD9ZVHIKsV6yyBwjfDbuGGJBNFlW2YI6IpI3LxhQXp QapHjXZTVSoGlCQjKo6UnhQsDXh1p1SU8/o7IkIZaxRu35eQt0VSjCP/q38FVBvykh1GIC 0QMse/8t1lDqmPSBypliD8HbTww0+Dw7RQLXjrix/bJZpDpQsE8xFbcryEf2+Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y9XSM5rqTzXL8; Sat, 14 Dec 2024 16:57:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BEGvNRD029705; Sat, 14 Dec 2024 16:57:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BEGvN4l029702; Sat, 14 Dec 2024 16:57:23 GMT (envelope-from git) Date: Sat, 14 Dec 2024 16:57:23 GMT Message-Id: <202412141657.4BEGvN4l029702@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 6e0d3b5fc73f - main - www/py-dj50-channels: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6e0d3b5fc73fd05df664b07c8b1ab3a8aa41c9e3 Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=6e0d3b5fc73fd05df664b07c8b1ab3a8aa41c9e3 commit 6e0d3b5fc73fd05df664b07c8b1ab3a8aa41c9e3 Author: James TD Smith AuthorDate: 2024-12-14 16:51:20 +0000 Commit: Kai Knoblich CommitDate: 2024-12-14 16:55:45 +0000 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 PR: 283044, 283045 [1] Reported by: James TD Smith MFH: 2024Q4 (required to fix [1]) --- www/Makefile | 1 + www/py-dj50-channels/Makefile | 27 +++++++++++++++++++++++++++ www/py-dj50-channels/distinfo | 3 +++ www/py-dj50-channels/pkg-descr | 4 ++++ 4 files changed, 35 insertions(+) diff --git a/www/Makefile b/www/Makefile index 542d1376ea1c..7936fa88328e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/py-dj50-channels/Makefile b/www/py-dj50-channels/Makefile new file mode 100644 index 000000000000..91b5259f6186 --- /dev/null +++ b/www/py-dj50-channels/Makefile @@ -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 diff --git a/www/py-dj50-channels/distinfo b/www/py-dj50-channels/distinfo new file mode 100644 index 000000000000..cfa8d2a5103d --- /dev/null +++ b/www/py-dj50-channels/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1732202562 +SHA256 (channels-4.2.0.tar.gz) = d9e707487431ba5dbce9af982970dab3b0efd786580fadb99e45dca5e39fdd59 +SIZE (channels-4.2.0.tar.gz) = 26554 diff --git a/www/py-dj50-channels/pkg-descr b/www/py-dj50-channels/pkg-descr new file mode 100644 index 000000000000..01296180bc27 --- /dev/null +++ b/www/py-dj50-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.