diff --git a/irc-17.1.tar.gz b/irc-17.1.tar.gz deleted file mode 100644 index aa72b7e..0000000 --- a/irc-17.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c19aeee800dbad792179d70dff1281c06fec220323f8ec34150cd94357f383b -size 90266 diff --git a/irc-18.0.0.tar.gz b/irc-18.0.0.tar.gz new file mode 100644 index 0000000..359382b --- /dev/null +++ b/irc-18.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:989b438363c41b371356be6f68f8cdbb7c7748234ae9494e9d16ee5f4d4ae5e1 +size 91529 diff --git a/python-irc.changes b/python-irc.changes index 093cdd4..31de2c5 100644 --- a/python-irc.changes +++ b/python-irc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Mar 15 09:48:23 UTC 2020 - Tomáš Chvátal + +- Update to 18.0.0: + * Require Python 3.6 or later. + ------------------------------------------------------------------- Tue Apr 30 09:17:40 UTC 2019 - Bernhard Wiedemann diff --git a/python-irc.spec b/python-irc.spec index 30c14b3..ff6e752 100644 --- a/python-irc.spec +++ b/python-irc.spec @@ -1,7 +1,7 @@ # # spec file for package python-irc # -# Copyright (c) 2019 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 @@ -20,18 +20,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-irc -Version: 17.1 +Version: 18.0.0 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} +BuildRequires: %{python_module jaraco.functools >= 1.20} BuildRequires: %{python_module jaraco.logging} +BuildRequires: %{python_module jaraco.stream} BuildRequires: %{python_module jaraco.text} BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module pytest} @@ -43,7 +42,6 @@ BuildRequires: python-rpm-macros Requires: python-importlib-metadata Requires: python-jaraco.collections Requires: python-jaraco.functools >= 1.20 -Requires: python-jaraco.itertools >= 1.8 Requires: python-jaraco.logging Requires: python-jaraco.stream Requires: python-jaraco.text @@ -54,9 +52,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 @@ -68,7 +63,7 @@ connections. %prep %setup -q -n %{modname}-%{version} sed -i -e '1s!/env python!/python!' scripts/testbot.py -sed -i 's/--flake8//' pytest.ini +rm pytest.ini %build %python_build @@ -77,11 +72,10 @@ sed -i 's/--flake8//' pytest.ini %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if 0%{?suse_version} > 1500 %check export PYTHONDONTWRITEBYTECODE=1 -%pytest -%endif +# test_privmsg_sends_msg https://github.com/jaraco/irc/issues/165 +%pytest -k 'not test_privmsg_sends_msg' %files %{python_files} %license LICENSE