From 3ddcc0d696fb9411a9088ada99fc7d8dc7d7f60712e6a2f8fcb89a856ee593ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 17 Jun 2019 10:31:19 +0000 Subject: [PATCH] Accepting request 710309 from home:pgajdos - version update to 19.0.0 * many upstream changes, see releases.rst - run testsuite - package documentation OBS-URL: https://build.opensuse.org/request/show/710309 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txtorcon?expand=0&rev=7 --- python-txtorcon.changes | 8 ++++++++ python-txtorcon.spec | 27 +++++++++++++++++++-------- txtorcon-0.20.0.tar.gz | 3 --- txtorcon-19.0.0.tar.gz | 3 +++ 4 files changed, 30 insertions(+), 11 deletions(-) delete mode 100644 txtorcon-0.20.0.tar.gz create mode 100644 txtorcon-19.0.0.tar.gz diff --git a/python-txtorcon.changes b/python-txtorcon.changes index ded948d..07ac544 100644 --- a/python-txtorcon.changes +++ b/python-txtorcon.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jun 17 09:15:00 UTC 2019 - pgajdos@suse.com + +- version update to 19.0.0 + * many upstream changes, see releases.rst +- run testsuite +- package documentation + ------------------------------------------------------------------- Tue Dec 4 12:55:28 UTC 2018 - Matej Cepl diff --git a/python-txtorcon.spec b/python-txtorcon.spec index 6686bce..aab9832 100644 --- a/python-txtorcon.spec +++ b/python-txtorcon.spec @@ -1,7 +1,7 @@ # # spec file for package python-txtorcon # -# 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,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} %{!?skip_python3:python3-%{**}}} Name: python-txtorcon -Version: 0.20.0 +Version: 19.0.0 Release: 0 Summary: Twisted-based asynchronous Tor control protocol implementation License: MIT @@ -29,15 +29,22 @@ BuildRequires: %{python_module setuptools >= 36.2} BuildRequires: fdupes BuildRequires: python-ipaddress BuildRequires: python-rpm-macros -Requires: python-GeoIP -Requires: python-Twisted +Requires: python-Automat +Requires: python-GeoIP >= 1.2.9 +Requires: python-Twisted >= 15.5.0 +Requires: python-incremental +Requires: python-zope.interface >= 3.6.1 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module GeoIP} -BuildRequires: %{python_module Twisted} +BuildRequires: %{python_module Automat} +BuildRequires: %{python_module GeoIP >= 1.2.9} +BuildRequires: %{python_module Twisted >= 15.5.0} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module zope.interface >= 3.6.1} # /SECTION %ifpython2 -Requires: python-ipaddress +Requires: python-ipaddress >= 1.0.16 %endif %python_subpackages @@ -59,8 +66,12 @@ sed -i '/data_files/,/\]\,/s/^/#/' setup.py %python_expand rm -rf %{buildroot}%{$python_sitelib}/test/ %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# looks more like integration tests +%pytest -k 'not (test_real_addr or test_return_geoip_object)' + %files %{python_files} -%license LICENSE +%license LICENSE docs/*.rst %{python_sitelib}/* %changelog diff --git a/txtorcon-0.20.0.tar.gz b/txtorcon-0.20.0.tar.gz deleted file mode 100644 index 3d2fc4c..0000000 --- a/txtorcon-0.20.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dc80cb76b3ddacef6d671c0a088cb1a45274c0858554c32ce55d0f41421c740e -size 268909 diff --git a/txtorcon-19.0.0.tar.gz b/txtorcon-19.0.0.tar.gz new file mode 100644 index 0000000..1b7f7ff --- /dev/null +++ b/txtorcon-19.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3731b740653e3f551412744f1fcd7fa6f04aa9fa37c90dc6c9152e619886bf3b +size 310418