pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www Restrict Python support as py-asgiref doesn't supp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/182d96272b67
branches:  trunk
changeset: 372474:182d96272b67
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 08 20:38:59 2017 +0000

description:
Restrict Python support as py-asgiref doesn't support 2.7 and 3.4.

diffstat:

 www/py-channels/Makefile |  5 ++++-
 www/py-daphne/Makefile   |  5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 747abe877c6b -r 182d96272b67 www/py-channels/Makefile
--- a/www/py-channels/Makefile  Fri Dec 08 20:13:31 2017 +0000
+++ b/www/py-channels/Makefile  Fri Dec 08 20:38:59 2017 +0000
@@ -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}-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 -r 747abe877c6b -r 182d96272b67 www/py-daphne/Makefile
--- a/www/py-daphne/Makefile    Fri Dec 08 20:13:31 2017 +0000
+++ b/www/py-daphne/Makefile    Fri Dec 08 20:38:59 2017 +0000
@@ -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}-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}



Home | Main Index | Thread Index | Old Index