commit python-pylint for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2020-09-04 10:57:16

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


Package is "python-pylint"

Fri Sep  4 10:57:16 2020 rev:19 rq:829032 version:2.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2020-07-15 12:15:11.208793710 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.3399/python-pylint.changes
2020-09-04 10:58:55.834617526 +0200
@@ -1,0 +2,20 @@
+Fri Aug 21 10:28:41 UTC 2020 - Michael Ströder 
+
+- Update to 2.6.0
+  * Fix various scope-related bugs in ``undefined-variable`` checker
+  * bad-continuation and bad-whitespace have been removed, black or another
+formatter can help you with this better than Pylint
+  * The no-space-check option has been removed. It's no longer possible to
+consider empty line like a `trailing-whitespace` by using clever options
+  * ``missing-kwoa`` is no longer emitted when dealing with overload functions
+  * mixed-indentation has been removed, it is no longer useful since TabError 
is included directly in python3
+  * Add `super-with-arguments` check for flagging instances of Python 2 style 
super calls.
+  * Add an faq detailing which messages to disable to avoid duplicates w/ 
other popular linters
+  * Fix superfluous-parens false-positive for the walrus operator
+  * Fix `fail-under` not accepting floats
+  * Fix a bug with `ignore-docstrings` ignoring all lines in a module
+  * Fix `pre-commit` config that could lead to undetected duplicate lines of 
code
+  * Fix a crash in parallel mode when the module's filepath is not set
+- removed both_isort_4_5.patch obsoleted by upstream update
+
+---

Old:

  both_isort_4_5.patch
  pylint-2.5.3.tar.gz

New:

  pylint-2.6.0.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.WlQPom/_old  2020-09-04 10:58:59.170619313 +0200
+++ /var/tmp/diff_new_pack.WlQPom/_new  2020-09-04 10:58:59.174619316 +0200
@@ -20,16 +20,13 @@
 %bcond_without tests
 %define skip_python2 1
 Name:   python-pylint
-Version:2.5.3
+Version:2.6.0
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0-or-later
 Group:  Development/Languages/Python
 URL:https://github.com/pycqa/pylint
 Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM both_isort_4_5.patch gh#PyCQA/pylint#3725 mc...@suse.com
-# allow using both isort 4 and 5
-Patch0: both_isort_4_5.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -72,7 +69,6 @@
 
 %prep
 %setup -q -n pylint-%{version}
-%autopatch -p1
 
 # fix test: ignore unexpected message gh#PyCQA/pylint#3635
 sed -i 's/import matplotlib.pyplot as plt/&  # pylint: 
disable=no-name-in-module/' tests/functional/u/undefined_variable.py

++ pylint-2.5.3.tar.gz -> pylint-2.6.0.tar.gz ++
 18250 lines of diff (skipped)




commit python-pylint for openSUSE:Factory

2020-07-15 Thread root
Hello community,

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

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


Package is "python-pylint"

