From 7039a523ed03f1019f7701c2306736c7baa2d936c8dedca37bd2e7982853a08b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 23 Sep 2024 08:52:29 +0000 Subject: [PATCH] - update to 24.8.0: * Fix (test) issues with Twisted 24.7.0 * Remove usage of "six" OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txtorcon?expand=0&rev=31 --- python-txtorcon.changes | 7 +++++++ python-txtorcon.spec | 14 +++++++------- txtorcon-23.11.0.tar.gz | 3 --- txtorcon-24.8.0.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 10 deletions(-) delete mode 100644 txtorcon-23.11.0.tar.gz create mode 100644 txtorcon-24.8.0.tar.gz diff --git a/python-txtorcon.changes b/python-txtorcon.changes index c233366..d94d26e 100644 --- a/python-txtorcon.changes +++ b/python-txtorcon.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 23 08:49:42 UTC 2024 - Dirk Müller + +- update to 24.8.0: + * Fix (test) issues with Twisted 24.7.0 + * Remove usage of "six" + ------------------------------------------------------------------- Fri Dec 29 09:02:35 UTC 2023 - Dirk Müller diff --git a/python-txtorcon.spec b/python-txtorcon.spec index 8c5f0b9..22d5c87 100644 --- a/python-txtorcon.spec +++ b/python-txtorcon.spec @@ -1,7 +1,7 @@ # # spec file for package python-txtorcon # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,19 +17,20 @@ Name: python-txtorcon -Version: 23.11.0 +Version: 24.8.0 Release: 0 Summary: Twisted-based asynchronous Tor control protocol implementation License: MIT URL: https://txtorcon.readthedocs.org Source: https://files.pythonhosted.org/packages/source/t/txtorcon/txtorcon-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 36.2} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Automat Requires: python-Twisted-tls >= 15.5.0 Requires: python-cryptography -Requires: python-six Requires: python-zope.interface >= 3.6.1 BuildArch: noarch # SECTION test requirements @@ -37,7 +38,6 @@ BuildRequires: lsof BuildRequires: %{python_module Automat} BuildRequires: %{python_module Twisted-tls >= 15.5.0} BuildRequires: %{python_module cryptography} -BuildRequires: %{python_module six} BuildRequires: %{python_module zope.interface >= 3.6.1} %python_subpackages @@ -51,10 +51,10 @@ unit-tests, examples, state-tracking code and configuration abstraction. sed -i '/data_files/,/\]\,/s/^/#/' setup.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install # remove the tests from distribution %python_expand rm -rf %{buildroot}%{$python_sitelib}/test/ %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -69,7 +69,7 @@ $python -m twisted.trial test %files %{python_files} %license LICENSE docs/*.rst %{python_sitelib}/txtorcon -%{python_sitelib}/txtorcon-%{version}*-info +%{python_sitelib}/txtorcon-%{version}.dist-info %{python_sitelib}/twisted/plugins/* %changelog diff --git a/txtorcon-23.11.0.tar.gz b/txtorcon-23.11.0.tar.gz deleted file mode 100644 index 2216378..0000000 --- a/txtorcon-23.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:71f85ae93d76d726510059c9ed74e608bc5a5c9f7d103853b49e414280406a2f -size 313549 diff --git a/txtorcon-24.8.0.tar.gz b/txtorcon-24.8.0.tar.gz new file mode 100644 index 0000000..b5f9d27 --- /dev/null +++ b/txtorcon-24.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:befe19138d9c8c5307b6ee6d4fe446d0c201ffd1cc404aeb265ed90309978ad0 +size 312753