py-autobahn: updated to 20.1.2 20.1.2 fix: add python_requires>=3.5 to prevent installation on python 2 20.1.1 IMPORTANT: beginning release v20.1.1, Autobahn|Python only supports Python 3.5 or later. fix: first part of cleaning up code, dropping Python 2 supportdiff -r1.30 -r1.31 pkgsrc/www/py-autobahn/Makefile
(adam)
@@ -1,26 +1,26 @@ | @@ -1,26 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.30 2019/10/31 10:10:37 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.31 2020/01/23 14:33:18 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= autobahn-19.10.1 | 3 | DISTNAME= autobahn-20.1.2 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= www python | 5 | CATEGORIES= www python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=a/autobahn/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=a/autobahn/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://crossbar.io/autobahn/ | 9 | HOMEPAGE= https://crossbar.io/autobahn/ | |
10 | COMMENT= WebSocket client and server library, WAMP real-time framework | 10 | COMMENT= WebSocket client and server library, WAMP real-time framework | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.7:../../security/py-cryptography | 13 | DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.7:../../security/py-cryptography | |
14 | DEPENDS+= ${PYPKGPREFIX}-nacl>=1.0.1:../../security/py-nacl | 14 | DEPENDS+= ${PYPKGPREFIX}-nacl>=1.0.1:../../security/py-nacl | |
15 | DEPENDS+= ${PYPKGPREFIX}-six>=1.11.0:../../lang/py-six | 15 | DEPENDS+= ${PYPKGPREFIX}-six>=1.11.0:../../lang/py-six | |
16 | DEPENDS+= ${PYPKGPREFIX}-txaio>=18.8.1:../../devel/py-txaio | 16 | DEPENDS+= ${PYPKGPREFIX}-txaio>=18.8.1:../../devel/py-txaio | |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=1.3.0:../../devel/py-mock | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=1.3.0:../../devel/py-mock | |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8.6:../../devel/py-test | 18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8.6:../../devel/py-test | |
19 | TEST_ENV+= USE_ASYNCIO=1 | 19 | TEST_ENV+= USE_ASYNCIO=1 | |
20 | 20 | |||
21 | PYTHON_VERSIONS_INCOMPATIBLE= 27 # not all parts are supported | |||
22 | ||||
23 | USE_LANGUAGES= # none | 21 | USE_LANGUAGES= # none | |
24 | 22 | |||
23 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
24 | ||||
25 | .include "../../lang/python/egg.mk" | 25 | .include "../../lang/python/egg.mk" | |
26 | .include "../../mk/bsd.pkg.mk" | 26 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.15 2019/09/26 10:30:01 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.16 2020/01/23 14:33:18 adam Exp $ | |
2 | bin/wamp | 2 | bin/wamp | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 7 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |
8 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
9 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 9 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
10 | ${PYSITELIB}/autobahn/__init__.py | 10 | ${PYSITELIB}/autobahn/__init__.py | |
11 | ${PYSITELIB}/autobahn/__init__.pyc | 11 | ${PYSITELIB}/autobahn/__init__.pyc | |
12 | ${PYSITELIB}/autobahn/__init__.pyo | 12 | ${PYSITELIB}/autobahn/__init__.pyo | |
13 | ${PYSITELIB}/autobahn/__main__.py | 13 | ${PYSITELIB}/autobahn/__main__.py | |
14 | ${PYSITELIB}/autobahn/__main__.pyc | 14 | ${PYSITELIB}/autobahn/__main__.pyc | |
@@ -461,26 +461,29 @@ ${PYSITELIB}/autobahn/xbr/__init__.pyc | @@ -461,26 +461,29 @@ ${PYSITELIB}/autobahn/xbr/__init__.pyc | |||
461 | ${PYSITELIB}/autobahn/xbr/__init__.pyo | 461 | ${PYSITELIB}/autobahn/xbr/__init__.pyo | |
462 | ${PYSITELIB}/autobahn/xbr/_abi.py | 462 | ${PYSITELIB}/autobahn/xbr/_abi.py | |
463 | ${PYSITELIB}/autobahn/xbr/_abi.pyc | 463 | ${PYSITELIB}/autobahn/xbr/_abi.pyc | |
464 | ${PYSITELIB}/autobahn/xbr/_abi.pyo | 464 | ${PYSITELIB}/autobahn/xbr/_abi.pyo | |
465 | ${PYSITELIB}/autobahn/xbr/_blockchain.py | 465 | ${PYSITELIB}/autobahn/xbr/_blockchain.py | |
466 | ${PYSITELIB}/autobahn/xbr/_blockchain.pyc | 466 | ${PYSITELIB}/autobahn/xbr/_blockchain.pyc | |
467 | ${PYSITELIB}/autobahn/xbr/_blockchain.pyo | 467 | ${PYSITELIB}/autobahn/xbr/_blockchain.pyo | |
468 | ${PYSITELIB}/autobahn/xbr/_buyer.py | 468 | ${PYSITELIB}/autobahn/xbr/_buyer.py | |
469 | ${PYSITELIB}/autobahn/xbr/_buyer.pyc | 469 | ${PYSITELIB}/autobahn/xbr/_buyer.pyc | |
470 | ${PYSITELIB}/autobahn/xbr/_buyer.pyo | 470 | ${PYSITELIB}/autobahn/xbr/_buyer.pyo | |
471 | ${PYSITELIB}/autobahn/xbr/_interfaces.py | 471 | ${PYSITELIB}/autobahn/xbr/_interfaces.py | |
472 | ${PYSITELIB}/autobahn/xbr/_interfaces.pyc | 472 | ${PYSITELIB}/autobahn/xbr/_interfaces.pyc | |
473 | ${PYSITELIB}/autobahn/xbr/_interfaces.pyo | 473 | ${PYSITELIB}/autobahn/xbr/_interfaces.pyo | |
474 | ${PYSITELIB}/autobahn/xbr/_mnemonic.py | |||
475 | ${PYSITELIB}/autobahn/xbr/_mnemonic.pyc | |||
476 | ${PYSITELIB}/autobahn/xbr/_mnemonic.pyo | |||
474 | ${PYSITELIB}/autobahn/xbr/_seller.py | 477 | ${PYSITELIB}/autobahn/xbr/_seller.py | |
475 | ${PYSITELIB}/autobahn/xbr/_seller.pyc | 478 | ${PYSITELIB}/autobahn/xbr/_seller.pyc | |
476 | ${PYSITELIB}/autobahn/xbr/_seller.pyo | 479 | ${PYSITELIB}/autobahn/xbr/_seller.pyo | |
477 | ${PYSITELIB}/autobahn/xbr/_util.py | 480 | ${PYSITELIB}/autobahn/xbr/_util.py | |
478 | ${PYSITELIB}/autobahn/xbr/_util.pyc | 481 | ${PYSITELIB}/autobahn/xbr/_util.pyc | |
479 | ${PYSITELIB}/autobahn/xbr/_util.pyo | 482 | ${PYSITELIB}/autobahn/xbr/_util.pyo | |
480 | ${PYSITELIB}/autobahn/xbr/contracts/ECDSA.json | 483 | ${PYSITELIB}/autobahn/xbr/contracts/ECDSA.json | |
481 | ${PYSITELIB}/autobahn/xbr/contracts/ERC20.json | 484 | ${PYSITELIB}/autobahn/xbr/contracts/ERC20.json | |
482 | ${PYSITELIB}/autobahn/xbr/contracts/ERC20Detailed.json | 485 | ${PYSITELIB}/autobahn/xbr/contracts/ERC20Detailed.json | |
483 | ${PYSITELIB}/autobahn/xbr/contracts/IERC20.json | 486 | ${PYSITELIB}/autobahn/xbr/contracts/IERC20.json | |
484 | ${PYSITELIB}/autobahn/xbr/contracts/Migrations.json | 487 | ${PYSITELIB}/autobahn/xbr/contracts/Migrations.json | |
485 | ${PYSITELIB}/autobahn/xbr/contracts/Roles.json | 488 | ${PYSITELIB}/autobahn/xbr/contracts/Roles.json | |
486 | ${PYSITELIB}/autobahn/xbr/contracts/SafeMath.json | 489 | ${PYSITELIB}/autobahn/xbr/contracts/SafeMath.json |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.27 2019/10/31 10:10:37 adam Exp $ | 1 | $NetBSD: distinfo,v 1.28 2020/01/23 14:33:18 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (autobahn-19.10.1.tar.gz) = cabaaaec601ba40de98c952c3eaa3b4f7ee24b39 | 3 | SHA1 (autobahn-20.1.2.tar.gz) = 3d58a95c117e7bd98bd63178ad83b1b08b08c048 | |
4 | RMD160 (autobahn-19.10.1.tar.gz) = 941da3ec4a53727461441ab7fb5cc8a92d8c0848 | 4 | RMD160 (autobahn-20.1.2.tar.gz) = 4e9627ba1696f6ba1e1536a5d40cd82683064a64 | |
5 | SHA512 (autobahn-19.10.1.tar.gz) = 81f90aab690ef066a2f19b7bba2e1ede097fb87862d39d47575ae33045b2c4b33748bf1be7e4dadf7868b0854fedc249faace3a372ceb6888f7a4a267b7e7c25 | 5 | SHA512 (autobahn-20.1.2.tar.gz) = 5a2c2ba937abaf196b4370ce6a873f091ce4d08d438a65d96809c2c9146afc0d174b44e9c245fbe0332f523ef86fae620d7a5d9f2603e714b2b05d3ef980e662 | |
6 | Size (autobahn-19.10.1.tar.gz) = 605365 bytes | 6 | Size (autobahn-20.1.2.tar.gz) = 612566 bytes | |
7 | SHA1 (patch-setup.py) = f6dc41dbf480789b176b42bf12cbafd5a2076fde | 7 | SHA1 (patch-setup.py) = 53632fc991e747e79a51031952d11ed3456fe0b2 |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | $NetBSD: patch-setup.py,v 1.1 2019/05/30 09:10:13 adam Exp $ | 1 | $NetBSD: patch-setup.py,v 1.2 2020/01/23 14:33:18 adam Exp $ | |
2 | 2 | |||
3 | Relax test requirements. | 3 | Relax test requirements. | |
4 | 4 | |||
5 | --- setup.py.orig 2018-08-19 10:45:51.000000000 +0000 | 5 | --- setup.py.orig 2020-01-14 15:21:43.000000000 +0000 | |
6 | +++ setup.py | 6 | +++ setup.py | |
7 | @@ -167,7 +167,7 @@ if PY3: | 7 | @@ -155,7 +155,7 @@ extras_require_dev = [ | |
8 | 8 | |||
9 | # for testing by users with "python setup.py test" (not Tox, which we use) | 9 | # pytest 3.3.0 has dropped support for Python 3.3 | |
10 | test_requirements = [ | 10 | # https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23 | |
11 | - "pytest>=2.8.6,<3.3.0", # MIT license | 11 | - "pytest>=2.8.6,<3.3.0", # MIT license | |
12 | + "pytest>=2.8.6", # MIT license | 12 | + "pytest>=2.8.6", # MIT license | |
13 | "mock>=1.3.0", # BSD license | |||
14 | ] | |||
15 | 13 | |||
14 | "twine>=1.6.5", # Apache 2.0 | |||
15 | 'sphinx>=1.2.3', # BSD |