14
0

Accepting request 1202567 from devel:languages:python

- update to 24.8.0:
  * Fix (test) issues with Twisted 24.7.0
  * Remove usage of "six"

OBS-URL: https://build.opensuse.org/request/show/1202567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-txtorcon?expand=0&rev=16
This commit is contained in:
2024-09-23 13:23:47 +00:00
committed by Git OBS Bridge
4 changed files with 17 additions and 10 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 23 08:49:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com> Fri Dec 29 09:02:35 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-txtorcon # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,20 @@
Name: python-txtorcon Name: python-txtorcon
Version: 23.11.0 Version: 24.8.0
Release: 0 Release: 0
Summary: Twisted-based asynchronous Tor control protocol implementation Summary: Twisted-based asynchronous Tor control protocol implementation
License: MIT License: MIT
URL: https://txtorcon.readthedocs.org URL: https://txtorcon.readthedocs.org
Source: https://files.pythonhosted.org/packages/source/t/txtorcon/txtorcon-%{version}.tar.gz 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 setuptools >= 36.2}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Automat Requires: python-Automat
Requires: python-Twisted-tls >= 15.5.0 Requires: python-Twisted-tls >= 15.5.0
Requires: python-cryptography Requires: python-cryptography
Requires: python-six
Requires: python-zope.interface >= 3.6.1 Requires: python-zope.interface >= 3.6.1
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
@@ -37,7 +38,6 @@ BuildRequires: lsof
BuildRequires: %{python_module Automat} BuildRequires: %{python_module Automat}
BuildRequires: %{python_module Twisted-tls >= 15.5.0} BuildRequires: %{python_module Twisted-tls >= 15.5.0}
BuildRequires: %{python_module cryptography} BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module six}
BuildRequires: %{python_module zope.interface >= 3.6.1} BuildRequires: %{python_module zope.interface >= 3.6.1}
%python_subpackages %python_subpackages
@@ -51,10 +51,10 @@ unit-tests, examples, state-tracking code and configuration abstraction.
sed -i '/data_files/,/\]\,/s/^/#/' setup.py sed -i '/data_files/,/\]\,/s/^/#/' setup.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
# remove the tests from distribution # remove the tests from distribution
%python_expand rm -rf %{buildroot}%{$python_sitelib}/test/ %python_expand rm -rf %{buildroot}%{$python_sitelib}/test/
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -69,7 +69,7 @@ $python -m twisted.trial test
%files %{python_files} %files %{python_files}
%license LICENSE docs/*.rst %license LICENSE docs/*.rst
%{python_sitelib}/txtorcon %{python_sitelib}/txtorcon
%{python_sitelib}/txtorcon-%{version}*-info %{python_sitelib}/txtorcon-%{version}.dist-info
%{python_sitelib}/twisted/plugins/* %{python_sitelib}/twisted/plugins/*
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71f85ae93d76d726510059c9ed74e608bc5a5c9f7d103853b49e414280406a2f
size 313549

3
txtorcon-24.8.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:befe19138d9c8c5307b6ee6d4fe446d0c201ffd1cc404aeb265ed90309978ad0
size 312753