Hello community,
here is the log from the commit of package python-verboselogs for openSUSE:Factory checked in at 2018-09-24 13:12:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-verboselogs (Old)
and /work/SRC/openSUSE:Factory/.python-verboselogs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-verboselogs"
Mon Sep 24 13:12:19 2018 rev:3 rq:636888 version:1.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-verboselogs/python-verboselogs.changes 2018-07-31 16:01:13.311732103 +0200
+++ /work/SRC/openSUSE:Factory/.python-verboselogs.new/python-verboselogs.changes 2018-09-24 13:12:20.233804045 +0200
@@ -1,0 +2,11 @@
+Thu Sep 20 12:14:29 UTC 2018 - Tomáš Chvátal
+
+- Fix build with new pylint-2.0:
+ * verboselogs-pylint2.patch
+
+-------------------------------------------------------------------
+Mon Sep 17 12:46:09 UTC 2018 - Tomáš Chvátal
+
+- Update the URL to point to the active github
+
+-------------------------------------------------------------------
New:
----
verboselogs-pylint2.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-verboselogs.spec ++++++
--- /var/tmp/diff_new_pack.EhIxTy/_old 2018-09-24 13:12:21.109802503 +0200
+++ /var/tmp/diff_new_pack.EhIxTy/_new 2018-09-24 13:12:21.113802496 +0200
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -23,21 +23,21 @@
Summary: Verbose logging level for Python's logging module
License: MIT
Group: Development/Languages/Python
-Url: https://verboselogs.readthedocs.io
+URL: https://github.com/xolox/python-verboselogs
Source: https://files.pythonhosted.org/packages/source/v/verboselogs/verboselogs-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Patch0: verboselogs-pylint2.patch
+Recommends: python-pylint
+BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mock >= 1.0.1}
BuildRequires: %{python_module pylint}
BuildRequires: %{python_module pytest >= 2.6.1}
BuildRequires: %{python_module pytest-cov >= 2.2.1}
# /SECTION
-Recommends: python-pylint
-BuildArch: noarch
-
%python_subpackages
%description
@@ -52,6 +52,7 @@
%prep
%setup -q -n verboselogs-%{version}
+%patch0 -p1
%build
%python_build
++++++ verboselogs-pylint2.patch ++++++
--- verboselogs-1.7/verboselogs/pylint.py.old 2018-09-20 14:13:06.803001006 +0200
+++ verboselogs-1.7/verboselogs/pylint.py 2018-09-20 14:13:16.619173797 +0200
@@ -32,5 +32,5 @@
# Register the above methods with Pylint.
-MANAGER.register_transform(scoped_nodes.Class, verboselogs_class_transform)
+MANAGER.register_transform(scoped_nodes.ClassDef, verboselogs_class_transform)
MANAGER.register_transform(scoped_nodes.Module, verboselogs_module_transform)