Hello community,
here is the log from the commit of package python-sleekxmpp for
openSUSE:Factory checked in at 2019-07-04 15:42:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sleekxmpp (Old)
and /work/SRC/openSUSE:Factory/.python-sleekxmpp.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sleekxmpp"
Thu Jul 4 15:42:15 2019 rev:7 rq:707606 version:1.3.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sleekxmpp/python-sleekxmpp.changes
2018-12-07 14:38:57.346806824 +0100
+++
/work/SRC/openSUSE:Factory/.python-sleekxmpp.new.4615/python-sleekxmpp.changes
2019-07-04 15:42:16.570019856 +0200
@@ -1,0 +2,5 @@
+Tue Jun 4 12:05:17 UTC 2019 - [email protected]
+
+- run the testsuite
+
+-------------------------------------------------------------------
Old:
----
sleekxmpp-1.3.3.tar.gz
New:
----
sleek-1.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sleekxmpp.spec ++++++
--- /var/tmp/diff_new_pack.nDaHaQ/_old 2019-07-04 15:42:17.322020758 +0200
+++ /var/tmp/diff_new_pack.nDaHaQ/_new 2019-07-04 15:42:17.322020758 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sleekxmpp
#
-# 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
@@ -25,7 +25,8 @@
License: MIT
Group: Development/Languages/Python
URL: https://github.com/fritzy/SleekXMPP
-Source:
https://files.pythonhosted.org/packages/source/s/%{_name}/%{_name}-%{version}.tar.gz
+# https://github.com/fritzy/SleekXMPP/issues/505
+Source:
https://github.com/fritzy/SleekXMPP/archive/sleek-%{version}.tar.gz
# PATCH-FIX-OPENSUSE sleekxmpp-fix-dnspython.patch [email protected] -- Fix
compatibility with recent dnspython.
Patch0: %{_name}-fix-dnspython.patch
# PATCH-FIX-OPENSUSE sleekxmpp-fix-legacyauth.patch [email protected] -- Fix an
error in legacyauth support.
@@ -34,6 +35,10 @@
Patch2: %{_name}-check-roster-push-origin.patch
BuildRequires: %{python_module dnspython}
BuildRequires: %{python_module xml}
+# SECTION test requirements
+BuildRequires: %{python_module pytest}
+BuildRequires: gpg
+# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2
@@ -50,7 +55,7 @@
%python_subpackages
%prep
-%setup -q -n %{_name}-%{version}
+%setup -q -n SleekXMPP-sleek-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
@@ -62,6 +67,12 @@
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}/
+%check
+# test_overall.py is skipped by upstream testall.py, too
+rm tests/{live_*.py,test_overall.py}
+# https://github.com/fritzy/SleekXMPP/issues/504
+%pytest -k 'not testUnknownException'
+
%files %{python_files}
%license LICENSE
%doc README.rst