packages: pylint/pylint.spec, pylint/pylint-type_error.patch (NEW) - workar...
jajcus
jajcus at pld-linux.org
Sat Sep 3 19:23:42 CEST 2011
Author: jajcus Date: Sat Sep 3 17:23:42 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- workaround for the http://www.logilab.org/ticket/74087 bug
---- Files affected:
packages/pylint:
pylint.spec (1.55 -> 1.56) , pylint-type_error.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/pylint/pylint.spec
diff -u packages/pylint/pylint.spec:1.55 packages/pylint/pylint.spec:1.56
--- packages/pylint/pylint.spec:1.55 Sat Sep 3 19:12:22 2011
+++ packages/pylint/pylint.spec Sat Sep 3 19:23:37 2011
@@ -6,11 +6,12 @@
Summary(pl.UTF-8): Pythonowe narzędzie sprawdzające zgodność modułu ze standardem kodowania
Name: pylint
Version: 0.24.0
-Release: 1
+Release: 2
License: GPL
Group: Development/Languages/Python
Source0: ftp://ftp.logilab.fr/pub/pylint/%{name}-%{version}.tar.gz
# Source0-md5: 71df67d15f3aa1895c543b40a6955ed3
+Patch0: %{name}-type_error.patch
URL: http://www.logilab.org/project/pylint
BuildRequires: python-devel
BuildRequires: python-modules >= 2.2.1
@@ -46,6 +47,8 @@
%prep
%setup -q
+%patch0 -p1
+
%build
python setup.py build
@@ -86,6 +89,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.56 2011/09/03 17:23:37 jajcus
+- workaround for the http://www.logilab.org/ticket/74087 bug
+
Revision 1.55 2011/09/03 17:12:22 jajcus
- Version: 0.24.0
- relative_import_from patch dropped (applied upstream)
================================================================
Index: packages/pylint/pylint-type_error.patch
diff -u /dev/null packages/pylint/pylint-type_error.patch:1.1
--- /dev/null Sat Sep 3 19:23:42 2011
+++ packages/pylint/pylint-type_error.patch Sat Sep 3 19:23:37 2011
@@ -0,0 +1,12 @@
+diff -dur pylint-0.24.0.orig/checkers/variables.py pylint-0.24.0/checkers/variables.py
+--- pylint-0.24.0.orig/checkers/variables.py 2011-07-18 16:42:45.000000000 +0200
++++ pylint-0.24.0/checkers/variables.py 2011-09-03 19:09:07.000000000 +0200
+@@ -488,6 +488,8 @@
+ return None
+ except astng.InferenceError:
+ return None
++ except TypeError:
++ return None
+ if module_names:
+ # FIXME: other message if name is not the latest part of
+ # module_names ?
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pylint/pylint.spec?r1=1.55&r2=1.56&f=u
More information about the pld-cvs-commit
mailing list