pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-websockets Deal with PLIST differences for Pyth...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5e24bc1ee23
branches:  trunk
changeset: 364619:c5e24bc1ee23
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jul 01 22:13:55 2017 +0000

description:
Deal with PLIST differences for Python 3.4.

diffstat:

 www/py-websockets/Makefile |   9 ++++++++-
 www/py-websockets/PLIST    |  20 ++++++++++----------
 2 files changed, 18 insertions(+), 11 deletions(-)

diffs (55 lines):

diff -r 9b2fa9d1e5d8 -r c5e24bc1ee23 www/py-websockets/Makefile
--- a/www/py-websockets/Makefile        Sat Jul 01 22:13:26 2017 +0000
+++ b/www/py-websockets/Makefile        Sat Jul 01 22:13:55 2017 +0000
@@ -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 @@
 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 -r 9b2fa9d1e5d8 -r c5e24bc1ee23 www/py-websockets/PLIST
--- a/www/py-websockets/PLIST   Sat Jul 01 22:13:26 2017 +0000
+++ b/www/py-websockets/PLIST   Sat Jul 01 22:13:55 2017 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index