From nobody Wed Oct 11 12:59:32 2023 X-Original-To: dev-commits-ports-main@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 4S5CXP32Wjz4xLs8; Wed, 11 Oct 2023 12:59:33 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5CXP1JdZz4ZJ4; Wed, 11 Oct 2023 12:59:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697029173; 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=D84nx31V35p+mvLGLuvx5sAfIebNyme91tNtxbuJKWE=; b=pV4+4FmQ7aXTrnF+QtktEc7sD1fsrrsn4QNCnBZ4cKEIPnC6pVgTYFnRop+nUW5VH8wOMX cvyJAZpbFhReaxlAIWxZg7L7GaFmx5pqbc9YGNH1lY0eQaKHLDlkk/f5SpYqoTcxiAuFsy tBBUom87lwOQkTw+cPLThTj9nN0PotLV9a/FEQGqyKbljIK8fCJL2ntkoICh95fKnwd/OT 1pcdlMkUAR16jhDtRnUARIbAFSPXMfAImfsCiHoutap9NEg+8tkDF316PptWhgNll86tPk oMzUuq6auRbqvCCyUcYDDYzKZdmK+TVO8n5w2HWiDle9e5UuET/WD/4KS2S8TQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697029173; a=rsa-sha256; cv=none; b=XKsBzCrcuPjZp/5uHcSmu4IGvULLCuu92kexqn/d3IUu+Q8MMwm27/SunjUVtnxj0FFRDc /4pYonxM66E9abth7phWo5pQCj8dwbgdAjlFFXOFRXFDcVZo66cduATep/9CgRVjecBrTX Q/CoDEF2O+E0Pe8oajNrw1aqAa3oZM1QhbyNKJ6UlMDCozTw6VcP64Ln+6WpyIH64T0WBY ydlw7XUAjY1+M0ut2zyGxn4f3vo0wRhxy6ZZnebwM35DzAsjM0LrtGYixAxgiHvx8QG4Lf cPY6gEMktZvmAiJ0LrJ6dCpe57Jx1bo5hknFFivyzYiUC7VwgfdRjJMBjgVuAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697029173; 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=D84nx31V35p+mvLGLuvx5sAfIebNyme91tNtxbuJKWE=; b=QBrp1KWCRAsuK76hcAWLWXcH9WwcWywJT6F7dLnctHudHQLCk8hOgMPigxign0pXzpWxSh H9MJRyxmzTIyPar6I/nzJbLmfm6pJ/4P5a8xQCiDU2HKp49mGBLzRaKrw74A0AG+NBN9Fg 46lHSqMIsmm3frzCSt+SjbLgk0KECbiP/nyjWOyKVCxaqH6dfw6abO8EPDd6WVST0ayviW aOkRzyX5WYug7IHlsQaEWv4mtagbzdY9Kqiktc+ym5cKnjfwQD3bgg3TiNa3MeiOSrlZLs NkoKVMp9Uu5nwySLRNJWiW0aWFgTKvBAQ1Oz9bvD+BO+Aw98Vlj4YcQff/FyVA== 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 4S5CXN6z1Hz70C; Wed, 11 Oct 2023 12:59:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39BCxW9o036019; Wed, 11 Oct 2023 12:59:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39BCxWvl036016; Wed, 11 Oct 2023 12:59:32 GMT (envelope-from git) Date: Wed, 11 Oct 2023 12:59:32 GMT Message-Id: <202310111259.39BCxWvl036016@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 84437b55bbaf - main - www/py-channels: Add py-channels 4.0.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 84437b55bbafb20bc1916ac98b6594c18c668dba Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=84437b55bbafb20bc1916ac98b6594c18c668dba commit 84437b55bbafb20bc1916ac98b6594c18c668dba Author: Po-Chuan Hsieh AuthorDate: 2023-10-11 12:53:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-10-11 12:53:45 +0000 www/py-channels: Add py-channels 4.0.0 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. --- www/Makefile | 1 + www/py-channels/Makefile | 23 +++++++++++++++++++++++ www/py-channels/distinfo | 3 +++ www/py-channels/pkg-descr | 4 ++++ 4 files changed, 31 insertions(+) diff --git a/www/Makefile b/www/Makefile index ca6941ef5577..9934a09cb41e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1477,6 +1477,7 @@ SUBDIR += py-cachecontrol SUBDIR += py-cachelib SUBDIR += py-caldav + SUBDIR += py-channels SUBDIR += py-cheroot SUBDIR += py-cherrypy SUBDIR += py-cinemagoer diff --git a/www/py-channels/Makefile b/www/py-channels/Makefile new file mode 100644 index 000000000000..6b674b6e0989 --- /dev/null +++ b/www/py-channels/Makefile @@ -0,0 +1,23 @@ +PORTNAME= channels +PORTVERSION= 4.0.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@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}django32>=3.2:www/py-django32@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/www/py-channels/distinfo b/www/py-channels/distinfo new file mode 100644 index 000000000000..5b1a85e8267d --- /dev/null +++ b/www/py-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-channels/pkg-descr b/www/py-channels/pkg-descr new file mode 100644 index 000000000000..01296180bc27 --- /dev/null +++ b/www/py-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.