]> git.pld-linux.org Git - packages/python-logilab-astng.git/commitdiff
- Version: 0.22.0 auto/th/python-logilab-astng-0_22_0-1
authorJacek Konieczny <jajcus@pld-linux.org>
Sat, 3 Sep 2011 17:11:47 +0000 (17:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- absolute_import patch dropped (applied upstream)

Changed files:
    logilab-astng-absolute_import.patch -> 1.3
    python-logilab-astng.spec -> 1.30

logilab-astng-absolute_import.patch [deleted file]
python-logilab-astng.spec

diff --git a/logilab-astng-absolute_import.patch b/logilab-astng-absolute_import.patch
deleted file mode 100644 (file)
index 99d2e36..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- logilab-astng-0.21.1.orig/scoped_nodes.py   2011-01-11 15:47:29.000000000 +0100
-+++ logilab-astng-0.21.1/scoped_nodes.py        2011-07-08 11:07:34.000000000 +0200
-@@ -324,6 +324,8 @@
-     def import_module(self, modname, relative_only=False, level=None):
-         """import the given module considering self as context"""
-+        if relative_only and level is None:
-+            level = 0
-         absmodname = self.relative_to_absolute_name(modname, level)
-         try:
-             return MANAGER.astng_from_module_name(absmodname)
-@@ -342,6 +344,8 @@
-         # XXX this returns non sens when called on an absolute import
-         # like 'pylint.checkers.logilab.astng.utils'
-         # XXX doesn't return absolute name if self.name isn't absolute name
-+        if self.absolute_import_activated() and level is None:
-+            return modname
-         if level:
-             if self.package:
-                 level = level - 1
index 9c0881e1003761b7be38672619a4e4f31ade7d89..2fd62637d64e5c572da1493e608247fca914fb52 100644 (file)
@@ -3,13 +3,12 @@
 Summary:       Python Abstract Syntax Tree New Generation
 Summary(pl.UTF-8):     Abstrakcyjne drzewa skÅ‚adniowe Pythona nowej generacji
 Name:          python-logilab-astng
-Version:       0.21.1
-Release:       3
+Version:       0.22.0
+Release:       1
 License:       GPL
 Group:         Development/Languages/Python
 Source0:       ftp://ftp.logilab.fr/pub/astng/%{module}-%{version}.tar.gz
-# Source0-md5: 064a1cb970c283cf18e05a990db48576
-Patch0:                logilab-astng-absolute_import.patch
+# Source0-md5: c7313019626369d32cdc08556f5a87bd
 URL:           http://www.logilab.org/projects/astng
 BuildRequires: python-devel
 BuildRequires: python-modules >= 1:2.5
@@ -35,8 +34,6 @@ potrzebami pylinta.
 %prep
 %setup -q -n %{module}-%{version}
 
-%patch0 -p1
-
 %build
 python setup.py build
 
This page took 0.052046 seconds and 4 git commands to generate.