diff options
author | joerg <joerg> | 2017-07-01 22:13:55 +0000 |
---|---|---|
committer | joerg <joerg> | 2017-07-01 22:13:55 +0000 |
commit | bae90257a5afacae4c81713f31b73c8a6e094668 (patch) | |
tree | a0fbf3df2c590d1faaa5ad28b92386078cd31466 | |
parent | 5e2e3d54e7c42d85411bbc109ce2c8b57a50d67c (diff) | |
download | pkgsrc-bae90257a5afacae4c81713f31b73c8a6e094668.tar.gz |
Deal with PLIST differences for Python 3.4.
-rw-r--r-- | www/py-websockets/Makefile | 9 | ||||
-rw-r--r-- | www/py-websockets/PLIST | 20 |
2 files changed, 18 insertions, 11 deletions
diff --git a/www/py-websockets/Makefile b/www/py-websockets/Makefile index 7143c0cedaf..bb22ac0cbdf 100644 --- a/www/py-websockets/Makefile +++ b/www/py-websockets/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2017/06/24 07:30:18 adam Exp $ +# $NetBSD: Makefile,v 1.2 2017/07/01 22:13:55 joerg Exp $ DISTNAME= websockets-3.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -13,4 +13,11 @@ LICENSE= modified-bsd PYTHON_VERSIONS_ACCEPTED= 36 35 34 .include "../../lang/python/egg.mk" + +PLIST_VARS+= py35p + +.if empty(_PYTHON_VERSION:M34*) +PLIST.py35p= yes +.endif + .include "../../mk/bsd.pkg.mk" diff --git a/www/py-websockets/PLIST b/www/py-websockets/PLIST index 87a1a7ec06b..ffac8e624b3 100644 --- a/www/py-websockets/PLIST +++ b/www/py-websockets/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2017/06/24 07:30:18 adam Exp $ +@comment $NetBSD: PLIST,v 1.2 2017/07/01 22:13:55 joerg Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -28,15 +28,15 @@ ${PYSITELIB}/websockets/http.pyo ${PYSITELIB}/websockets/protocol.py ${PYSITELIB}/websockets/protocol.pyc ${PYSITELIB}/websockets/protocol.pyo -${PYSITELIB}/websockets/py35/__init__.py -${PYSITELIB}/websockets/py35/__init__.pyc -${PYSITELIB}/websockets/py35/__init__.pyo -${PYSITELIB}/websockets/py35/client.py -${PYSITELIB}/websockets/py35/client.pyc -${PYSITELIB}/websockets/py35/client.pyo -${PYSITELIB}/websockets/py35/client_server.py -${PYSITELIB}/websockets/py35/client_server.pyc -${PYSITELIB}/websockets/py35/client_server.pyo +${PLIST.py35p}${PYSITELIB}/websockets/py35/__init__.py +${PLIST.py35p}${PYSITELIB}/websockets/py35/__init__.pyc +${PLIST.py35p}${PYSITELIB}/websockets/py35/__init__.pyo +${PLIST.py35p}${PYSITELIB}/websockets/py35/client.py +${PLIST.py35p}${PYSITELIB}/websockets/py35/client.pyc +${PLIST.py35p}${PYSITELIB}/websockets/py35/client.pyo +${PLIST.py35p}${PYSITELIB}/websockets/py35/client_server.py +${PLIST.py35p}${PYSITELIB}/websockets/py35/client_server.pyc +${PLIST.py35p}${PYSITELIB}/websockets/py35/client_server.pyo ${PYSITELIB}/websockets/server.py ${PYSITELIB}/websockets/server.pyc ${PYSITELIB}/websockets/server.pyo |