pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-autobahn py-autobahn: some files don't compile ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a97a8e600d1
branches:  trunk
changeset: 340202:2a97a8e600d1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Sep 26 10:05:57 2019 +0000

description:
py-autobahn: some files don't compile with python-2.7

Homepage still claims 2.7 support, so use PLIST.py3x for them
and add comment with bug report URL.

If upstream doesn't want to fix this, we should mark it as
INCOMPATIBLE with 2.7 (only affects py-buildbot).

diffstat:

 www/py-autobahn/Makefile |   5 ++++-
 www/py-autobahn/PLIST    |  26 +++++++++++++-------------
 2 files changed, 17 insertions(+), 14 deletions(-)

diffs (76 lines):

diff -r cbbcdcb19276 -r 2a97a8e600d1 www/py-autobahn/Makefile
--- a/www/py-autobahn/Makefile  Thu Sep 26 09:44:48 2019 +0000
+++ b/www/py-autobahn/Makefile  Thu Sep 26 10:05:57 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2019/09/17 08:43:21 adam Exp $
+# $NetBSD: Makefile,v 1.28 2019/09/26 10:05:57 wiz Exp $
 
 DISTNAME=      autobahn-19.9.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -18,6 +18,9 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8.6:../../devel/py-test
 TEST_ENV+=     USE_ASYNCIO=1
 
+# some problems with python-2.7
+# https://github.com/crossbario/autobahn-python/issues/1249
+
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
diff -r cbbcdcb19276 -r 2a97a8e600d1 www/py-autobahn/PLIST
--- a/www/py-autobahn/PLIST     Thu Sep 26 09:44:48 2019 +0000
+++ b/www/py-autobahn/PLIST     Thu Sep 26 10:05:57 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2019/09/17 08:43:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.14 2019/09/26 10:05:57 wiz Exp $
 bin/wamp
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -35,8 +35,8 @@
 ${PYSITELIB}/autobahn/asyncio/websocket.pyc
 ${PYSITELIB}/autobahn/asyncio/websocket.pyo
 ${PYSITELIB}/autobahn/asyncio/xbr.py
-${PYSITELIB}/autobahn/asyncio/xbr.pyc
-${PYSITELIB}/autobahn/asyncio/xbr.pyo
+${PLIST.py3x}${PYSITELIB}/autobahn/asyncio/xbr.pyc
+${PLIST.py3x}${PYSITELIB}/autobahn/asyncio/xbr.pyo
 ${PYSITELIB}/autobahn/exception.py
 ${PYSITELIB}/autobahn/exception.pyc
 ${PYSITELIB}/autobahn/exception.pyo
@@ -105,8 +105,8 @@
 ${PYSITELIB}/autobahn/twisted/websocket.pyc
 ${PYSITELIB}/autobahn/twisted/websocket.pyo
 ${PYSITELIB}/autobahn/twisted/xbr.py
-${PYSITELIB}/autobahn/twisted/xbr.pyc
-${PYSITELIB}/autobahn/twisted/xbr.pyo
+${PLIST.py3x}${PYSITELIB}/autobahn/twisted/xbr.pyc
+${PLIST.py3x}${PYSITELIB}/autobahn/twisted/xbr.pyo
 ${PYSITELIB}/autobahn/util.py
 ${PYSITELIB}/autobahn/util.pyc
 ${PYSITELIB}/autobahn/util.pyo
@@ -463,17 +463,17 @@
 ${PYSITELIB}/autobahn/xbr/_abi.pyc
 ${PYSITELIB}/autobahn/xbr/_abi.pyo
 ${PYSITELIB}/autobahn/xbr/_blockchain.py
-${PYSITELIB}/autobahn/xbr/_blockchain.pyc
-${PYSITELIB}/autobahn/xbr/_blockchain.pyo
+${PLIST.py3x}${PYSITELIB}/autobahn/xbr/_blockchain.pyc
+${PLIST.py3x}${PYSITELIB}/autobahn/xbr/_blockchain.pyo
 ${PYSITELIB}/autobahn/xbr/_buyer.py
-${PYSITELIB}/autobahn/xbr/_buyer.pyc
-${PYSITELIB}/autobahn/xbr/_buyer.pyo
+${PLIST.py3x}${PYSITELIB}/autobahn/xbr/_buyer.pyc
+${PLIST.py3x}${PYSITELIB}/autobahn/xbr/_buyer.pyo
 ${PYSITELIB}/autobahn/xbr/_interfaces.py
-${PYSITELIB}/autobahn/xbr/_interfaces.pyc
-${PYSITELIB}/autobahn/xbr/_interfaces.pyo
+${PLIST.py3x}${PYSITELIB}/autobahn/xbr/_interfaces.pyc
+${PLIST.py3x}${PYSITELIB}/autobahn/xbr/_interfaces.pyo
 ${PYSITELIB}/autobahn/xbr/_seller.py
-${PYSITELIB}/autobahn/xbr/_seller.pyc
-${PYSITELIB}/autobahn/xbr/_seller.pyo
+${PLIST.py3x}${PYSITELIB}/autobahn/xbr/_seller.pyc
+${PLIST.py3x}${PYSITELIB}/autobahn/xbr/_seller.pyo
 ${PYSITELIB}/autobahn/xbr/_util.py
 ${PYSITELIB}/autobahn/xbr/_util.pyc
 ${PYSITELIB}/autobahn/xbr/_util.pyo



Home | Main Index | Thread Index | Old Index