diff options
author | joerg <joerg@pkgsrc.org> | 2017-12-08 20:38:59 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-12-08 20:38:59 +0000 |
commit | 4f4d685bceea39a51f57daf06006c927d375cb5c (patch) | |
tree | 0b7453abd0a0580611b10b2c756e2c8deb554b7b /www | |
parent | 02ac4359d6ee47dc0b1868f70a5de0ea68706eaf (diff) | |
download | pkgsrc-4f4d685bceea39a51f57daf06006c927d375cb5c.tar.gz |
Restrict Python support as py-asgiref doesn't support 2.7 and 3.4.
Diffstat (limited to 'www')
-rw-r--r-- | www/py-channels/Makefile | 5 | ||||
-rw-r--r-- | www/py-daphne/Makefile | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/www/py-channels/Makefile b/www/py-channels/Makefile index 5b2a90196cf..a29b6649532 100644 --- a/www/py-channels/Makefile +++ b/www/py-channels/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2017/09/16 06:51:54 adam Exp $ +# $NetBSD: Makefile,v 1.6 2017/12/08 20:38:59 joerg Exp $ DISTNAME= channels-1.1.8 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -16,5 +16,8 @@ DEPENDS+= ${PYPKGPREFIX}-django>=1.8:../../www/py-django DEPENDS+= ${PYPKGPREFIX}-asgiref>=1.1:../../www/py-asgiref DEPENDS+= ${PYPKGPREFIX}-daphne>=1.3:../../www/py-daphne +# py-asgiref +PYTHON_VERSIONS_INCOMPATIBLE= 27 34 + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-daphne/Makefile b/www/py-daphne/Makefile index d7f32dc2517..9fb16a90873 100644 --- a/www/py-daphne/Makefile +++ b/www/py-daphne/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2017/07/30 22:32:26 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2017/12/08 20:38:59 joerg Exp $ DISTNAME= daphne-1.3.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -16,6 +16,9 @@ DEPENDS+= ${PYPKGPREFIX}-asgiref-[0-9]*:../../www/py-asgiref DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn DEPENDS+= ${PYPKGPREFIX}-twisted>=17.1:../../net/py-twisted +# py-asgiref +PYTHON_VERSIONS_INCOMPATIBLE= 27 34 + post-install: ${MV} ${DESTDIR}${PREFIX}/bin/daphne \ ${DESTDIR}${PREFIX}/bin/daphne-${PYVERSSUFFIX} || ${TRUE} |