pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-channels



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan  4 22:36:43 UTC 2024

Modified Files:
        pkgsrc/www/py-channels: Makefile PLIST distinfo

Log Message:
py-channels: updated to 4.0.0

4.0.0 (2022-10-15)
------------------

Channels 4 is the next major version of the Channels package. Together with the
matching Daphne v4 and channels-redis v4 releases, it updates dependencies,
fixes issues, and removes outdated code. It so provides the foundation for
Channels development going forward.

In most cases, you can update now by updating ``channels``, ``daphne``, and
``channels-redis`` as appropriate, with ``pip``, and by adding ``daphne`` at
the top of your ``INSTALLED_APPS`` setting.

First ``pip``::

    pip install -U 'channels[daphne]' channels-redis

Then in your Django settings file::

    INSTALLED_APPS = [
        "daphne",
        ...
    ]

Again, this is a major version change. Amongst other changes, large amounts of
the Django-wrapping code deprecated in Channels v3 has now been removed, in
favour of Django's own ASGI handling, and the ``runserver`` command has been
moved into the Daphne package.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/www/py-channels/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-channels/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/py-channels/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-channels/Makefile
diff -u pkgsrc/www/py-channels/Makefile:1.24 pkgsrc/www/py-channels/Makefile:1.25
--- pkgsrc/www/py-channels/Makefile:1.24        Thu Jul 13 10:03:26 2023
+++ pkgsrc/www/py-channels/Makefile     Thu Jan  4 22:36:43 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2023/07/13 10:03:26 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2024/01/04 22:36:43 adam Exp $
 
-DISTNAME=      channels-3.0.5
+DISTNAME=      channels-4.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/channels/}
 
@@ -11,13 +10,15 @@ HOMEPAGE=   https://github.com/django/chan
 COMMENT=       Brings event-driven capabilities to Django with a channel system
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-asgiref>=3.3.1:../../www/py-asgiref
-DEPENDS+=      ${PYPKGPREFIX}-daphne>=3.0:../../www/py-daphne
-DEPENDS+=      ${PYPKGPREFIX}-django>=3:../../www/py-django3
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-asgiref>=3.5.0:../../www/py-asgiref
+DEPENDS+=      ${PYPKGPREFIX}-daphne>=4.0.0:../../www/py-daphne
+DEPENDS+=      ${PYPKGPREFIX}-django>=3.2:../../www/py-django
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-channels/PLIST
diff -u pkgsrc/www/py-channels/PLIST:1.5 pkgsrc/www/py-channels/PLIST:1.6
--- pkgsrc/www/py-channels/PLIST:1.5    Tue Nov  6 14:21:51 2018
+++ pkgsrc/www/py-channels/PLIST        Thu Jan  4 22:36:43 2024
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.5 2018/11/06 14:21:51 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.6 2024/01/04 22:36:43 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/channels/__init__.py
 ${PYSITELIB}/channels/__init__.pyc
 ${PYSITELIB}/channels/__init__.pyo
@@ -31,12 +31,6 @@ ${PYSITELIB}/channels/generic/http.pyo
 ${PYSITELIB}/channels/generic/websocket.py
 ${PYSITELIB}/channels/generic/websocket.pyc
 ${PYSITELIB}/channels/generic/websocket.pyo
-${PYSITELIB}/channels/hacks.py
-${PYSITELIB}/channels/hacks.pyc
-${PYSITELIB}/channels/hacks.pyo
-${PYSITELIB}/channels/http.py
-${PYSITELIB}/channels/http.pyc
-${PYSITELIB}/channels/http.pyo
 ${PYSITELIB}/channels/layers.py
 ${PYSITELIB}/channels/layers.pyc
 ${PYSITELIB}/channels/layers.pyo
@@ -46,9 +40,6 @@ ${PYSITELIB}/channels/management/__init_
 ${PYSITELIB}/channels/management/commands/__init__.py
 ${PYSITELIB}/channels/management/commands/__init__.pyc
 ${PYSITELIB}/channels/management/commands/__init__.pyo
-${PYSITELIB}/channels/management/commands/runserver.py
-${PYSITELIB}/channels/management/commands/runserver.pyc
-${PYSITELIB}/channels/management/commands/runserver.pyo
 ${PYSITELIB}/channels/management/commands/runworker.py
 ${PYSITELIB}/channels/management/commands/runworker.pyc
 ${PYSITELIB}/channels/management/commands/runworker.pyo
@@ -67,12 +58,6 @@ ${PYSITELIB}/channels/security/websocket
 ${PYSITELIB}/channels/sessions.py
 ${PYSITELIB}/channels/sessions.pyc
 ${PYSITELIB}/channels/sessions.pyo
-${PYSITELIB}/channels/signals.py
-${PYSITELIB}/channels/signals.pyc
-${PYSITELIB}/channels/signals.pyo
-${PYSITELIB}/channels/staticfiles.py
-${PYSITELIB}/channels/staticfiles.pyc
-${PYSITELIB}/channels/staticfiles.pyo
 ${PYSITELIB}/channels/testing/__init__.py
 ${PYSITELIB}/channels/testing/__init__.pyc
 ${PYSITELIB}/channels/testing/__init__.pyo

Index: pkgsrc/www/py-channels/distinfo
diff -u pkgsrc/www/py-channels/distinfo:1.21 pkgsrc/www/py-channels/distinfo:1.22
--- pkgsrc/www/py-channels/distinfo:1.21        Wed Jul  6 15:30:19 2022
+++ pkgsrc/www/py-channels/distinfo     Thu Jan  4 22:36:43 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2022/07/06 15:30:19 adam Exp $
+$NetBSD: distinfo,v 1.22 2024/01/04 22:36:43 adam Exp $
 
-BLAKE2s (channels-3.0.5.tar.gz) = 53bed9bc0d17f5ccc337d3b3dc24ffc235d155802f5c79de9ce27c950411cda9
-SHA512 (channels-3.0.5.tar.gz) = 44bf4eea6764ba116c4db2c85653bdb277389eb5c010d67b19653bb4c1c5c2b2a1fe490d71afb33555a58b626bfb80bb863432a7fb7c404cdfb534c483a27852
-Size (channels-3.0.5.tar.gz) = 31725 bytes
+BLAKE2s (channels-4.0.0.tar.gz) = f4690402382fcbd2b1c21ea94a87f471bd53b99127d2cc3bd33582df711b563a
+SHA512 (channels-4.0.0.tar.gz) = 903d7e8cc95de8d2754afc665dac828cc9ee19f0938f4908a16e40b5b0e18c62bf45380311c0cc318f106e2ba4997bb5784e31c85914779bd76f69473e4636f5
+Size (channels-4.0.0.tar.gz) = 24446 bytes



Home | Main Index | Thread Index | Old Index