From fd113ffbccab86ab240e5f13dfdd7e60eb6d799f063e9d6f1085340f8b9b684c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 19 Mar 2019 14:51:16 +0000 Subject: [PATCH 1/6] - Update to 19.3.2: * no upstream changelog - List all the missing requirements based on setup.py OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=10 --- autobahn-18.9.2.tar.gz | 3 -- autobahn-19.3.2.tar.gz | 3 ++ python-autobahn.changes | 7 +++++ python-autobahn.spec | 67 ++++++++++++++++++++++++++++++++--------- 4 files changed, 62 insertions(+), 18 deletions(-) delete mode 100644 autobahn-18.9.2.tar.gz create mode 100644 autobahn-19.3.2.tar.gz diff --git a/autobahn-18.9.2.tar.gz b/autobahn-18.9.2.tar.gz deleted file mode 100644 index cb626fa..0000000 --- a/autobahn-18.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d98b924f06865700116ee616027e4a6d678004a7b44e0d01cb262eab333112d6 -size 225185 diff --git a/autobahn-19.3.2.tar.gz b/autobahn-19.3.2.tar.gz new file mode 100644 index 0000000..4a16fb8 --- /dev/null +++ b/autobahn-19.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70a221d5e01923ea81457de04a3270ea2de376a759345ec4e8693db216c603a9 +size 265350 diff --git a/python-autobahn.changes b/python-autobahn.changes index c2814d9..8d64a6b 100644 --- a/python-autobahn.changes +++ b/python-autobahn.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 19 14:37:02 UTC 2019 - Tomáš Chvátal + +- Update to 19.3.2: + * no upstream changelog +- List all the missing requirements based on setup.py + ------------------------------------------------------------------- Thu Oct 18 09:23:10 UTC 2018 - Tomáš Chvátal diff --git a/python-autobahn.spec b/python-autobahn.spec index ce47334..ce3291d 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -1,7 +1,7 @@ # # spec file for package python-autobahn # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,31 +18,67 @@ %{?!python_module:%define python_module() python-%{**} %{!?skip_python3:python3-%{**}}} Name: python-autobahn -Version: 18.9.2 +Version: 19.3.2 Release: 0 Summary: WebSocket and WAMP in Python for Twisted and asyncio License: MIT Group: Development/Languages/Python -URL: http://crossbar.io/autobahn +URL: https://github.com/crossbario/autobahn-python Source: https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz -BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module Twisted >= 12.1.0} +BuildRequires: %{python_module argon2_cffi >= 18.1.0} +BuildRequires: %{python_module cbor >= 1.0.0} +BuildRequires: %{python_module cbor2 >= 4.1.2} +BuildRequires: %{python_module cffi >= 1.11.5} +BuildRequires: %{python_module flatbuffers >= 1.10} +BuildRequires: %{python_module lz4 >= 0.7.0} +BuildRequires: %{python_module mock >= 1.3.0} +BuildRequires: %{python_module msgpack >= 0.6.1} +BuildRequires: %{python_module passlib >= 1.7.1} +BuildRequires: %{python_module py-ubjson >= 0.8.4} +BuildRequires: %{python_module pynacl >= 1.0.1} +BuildRequires: %{python_module pyopenssl >= 16.2.0} +BuildRequires: %{python_module pyqrcode >= 1.1} +BuildRequires: %{python_module pytest >= 2.8.6} +BuildRequires: %{python_module pytrie >= 0.2} +BuildRequires: %{python_module service_identity >= 16.0.0} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six >= 1.11.0} +BuildRequires: %{python_module txaio >= 18.8.1} +BuildRequires: %{python_module ujson >= 1.35} +BuildRequires: %{python_module wsaccel >= 0.6.2} +BuildRequires: %{python_module zope.interface >= 3.6.0} BuildRequires: fdupes +BuildRequires: python-futures >= 3.0.4 BuildRequires: python-rpm-macros BuildRequires: python2-trollius +BuildRequires: python3-pytest-aiohttp BuildRequires: python3-pytest-asyncio -Requires: python-Twisted -Requires: python-six -Requires: python-txaio +Requires: python-Twisted >= 12.1.0 +Requires: python-argon2_cffi >= 18.1.0 +Requires: python-cbor >= 1.0.0 +Requires: python-cbor2 >= 4.1.2 +Requires: python-cffi >= 1.11.5 +Requires: python-flatbuffers >= 1.10 +Requires: python-lz4 >= 0.7.0 +Requires: python-msgpack >= 0.6.1 +Requires: python-passlib >= 1.7.1 +Requires: python-py-ubjson >= 0.8.4 +Requires: python-pynacl >= 1.0.1} +Requires: python-pyopenssl >= 16.2.0 +Requires: python-pyqrcode >= 1.1 +Requires: python-pytrie >= 0.2 +Requires: python-service_identity >= 16.0.0 +Requires: python-six >= 1.11.0 +Requires: python-txaio >= 18.8.1 +Requires: python-ujson >= 1.35 +Requires: python-wsaccel >= 0.6.2 +Requires: python-zope.interface >= 3.6.0 BuildArch: noarch -# SECTION test requirements -BuildRequires: %{python_module Twisted} -BuildRequires: %{python_module six >= 1.10.0} -BuildRequires: %{python_module txaio} -# /SECTION +#https://github.com/crossbario/autobahn-python/blob/master/setup.py#L108 %ifpython2 -Requires: python-trollius +Requires: python-futures >= 3.0.4 +Requires: python-trollius >= 2.0 %endif %python_subpackages @@ -54,6 +90,7 @@ asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket. %setup -q -n autobahn-%{version} %build +export AUTOBAHN_USE_NVX=true %python_build %install @@ -62,7 +99,7 @@ asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket. %check export USE_ASYNCIO=true -%{python_expand PYTHONPATH=. $python -m pytest autobahn} +%pytest %files %{python_files} %license LICENSE From bea9b0a4bbd84dd439dbcbcaedc86cb5047f2b4c829ccf38af3336d5e5864ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 26 Mar 2019 12:25:08 +0000 Subject: [PATCH 2/6] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=11 --- python-autobahn.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-autobahn.spec b/python-autobahn.spec index ce3291d..6ae84a1 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -25,6 +25,7 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/crossbario/autobahn-python Source: https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz +BuildRequires: %{python_module PyNaCl >= 1.0.1} BuildRequires: %{python_module Twisted >= 12.1.0} BuildRequires: %{python_module argon2_cffi >= 18.1.0} BuildRequires: %{python_module cbor >= 1.0.0} @@ -36,8 +37,7 @@ BuildRequires: %{python_module mock >= 1.3.0} BuildRequires: %{python_module msgpack >= 0.6.1} BuildRequires: %{python_module passlib >= 1.7.1} BuildRequires: %{python_module py-ubjson >= 0.8.4} -BuildRequires: %{python_module pynacl >= 1.0.1} -BuildRequires: %{python_module pyopenssl >= 16.2.0} +BuildRequires: %{python_module pyOpenSSL >= 16.2.0} BuildRequires: %{python_module pyqrcode >= 1.1} BuildRequires: %{python_module pytest >= 2.8.6} BuildRequires: %{python_module pytrie >= 0.2} @@ -54,6 +54,7 @@ BuildRequires: python-rpm-macros BuildRequires: python2-trollius BuildRequires: python3-pytest-aiohttp BuildRequires: python3-pytest-asyncio +Requires: python-PyNaCl >= 1.0.1} Requires: python-Twisted >= 12.1.0 Requires: python-argon2_cffi >= 18.1.0 Requires: python-cbor >= 1.0.0 @@ -64,8 +65,7 @@ Requires: python-lz4 >= 0.7.0 Requires: python-msgpack >= 0.6.1 Requires: python-passlib >= 1.7.1 Requires: python-py-ubjson >= 0.8.4 -Requires: python-pynacl >= 1.0.1} -Requires: python-pyopenssl >= 16.2.0 +Requires: python-pyOpenSSL >= 16.2.0 Requires: python-pyqrcode >= 1.1 Requires: python-pytrie >= 0.2 Requires: python-service_identity >= 16.0.0 From 799d505f4acc8e141fc30cfa6c25b83b1c515f544fcb32b570b6ef2dbc77eaae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 26 Mar 2019 13:19:21 +0000 Subject: [PATCH 3/6] - Update to 19.3.3: * No upstream changelog OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=12 --- autobahn-19.3.2.tar.gz | 3 --- autobahn-19.3.3.tar.gz | 3 +++ python-autobahn.changes | 6 ++++++ python-autobahn.spec | 6 +++--- 4 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 autobahn-19.3.2.tar.gz create mode 100644 autobahn-19.3.3.tar.gz diff --git a/autobahn-19.3.2.tar.gz b/autobahn-19.3.2.tar.gz deleted file mode 100644 index 4a16fb8..0000000 --- a/autobahn-19.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70a221d5e01923ea81457de04a3270ea2de376a759345ec4e8693db216c603a9 -size 265350 diff --git a/autobahn-19.3.3.tar.gz b/autobahn-19.3.3.tar.gz new file mode 100644 index 0000000..334c0e9 --- /dev/null +++ b/autobahn-19.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e92f40ab26fb51672c25cd301ae79a549c6ff7748effe6abdea2ef31d5363a4f +size 267907 diff --git a/python-autobahn.changes b/python-autobahn.changes index 8d64a6b..9f7f568 100644 --- a/python-autobahn.changes +++ b/python-autobahn.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 26 13:18:38 UTC 2019 - Tomáš Chvátal + +- Update to 19.3.3: + * No upstream changelog + ------------------------------------------------------------------- Tue Mar 19 14:37:02 UTC 2019 - Tomáš Chvátal diff --git a/python-autobahn.spec b/python-autobahn.spec index 6ae84a1..fb7718a 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} %{!?skip_python3:python3-%{**}}} Name: python-autobahn -Version: 19.3.2 +Version: 19.3.3 Release: 0 Summary: WebSocket and WAMP in Python for Twisted and asyncio License: MIT @@ -26,6 +26,7 @@ Group: Development/Languages/Python URL: https://github.com/crossbario/autobahn-python Source: https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz BuildRequires: %{python_module PyNaCl >= 1.0.1} +BuildRequires: %{python_module PyQRCode >= 1.1} BuildRequires: %{python_module Twisted >= 12.1.0} BuildRequires: %{python_module argon2_cffi >= 18.1.0} BuildRequires: %{python_module cbor >= 1.0.0} @@ -38,7 +39,6 @@ BuildRequires: %{python_module msgpack >= 0.6.1} BuildRequires: %{python_module passlib >= 1.7.1} BuildRequires: %{python_module py-ubjson >= 0.8.4} BuildRequires: %{python_module pyOpenSSL >= 16.2.0} -BuildRequires: %{python_module pyqrcode >= 1.1} BuildRequires: %{python_module pytest >= 2.8.6} BuildRequires: %{python_module pytrie >= 0.2} BuildRequires: %{python_module service_identity >= 16.0.0} @@ -55,6 +55,7 @@ BuildRequires: python2-trollius BuildRequires: python3-pytest-aiohttp BuildRequires: python3-pytest-asyncio Requires: python-PyNaCl >= 1.0.1} +Requires: python-PyQRCode >= 1.1 Requires: python-Twisted >= 12.1.0 Requires: python-argon2_cffi >= 18.1.0 Requires: python-cbor >= 1.0.0 @@ -66,7 +67,6 @@ Requires: python-msgpack >= 0.6.1 Requires: python-passlib >= 1.7.1 Requires: python-py-ubjson >= 0.8.4 Requires: python-pyOpenSSL >= 16.2.0 -Requires: python-pyqrcode >= 1.1 Requires: python-pytrie >= 0.2 Requires: python-service_identity >= 16.0.0 Requires: python-six >= 1.11.0 From 2f97b3bf1949d7ecddb96bb04bcd9e560d4555f0d4dea324c063acbd308bc51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 1 Apr 2019 10:54:57 +0000 Subject: [PATCH 4/6] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=13 --- python-autobahn.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-autobahn.spec b/python-autobahn.spec index fb7718a..6dd3b86 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -28,7 +28,7 @@ Source: https://files.pythonhosted.org/packages/source/a/autobahn/autoba BuildRequires: %{python_module PyNaCl >= 1.0.1} BuildRequires: %{python_module PyQRCode >= 1.1} BuildRequires: %{python_module Twisted >= 12.1.0} -BuildRequires: %{python_module argon2_cffi >= 18.1.0} +BuildRequires: %{python_module argon2-cffi >= 18.1.0} BuildRequires: %{python_module cbor >= 1.0.0} BuildRequires: %{python_module cbor2 >= 4.1.2} BuildRequires: %{python_module cffi >= 1.11.5} @@ -57,7 +57,7 @@ BuildRequires: python3-pytest-asyncio Requires: python-PyNaCl >= 1.0.1} Requires: python-PyQRCode >= 1.1 Requires: python-Twisted >= 12.1.0 -Requires: python-argon2_cffi >= 18.1.0 +Requires: python-argon2-cffi >= 18.1.0 Requires: python-cbor >= 1.0.0 Requires: python-cbor2 >= 4.1.2 Requires: python-cffi >= 1.11.5 From a445d940eca24f41e27a18a0611f1f46911233777004836be62b49e6fa9845bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 1 Apr 2019 11:05:29 +0000 Subject: [PATCH 5/6] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=14 --- python-autobahn.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/python-autobahn.spec b/python-autobahn.spec index 6dd3b86..b931789 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -32,6 +32,7 @@ BuildRequires: %{python_module argon2-cffi >= 18.1.0} BuildRequires: %{python_module cbor >= 1.0.0} BuildRequires: %{python_module cbor2 >= 4.1.2} BuildRequires: %{python_module cffi >= 1.11.5} +BuildRequires: %{python_module devel} BuildRequires: %{python_module flatbuffers >= 1.10} BuildRequires: %{python_module lz4 >= 0.7.0} BuildRequires: %{python_module mock >= 1.3.0} @@ -54,7 +55,7 @@ BuildRequires: python-rpm-macros BuildRequires: python2-trollius BuildRequires: python3-pytest-aiohttp BuildRequires: python3-pytest-asyncio -Requires: python-PyNaCl >= 1.0.1} +Requires: python-PyNaCl >= 1.0.1 Requires: python-PyQRCode >= 1.1 Requires: python-Twisted >= 12.1.0 Requires: python-argon2-cffi >= 18.1.0 @@ -74,8 +75,6 @@ Requires: python-txaio >= 18.8.1 Requires: python-ujson >= 1.35 Requires: python-wsaccel >= 0.6.2 Requires: python-zope.interface >= 3.6.0 -BuildArch: noarch -#https://github.com/crossbario/autobahn-python/blob/master/setup.py#L108 %ifpython2 Requires: python-futures >= 3.0.4 Requires: python-trollius >= 2.0 @@ -94,15 +93,18 @@ export AUTOBAHN_USE_NVX=true %python_build %install +export AUTOBAHN_USE_NVX=true %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check export USE_ASYNCIO=true -%pytest +export AUTOBAHN_USE_NVX=true +%pytest_arch autobahn/ %files %{python_files} %license LICENSE -%{python_sitelib}/* +%doc README.rst +%{python_sitearch}/* %changelog From 39c4829c50d2a28d485bf8248ccf0f56cd86a279787210a6fe662587ddef3212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 5 Apr 2019 08:12:51 +0000 Subject: [PATCH 6/6] - Fix the %pytest_arch call to pass properly OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=15 --- python-autobahn.changes | 5 +++++ python-autobahn.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-autobahn.changes b/python-autobahn.changes index 9f7f568..e35d016 100644 --- a/python-autobahn.changes +++ b/python-autobahn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 5 08:12:36 UTC 2019 - Tomáš Chvátal + +- Fix the %pytest_arch call to pass properly + ------------------------------------------------------------------- Tue Mar 26 13:18:38 UTC 2019 - Tomáš Chvátal diff --git a/python-autobahn.spec b/python-autobahn.spec index b931789..e4c1596 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -99,8 +99,8 @@ export AUTOBAHN_USE_NVX=true %check export USE_ASYNCIO=true -export AUTOBAHN_USE_NVX=true -%pytest_arch autobahn/ +export AUTOBAHN_USE_NVX=true +%pytest_arch %{buildroot}%{$python_sitearch}/autobahn/ %files %{python_files} %license LICENSE