From 102c638f4b18ca54f181ce9a0517be00ea7dcddd91d99ee9efdf9c88bee3b38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 11 Mar 2020 09:28:44 +0000 Subject: [PATCH] Accepting request 783694 from home:pgajdos:python - version update to 0.8.2 * Fixed bug #79 via #80 * Follow-up for 0.8.1: #80 - fix deps, test package OBS-URL: https://build.opensuse.org/request/show/783694 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txZMQ?expand=0&rev=9 --- python-txZMQ.changes | 8 ++++++++ python-txZMQ.spec | 17 +++++++++++------ txZMQ-0.8.0.tar.gz | 3 --- txZMQ-0.8.2.tar.gz | 3 +++ 4 files changed, 22 insertions(+), 9 deletions(-) delete mode 100644 txZMQ-0.8.0.tar.gz create mode 100644 txZMQ-0.8.2.tar.gz diff --git a/python-txZMQ.changes b/python-txZMQ.changes index ceaa27e..0d0a82c 100644 --- a/python-txZMQ.changes +++ b/python-txZMQ.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 11 08:57:07 UTC 2020 - pgajdos@suse.com + +- version update to 0.8.2 + * Fixed bug #79 via #80 + * Follow-up for 0.8.1: #80 +- fix deps, test package + ------------------------------------------------------------------- Tue Dec 4 12:55:30 UTC 2018 - Matej Cepl diff --git a/python-txZMQ.spec b/python-txZMQ.spec index dd9aa77..48399f6 100644 --- a/python-txZMQ.spec +++ b/python-txZMQ.spec @@ -1,7 +1,7 @@ # # spec file for package python-txZMQ # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-txZMQ -Version: 0.8.0 +Version: 0.8.2 Release: 0 Summary: Twisted bindings for ZeroMQ License: GPL-2.0-only @@ -29,7 +28,14 @@ Source: https://files.pythonhosted.org/packages/source/t/txZMQ/txZMQ-%{v BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Twisted >= 10.0 +Requires: python-pyzmq >= 13 BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Twisted >= 10.0} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pyzmq >= 13} +# /SECTION %python_subpackages %description @@ -45,10 +51,9 @@ It supports both CPython and PyPy, and ZeroMQ library versions 2.2.x or 3.2.x. %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} + %check -%python_exec setup.py test -%endif +%pytest %files %{python_files} %license LICENSE.txt diff --git a/txZMQ-0.8.0.tar.gz b/txZMQ-0.8.0.tar.gz deleted file mode 100644 index 99cea85..0000000 --- a/txZMQ-0.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:718476042c78732caba592104f2bd16a0f9f3fbc2c169d752526a25a12cb35ec -size 19229 diff --git a/txZMQ-0.8.2.tar.gz b/txZMQ-0.8.2.tar.gz new file mode 100644 index 0000000..49bbf36 --- /dev/null +++ b/txZMQ-0.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07a9a480e58d4d732eef9efd7e264f2348cbf27ee82b338ec818a8504006e1c0 +size 19254