pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-daphne



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Aug 10 09:34:49 UTC 2024

Modified Files:
        pkgsrc/www/py-daphne: Makefile distinfo
Added Files:
        pkgsrc/www/py-daphne/patches: patch-setup.cfg

Log Message:
py-daphne: remove unused test dependency

Update test status.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/py-daphne/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/www/py-daphne/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-daphne/patches/patch-setup.cfg

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-daphne/Makefile
diff -u pkgsrc/www/py-daphne/Makefile:1.29 pkgsrc/www/py-daphne/Makefile:1.30
--- pkgsrc/www/py-daphne/Makefile:1.29  Mon Apr 15 14:32:44 2024
+++ pkgsrc/www/py-daphne/Makefile       Sat Aug 10 09:34:48 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2024/04/15 14:32:44 adam Exp $
+# $NetBSD: Makefile,v 1.30 2024/08/10 09:34:48 wiz Exp $
 
 DISTNAME=      daphne-4.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,7 +11,6 @@ COMMENT=      HTTP, HTTP2 and WebSocket proto
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-asgiref>=3.5.2:../../www/py-asgiref
 DEPENDS+=      ${PYPKGPREFIX}-autobahn>=22.4.2:../../www/py-autobahn
@@ -23,6 +22,10 @@ USE_LANGUAGES=       # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+# test fails with:
+# https://github.com/django/daphne/issues/522
+# ModuleNotFoundError: No module named 'http_strategies'
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} daphne daphne-${PYVERSSUFFIX} || ${TRUE}

Index: pkgsrc/www/py-daphne/distinfo
diff -u pkgsrc/www/py-daphne/distinfo:1.23 pkgsrc/www/py-daphne/distinfo:1.24
--- pkgsrc/www/py-daphne/distinfo:1.23  Mon Apr 15 14:32:44 2024
+++ pkgsrc/www/py-daphne/distinfo       Sat Aug 10 09:34:48 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.23 2024/04/15 14:32:44 adam Exp $
+$NetBSD: distinfo,v 1.24 2024/08/10 09:34:48 wiz Exp $
 
 BLAKE2s (daphne-4.1.2.tar.gz) = ce6626594f0e46652d0241773b2f8c655544c8b3a7d86a8bd32ddc2663195ed3
 SHA512 (daphne-4.1.2.tar.gz) = 1c47ae70ce142a8b4f8169f1b5913a18610c087367dc4c1c9ddd6bdcc8f2c4f90a43786bd3c2233868716c3926cf6584a9208351783016d2ed12ae93346af910
 Size (daphne-4.1.2.tar.gz) = 37882 bytes
+SHA1 (patch-setup.cfg) = ac1f2eb1c4754452e5767d29bea7a2f60f219524

Added files:

Index: pkgsrc/www/py-daphne/patches/patch-setup.cfg
diff -u /dev/null pkgsrc/www/py-daphne/patches/patch-setup.cfg:1.1
--- /dev/null   Sat Aug 10 09:34:49 2024
+++ pkgsrc/www/py-daphne/patches/patch-setup.cfg        Sat Aug 10 09:34:48 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.cfg,v 1.1 2024/08/10 09:34:48 wiz Exp $
+
+https://github.com/django/daphne/issues/523
+
+--- setup.cfg.orig     2024-08-10 09:33:24.005048283 +0000
++++ setup.cfg
+@@ -33,8 +33,6 @@ install_requires = 
+       autobahn>=22.4.2
+       twisted[tls]>=22.4
+ python_requires = >=3.8
+-setup_requires = 
+-      pytest-runner
+ zip_safe = False
+ 
+ [options.entry_points]



Home | Main Index | Thread Index | Old Index