15
0
forked from pool/python-irc

- Update to 17.1:

* Rely on importlib_metadata for loading version from metadata. Removes implicit dependency on setuptools and pkg_resources.
  * #158: The AsyncIO server now accepts a connection factory to enable features like SSL and IPv6 support.
  * #155: SimpleIRCClient now has a dcc method for initiating and associating a DCCConnection object with the client. DCCConnection.listen now accepts a address parameter. Deprecated SimpleIRCClient.dcc_listen and SimpleIRCClient.dcc_connect in favor of the better separation of concerns. Clients should replace:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-irc?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2019-04-05 11:26:05 +00:00
committed by Git OBS Bridge
parent 3e45bf7f0b
commit 0db0a8b91a
4 changed files with 22 additions and 12 deletions

View File

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

3
irc-17.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Apr 5 11:22:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 17.1:
* Rely on importlib_metadata for loading version from metadata. Removes implicit dependency on setuptools and pkg_resources.
* #158: The AsyncIO server now accepts a connection factory to enable features like SSL and IPv6 support.
* #155: SimpleIRCClient now has a dcc method for initiating and associating a DCCConnection object with the client. DCCConnection.listen now accepts a address parameter. Deprecated SimpleIRCClient.dcc_listen and SimpleIRCClient.dcc_connect in favor of the better separation of concerns. Clients should replace:
-------------------------------------------------------------------
Wed Feb 27 02:30:05 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -20,13 +20,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-irc
Version: 17.0
Version: 17.1
Release: 0
Summary: A set of Python modules for IRC support
License: LGPL-2.1-or-later
Group: Development/Libraries/Python
URL: https://github.com/jaraco/irc
Source: https://files.pythonhosted.org/packages/source/i/irc/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module jaraco.collections}
BuildRequires: %{python_module jaraco.functools >= 1.10}
BuildRequires: %{python_module jaraco.itertools >= 1.8}
@@ -39,13 +40,7 @@ BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module tempora >= 1.6}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-irclib = %{version}
Obsoletes: %{name}-doc
Obsoletes: python-irclib < %{version}
BuildArch: noarch
%if 0%{?suse_version} > 1500
BuildRequires: %{python_module jaraco.stream}
%endif
Requires: python-importlib-metadata
Requires: python-jaraco.collections
Requires: python-jaraco.functools >= 1.20
Requires: python-jaraco.itertools >= 1.8
@@ -55,6 +50,13 @@ Requires: python-jaraco.text
Requires: python-more-itertools
Requires: python-pytz
Requires: python-tempora >= 1.6
Provides: python-irclib = %{version}
Obsoletes: %{name}-doc
Obsoletes: python-irclib < %{version}
BuildArch: noarch
%if 0%{?suse_version} > 1500
BuildRequires: %{python_module jaraco.stream}
%endif
%python_subpackages
%description
@@ -77,7 +79,7 @@ sed -i 's/--flake8//' pytest.ini
%if 0%{?suse_version} > 1500
%check
%python_exec -m pytest
%pytest
%endif
%files %{python_files}