Wed Jul 15 12:14:01 2020 rev:18 rq:820769 version:2.5.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2020-06-29 21:14:27.509058683 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.3060/python-pylint.changes
2020-07-15 12:15:11.208793710 +0200
@@ -1,0 +2,6 @@
+Mon Jul 13 22:31:19 UTC 2020 - Matej Cepl 
+
+- Added both_isort_4_5.patch (gh#PyCQA/pylint#3725) allowing
+  work with both versions of isort.
+
+---

New:

  both_isort_4_5.patch



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.inkasC/_old  2020-07-15 12:15:17.640800445 +0200
+++ /var/tmp/diff_new_pack.inkasC/_new  2020-07-15 12:15:17.644800449 +0200
@@ -27,6 +27,9 @@
 Group:  Development/Languages/Python
 URL:https://github.com/pycqa/pylint
 Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM both_isort_4_5.patch gh#PyCQA/pylint#3725 mc...@suse.com
+# allow using both isort 4 and 5
+Patch0: both_isort_4_5.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -69,6 +72,8 @@
 
 %prep
 %setup -q -n pylint-%{version}
+%autopatch -p1
+
 # fix test: ignore unexpected message gh#PyCQA/pylint#3635
 sed -i 's/import matplotlib.pyplot as plt/&  # pylint: 
disable=no-name-in-module/' tests/functional/u/undefined_variable.py
 

++ both_isort_4_5.patch ++
>From bc0a82a2104f063bf2b9d74406de4b7be0880938 Mon Sep 17 00:00:00 2001
From: Damien Baty 
Date: Sun, 5 Jul 2020 23:06:04 +0200
Subject: [PATCH 1/3] Support both isort 4 and isort 5

The API of isort 5 (released on 2020-07-04) is completely different.
We must still support isort 4 because isort 5 dropped the
compatibility with Python 3.5, which pylint still supports.

Fix #3722.
---
 ChangeLog |  4 +++
 pylint/__pkginfo__.py |  2 +-
 pylint/checkers/imports.py|  8 +++---
 pylint/utils/__init__.py  |  2 ++
 pylint/utils/utils.py | 31 +++
 tests/functional/w/wrong_import_order.txt |  6 ++---
 tests/test_functional.py  |  5 
 tox.ini   |  4 ++-
 8 files changed, 52 insertions(+), 10 deletions(-)

--- a/ChangeLog
+++ b/ChangeLog
@@ -40,6 +40,10 @@ Release date: 2020-06-8
 
   Close #3646
 
+* Support both isort 4 and isort 5.
+
+  Close #3722
+
 
 What's New in Pylint 2.5.2?
 ===
--- a/pylint/__pkginfo__.py
+++ b/pylint/__pkginfo__.py
@@ -37,7 +37,7 @@ if dev_version is not None:
 
 install_requires = [
 "astroid>=2.4.0,<=2.5",
-"isort>=4.2.5,<5",
+"isort>=4.2.5,<6",
 "mccabe>=0.6,<0.7",
 "toml>=0.7.1",
 ]
--- a/pylint/checkers/imports.py
+++ b/pylint/checkers/imports.py
@@ -46,7 +46,6 @@ import sys
 from distutils import sysconfig
 
 import astroid
-import isort
 from astroid import modutils
 from astroid.decorators import cached
 
@@ -60,7 +59,7 @@ from pylint.exceptions import EmptyRepor
 from pylint.graph import DotBackend, get_cycles
 from pylint.interfaces import IAstroidChecker
 from pylint.reporters.ureports.nodes import Paragraph, VerbatimText
-from pylint.utils import get_global_option
+from pylint.utils import IsortDriver, get_global_option
 
 
 def _qualified_names(modname):
@@ -709,8 +708,7 @@ class ImportsChecker(BaseChecker):
 third_party_not_ignored = []
 first_party_not_ignored = []
 local_not_ignored = []
-isort_obj = isort.SortImports(
-file_contents="",
+isort_driver = IsortDriver(
 known_third_party=self.config.known_third_party,
 known_standard_library=self.config.known_standard_library,
 )
@@ -723,7 +721,7 @@ class ImportsChecker(BaseChecker):
 ignore_for_import_order = not self.linter.is_message_enabled(
 "wrong-import-order", node.fromlineno
 )
-import_category = isort_obj.place_module(package)
+import_category = isort_driver.place_module(package)
 node_and_package_import = (node, package)
 if import_category in ("FUTURE", "STDLIB"):
 std_imports.append(node_and_package_import)
--- a/pylint/utils/__init__.py
+++ b/pylint/utils/__init__.py
@@ -46,6 +46,8 @@ main 

commit python-pylint for openSUSE:Factory

2020-06-29 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2020-06-29 21:14:24

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


Package is "python-pylint"

Mon Jun 29 21:14:24 2020 rev:17 rq:816633 version:2.5.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2020-06-11 14:45:33.085530974 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.3060/python-pylint.changes
2020-06-29 21:14:27.509058683 +0200
@@ -1,0 +2,8 @@
+Tue Jun 23 16:28:35 UTC 2020 - Benjamin Greiner 
+
+- test import workarounds need rework
+  gh#openSUSE/python-rpm-macros#48
+  gh#PyCQA/pylint#3636 
+- do not benchmark, just run the tests once
+
+---



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.xAXVpJ/_old  2020-06-29 21:14:28.481061690 +0200
+++ /var/tmp/diff_new_pack.xAXVpJ/_new  2020-06-29 21:14:28.485061703 +0200
@@ -94,10 +94,14 @@
 %if %{with tests}
 %check
 export LC_ALL="en_US.UTF-8"
-%pytest -k "not test_do_not_import_files_from_local_directory"
-# workaround for gh#PyCQA/pylint#3636
-export PYTHONPATH="/"
-%pytest -k "test_do_not_import_files_from_local_directory"
+# this tests needs the local source dir for imports,
+# gh#openSUSE/python-rpm-macros#48
+export PYTHONPATH=$(pwd)
+%pytest -k test_version
+# others must not import from local source dir
+# gh#PyCQA/pylint#3636
+export PYTHONPATH=""
+%pytest -k "not test_version" --benchmark-disable
 %endif
 
 %files %{python_files}




commit python-pylint for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2020-06-11 14:45:11

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


Package is "python-pylint"

Thu Jun 11 14:45:11 2020 rev:16 rq:812777 version:2.5.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2020-05-28 09:07:53.119800852 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.3606/python-pylint.changes
2020-06-11 14:45:33.085530974 +0200
@@ -1,0 +2,23 @@
+Mon Jun  8 19:33:50 UTC 2020 - Michael Ströder 
+
+- Update to 2.5.3
+  * Fix a regression where disable comments that have checker names with 
numbers in them are not parsed correctly
+Close #3666
+  * `property-with-parameters` properly handles abstract properties
+Close #3600
+  * `continue-in-finally` no longer emitted on Python 3.8 where it's now valid
+Close #3612
+  * Fix a regression where messages with dash are not fully parsed
+Close #3604
+  * In a TOML configuration file, it's now possible to use rich (non-string) 
types, such as list, integer or boolean instead of strings. For example, one 
can now define a *list* of message identifiers to enable like this::
+  enable = [
+  "use-symbolic-message-instead",
+  "useless-suppression",
+  ]
+Close #3538
+  * Fix a regression where the score was not reported with multiple jobs
+Close #3547
+  * Protect against `AttributeError` when checking `cell-var-from-loop`
+Close #3646
+
+---

Old:

  pylint-2.5.2.tar.gz

New:

  pylint-2.5.3.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.5UwSpX/_old  2020-06-11 14:45:34.225534295 +0200
+++ /var/tmp/diff_new_pack.5UwSpX/_new  2020-06-11 14:45:34.229534307 +0200
@@ -20,7 +20,7 @@
 %bcond_without tests
 %define skip_python2 1
 Name:   python-pylint
-Version:2.5.2
+Version:2.5.3
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0-or-later

++ pylint-2.5.2.tar.gz -> pylint-2.5.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-2.5.2/CONTRIBUTORS.txt 
new/pylint-2.5.3/CONTRIBUTORS.txt
--- old/pylint-2.5.2/CONTRIBUTORS.txt   2020-05-05 14:57:24.0 +0200
+++ new/pylint-2.5.3/CONTRIBUTORS.txt   2020-06-08 09:00:16.0 +0200
@@ -381,3 +381,9 @@
 * Yang Yang: contributor
 
 * Andrew J. Simmons (anjsimmo): contributor
+
+* Damien Baty: contributor
+
+* Daniel R. Neal (danrneal): contributer
+
+* Jeremy Fleischman (jfly): contributer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-2.5.2/ChangeLog new/pylint-2.5.3/ChangeLog
--- old/pylint-2.5.2/ChangeLog  2020-05-05 14:57:24.0 +0200
+++ new/pylint-2.5.3/ChangeLog  2020-06-08 09:00:16.0 +0200
@@ -2,6 +2,45 @@
 Pylint's ChangeLog
 --
 
+What's New in Pylint 2.5.3?
+===
+
+Release date: 2020-06-8
+
+* Fix a regression where disable comments that have checker names with numbers 
in them are not parsed correctly
+
+  Close #3666
+
+* `property-with-parameters` properly handles abstract properties
+
+  Close #3600
+
+* `continue-in-finally` no longer emitted on Python 3.8 where it's now valid
+
+  Close #3612
+
+* Fix a regression where messages with dash are not fully parsed
+
+  Close #3604
+
+* Fix a regression where the score was not reported with multiple jobs
+
+  Close #3547
+
+* In a TOML configuration file, it's now possible to use rich (non-string) 
types, such as list, integer or boolean instead of strings. For example, one 
can now define a *list* of message identifiers to enable like this::
+
+enable = [
+"use-symbolic-message-instead",
+"useless-suppression",
+]
+
+  Close #3538
+
+* Protect against `AttributeError` when checking `cell-var-from-loop`
+
+  Close #3646
+
+
 What's New in Pylint 2.5.2?
 ===
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-2.5.2/PKG-INFO new/pylint-2.5.3/PKG-INFO
--- old/pylint-2.5.2/PKG-INFO   2020-05-05 15:00:18.0 +0200
+++ new/pylint-2.5.3/PKG-INFO   2020-06-08 09:03:09.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: pylint
-Version: 2.5.2
+Version: 2.5.3
 Summary: python code static checker
 Home-page: https://github.com/PyCQA/pylint
 Author: Python Code Quality Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit python-pylint for openSUSE:Factory

2020-05-28 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2020-05-28 09:07:49

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


Package is "python-pylint"

Thu May 28 09:07:49 2020 rev:15 rq:807165 version:2.5.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2020-03-27 00:29:41.908390563 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.3606/python-pylint.changes
2020-05-28 09:07:53.119800852 +0200
@@ -1,0 +2,180 @@
+Mon May 18 17:38:20 UTC 2020 - Benjamin Greiner 
+
+- Update to 2.5.2 
+  * ``pylint.Run`` accepts ``do_exit`` as a deprecated parameter
+Close gh#PyCQA/pylint#3590
+- Changelog from 2.5.1
+  * Fix a crash in `method-hidden` lookup for unknown base classes
+Close gh#PyCQA/pylint#3527
+  * Revert pylint.Run's `exit` parameter to ``do_exit``
+This has been inadvertently changed several releases ago to ``do_exit``.
+Close gh#PyCQA/pylint#3533
+  * ``no-value-for-parameter`` variadic detection has improved for assign 
statements
+Close gh#PyCQA/pylint#3563
+  * Allow package files to be properly discovered with multiple jobs
+Close gh#PyCQA/pylint#3524
+  * Allow linting directories without `__init__.py` which was a regression in 
2.5.
+Close gh#PyCQA/pylint#3528
+- Changelog from 2.5.0
+  * Fix a false negative for ``undefined-variable`` when using class attribute 
in comprehension.
+Close gh#PyCQA/pylint#3494
+  * Fix a false positive for ``undefined-variable`` when using class attribute 
in decorator or as type hint.
+Close gh#PyCQA/pylint#511, gh#PyCQA/pylint#1976
+  * Remove HTML quoting of messages in JSON output.
+Close gh#PyCQA/pylint#2769
+  * Adjust the `invalid-name` rule to work with non-ASCII identifiers and add 
the `non-ascii-name` rule.
+Close gh#PyCQA/pylint#2725
+  * Positional-only arguments are taken in account for 
``useless-super-delegation``
+  * ``unidiomatic-typecheck`` is no longer emitted for ``in`` and ``not in`` 
operators
+Close gh#PyCQA/pylint#3337
+  * Positional-only argument annotations are taken in account for 
``unused-import``
+Close gh#PyCQA/pylint#3462
+  * Add a command to list available extensions.
+  * Allow used variables to be properly consumed when different checks are 
enabled / disabled
+Close gh#PyCQA/pylint#3445
+  * Fix dangerous-default-value rule to account for keyword argument defaults
+Close gh#PyCQA/pylint#3373
+  * Fix a false positive of ``self-assigning-variable`` on tuple unpacking.
+Close gh#PyCQA/pylint#3433
+  * ``no-self-use`` is no longer emitted for typing stubs.
+Close gh#PyCQA/pylint#3439
+  * Fix a false positive for ``undefined-variable`` when ``__class__`` is used
+Close gh#PyCQA/pylint#3090
+  * Emit ``invalid-name`` for variables defined in loops at module level.
+Close gh#PyCQA/pylint#2695
+  * Add a check for cases where the second argument to `isinstance` is not a 
type.
+Close gh#PyCQA/pylint#3308
+  * Add 'notes-rgx' option, to be used for fixme check.
+Close gh#PyCQA/pylint#2874
+  * ``function-redefined`` exempts function redefined on a condition.
+Close gh#PyCQA/pylint#2410
+  * ``typing.overload`` functions are exempted from docstring checks
+Close gh#PyCQA/pylint#3350
+  * Emit ``invalid-overridden-method`` for improper async def overrides.
+Close gh#PyCQA/pylint#3355
+  * Do not allow ``python -m pylint ...`` to import user code
+``python -m pylint ...`` adds the current working directory as the first 
element
+of ``sys.path``. This opens up a potential security hole where ``pylint`` 
will import
+user level code as long as that code resides in modules having the same 
name as stdlib
+or pylint's own modules.
+Close gh#PyCQA/pylint#3386
+  * Add `dummy-variables-rgx` option for `_redeclared-assigned-name` check.
+Close gh#PyCQA/pylint#3341
+  * Fixed graph creation for relative paths
+  * Add a check for asserts on string literals.
+Close gh#PyCQA/pylint#3284
+  * `not in` is considered iterating context for some of the Python 3 porting 
checkers.
+  * A new check `inconsistent-quotes` was added.
+  * Add a check for non string assignment to __name__ attribute.
+Close gh#PyCQA/pylint#583
+  * `__pow__`, `__imatmul__`, `__trunc__`, `__floor__`, and `__ceil__` are 
recognized as special method names.
+Close gh#PyCQA/pylint#3281
+  * Added errors for protocol functions when invalid return types are detected.
+E0304 (invalid-bool-returned): __bool__ did not return a bool
+E0305 (invalid-index-returned): __index__ did not return an integer
+E0306 (invalid-repr-returned): __repr__ did not return a string
+E0307 (invalid-str-returned): __str__ did not 

commit python-pylint for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2020-03-27 00:29:40

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


Package is "python-pylint"

Fri Mar 27 00:29:40 2020 rev:14 rq:788345 version:2.4.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2019-11-22 10:26:19.153257715 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.3160/python-pylint.changes
2020-03-27 00:29:41.908390563 +0100
@@ -1,0 +2,5 @@
+Wed Mar 18 19:37:36 UTC 2020 - Dirk Mueller 
+
+- set locale during build/test to fix build on older releases (bsc#1124989)
+
+---



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.O7dUwK/_old  2020-03-27 00:29:42.672390951 +0100
+++ /var/tmp/diff_new_pack.O7dUwK/_new  2020-03-27 00:29:42.676390953 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pylint
 #
-# Copyright (c) 2019 SUSE LLC.
+# 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
@@ -72,9 +72,11 @@
 %setup -q -n pylint-pylint-%{version}
 
 %build
+export LC_ALL="en_US.UTF-8"
 %python_build
 
 %install
+export LC_ALL="en_US.UTF-8"
 %python_install
 for p in pylint epylint pyreverse symilar ; do
 %python_clone -a %{buildroot}%{_bindir}/$p
@@ -91,6 +93,7 @@
 %check
 # test_by_module_statement_value - fails due to %%pytest macro way of execution
 export PYTHONDONTWRITEBYTECODE=1
+export LC_ALL="en_US.UTF-8"
 %pytest -k "not test_by_module_statement_value"
 
 %files %{python_files}




commit python-pylint for openSUSE:Factory

2019-11-22 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2019-11-22 10:26:16

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


Package is "python-pylint"

Fri Nov 22 10:26:16 2019 rev:13 rq:750019 version:2.4.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2019-11-04 17:09:12.224440436 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.26869/python-pylint.changes   
2019-11-22 10:26:19.153257715 +0100
@@ -1,0 +2,17 @@
+Wed Nov 13 15:49:50 CET 2019 - Matej Cepl 
+
+- Update to 2.4.4:
+  - Exempt all the names found in type annotations from ``unused-import``
+The previous code was assuming that only ``typing`` names need to be
+exempted, but we need to do that for the rest of the type comment
+names as well. Close #3112
+  - Relax type import detection for names that do not come from
+the ``typing`` module Close #3191
+
+---
+Sat Nov  9 00:13:12 CET 2019 - Matej Cepl 
+
+- test_types_redefined enabled again, because
+  gh#PyCQA/pylint#3171 has been fixed.
+
+---

Old:

  pylint-2.4.3.tar.gz

New:

  pylint-2.4.4.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.xXHk6y/_old  2019-11-22 10:26:19.777257531 +0100
+++ /var/tmp/diff_new_pack.xXHk6y/_new  2019-11-22 10:26:19.781257529 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pylint
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,15 @@
 
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
+%define modname pylint
 Name:   python-pylint
-Version:2.4.3
+Version:2.4.4
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0-or-later
 Group:  Development/Languages/Python
 URL:https://github.com/pycqa/pylint
-Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
+Source: 
https://github.com/PyCQA/%{modname}/archive/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module astroid >= 2.3.0}
 BuildRequires:  %{python_module editdistance}
 BuildRequires:  %{python_module isort >= 4.2.5}
@@ -68,7 +69,7 @@
 feature.
 
 %prep
-%setup -q -n pylint-%{version}
+%setup -q -n pylint-pylint-%{version}
 
 %build
 %python_build
@@ -88,10 +89,9 @@
 %python_uninstall_alternative pylint
 
 %check
-# test_types_redefined gh#PyCQA/pylint#3171
 # test_by_module_statement_value - fails due to %%pytest macro way of execution
 export PYTHONDONTWRITEBYTECODE=1
-%pytest -k "not (test_types_redefined or test_by_module_statement_value)"
+%pytest -k "not test_by_module_statement_value"
 
 %files %{python_files}
 %license COPYING

++ pylint-2.4.3.tar.gz -> pylint-2.4.4.tar.gz ++
 4318 lines of diff (skipped)




commit python-pylint for openSUSE:Factory

2019-11-04 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2019-11-04 17:09:10

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


Package is "python-pylint"

Mon Nov  4 17:09:10 2019 rev:12 rq:743455 version:2.4.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2019-10-10 11:52:47.135426286 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.2990/python-pylint.changes
2019-11-04 17:09:12.224440436 +0100
@@ -1,0 +2,13 @@
+Sun Oct 27 08:30:00 UTC 2019 - Michael Ströder 
+
+- Update to 2.4.3:
+  * Fix an issue with ``unnecessary-comprehension`` in comprehensions with 
additional repacking of elements.
+  * ``import-outside-toplevel`` is emitted for ``ImportFrom`` nodes as well.
+  * Do not emit ``no-method-argument`` for functions using positional only 
args.
+  * ``consider-using-sys-exit`` is no longer emitted when `exit` is imported 
in the local scope.
+  * `invalid-overridden-method` takes `abc.abstractproperty` in account
+  * Fixed ``missing-yield-type-doc`` getting incorrectly raised when
+  a generator does not document a yield type but has a type annotation.
+  * ``typing.overload`` functions are exempted from ``too-many-function-args``
+
+---

Old:

  pylint-2.4.2.tar.gz

New:

  pylint-2.4.3.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.BWSaX4/_old  2019-11-04 17:09:13.632441940 +0100
+++ /var/tmp/diff_new_pack.BWSaX4/_new  2019-11-04 17:09:13.664441974 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-pylint
-Version:2.4.2
+Version:2.4.3
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0-or-later

++ pylint-2.4.2.tar.gz -> pylint-2.4.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-2.4.2/CONTRIBUTORS.txt 
new/pylint-2.4.3/CONTRIBUTORS.txt
--- old/pylint-2.4.2/CONTRIBUTORS.txt   2019-09-30 11:07:07.0 +0200
+++ new/pylint-2.4.3/CONTRIBUTORS.txt   2019-10-18 11:26:14.0 +0200
@@ -329,3 +329,5 @@
 
 * Trevor Bekolay: contributor
 - Added --list-msgs-enabled command
+
+* Rémi Cardona: contributor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-2.4.2/ChangeLog new/pylint-2.4.3/ChangeLog
--- old/pylint-2.4.2/ChangeLog  2019-09-30 11:07:07.0 +0200
+++ new/pylint-2.4.3/ChangeLog  2019-10-18 11:26:14.0 +0200
@@ -2,6 +2,42 @@
 Pylint's ChangeLog
 --
 
+What's New in Pylint 2.4.3?
+===
+
+Release date: 2019-10-18
+
+* Fix an issue with ``unnecessary-comprehension`` in comprehensions with 
additional repacking of elements.
+
+  Close #3148
+
+* ``import-outside-toplevel`` is emitted for ``ImportFrom`` nodes as well.
+
+  Close #3175
+
+
+* Do not emit ``no-method-argument`` for functions using positional only args.
+
+  Close #3161
+
+* ``consider-using-sys-exit`` is no longer emitted when `exit` is imported in 
the local scope.
+
+  Close #3147
+
+* `invalid-overridden-method` takes `abc.abstractproperty` in account
+
+  Close #3150
+
+* Fixed ``missing-yield-type-doc`` getting incorrectly raised when
+  a generator does not document a yield type but has a type annotation.
+
+  Closes #3185
+
+* ``typing.overload`` functions are exempted from ``too-many-function-args``
+
+  Close #3170
+
+
 What's New in Pylint 2.4.2?
 ===
 
@@ -334,7 +370,7 @@
 
 * Allow the choice of f-strings as a valid way of formatting logging strings.
 
-Closes #2395
+  Closes #2395
 
 * Added ``--list-msgs-enabled`` command to list all enabled and disabled 
messages given the current RC file and command line arguments.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-2.4.2/PKG-INFO new/pylint-2.4.3/PKG-INFO
--- old/pylint-2.4.2/PKG-INFO   2019-09-30 11:10:00.0 +0200
+++ new/pylint-2.4.3/PKG-INFO   2019-10-18 11:29:19.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: pylint
-Version: 2.4.2
+Version: 2.4.3
 Summary: python code static checker
 Home-page: https://github.com/PyCQA/pylint
 Author: Python Code Quality Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-2.4.2/pylint/__init__.py 
new/pylint-2.4.3/pylint/__init__.py
--- old/pylint-2.4.2/pylint/__init__.py 2019-09-30 11:07:07.0 +0200
+++ 

commit python-pylint for openSUSE:Factory

2019-10-10 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2019-10-10 11:52:45

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


Package is "python-pylint"

Thu Oct 10 11:52:45 2019 rev:11 rq:736468 version:2.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2019-08-07 13:54:32.780857402 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.2352/python-pylint.changes
2019-10-10 11:52:47.135426286 +0200
@@ -1,0 +2,12 @@
+Wed Oct  9 11:27:15 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.4.2:
+  * Various bugfixes and compat with newer releases of astroid
+
+---
+Tue Oct  8 03:01:10 CEST 2019 - Matej Cepl 
+
+- Skip pylint/test/extensions/test_redefined.py::test_types_redefined
+  (gh#PyCQA/pylint#3171)
+
+---

Old:

  pylint-2.3.1.tar.gz

New:

  pylint-2.4.2.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.pXrqEs/_old  2019-10-10 11:52:47.603425044 +0200
+++ /var/tmp/diff_new_pack.pXrqEs/_new  2019-10-10 11:52:47.607425032 +0200
@@ -19,14 +19,14 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-pylint
-Version:2.3.1
+Version:2.4.2
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0-or-later
 Group:  Development/Languages/Python
 URL:https://github.com/pycqa/pylint
 Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
-BuildRequires:  %{python_module astroid >= 2.2.0}
+BuildRequires:  %{python_module astroid >= 2.3.0}
 BuildRequires:  %{python_module editdistance}
 BuildRequires:  %{python_module isort >= 4.2.5}
 BuildRequires:  %{python_module mccabe >= 0.6}
@@ -36,7 +36,7 @@
 BuildRequires:  %{python_module typed-ast}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-astroid >= 2.2.0
+Requires:   python-astroid >= 2.3.0
 Requires:   python-editdistance
 Requires:   python-isort >= 4.2.5
 Requires:   python-mccabe >= 0.6
@@ -75,7 +75,6 @@
 
 %install
 %python_install
-%python_expand rm -r %{buildroot}%{$python_sitelib}/pylint/test/
 for p in pylint epylint pyreverse symilar ; do
 %python_clone -a %{buildroot}%{_bindir}/$p
 done
@@ -89,8 +88,10 @@
 %python_uninstall_alternative pylint
 
 %check
+# test_types_redefined gh#PyCQA/pylint#3171
+# test_by_module_statement_value - fails due to %%pytest macro way of execution
 export PYTHONDONTWRITEBYTECODE=1
-%pytest pylint/test
+%pytest -k "not (test_types_redefined or test_by_module_statement_value)"
 
 %files %{python_files}
 %license COPYING

++ pylint-2.3.1.tar.gz -> pylint-2.4.2.tar.gz ++
 94766 lines of diff (skipped)




commit python-pylint for openSUSE:Factory

2019-08-07 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2019-08-07 13:54:31

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


Package is "python-pylint"

Wed Aug  7 13:54:31 2019 rev:10 rq:720100 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2019-06-13 23:00:20.783618341 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.9556/python-pylint.changes
2019-08-07 13:54:32.780857402 +0200
@@ -1,0 +2,5 @@
+Wed Jul 31 18:44:31 UTC 2019 - Tomáš Chvátal 
+
+- Do not install tests on system
+
+---



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.KxMWc1/_old  2019-08-07 13:54:33.904857390 +0200
+++ /var/tmp/diff_new_pack.KxMWc1/_new  2019-08-07 13:54:33.904857390 +0200
@@ -75,7 +75,7 @@
 
 %install
 %python_install
-
+%python_expand rm -r %{buildroot}%{$python_sitelib}/pylint/test/
 for p in pylint epylint pyreverse symilar ; do
 %python_clone -a %{buildroot}%{_bindir}/$p
 done
@@ -90,7 +90,7 @@
 
 %check
 export PYTHONDONTWRITEBYTECODE=1
-%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" 
py.test-%{$python_bin_suffix} pylint/test/
+%pytest pylint/test
 
 %files %{python_files}
 %license COPYING




commit python-pylint for openSUSE:Factory

2019-06-13 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2019-06-13 23:00:19

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


Package is "python-pylint"

Thu Jun 13 23:00:19 2019 rev:9 rq:708745 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2019-03-08 11:01:27.628540240 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.4811/python-pylint.changes
2019-06-13 23:00:20.783618341 +0200
@@ -1,0 +2,5 @@
+Sat Jun  8 08:34:05 UTC 2019 - Michael Ströder 
+
+- Added missing dependency on package python-typed-ast
+
+---



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.Gfw3SW/_old  2019-06-13 23:00:21.571617156 +0200
+++ /var/tmp/diff_new_pack.Gfw3SW/_new  2019-06-13 23:00:21.575617149 +0200
@@ -41,6 +41,7 @@
 Requires:   python-isort >= 4.2.5
 Requires:   python-mccabe >= 0.6
 Requires:   python-six
+Requires:   python-typed-ast
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:  noarch




commit python-pylint for openSUSE:Factory

2019-03-08 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2019-03-08 11:01:26

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


Package is "python-pylint"

Fri Mar  8 11:01:26 2019 rev:8 rq:682155 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2019-01-08 12:17:01.309007665 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.28833/python-pylint.changes   
2019-03-08 11:01:27.628540240 +0100
@@ -1,0 +2,6 @@
+Wed Mar  6 13:14:29 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.3.1:
+  * Compat with astroid 2.2
+
+---

Old:

  pylint-2.2.2.tar.gz

New:

  pylint-2.3.1.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.GGGH2B/_old  2019-03-08 11:01:28.072540169 +0100
+++ /var/tmp/diff_new_pack.GGGH2B/_new  2019-03-08 11:01:28.072540169 +0100
@@ -19,27 +19,27 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-pylint
-Version:2.2.2
+Version:2.3.1
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0-or-later
 Group:  Development/Languages/Python
 URL:https://github.com/pycqa/pylint
 Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
-BuildRequires:  %{python_module astroid >= 2.1}
+BuildRequires:  %{python_module astroid >= 2.2.0}
 BuildRequires:  %{python_module editdistance}
 BuildRequires:  %{python_module isort >= 4.2.5}
-BuildRequires:  %{python_module mccabe}
+BuildRequires:  %{python_module mccabe >= 0.6}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module typed-ast}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-astroid >= 2.1
+Requires:   python-astroid >= 2.2.0
 Requires:   python-editdistance
 Requires:   python-isort >= 4.2.5
-Requires:   python-mccabe
+Requires:   python-mccabe >= 0.6
 Requires:   python-six
 Requires(post): update-alternatives
 Requires(postun): update-alternatives

++ pylint-2.2.2.tar.gz -> pylint-2.3.1.tar.gz ++
 4093 lines of diff (skipped)




commit python-pylint for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2019-01-08 12:17:00

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


Package is "python-pylint"

Tue Jan  8 12:17:00 2019 rev:7 rq:662457 version:2.2.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2018-12-14 20:46:35.837574791 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.28833/python-pylint.changes   
2019-01-08 12:17:01.309007665 +0100
@@ -1,0 +2,5 @@
+Wed Jan  2 13:20:08 UTC 2019 - Tomáš Chvátal 
+
+- Fix build on SLE12
+
+---



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.NqGHhP/_old  2019-01-08 12:17:01.733007267 +0100
+++ /var/tmp/diff_new_pack.NqGHhP/_new  2019-01-08 12:17:01.733007267 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pylint
 #
-# 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
@@ -16,7 +16,7 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-pylint
 Version:2.2.2
@@ -45,7 +45,9 @@
 Requires(postun): update-alternatives
 BuildArch:  noarch
 # test is checking that "tkinter.tix" is deprecated
+%if 0%{?suse_version} >= 1500
 BuildRequires:  python3-tk
+%endif
 %python_subpackages
 
 %description
@@ -86,6 +88,7 @@
 %python_uninstall_alternative pylint
 
 %check
+export PYTHONDONTWRITEBYTECODE=1
 %python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" 
py.test-%{$python_bin_suffix} pylint/test/
 
 %files %{python_files}




commit python-pylint for openSUSE:Factory

2018-12-14 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2018-12-14 20:46:34

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


Package is "python-pylint"

Fri Dec 14 20:46:34 2018 rev:6 rq:655711 version:2.2.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2018-09-26 14:53:47.163073596 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.28833/python-pylint.changes   
2018-12-14 20:46:35.837574791 +0100
@@ -1,0 +2,13 @@
+Thu Dec  6 14:37:20 UTC 2018 - Tomáš Chvátal 
+
+- Update to 2.2.2:
+  * Black is more used
+  * Many bugfixes
+  * For details see Changelog
+
+---
+Thu Dec  6 14:35:39 UTC 2018 - Tomáš Chvátal 
+
+- Fix fdupes call
+
+---

Old:

  pylint-2.1.1.tar.gz

New:

  pylint-2.2.2.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.NqmPms/_old  2018-12-14 20:46:37.401572634 +0100
+++ /var/tmp/diff_new_pack.NqmPms/_new  2018-12-14 20:46:37.433572590 +0100
@@ -19,14 +19,14 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-pylint
-Version:2.1.1
+Version:2.2.2
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0-or-later
 Group:  Development/Languages/Python
 URL:https://github.com/pycqa/pylint
 Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
-BuildRequires:  %{python_module astroid >= 2.0}
+BuildRequires:  %{python_module astroid >= 2.1}
 BuildRequires:  %{python_module editdistance}
 BuildRequires:  %{python_module isort >= 4.2.5}
 BuildRequires:  %{python_module mccabe}
@@ -36,7 +36,7 @@
 BuildRequires:  %{python_module typed-ast}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-astroid >= 2.0
+Requires:   python-astroid >= 2.1
 Requires:   python-editdistance
 Requires:   python-isort >= 4.2.5
 Requires:   python-mccabe
@@ -66,8 +66,6 @@
 
 %prep
 %setup -q -n pylint-%{version}
-# https://github.com/PyCQA/pylint/issues/2499
-rm -f pylint/test/functional/using_constant_test.py
 
 %build
 %python_build
@@ -79,7 +77,7 @@
 %python_clone -a %{buildroot}%{_bindir}/$p
 done
 
-%fdupes %{buildroot}%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %post
 %python_install_alternative pylint epylint pyreverse symilar

++ pylint-2.1.1.tar.gz -> pylint-2.2.2.tar.gz ++
 41120 lines of diff (skipped)




commit python-pylint for openSUSE:Factory

2018-09-26 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2018-09-26 14:53:42

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


Package is "python-pylint"

Wed Sep 26 14:53:42 2018 rev:5 rq:636828 version:2.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2018-07-21 10:07:50.419203479 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python-pylint.changes 
2018-09-26 14:53:47.163073596 +0200
@@ -1,0 +2,12 @@
+Thu Sep 20 07:31:06 UTC 2018 - Tomáš Chvátal 
+
+- Depend on typed-ast as it is used in testsuite
+
+---
+Tue Sep 18 10:11:11 UTC 2018 - Tomáš Chvátal 
+
+- Version update to 2.1.1:
+  * latest release supports only python3
+  * Require 2.0 series astroid
+
+---

Old:

  pylint-1.9.2.tar.gz

New:

  pylint-2.1.1.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.AdAemI/_old  2018-09-26 14:53:47.743072707 +0200
+++ /var/tmp/diff_new_pack.AdAemI/_new  2018-09-26 14:53:47.747072700 +0200
@@ -12,31 +12,31 @@
 # 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/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without python2
-%bcond_without python3
+%define skip_python2 1
 Name:   python-pylint
-Version:1.9.2
+Version:2.1.1
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0-or-later
 Group:  Development/Languages/Python
 URL:https://github.com/pycqa/pylint
 Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
-BuildRequires:  %{python_module astroid >= 1.6.5}
+BuildRequires:  %{python_module astroid >= 2.0}
 BuildRequires:  %{python_module editdistance}
 BuildRequires:  %{python_module isort >= 4.2.5}
 BuildRequires:  %{python_module mccabe}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module typed-ast}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-astroid >= 1.6.5
+Requires:   python-astroid >= 2.0
 Requires:   python-editdistance
 Requires:   python-isort >= 4.2.5
 Requires:   python-mccabe
@@ -44,26 +44,8 @@
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:  noarch
-%if %{with python2}
-BuildRequires:  python2-backports.functools_lru_cache
-BuildRequires:  python2-configparser
-BuildRequires:  python2-enum34
-BuildRequires:  python2-singledispatch
-%endif
-%if %{with python3}
 # test is checking that "tkinter.tix" is deprecated
 BuildRequires:  python3-tk
-%endif
-%ifpython2
-Requires:   python-backports.functools_lru_cache
-Requires:   python-configparser
-Requires:   python-enum34
-Requires:   python-singledispatch
-%endif
-%ifpython2
-Provides:   pylint = %{version}
-Obsoletes:  pylint < %{version}
-%endif
 %python_subpackages
 
 %description
@@ -84,8 +66,7 @@
 
 %prep
 %setup -q -n pylint-%{version}
-# FIXME: remove with next update
-# The test fails here reliably
+# https://github.com/PyCQA/pylint/issues/2499
 rm -f pylint/test/functional/using_constant_test.py
 
 %build
@@ -107,9 +88,7 @@
 %python_uninstall_alternative pylint
 
 %check
-%if 0%{?have_python3}
-PYTHONPATH=. python3 %{_bindir}/py.test pylint/test/
-%endif
+%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" 
py.test-%{$python_bin_suffix} pylint/test/
 
 %files %{python_files}
 %license COPYING

++ pylint-1.9.2.tar.gz -> pylint-2.1.1.tar.gz ++
 30861 lines of diff (skipped)




commit python-pylint for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2018-07-21 10:07:44

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


Package is "python-pylint"

Sat Jul 21 10:07:44 2018 rev:4 rq:623129 version:1.9.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2018-01-25 12:37:31.535108893 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python-pylint.changes 
2018-07-21 10:07:50.419203479 +0200
@@ -1,0 +2,14 @@
+Mon Jul 16 12:49:49 UTC 2018 - tchva...@suse.com
+
+- Enable tests and make sure they pass
+
+---
+Sun Jul 15 11:33:07 UTC 2018 - mich...@stroeder.com
+
+- Update to 1.9.2:
+  * New Python 3 checkers
+  * Added two new Python 3 porting checks
+  * Added a new deprecated-sys-function check
+  * Added xreadlines-attribute check
+
+---
@@ -5 +19 @@
-- Update to 1.8.3:
+- Update to 1.8.2:

Old:

  pylint-1.8.2.tar.gz

New:

  pylint-1.9.2.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.RgqVPm/_old  2018-07-21 10:07:50.899203369 +0200
+++ /var/tmp/diff_new_pack.RgqVPm/_new  2018-07-21 10:07:50.899203369 +0200
@@ -20,14 +20,14 @@
 %bcond_without python2
 %bcond_without python3
 Name:   python-pylint
-Version:1.8.2
+Version:1.9.2
 Release:0
 Summary:Syntax and style checker for Python code
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Development/Languages/Python
-Url:https://github.com/pycqa/pylint
+URL:https://github.com/pycqa/pylint
 Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
-BuildRequires:  %{python_module astroid}
+BuildRequires:  %{python_module astroid >= 1.6.5}
 BuildRequires:  %{python_module editdistance}
 BuildRequires:  %{python_module isort >= 4.2.5}
 BuildRequires:  %{python_module mccabe}
@@ -36,7 +36,7 @@
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-astroid
+Requires:   python-astroid >= 1.6.5
 Requires:   python-editdistance
 Requires:   python-isort >= 4.2.5
 Requires:   python-mccabe
@@ -84,6 +84,9 @@
 
 %prep
 %setup -q -n pylint-%{version}
+# FIXME: remove with next update
+# The test fails here reliably
+rm -f pylint/test/functional/using_constant_test.py
 
 %build
 %python_build
@@ -105,12 +108,12 @@
 
 %check
 %if 0%{?have_python3}
-export PYTHONPATH=$PWD
-python3 %{_bindir}/py.test pylint/test/ || :
+PYTHONPATH=. python3 %{_bindir}/py.test pylint/test/
 %endif
 
 %files %{python_files}
-%doc ChangeLog COPYING README.rst
+%license COPYING
+%doc ChangeLog README.rst
 %doc examples/
 %python_alternative %{_bindir}/pylint
 %python_alternative %{_bindir}/epylint

++ pylint-1.8.2.tar.gz -> pylint-1.9.2.tar.gz ++
 3496 lines of diff (skipped)




commit python-pylint for openSUSE:Factory

2018-01-25 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2018-01-25 12:37:30

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


Package is "python-pylint"

Thu Jan 25 12:37:30 2018 rev:3 rq:568903 version:1.8.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2017-04-20 20:49:25.808858836 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python-pylint.changes 
2018-01-25 12:37:31.535108893 +0100
@@ -1,0 +2,17 @@
+Wed Jan 24 10:30:43 UTC 2018 - tchva...@suse.com
+
+- Switch to regular releases again
+- Update to 1.8.3:
+  * Various false positives were fixed
+  * Many additional python3 tweaks
+  * For more see ChangeLog
+- Drop test conditional as it is always on
+- Add py2 and py3 bconds to allow building in the respective
+  enviroments
+- Run only python3 tests it takes ages to finish and we should focus
+  only on one variant
+  * Also few tests currently fail and upstream is aware so put there
+||:
+https://github.com/PyCQA/pylint/issues/1847
+
+---

Old:

  _service
  pylint-1.7.0~git.1489322553.d78e0130.tar.gz

New:

  pylint-1.8.2.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.8zyqJP/_old  2018-01-25 12:37:32.115081817 +0100
+++ /var/tmp/diff_new_pack.8zyqJP/_new  2018-01-25 12:37:32.119081631 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pylint
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -17,48 +17,49 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
+%bcond_without python3
 Name:   python-pylint
-Version:1.7.0~git.1489322553.d78e0130
+Version:1.8.2
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0+
 Group:  Development/Languages/Python
 Url:https://github.com/pycqa/pylint
-# replaced for github pre-release
-#Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
-Source: pylint-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
 BuildRequires:  %{python_module astroid}
-BuildRequires:  %{python_module six}
-BuildRequires:  python-rpm-macros
-# SECTION test requiremenst
 BuildRequires:  %{python_module editdistance}
 BuildRequires:  %{python_module isort >= 4.2.5}
 BuildRequires:  %{python_module mccabe}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:   python-astroid
+Requires:   python-editdistance
+Requires:   python-isort >= 4.2.5
+Requires:   python-mccabe
+Requires:   python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+BuildArch:  noarch
+%if %{with python2}
 BuildRequires:  python2-backports.functools_lru_cache
 BuildRequires:  python2-configparser
 BuildRequires:  python2-enum34
 BuildRequires:  python2-singledispatch
+%endif
+%if %{with python3}
 # test is checking that "tkinter.tix" is deprecated
 BuildRequires:  python3-tk
-# /SECTION
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
-Requires:   python-astroid
-Requires:   python-editdistance
-Requires:   python-isort >= 4.2.5
-Requires:   python-mccabe
-Requires:   python-six
+%endif
 %ifpython2
 Requires:   python-backports.functools_lru_cache
 Requires:   python-configparser
 Requires:   python-enum34
 Requires:   python-singledispatch
 %endif
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildArch:  noarch
 %ifpython2
 Provides:   pylint = %{version}
 Obsoletes:  pylint < %{version}
@@ -103,11 +104,12 @@
 %python_uninstall_alternative pylint
 
 %check
+%if 0%{?have_python3}
 export PYTHONPATH=$PWD
-%python_exec %{_bindir}/py.test pylint/test/
+python3 %{_bindir}/py.test pylint/test/ || :
+%endif
 
 %files %{python_files}
-%defattr(-,root,root)
 %doc ChangeLog COPYING README.rst
 %doc examples/
 %python_alternative %{_bindir}/pylint
@@ -115,7 +117,6 @@
 %python_alternative %{_bindir}/pyreverse
 %python_alternative %{_bindir}/symilar
 %{python_sitelib}/pylint/
-#%{python_sitelib}/pylint-%{version}-py*.egg-info

commit python-pylint for openSUSE:Factory

2017-04-20 Thread root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2017-04-20 20:49:22

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


Package is "python-pylint"

Thu Apr 20 20:49:22 2017 rev:2 rq:483385 version:1.7.0~git.1489322553.d78e0130

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2017-02-06 15:03:38.679461322 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python-pylint.changes 
2017-04-20 20:49:25.808858836 +0200
@@ -1,0 +2,24 @@
+Wed Mar 29 13:53:04 UTC 2017 - jmate...@suse.com
+
+- uninstall alternatives in %postun
+- add update-alternatives requires
+
+---
+Wed Mar  1 14:27:35 UTC 2017 - jmate...@suse.com
+
+- update for singlespec
+- enable test suite for all pythons
+- update to 1.7.0 git pre-release, for python 3.6 support
+  (boo#1026174)
+  * multitude of new checkers
+  * support for namespace packages
+  * dropped pylint-gui
+  * see changes in /usr/share/doc/packages/python-pylint/ChangeLog
+
+---
+Wed Feb  1 08:19:18 UTC 2017 - mich...@stroeder.com
+
+- Update to version 1.6.5
+  see changes in /usr/share/doc/packages/python-pylint/ChangeLog
+
+---

Old:

  pylint-1.6.4.tar.gz

New:

  _service
  pylint-1.7.0~git.1489322553.d78e0130.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.sB7uT4/_old  2017-04-20 20:49:26.448768355 +0200
+++ /var/tmp/diff_new_pack.sB7uT4/_new  2017-04-20 20:49:26.452767789 +0200
@@ -16,30 +16,54 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pylint
-Version:1.6.4
+Version:1.7.0~git.1489322553.d78e0130
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0+
 Group:  Development/Languages/Python
 Url:https://github.com/pycqa/pylint
-Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
-BuildRequires:  python-astroid
-BuildRequires:  python-six
-BuildRequires:  python-tk
-Requires:   python-astroid
-Requires:   python-six
-Requires:   python-tk
-Provides:   pylint = %{version}
-Obsoletes:  pylint < %{version}
+# replaced for github pre-release
+#Source: 
https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
+Source: pylint-%{version}.tar.gz
+BuildRequires:  %{python_module astroid}
+BuildRequires:  %{python_module six}
+BuildRequires:  python-rpm-macros
+# SECTION test requiremenst
+BuildRequires:  %{python_module editdistance}
+BuildRequires:  %{python_module isort >= 4.2.5}
+BuildRequires:  %{python_module mccabe}
+BuildRequires:  %{python_module pytest-runner}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  fdupes
+BuildRequires:  python2-backports.functools_lru_cache
+BuildRequires:  python2-configparser
+BuildRequires:  python2-enum34
+BuildRequires:  python2-singledispatch
+# test is checking that "tkinter.tix" is deprecated
+BuildRequires:  python3-tk
+# /SECTION
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+Requires:   python-astroid
+Requires:   python-editdistance
+Requires:   python-isort >= 4.2.5
+Requires:   python-mccabe
+Requires:   python-six
+%ifpython2
+Requires:   python-backports.functools_lru_cache
+Requires:   python-configparser
+Requires:   python-enum34
+Requires:   python-singledispatch
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
+%ifpython2
+Provides:   pylint = %{version}
+Obsoletes:  pylint < %{version}
 %endif
+%python_subpackages
 
 %description
 Pylint analyzes Python source code looking for bugs and signs of poor
@@ -61,56 +85,37 @@
 %setup -q -n pylint-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot} --no-compile
+%python_install
 
-# fix non-executable rpmlint warning
-chmod +x %{buildroot}%{python_sitelib}/pylint/epylint.py
-
-# Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-for p in pylint epylint pylint-gui pyreverse symilar ; do
-mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver}
-ln -s -f 

commit python-pylint for openSUSE:Factory

2013-12-06 Thread h_root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2013-12-06 11:47:34

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


Package is python-pylint

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2013-11-28 16:52:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python-pylint.changes 
2013-12-06 14:44:38.0 +0100
@@ -1,0 +2,10 @@
+Fri Nov 29 09:36:36 UTC 2013 - toddrme2...@gmail.com
+
+- Implement update-alternatives
+
+---
+Thu Nov 28 14:33:18 UTC 2013 - toddrme2...@gmail.com
+
+- Update requires and buildrequires
+
+---



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.1Y0fTM/_old  2013-12-06 14:44:38.0 +0100
+++ /var/tmp/diff_new_pack.1Y0fTM/_new  2013-12-06 14:44:38.0 +0100
@@ -26,10 +26,16 @@
 Url:http://www.logilab.org/projects/pylint/
 Source: 
http://download.logilab.org/pub/%{modname}/%{modname}-%{version}.tar.gz
 BuildRequires:  python-devel
-Requires:   python-logilab-astng = 0.24.3
+BuildRequires:  python-astroid
+BuildRequires:  python-logilab-common = 0.55
+BuildRequires:  python-tk
+Requires:   python-astroid
 Requires:   python-logilab-common = 0.55
+Requires:   python-tk
 Provides:   pylint = %{version}
 Obsoletes:  pylint  %{version}
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} = 1110
 %{!?python_sitelib: %global python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
@@ -64,11 +70,54 @@
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 # fix non-executable rpmlint warning
 chmod +x %{buildroot}%{python_sitelib}/%{modname}/epylint.py
+# update-alternatives
+mv %{buildroot}%{_bindir}/pylint %{buildroot}%{_bindir}/pylint-%{py_ver}
+mv %{buildroot}%{_bindir}/epylint %{buildroot}%{_bindir}/epylint-%{py_ver}
+mv %{buildroot}%{_bindir}/pylint-gui 
%{buildroot}%{_bindir}/pylint-gui-%{py_ver}
+mv %{buildroot}%{_bindir}/pyreverse %{buildroot}%{_bindir}/pyreverse-%{py_ver}
+mv %{buildroot}%{_bindir}/symilar %{buildroot}%{_bindir}/symilar-%{py_ver}
+ln -s %{_bindir}/pylint-%{py_ver} %{buildroot}%{_bindir}/pylint
+ln -s %{_bindir}/epylint-%{py_ver} %{buildroot}%{_bindir}/epylint
+ln -s %{_bindir}/pylint-gui-%{py_ver} %{buildroot}%{_bindir}/pylint-gui
+ln -s %{_bindir}/pyreverse-%{py_ver} %{buildroot}%{_bindir}/pyreverse
+ln -s %{_bindir}/symilar-%{py_ver} %{buildroot}%{_bindir}/symilar
+
+%pre
+# Since /usr/bin/pylint, etc. became ghosted to be used with 
update-alternatives, we have to get rid
+# of the old binary resulting from the non-update-alternativies-ified package:
+[[ ! -L %{_bindir}/pylint ]]  rm -f %{_bindir}/pylint
+[[ ! -L %{_bindir}/epylint ]]  rm -f %{_bindir}/epylint
+[[ ! -L %{_bindir}/pylint-gui ]]  rm -f %{_bindir}/pylint-gui
+[[ ! -L %{_bindir}/pyreverse ]]  rm -f %{_bindir}/pyreverse
+[[ ! -L %{_bindir}/symilar ]]  rm -f %{_bindir}/symilar
+exit 0
+
+%post
+update-alternatives \
+   --install %{_bindir}/pylint pylint %{_bindir}/pylint-%{py_ver} 30 \
+   --slave %{_bindir}/epylint epylint %{_bindir}/epylint-%{py_ver} \
+   --slave %{_bindir}/pylint-gui pylint-gui %{_bindir}/pylint-gui-%{py_ver} \
+   --slave %{_bindir}/pyreverse pyreverse %{_bindir}/pyreverse-%{py_ver} \
+   --slave %{_bindir}/symilar symilar %{_bindir}/symilar-%{py_ver}
+
+%preun
+if [ $1 -eq 0 ] ; then
+update-alternatives --remove pylint %{_bindir}/pylint-%{py_ver}
+fi
 
 %files
 %defattr(-,root,root)
-%doc README ChangeLog examples/
-%{_bindir}/*
+%doc ChangeLog COPYING README examples/
+%{_bindir}/pylint-%{py_ver}
+%{_bindir}/epylint-%{py_ver}
+%{_bindir}/pylint-gui-%{py_ver}
+%{_bindir}/pyreverse-%{py_ver}
+%{_bindir}/symilar-%{py_ver}
+%ghost %{_bindir}/pylint
+%ghost %{_bindir}/epylint
+%ghost %{_bindir}/pylint-gui
+%ghost %{_bindir}/pyreverse
+%ghost %{_bindir}/symilar
 %{python_sitelib}/%{modname}/
 %{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pylint for openSUSE:Factory

2013-11-28 Thread h_root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2013-11-28 16:52:24

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


Package is python-pylint

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2013-06-25 14:44:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python-pylint.changes 
2013-11-28 16:52:24.0 +0100
@@ -1,0 +2,75 @@
+Wed Nov 27 14:57:03 UTC 2013 - p.drou...@gmail.com
+
+- Update to version 1.0.0
+  * Add check for the use of 'exec' function
+  * New --msg-template option to control output, deprecating msvc and
+parseable output formats as well as killing `--include-ids` and 
`--symbols`
+options
+  * Do not emit [fixme] for every line if the config value 'notes'
+is empty, but [fixme] is enabled.
+  * Emit warnings about lines exceeding the column limit when
+those lines are inside multiline docstrings.
+  * Do not double-check parameter names with the regex for parameters and
+inline variables.
+  * Added a new warning missing-final-newline (C0304) for files missing
+the final newline.
+  * Methods that are decorated as properties are now treated as attributes
+for the purposes of name checking.
+  * Names of derived instance class member are not checked any more.
+  * Names in global statements are now checked against the regular
+expression for constants.
+  * For toplevel name assignment, the class name regex will be used if
+pylint can detect that value on the right-hand side is a class
+(like collections.namedtuple()).
+  * Simplified invalid-name message
+  * Added a new warning invalid-encoded-data (W0512) for files that
+contain data that cannot be decoded with the specified or
+default encoding.
+  * New warning bad-open-mode (W1501) for calls to open (or file) that
+specify invalid open modes (Original implementation by Sasha Issayev).
+  * New warning old-style-class (C1001) for classes that do not have any
+base class.
+  * Add new name type 'class_attribute' for attributes defined
+in class scope. By default, allow both const and variable names.
+  * New warning trailing-whitespace (C0303) that warns about
+trailing whitespace.
+  * Added a new warning unpacking-in-except (W0712) about unpacking
+exceptions in handlers, which is unsupported in Python 3.
+  * Add a configuration option for missing-docstring to
+optionally exempt short functions/methods/classes from
+the check.
+  * Add the type of the offending node to missing-docstring
+and empty-docstring.
+  * New utility classes for per-checker unittests in testutils.py
+  * Do not warn about redefinitions of variables that match the
+dummy regex.
+  * Do not treat all variables starting with _ as dummy variables,
+only _ itself.
+  * Make the line-too-long warning configurable by adding a regex for lines
+for with the length limit should not be enforced
+  * Do not warn about a long line if a pylint disable
+option brings it above the length limit
+  * Do not flag names in nested with statements as undefined.
+  * Added a new warning 'old-raise-syntax' for the deprecated syntax
+raise Exception, args
+  * Support for PEP 3102 and new missing-kwoa (E1125) message for missing
+mandatory keyword argument (logilab.org's #107788)
+  * Fix spelling of max-branchs option, now max-branches
+  * Added a new base class and interface for checkers that work on the
+tokens rather than the syntax, and only tokenize the input file
+once.
+  * Follow astng renaming to astroid
+  * bitbucket #37: check for unbalanced unpacking in assignments
+  * bitbucket #25: fix incomplete-protocol false positive for read-only
+containers like tuple
+  * bitbucket #16: fix False positive E1003 on Python 3 for argument-less 
super()
+  * bitbucket #6: put back documentation in source distribution
+  * bitbucket #15: epylint shouldn't hang anymore when there is a large
+output on pylint'stderr
+  * bitbucket #7: fix epylint w/ python3
+  * bitbucket #3: remove string module from the default list of deprecated
+modules
+- Remove unwanted %{py_requires} macro
+- Remove redundant %clean section
+
+---

Old:

  pylint-0.28.0.tar.gz

New:

  pylint-1.0.0.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.Xes1Oy/_old  2013-11-28 16:52:25.0 +0100
+++ /var/tmp/diff_new_pack.Xes1Oy/_new  2013-11-28 16:52:25.0 +0100
@@ -18,7 +18,7 @@
 
 %define modname pylint
 Name:   python-%{modname}

commit python-pylint for openSUSE:Factory

2013-06-25 Thread h_root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2013-06-25 07:42:20

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


Package is python-pylint

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2012-05-21 07:30:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python-pylint.changes 
2013-06-25 14:44:59.0 +0200
@@ -1,0 +2,29 @@
+Thu May 30 20:24:56 UTC 2013 - dmuel...@suse.com
+
+- update to 0.28.0:
+   * bitbucket #1: fix dictionary changed size during iteration crash
+   * #74013: new E1310[bad-str-strip-call] message warning when a call to a
+ {l,r,}strip method contains duplicate characters (patch by Torsten Marek)
+   * #123233: new E0108[duplicate-argument-name] message reporting duplicate
+ argument names
+   * #81378: emit W0120[useless-else-on-loop] for loops without break
+   * #124660: internal dependencies should not appear in external dependencies
+ report
+   * #124662: fix name error causing crash when symbols are included in output
+ messages
+   * #123285: apply pragmas for warnings attached to lines to physical source
+ code lines
+   * #123259: do not emit E0105 for yield expressions inside lambdas
+   * #123892: don't crash when attempting to show source code line that can't
+ be encoded with the current locale settings
+   * Simplify checks for dangerous default values by unifying tests for all
+ different mutable compound literals.
+   * Improve the description for E1124[redundant-keyword-arg]
+   * #20693: replace pylint.el by Ian Eure version (patch by J.Kotta)
+   * #105327: add support for --disable=all option and deprecate the
+ 'disable-all' inline directive in favour of 'skip-file' (patch by
+ A.Fayolle)
+   * #110840: add messages I0020 and I0021 for reporting of suppressed
+ messages and useless suppression pragmas. (patch by Torsten Marek)
+
+---

Old:

  pylint-0.25.1.tar.gz
  python3-pylint.changes
  python3-pylint.spec

New:

  pylint-0.28.0.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.LRqxCS/_old  2013-06-25 14:45:00.0 +0200
+++ /var/tmp/diff_new_pack.LRqxCS/_new  2013-06-25 14:45:00.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pylint
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,9 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define modname pylint
 Name:   python-%{modname}
-Version:0.25.1
+Version:0.28.0
 Release:0
 Summary:Syntax and style checker for Python code
 License:GPL-2.0+
@@ -25,7 +26,7 @@
 Url:http://www.logilab.org/projects/pylint/
 Source: 
http://download.logilab.org/pub/%{modname}/%{modname}-%{version}.tar.gz
 BuildRequires:  python-devel
-Requires:   python-logilab-astng = 0.21.1
+Requires:   python-logilab-astng = 0.24.3
 Requires:   python-logilab-common = 0.55
 Provides:   pylint = %{version}
 Obsoletes:  pylint  %{version}
@@ -70,7 +71,7 @@
 
 %files
 %defattr(-,root,root)
-%doc README ChangeLog examples/ doc/
+%doc README ChangeLog examples/
 %{_bindir}/*
 %{python_sitelib}/%{modname}/
 %{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info

++ pylint-0.25.1.tar.gz - pylint-0.28.0.tar.gz ++
 11239 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pylint for openSUSE:Factory

2012-05-20 Thread h_root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2012-05-21 07:30:36

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


Package is python-pylint, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2012-05-07 22:50:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python-pylint.changes 
2012-05-21 07:30:39.0 +0200
@@ -1,0 +2,6 @@
+Fri May  4 09:30:09 UTC 2012 - toddrme2...@gmail.com
+
+- Fix rpmlint warnings
+- Added full url to source file
+
+---
python3-pylint.changes: same change



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.QCQQ2Y/_old  2012-05-21 07:30:40.0 +0200
+++ /var/tmp/diff_new_pack.QCQQ2Y/_new  2012-05-21 07:30:40.0 +0200
@@ -23,12 +23,12 @@
 License:GPL-2.0+
 Group:  Development/Languages/Python
 Url:http://www.logilab.org/projects/pylint/
-Source: pylint-%{version}.tar.gz
+Source: 
http://download.logilab.org/pub/%{modname}/%{modname}-%{version}.tar.gz
 BuildRequires:  python-devel
 Requires:   python-logilab-astng = 0.21.1
 Requires:   python-logilab-common = 0.55
 Provides:   pylint = %{version}
-Obsoletes:  pylint = %{version}
+Obsoletes:  pylint  %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{py_requires}
 %if 0%{?suse_version} = 1110
@@ -62,6 +62,8 @@
 %install
 #export PYTHONOPTIMIZE=1 #--optimize=1
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+# fix non-executable rpmlint warning
+chmod +x %{buildroot}%{python_sitelib}/%{modname}/epylint.py
 
 %clean
 rm -rf %{buildroot}

++ python3-pylint.spec ++
--- /var/tmp/diff_new_pack.QCQQ2Y/_old  2012-05-21 07:30:40.0 +0200
+++ /var/tmp/diff_new_pack.QCQQ2Y/_new  2012-05-21 07:30:40.0 +0200
@@ -23,14 +23,14 @@
 License:GPL-2.0+
 Group:  Development/Languages/Python
 Url:http://www.logilab.org/projects/pylint/
-Source: pylint-%{version}.tar.gz
+Source: 
http://download.logilab.org/pub/%{modname}/%{modname}-%{version}.tar.gz
 BuildRequires:  python3
 BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
 Requires:   python3-logilab-astng = 0.21.1
 Requires:   python3-logilab-common = 0.55
 Provides:   pylint = %{version}
-Obsoletes:  pylint = %{version}
+Obsoletes:  pylint  %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} = 1140
 %{!?python3_sitelib: %global python3_sitelib %(python3 -c from 
distutils.sysconfig import get_python_lib; print(get_python_lib()))}
@@ -69,6 +69,8 @@
 # build failes without --no-compile
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --no-compile
 for f in %{buildroot}%{_bindir}/*; do mv $f $f-python%{py3_ver}; done
+# fix non-executable rpmlint warning
+chmod +x %{buildroot}%{python3_sitelib}/%{modname}/epylint.py
 
 %clean
 rm -rf %{buildroot}

++ pylint-0.25.1.tar.gz ++

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pylint for openSUSE:Factory

2012-05-07 Thread h_root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2012-05-07 22:50:36

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


Package is python-pylint, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2012-02-24 06:53:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python-pylint.changes 
2012-05-07 22:50:38.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 30 14:54:40 UTC 2012 - toddrme2...@gmail.com
+
+- Cleaned up spec file formatting
+- Added python 3 package
+
+---
New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python3-pylint.changes
2012-05-07 22:50:38.0 +0200
@@ -0,0 +1,6 @@
+---
+Mon Apr 30 14:54:40 UTC 2012 - toddrme2...@gmail.com
+
+- Cleaned up spec file formatting
+- Added python 3 package
+

New:

  python3-pylint.changes
  python3-pylint.spec



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.qwEJu9/_old  2012-05-07 22:50:39.0 +0200
+++ /var/tmp/diff_new_pack.qwEJu9/_new  2012-05-07 22:50:39.0 +0200
@@ -15,8 +15,8 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-Name:   python-pylint
+%define modname pylint
+Name:   python-%{modname}
 Version:0.25.1
 Release:0
 Summary:Syntax and style checker for Python code
@@ -31,9 +31,10 @@
 Obsoletes:  pylint = %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{py_requires}
-%if 0%suse_version  1110
+%if 0%{?suse_version} = 1110
+%{!?python_sitelib: %global python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
+%else
 BuildArch:  noarch
-%define py_sitedir %python_sitelib
 %endif
 
 %description
@@ -52,40 +53,24 @@
 customizable, and you can easily write a small plugin to add a personal
 feature.
 
-Please send any comment, patch or question to the python-projects
-mailing-list. Before asking a question, please first search the
-archives in case it would have already been answered. You may want to
-use google and add site:lists.logilab.org to your keywords to narrow
-your search. We will soon provide our own search engine.
-
-Authors:
-
-Logilab python-proje...@lists.logilab.org
-
 %prep
-%setup -q -n pylint-%{version}
+%setup -q -n %{modname}-%{version}
 
 %build
-%{__python} setup.py build
+python setup.py build
 
 %install
 #export PYTHONOPTIMIZE=1 #--optimize=1
-%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES
-
-# some files contain expected errors, hence compilation fails, 
-# remove them from installed file list, too
-for p in $(find %{buildroot}%{py_sitedir}/pylint/test/input -name \*.py); do
-if ! $(test -f ${p}c); then
-   f=$(basename $p)
-   sed -i /.*\/${f}c$/d INSTALLED_FILES
-fi
-done
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %clean
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
 
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root)
 %doc README ChangeLog examples/ doc/
+%{_bindir}/*
+%{python_sitelib}/%{modname}/
+%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
 
 %changelog

++ python3-pylint.spec ++
#
# spec file for package python3-pylint
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# 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/
#

%define modname pylint
Name:   python3-%{modname}
Version:0.25.1
Release:0
Summary:Syntax and style checker for Python code
License:GPL-2.0+
Group:  Development/Languages/Python
Url:http://www.logilab.org/projects/pylint/
Source: pylint-%{version}.tar.gz
BuildRequires:  python3
BuildRequires:  python3-2to3
BuildRequires:  python3-devel
Requires:   python3-logilab-astng = 0.21.1
Requires:   

commit python-pylint for openSUSE:Factory

2012-02-23 Thread h_root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2012-02-24 06:53:51

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


Package is python-pylint, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes  
2011-09-23 12:43:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new/python-pylint.changes 
2012-02-24 06:53:55.0 +0100
@@ -1,0 +2,31 @@
+Thu Feb 23 14:26:22 UTC 2012 - sasc...@suse.de
+
+- Provide detail about each version update to please darix ;-)
+
+---
+Sat Feb 18 16:06:21 UTC 2012 - tog...@opensuse.org
+
+- Update to version 0.25.1:
+  * #81078: Warn if names in  exception handlers clobber
+overwrite existing names (patch by tma...@google.com)
+  * #81113: Fix W0702 messages appearing with the wrong line
+number. (patch by tma...@google.com)
+  * #50461, #52020, #51222: Do not issue warnings when using
+2.6's property.setter/deleter functionality
+(patch by dn...@google.com)
+  * #9188, #4024: Do not trigger W0631 if a loop variable is
+assigned in the else branch of a for loop.
+- Changes from version 0.25.0:
+  * #74742: make allowed name for first argument of class method configurable
+(patch by Google)
+  * #74087: handle case where inference of a module return YES; this avoid
+some cases of TypeError: '_Yes' object does not support indexing (patch
+by Google)
+  * #74745: make too general exception names configurable (patch by Google)
+  * #74747: crash occurs when lookup up a special attribute in class scope
+(patch by google)
+  * #76920: crash if on eg pylint --rcfile(patch by Torsten Marek)
+  * #77237: warning for E0202 may be very misleading
+  * #73941: HTML report messages table is badly rendered
+
+---
@@ -4 +35 @@
-- update to 0.24.0:
+- Update to version 0.24.0:
@@ -26 +57 @@
-- update to 0.23.0
+- Update to version 0.23.0:
@@ -40 +71 @@
-- Update to 0.22.0:
+- Update to version 0.22.0:

Old:

  pylint-0.24.0.tar.gz

New:

  pylint-0.25.1.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.33T9pT/_old  2012-02-24 06:53:57.0 +0100
+++ /var/tmp/diff_new_pack.33T9pT/_new  2012-02-24 06:53:57.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pylint
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,13 @@
 #
 
 
-
 Name:   python-pylint
-Version:0.24.0
-Release:1
-License:GPL-2.0+
+Version:0.25.1
+Release:0
 Summary:Syntax and style checker for Python code
-Url:http://www.logilab.org/projects/pylint/
+License:GPL-2.0+
 Group:  Development/Languages/Python
+Url:http://www.logilab.org/projects/pylint/
 Source: pylint-%{version}.tar.gz
 BuildRequires:  python-devel
 Requires:   python-logilab-astng = 0.21.1

++ pylint-0.24.0.tar.gz - pylint-0.25.1.tar.gz ++
 2145 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pylint for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2011-12-06 18:57:15

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


Package is python-pylint, Maintainer is 

Changes:




Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.weG0i4/_old  2011-12-06 19:29:57.0 +0100
+++ /var/tmp/diff_new_pack.weG0i4/_new  2011-12-06 19:29:57.0 +0100
@@ -20,7 +20,7 @@
 Name:   python-pylint
 Version:0.24.0
 Release:1
-License:GPLv2+
+License:GPL-2.0+
 Summary:Syntax and style checker for Python code
 Url:http://www.logilab.org/projects/pylint/
 Group:  Development/Languages/Python

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pylint for openSUSE:Factory

2011-09-21 Thread h_root

Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory
checked in at Wed Sep 21 17:38:20 CEST 2011.




--- python-pylint/python-pylint.changes 2011-04-11 22:10:13.0 +0200
+++ /mounts/work_src_done/STABLE/python-pylint/python-pylint.changes
2011-09-21 14:16:51.0 +0200
@@ -1,0 +2,21 @@
+Wed Sep 21 14:16:13 CEST 2011 - dmuel...@suse.de
+
+- update to 0.24.0:
+* #69738: add regular expressions support for generated-members
+* #69993: Additional string format checks for logging module:
+  check for missing arguments, too many arguments, or invalid string
+  formats in the logging checker module. Contributed by Daniel Arena
+* #69220: add column offset to the reports. If you've a custom reporter,
+  this change may break it has now location gain a new item giving the
+  column offset.
+* #60828: Fix false positive in reimport check
+* #70495: absolute imports fail depending on module path (patch by Jacek 
Konieczny)
+* #22273: Fix --ignore option documentation to match reality
+
+---
+Tue Aug 30 18:57:41 UTC 2011 - andrea.turr...@gmail.com
+
+- fixed typo and standardized Authors: format in description of 
+  python-pylint.spec
+
+---

calling whatdependson for head-i586


Old:

  pylint-0.23.0.tar.bz2

New:

  pylint-0.24.0.tar.gz



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.8oDKjs/_old  2011-09-21 17:38:14.0 +0200
+++ /var/tmp/diff_new_pack.8oDKjs/_new  2011-09-21 17:38:14.0 +0200
@@ -18,16 +18,16 @@
 
 
 Name:   python-pylint
-Version:0.23.0
+Version:0.24.0
 Release:1
 License:GPLv2+
 Summary:Syntax and style checker for Python code
 Url:http://www.logilab.org/projects/pylint/
 Group:  Development/Languages/Python
-Source: pylint-%{version}.tar.bz2
+Source: pylint-%{version}.tar.gz
 BuildRequires:  python-devel
-Requires:   python-logilab-astng = 0.20.1
-Requires:   python-logilab-common = 0.50.1
+Requires:   python-logilab-astng = 0.21.1
+Requires:   python-logilab-common = 0.55
 Provides:   pylint = %{version}
 Obsoletes:  pylint = %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -41,7 +41,7 @@
 Pylint analyzes Python source code looking for bugs and signs of poor
 quality.
 
-Pylint is a python tool that checks if a module satisfy a coding
+Pylint is a python tool that checks if a module satisfies a coding
 standard. Pylint can be seen as another PyChecker since nearly all
 tests you can do with PyChecker can also be done with Pylint. But
 Pylint offers some more features, like checking line-code's length,
@@ -59,13 +59,12 @@
 use google and add site:lists.logilab.org to your keywords to narrow
 your search. We will soon provide our own search engine.
 
-Author:
+Authors:
 
 Logilab python-proje...@lists.logilab.org
 
 %prep
 %setup -q -n pylint-%{version}
-#%patch
 
 %build
 %{__python} setup.py build
@@ -79,7 +78,7 @@
 for p in $(find %{buildroot}%{py_sitedir}/pylint/test/input -name \*.py); do
 if ! $(test -f ${p}c); then
f=$(basename $p)
-   sed -i /.*${f}c$/d INSTALLED_FILES
+   sed -i /.*\/${f}c$/d INSTALLED_FILES
 fi
 done
 






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pylint for openSUSE:Factory

2011-04-14 Thread h_root

Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory
checked in at Thu Apr 14 15:02:04 CEST 2011.




--- python-pylint/python-pylint.changes 2010-12-01 22:31:39.0 +0100
+++ python-pylint/python-pylint.changes 2011-04-11 22:10:13.0 +0200
@@ -1,0 +2,31 @@
+Mon Apr 11 21:45:30 CEST 2011 - h...@urpla.net
+
+- fix build
+- update to 0.23.0
+   * documentation update, add manpages
+   * several performance improvements
+   * finalize python3 support
+   * new W0106 warning 'Expression %s is assigned to nothing'
+   * drop E0501 and E0502 messages about wrong source encoding: not anymore
+ interesting since it's a syntax error for python = 2.5 and we now only
+ support this python version and above.
+   * don't emit W0221 or W0222 when methods as variable arguments (eg *arg
+ and/or **args). Patch submitted by Charles Duffy.
+
+---
+Fri Jan  7 12:47:47 CET 2011 - h...@urpla.net
+
+- Update to 0.22.0:
+   * python versions: minimal python3.x support; drop python  2.5 support
+
+  - 2010-10-27  --  0.21.4
+* fix #48066: pylint crashes when redirecting output containing non-ascii 
characters
+* fix #19799: pylint -blah exit with status 2
+* update documentation
+
+   - 2010-09-28  --  0.21.3
+* restored python 2.3 compatibility. Along with logilab-astng
+  0.21.3 and logilab-common 0.52, this will much probably be the
+  latest release supporting python  2.5.
+
+---

calling whatdependson for head-i586


Old:

  pylint-0.21.2.tar.bz2

New:

  pylint-0.23.0.tar.bz2



Other differences:
--
++ python-pylint.spec ++
--- /var/tmp/diff_new_pack.8lnGfL/_old  2011-04-14 15:00:56.0 +0200
+++ /var/tmp/diff_new_pack.8lnGfL/_new  2011-04-14 15:00:56.0 +0200
@@ -18,8 +18,8 @@
 
 
 Name:   python-pylint
-Version:0.21.2
-Release:2
+Version:0.23.0
+Release:1
 License:GPLv2+
 Summary:Syntax and style checker for Python code
 Url:http://www.logilab.org/projects/pylint/
@@ -73,7 +73,15 @@
 %install
 #export PYTHONOPTIMIZE=1 #--optimize=1
 %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES
-%{__rm} -rf %{buildroot}%{py_sitedir}/pylint/test/
+
+# some files contain expected errors, hence compilation fails, 
+# remove them from installed file list, too
+for p in $(find %{buildroot}%{py_sitedir}/pylint/test/input -name \*.py); do
+if ! $(test -f ${p}c); then
+   f=$(basename $p)
+   sed -i /.*${f}c$/d INSTALLED_FILES
+fi
+done
 
 %clean
 %{__rm} -rf %{buildroot}

++ pylint-0.21.2.tar.bz2 - pylint-0.23.0.tar.bz2 ++
 7928 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org