commit python-cpplint for openSUSE:Factory

2020-08-31 Thread root
Hello community,

here is the log from the commit of package python-cpplint for openSUSE:Factory 
checked in at 2020-08-31 16:50:59

Comparing /work/SRC/openSUSE:Factory/python-cpplint (Old)
 and  /work/SRC/openSUSE:Factory/.python-cpplint.new.3399 (New)


Package is "python-cpplint"

Mon Aug 31 16:50:59 2020 rev:5 rq:830677 version:1.5.4

Changes:

--- /work/SRC/openSUSE:Factory/python-cpplint/python-cpplint.changes
2020-07-01 14:27:02.830833105 +0200
+++ /work/SRC/openSUSE:Factory/.python-cpplint.new.3399/python-cpplint.changes  
2020-08-31 16:51:38.252394778 +0200
@@ -1,0 +2,9 @@
+Mon Aug 31 06:47:40 UTC 2020 - Steve Kowalik 
+
+- Update to 1.5.4:
+  * Fix google#166, Allow space before C++11 attributes
+  * Fix #156: sed/gsed output parameter rejected
+  * Fix #156: sed/gsed output without other stdout information
+  * improvements to regression tests 
+
+---

Old:

  cpplint-1.5.2.tar.gz

New:

  cpplint-1.5.4.tar.gz



Other differences:
--
++ python-cpplint.spec ++
--- /var/tmp/diff_new_pack.02X0sM/_old  2020-08-31 16:51:41.060396139 +0200
+++ /var/tmp/diff_new_pack.02X0sM/_new  2020-08-31 16:51:41.064396141 +0200
@@ -18,11 +18,10 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-cpplint
-Version:1.5.2
+Version:1.5.4
 Release:0
 Summary:An automated checker to make sure a C++ file follows Google's 
C++ style guide
 License:BSD-3-Clause
-Group:  Development/Languages/Python
 URL:https://github.com/cpplint/cpplint
 Source: 
https://files.pythonhosted.org/packages/source/c/cpplint/cpplint-%{version}.tar.gz
 BuildRequires:  %{python_module pytest}

++ cpplint-1.5.2.tar.gz -> cpplint-1.5.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpplint-1.5.2/PKG-INFO new/cpplint-1.5.4/PKG-INFO
--- old/cpplint-1.5.2/PKG-INFO  2020-06-24 03:04:30.0 +0200
+++ new/cpplint-1.5.4/PKG-INFO  2020-08-18 02:50:19.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: cpplint
-Version: 1.5.2
+Version: 1.5.4
 Summary: Automated checker to ensure C++ files follow Google's style guide
 Home-page: https://github.com/cpplint/cpplint
 Maintainer: cpplint Developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpplint-1.5.2/cpplint.egg-info/PKG-INFO 
new/cpplint-1.5.4/cpplint.egg-info/PKG-INFO
--- old/cpplint-1.5.2/cpplint.egg-info/PKG-INFO 2020-06-24 03:04:30.0 
+0200
+++ new/cpplint-1.5.4/cpplint.egg-info/PKG-INFO 2020-08-18 02:50:19.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: cpplint
-Version: 1.5.2
+Version: 1.5.4
 Summary: Automated checker to ensure C++ files follow Google's style guide
 Home-page: https://github.com/cpplint/cpplint
 Maintainer: cpplint Developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpplint-1.5.2/cpplint.egg-info/SOURCES.txt 
new/cpplint-1.5.4/cpplint.egg-info/SOURCES.txt
--- old/cpplint-1.5.2/cpplint.egg-info/SOURCES.txt  2020-06-24 
03:04:30.0 +0200
+++ new/cpplint-1.5.4/cpplint.egg-info/SOURCES.txt  2020-08-18 
02:50:19.0 +0200
@@ -42,6 +42,7 @@
 samples/protobuf-sample/src/descriptor_unittest.cc
 samples/silly-sample/filters.def
 samples/silly-sample/includeorder_cfirst.def
+samples/silly-sample/sed.def
 samples/silly-sample/simple.def
 samples/silly-sample/src/sillycode.cpp
 samples/simple-sample/main.cpp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpplint-1.5.2/cpplint.py new/cpplint-1.5.4/cpplint.py
--- old/cpplint-1.5.2/cpplint.py2020-06-24 02:47:38.0 +0200
+++ new/cpplint-1.5.4/cpplint.py2020-08-18 02:48:26.0 +0200
@@ -59,7 +59,7 @@
 # if empty, use defaults
 _valid_extensions = set([])
 
-__VERSION__ = '1.5.2'
+__VERSION__ = '1.5.4'
 
 try:
   xrange  # Python 2
@@ -354,6 +354,13 @@
 'whitespace/todo',
 ]
 
