Name: python-logilab-astng Version: 0.24.3 Release: 2mamba Summary: Python Abstract Syntax Tree New Generation Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: http://www.logilab.org/project/logilab-astng Source: http://ftp.logilab.org/pub/astng/logilab-astng-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel BuildRequires: python-logilab-common ## AUTOBUILDREQ-END Requires: python >= %python_version Requires: python-logilab-common BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description astng allows to rebuild a new abstract syntax tree from Python's ast. The aim of this module is to provide a common base representation of python source code for projects such as pychecker, pyreverse and pylint. %prep %setup -q -n logilab-astng-%{version} %build %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ --install-lib=%{python_sitearch} \ --single-version-externally-managed \ --record=%{name}.filelist # Avoid conflict with python-logilab-common rm -f %{buildroot}%{python_sitelib}/logilab/__init__.py # Do not package testsuite rm -rf %{buildroot}%{python_sitelib}/logilab/astng/test sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,/test/,d" %{name}.filelist # Fix encoding in readme iconv -f iso-8859-15 -t utf-8 README > README.utf8 mv -f README.utf8 README %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/logilab %dir %{python_sitearch}/logilab/astng %dir %{python_sitearch}/logilab/astng/brain %{python_sitearch}/logilab/astng/brain/* %doc ChangeLog COPYING README %changelog * Sat May 25 2013 Silvan Calarco 0.24.3-2mamba - python 2.7 mass rebuild * Fri May 17 2013 Automatic Build System 0.24.3-1mamba - automatic version update by autodist * Fri Mar 08 2013 Automatic Build System 0.24.2-1mamba - automatic version update by autodist * Thu Oct 18 2012 Automatic Build System 0.24.1-1mamba - automatic version update by autodist * Wed Sep 05 2012 Automatic Build System 0.24.0-1mamba - automatic version update by autodist * Sat Aug 06 2011 Automatic Build System 0.22.0-1mamba - automatic version update by autodist * Mon Feb 28 2011 Stefano Cotta Ramusino 0.21.1-1mamba - update to 0.21.1 * Tue Nov 16 2010 Automatic Build System 0.21.0-1mamba - automatic update by autodist * Fri Nov 12 2010 Automatic Build System 0.20.4-1mamba - automatic update by autodist * Mon May 31 2010 Stefano Cotta Ramusino 0.20.1-1mamba - package created by autospec