packages: python-logilab-astng/python-logilab-astng.spec, python-logilab-as...

jajcus jajcus at pld-linux.org
Tue Mar 23 09:27:59 CET 2010


Author: jajcus                       Date: Tue Mar 23 08:27:59 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- patch to fix infinite recursion often occuring in pylint (see: http://www.logilab.org/ticket/19641 and https://bugs.launchpad.net/pylint/+bug/456870)

---- Files affected:
packages/python-logilab-astng:
   python-logilab-astng.spec (1.22 -> 1.23) , python-logilab-astng-recursion.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-logilab-astng/python-logilab-astng.spec
diff -u packages/python-logilab-astng/python-logilab-astng.spec:1.22 packages/python-logilab-astng/python-logilab-astng.spec:1.23
--- packages/python-logilab-astng/python-logilab-astng.spec:1.22	Tue Mar 23 09:21:27 2010
+++ packages/python-logilab-astng/python-logilab-astng.spec	Tue Mar 23 09:27:54 2010
@@ -10,6 +10,7 @@
 Group:		Development/Languages/Python
 Source0:	ftp://ftp.logilab.fr/pub/astng/%{module}-%{version}.tar.gz
 # Source0-md5:	f3b9e324be1e59d521fbd0239bd7262b
+Patch0:		%{name}-recursion.patch
 URL:		http://www.logilab.org/projects/astng
 BuildRequires:	python-devel
 BuildRequires:	python-modules >= 1:2.5
@@ -34,6 +35,7 @@
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch0 -p1
 
 %build
 python setup.py build
@@ -65,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2010/03/23 08:27:54  jajcus
+- patch to fix infinite recursion often occuring in pylint (see: http://www.logilab.org/ticket/19641 and https://bugs.launchpad.net/pylint/+bug/456870)
+
 Revision 1.22  2010/03/23 08:21:27  jajcus
 - Version: 0.19.3
 

================================================================
Index: packages/python-logilab-astng/python-logilab-astng-recursion.patch
diff -u /dev/null packages/python-logilab-astng/python-logilab-astng-recursion.patch:1.1
--- /dev/null	Tue Mar 23 09:27:59 2010
+++ packages/python-logilab-astng/python-logilab-astng-recursion.patch	Tue Mar 23 09:27:54 2010
@@ -0,0 +1,13 @@
+--- logilab-astng-0.19.3/inference.py.orig	2009-12-18 11:38:51.000000000 +0100
++++ logilab-astng-0.19.3/inference.py	2010-03-23 09:23:13.000000000 +0100
+@@ -50,9 +50,7 @@
+ _CONST_PROXY[type(None)].parent = _CONST_PROXY[bool].parent
+ 
+ def _set_proxied(const):
+-    if not hasattr(const, '__proxied'):
+-        const.__proxied = _CONST_PROXY[const.value.__class__]
+-    return const.__proxied
++    return _CONST_PROXY[const.value.__class__]
+ nodes.Const._proxied = property(_set_proxied)
+ 
+ nodes.Const.__bases__ += (Instance,)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-logilab-astng/python-logilab-astng.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list