From bef5c4faf8b3b70ab88cd425acfdd5a80060554c77d3182d91b17256ff6a9e8d Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Wed, 5 Mar 2014 10:06:55 +0000
Subject: [PATCH] Accepting request 224686 from
home:apersaud:branches:devel:languages:python
update to latest version.
There are quite a few rpm-warnings that I don't know how to fix, but they have been present in the earlier warning too. (I submitted a patch to fix the FSF adress upstream, so those should be gone in the next version).
Seems like two *.orig files are present in the tar.gz file, removing them in %setup solved this issue.
OBS-URL: https://build.opensuse.org/request/show/224686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=53
---
pylint-1.0.0.tar.gz | 3 ---
pylint-1.1.0.tar.gz | 3 +++
python-pylint.changes | 42 ++++++++++++++++++++++++++++++++++++++++++
python-pylint.spec | 5 ++++-
4 files changed, 49 insertions(+), 4 deletions(-)
delete mode 100644 pylint-1.0.0.tar.gz
create mode 100644 pylint-1.1.0.tar.gz
diff --git a/pylint-1.0.0.tar.gz b/pylint-1.0.0.tar.gz
deleted file mode 100644
index a49adf4..0000000
--- a/pylint-1.0.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5ccd5b2783f05c7747d3a36b1d5540b95f17547d5cfa43c5136661cafbd32113
-size 261670
diff --git a/pylint-1.1.0.tar.gz b/pylint-1.1.0.tar.gz
new file mode 100644
index 0000000..9675fbd
--- /dev/null
+++ b/pylint-1.1.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8a92f0067213dd2bdcc793f838637a7d797918b01898ef8624213e93364759b1
+size 369058
diff --git a/python-pylint.changes b/python-pylint.changes
index a387265..fb2acfe 100644
--- a/python-pylint.changes
+++ b/python-pylint.changes
@@ -1,3 +1,45 @@
+-------------------------------------------------------------------
+Wed Mar 5 06:43:45 UTC 2014 - arun@gmx.de
+
+- update to version 1.1.0
+ * Add new check for use of deprecated pragma directives "pylint:disable-msg"
+ or "pylint:enable-msg" (I0022, deprecated-pragma) which was previously
+ emmited as a regular warn().
+ * Avoid false used-before-assignment for except handler defined
+ identifier used on the same line (#111).
+ * Combine 'no-space-after-operator', 'no-space-after-comma' and
+ 'no-space-before-operator' into a new warning 'bad-whitespace'.
+ * Add a new warning 'superfluous-parens' for unnecessary
+ parentheses after certain keywords.
+ * Fix a potential crash in the redefine-in-handler warning
+ if the redefined name is a nested getattr node.
+ * Add a new option for the multi-statement warning to
+ allow single-line if statements.
+ * Add 'bad-context-manager' error, checking that '__exit__'
+ special method accepts the right number of arguments.
+ * Run pylint as a python module 'python -m pylint' (anatoly techtonik).
+ * Check for non-exception classes inside an except clause.
+ * epylint support options to give to pylint after the file to analyze and
+ have basic input validation (bitbucket #53 and #54), patches provided by
+ felipeochoa and Brian Lane.
+ * Added a new warning, 'non-iterator-returned', for non-iterators
+ returned by '__iter__'.
+ * Add new checks for unpacking non-sequences in assignments
+ (unpacking-non-sequence) as well as unbalanced tuple unpacking
+ (unbalanced-tuple-unpacking).
+ * useless-else-on-loop not emited if there is a break in the
+ else clause of inner loop (#117).
+ * don't mark `input` as a bad function when using python3 (#110).
+ * badly-implemented-container caused several problems in its
+ current implementation. Deactivate it until we have something
+ better. See #112 for instance.
+ * Use attribute regexp for properties in python3, as in python2
+ * Create the PYLINTHOME directory when needed, it might fail and lead to
+ spurious warnings on import of pylint.config.
+ * Fix setup.py so that pylint properly install on Windows when using python3
+ * Various documentation fixes and enhancements
+ * Fix issue #55 (false-positive trailing-whitespace on Windows)
+
-------------------------------------------------------------------
Fri Nov 29 09:36:36 UTC 2013 - toddrme2178@gmail.com
diff --git a/python-pylint.spec b/python-pylint.spec
index eabf1e9..63c28e6 100644
--- a/python-pylint.spec
+++ b/python-pylint.spec
@@ -18,7 +18,7 @@
%define modname pylint
Name: python-%{modname}
-Version: 1.0.0
+Version: 1.1.0
Release: 0
Summary: Syntax and style checker for Python code
License: GPL-2.0+
@@ -61,6 +61,9 @@ feature.
%prep
%setup -q -n %{modname}-%{version}
+# two orig files made it into the rpm, but rpmlint throws an error
+rm man/pylint.1.orig
+rm examples/pylintrc.orig
%build
python setup.py build