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: joerg
Date: Sat Mar 24 17:07:06 UTC 2018
Modified Files:
pkgsrc/www/py-daphne: Makefile
Log Message:
Needs py-test-runner.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/py-daphne/Makefile
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.7 pkgsrc/www/py-daphne/Makefile:1.8
--- pkgsrc/www/py-daphne/Makefile:1.7 Wed Mar 14 08:00:08 2018
+++ pkgsrc/www/py-daphne/Makefile Sat Mar 24 17:07:06 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2018/03/14 08:00:08 adam Exp $
+# $NetBSD: Makefile,v 1.8 2018/03/24 17:07:06 joerg Exp $
DISTNAME= daphne-2.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,13 +10,18 @@ HOMEPAGE= https://github.com/django/daph
COMMENT= HTTP, HTTP2 and WebSocket protocol server for ASGI
LICENSE= modified-bsd
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27 34
+
DEPENDS+= ${PYPKGPREFIX}-asgiref>=2.0:../../www/py-asgiref
DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn
DEPENDS+= ${PYPKGPREFIX}-twisted>=17.5:../../net/py-twisted
-USE_LANGUAGES= # none
-
-PYTHON_VERSIONS_INCOMPATIBLE= 27 34
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} > 30
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+.endif
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} daphne daphne-${PYVERSSUFFIX} || ${TRUE}
Home |
Main Index |
Thread Index |
Old Index