Hello community,
here is the log from the commit of package python-logilab-astng for
openSUSE:Factory
checked in at Mon Sep 26 10:50:42 CEST 2011.
--------
--- python-logilab-astng/python-logilab-astng.changes 2011-04-12
16:03:01.000000000 +0200
+++
/mounts/work_src_done/STABLE/python-logilab-astng/python-logilab-astng.changes
2011-09-25 14:34:12.000000000 +0200
@@ -1,0 +2,20 @@
+Sun Sep 25 12:33:28 UTC 2011 - [email protected]
+
+- Don't remove logilab/__init__.py on SLE, where it is not existing.
+
+-------------------------------------------------------------------
+Wed Sep 21 10:06:07 UTC 2011 - [email protected]
+
+- Update to version 0.22.0:
+ * added column offset information on nodes (patch by fawce)
+ * #70497: Crash on AttributeError: 'NoneType' object has no attribute
'_infer_name'
+ * #70381: IndendationError in import causes crash
+ * #70565: absolute imports treated as relative (patch by Jacek Konieczny)
+ * #70494: fix file encoding detection with python2.x
+ * py3k: __builtin__ module renamed to builtins, we should consider this to
properly
+ build ast for builtin objects
+- Run testsuite
+- Removed outdated stuff from spec file (%clean section, authors, ...)
+- Set license to GPL-2.0+ (SPDX style)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
logilab-astng-0.21.1.tar.bz2
New:
----
logilab-astng-0.22.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-logilab-astng.spec ++++++
--- /var/tmp/diff_new_pack.wZnrm4/_old 2011-09-26 10:50:35.000000000 +0200
+++ /var/tmp/diff_new_pack.wZnrm4/_new 2011-09-26 10:50:35.000000000 +0200
@@ -15,26 +15,26 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
Name: python-logilab-astng
-BuildRequires: python-devel
+Version: 0.22.0
+Release: 0
+Url: http://www.logilab.org/projects/astng
Summary: Python Python Abstract Syntax Tree (New Generation)
-Version: 0.21.1
-Release: 1
-Source: logilab-astng-%{version}.tar.bz2
-License: GPLv2+
+License: GPL-2.0+
Group: Development/Libraries/Python
-Url: http://www.logilab.org/projects/astng
+Source: logilab-astng-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: python-devel
+BuildRequires: python-nose
Requires: python-logilab-common
-%if %suse_version <= 1110
-%define python_sitelib %py_sitedir
-%else
+%if 0%{?suse_version}
+%py_requires
+%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
-%{py_requires}
+%endif
%description
The aim of this module is to provide a common base representation of
@@ -54,12 +54,6 @@
use google and add "site:lists.logilab.org" to your keywords to narrow
your search. We will soon provide our own search engine.
-
-
-Authors:
---------
- Sylvain Thénault <[email protected]>
-
%prep
%setup -n logilab-astng-%{version}
@@ -67,21 +61,18 @@
python setup.py build
%install
-python setup.py install --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
-# Avoid conflict with python-logilab-common
-rm $RPM_BUILD_ROOT/%{python_sitelib}/logilab/__init__.py
-# Do not package testsuite
-#rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/logilab/astng/test
+python setup.py install --prefix=%{_prefix} --root="%{buildroot}"
+%if ! 0%{?sles_version}
+rm %{buildroot}/%{python_sitelib}/logilab/__init__.py # Avoid conflict with
python-logilab-common
+%endif
+rm -rf %{buildroot}/%{python_sitelib}/logilab/astng/test # Do not package
testsuite
-%clean
-rm -rf $RPM_BUILD_ROOT
+%check
+nosetests # Use nosetests because upstream testsuite script is kind of broken
%files
-%defattr(-,root,root)
-%doc README COPYING ChangeLog
-%if 0%suse_version > 1010
-%{python_sitelib}/*egg-info
-%endif
-%{python_sitelib}/logilab
+%defattr(-,root,root,-)
+%doc README COPYING COPYING.LESSER ChangeLog
+%{python_sitelib}/*
%changelog
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]