+# keywords to use with --outputs which generate stdout for machine processing
+_MACHINE_OUTPUTS = [
+  'junit',
+  'sed',
+  'gsed'
+]
+
 # These error categories are no longer enforced by cpplint, but for backwards-
 # compatibility they may still appear in NOLINT comments.
 _LEGACY_ERROR_CATEGORIES = [
@@ -854,7 +861,7 @@
 # Files to exclude from linting. This is set by the --exclude flag.
 _excludes = None
 
-# Whether to supress PrintInfo messages
+# Whether to supress all PrintInfo messages, UNRELATED to --quiet flag
 _quiet = False
 
 # The allowed line length of files.
@@ -1344,7 +1351,9 @@
   self.PrintInfo('Total 

commit python-cpplint for openSUSE:Factory

2020-07-01 Thread root
Hello community,

here is the log from the commit of package python-cpplint for openSUSE:Factory 
checked in at 2020-07-01 14:27:01

Comparing /work/SRC/openSUSE:Factory/python-cpplint (Old)
 and  /work/SRC/openSUSE:Factory/.python-cpplint.new.3060 (New)


Package is "python-cpplint"

Wed Jul  1 14:27:01 2020 rev:4 rq:817961 version:1.5.2

Changes:

--- /work/SRC/openSUSE:Factory/python-cpplint/python-cpplint.changes
2020-05-28 09:19:47.241260253 +0200
+++ /work/SRC/openSUSE:Factory/.python-cpplint.new.3060/python-cpplint.changes  
2020-07-01 14:27:02.830833105 +0200
@@ -1,0 +2,21 @@
+Wed Jul  1 04:34:56 UTC 2020 - Steve Kowalik 
+
+- Add missing BuildRequires on textfixtures. 
+
+---
+Thu Jun 25 04:44:48 UTC 2020 - Steve Kowalik 
+
+-  Update to 1.5.2:
+   * Fix #83, output formats "sed" and "gsed" to auto-fix some issues
+   * Fix #92, new category "build/namespaces_headers" for unnamed namespaces 
in header file
+   * Sort list of files before processing
+   * Fix #144 Falso positive for indent when using QT macros "signals" and 
"slots"
+   * Fix #76 Parsing of class decorators that also use digits
+   * Fix #139 Add message "Relative paths like . and .. are not allowed"
+   * Revert #43 behavior change for include order from 1.5.0, and hide it 
behind command-line-flag --includeorder=standardcfirst. It turns out there is 
no easy objective way to tell c system headers from certain c++ library 
headers, and Google cpplint intentionally classifies some C++ header includes 
as C system header for simplicity.
+   * Libraries considered as C system headers using 
--includeorder=standardcfirst now also includes linux-specifc headers 
(glibc-devel, glibc-kernheaders, linux-libc-dev).
+   * Fix #43 false positives in header include order by checking includes 
against a list of c headers. Since this interprets certain include lines 
different than before, output about header include order changes.
+   * Fix #135: allow 'if constexpr' in readability/braces.
+   * Fix runtime warning: Close files after reading contents 
+
+---

Old:

  cpplint-1.4.5.tar.gz

New:

  cpplint-1.5.2.tar.gz



Other differences:
--
++ python-cpplint.spec ++
--- /var/tmp/diff_new_pack.KdjIMY/_old  2020-07-01 14:27:03.418834929 +0200
+++ /var/tmp/diff_new_pack.KdjIMY/_new  2020-07-01 14:27:03.422834941 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-cpplint
-Version:1.4.5
+Version:1.5.2
 Release:0
 Summary:An automated checker to make sure a C++ file follows Google's 
C++ style guide
 License:BSD-3-Clause
@@ -27,6 +27,7 @@
 Source: 
https://files.pythonhosted.org/packages/source/c/cpplint/cpplint-%{version}.tar.gz
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module testfixtures}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires(post): update-alternatives

++ cpplint-1.4.5.tar.gz -> cpplint-1.5.2.tar.gz ++
 3876 lines of diff (skipped)




commit python-cpplint for openSUSE:Factory

2020-05-28 Thread root
Hello community,

here is the log from the commit of package python-cpplint for openSUSE:Factory 
checked in at 2020-05-28 09:19:45

Comparing /work/SRC/openSUSE:Factory/python-cpplint (Old)
 and  /work/SRC/openSUSE:Factory/.python-cpplint.new.3606 (New)


Package is "python-cpplint"

Thu May 28 09:19:45 2020 rev:3 rq:809606 version:1.4.5

Changes:

--- /work/SRC/openSUSE:Factory/python-cpplint/python-cpplint.changes
2020-04-01 19:20:57.567601874 +0200
+++ /work/SRC/openSUSE:Factory/.python-cpplint.new.3606/python-cpplint.changes  
2020-05-28 09:19:47.241260253 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:50 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-cpplint.spec ++
--- /var/tmp/diff_new_pack.LKFqEo/_old  2020-05-28 09:19:47.805261285 +0200
+++ /var/tmp/diff_new_pack.LKFqEo/_new  2020-05-28 09:19:47.809261293 +0200
@@ -29,6 +29,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 %python_subpackages
 
@@ -51,15 +53,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/cpplint
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
+%post
+%python_install_alternative cpplint
+
+%postun
+%python_uninstall_alternative cpplint
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%python3_only %{_bindir}/cpplint
+%python_alternative %{_bindir}/cpplint
 %{python_sitelib}/*
 
 %changelog




commit python-cpplint for openSUSE:Factory

2020-04-01 Thread root
Hello community,

here is the log from the commit of package python-cpplint for openSUSE:Factory 
checked in at 2020-04-01 19:20:56

Comparing /work/SRC/openSUSE:Factory/python-cpplint (Old)
 and  /work/SRC/openSUSE:Factory/.python-cpplint.new.3248 (New)


Package is "python-cpplint"

Wed Apr  1 19:20:56 2020 rev:2 rq:790634 version:1.4.5

Changes:

--- /work/SRC/openSUSE:Factory/python-cpplint/python-cpplint.changes
2019-02-26 22:22:45.938058395 +0100
+++ /work/SRC/openSUSE:Factory/.python-cpplint.new.3248/python-cpplint.changes  
2020-04-01 19:20:57.567601874 +0200
@@ -1,0 +2,8 @@
+Wed Apr  1 14:13:44 UTC 2020 - Marketa Calabkova 
+
+- update to 1.4.5
+  * Add support for c++17 tuple destructuring
+  * Travis CI: Add Python 3.8 to the testing
+  * Fix linting unnecessary elif after break
+
+---

Old:

  cpplint-1.4.4.tar.gz

New:

  cpplint-1.4.5.tar.gz



Other differences:
--
++ python-cpplint.spec ++
--- /var/tmp/diff_new_pack.9qd62u/_old  2020-04-01 19:20:58.271602191 +0200
+++ /var/tmp/diff_new_pack.9qd62u/_new  2020-04-01 19:20:58.275602192 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cpplint
 #
-# 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
@@ -18,13 +18,14 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-cpplint
-Version:1.4.4
+Version:1.4.5
 Release:0
 Summary:An automated checker to make sure a C++ file follows Google's 
C++ style guide
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/cpplint/cpplint
 Source: 
https://files.pythonhosted.org/packages/source/c/cpplint/cpplint-%{version}.tar.gz
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -41,6 +42,9 @@
 %prep
 %setup -q -n cpplint-%{version}
 sed -i -e '/^#!\//, 1d' cpplint.py
+sed -i 's/pytest-runner//' setup.py
+sed -i 's/pytest-cov//' test-requirements
+sed -i 's/--cov-fail-under=75 --cov=cpplint//' setup.cfg
 
 %build
 %python_build
@@ -50,7 +54,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%pytest
 
 %files %{python_files}
 %license LICENSE

++ cpplint-1.4.4.tar.gz -> cpplint-1.4.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpplint-1.4.4/MANIFEST.in 
new/cpplint-1.4.5/MANIFEST.in
--- old/cpplint-1.4.4/MANIFEST.in   2019-02-24 08:42:20.0 +0100
+++ new/cpplint-1.4.5/MANIFEST.in   2019-12-14 13:50:36.0 +0100
@@ -1,6 +1,17 @@
 # MANIFEST.in file required to deliver test files with source tar
 include *.py
 include LICENSE
+include test-requirements
+include dev-requirements
 
 # all samples for clitest
 graft samples
+
+global-exclude .tox
+global-exclude *~
+global-exclude __pycache__
+global-exclude .coverage
+global-exclude *.py[co]
+global-exclude *.db
+global-exclude .git*
+global-exclude *.orig
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpplint-1.4.4/PKG-INFO new/cpplint-1.4.5/PKG-INFO
--- old/cpplint-1.4.4/PKG-INFO  2019-02-25 13:32:15.0 +0100
+++ new/cpplint-1.4.5/PKG-INFO  2020-01-13 08:42:33.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: cpplint
-Version: 1.4.4
+Version: 1.4.5
 Summary: Automated checker to ensure C++ files follow Google's style guide
 Home-page: https://github.com/cpplint/cpplint
 Maintainer: cpplint Developers
@@ -35,7 +35,7 @@
 :target: https://pypi.python.org/pypi/cpplint
 
 Cpplint is a command-line tool to check C/C++ files for style issues 
following `Google's C++ style guide 
`_.
-Cpplint is developed and maintained by Google Inc. at 
`google/styleguide `_, also see see the 
`wikipedia entry `_
+Cpplint is developed and maintained by Google Inc. at 
`google/styleguide `_, also see the 
`wikipedia entry `_
 
 While Google maintains cpplint, Google is not (very) responsive to 
issues and pull requests, this fork aims to be (somewhat) more open to add 
fixes to cpplint to enable fixes, when those fixes make cpplint usable in wider 
contexts.
 
@@ -103,4