Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
python3-logilab-astng
python-logilab-astng.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-logilab-astng.spec of Package python3-logilab-astng
# # spec file for package python-logilab-astng # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-logilab-astng Version: 0.23.1 Release: 0 Url: http://www.logilab.org/projects/astng Summary: Python Python Abstract Syntax Tree (New Generation) License: LGPL-2.1+ Group: Development/Libraries/Python Source: logilab-astng-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel %if 0%{?suse_version} > 1120 BuildRequires: python-nose %endif Requires: python-logilab-common %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %endif %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description The aim of this module is to provide a common base representation of python source code for projects such as pychecker, pyreverse, pylint... Well, actually the development of this library is essentially governed by pylint's needs. It extends class defined in the compiler.ast [1] module with some additional methods and attributes. Instance attributes are added by a builder object, which can either generate extended ast (let's call them astng ;) by visiting an existant ast tree or by inspecting living object. Methods are added by monkey patching ast classes. Please send any comment, patch or question to the python-projects mailing-list. Before asking a question, please first search the archives in case it would have already been answered. You may want to use google and add "site:lists.logilab.org" to your keywords to narrow your search. We will soon provide our own search engine. %prep %setup -n logilab-astng-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root="%{buildroot}" rm -f %{buildroot}/%{python_sitelib}/logilab/__init__.py # Avoid conflict with python-logilab-common rm -rf %{buildroot}/%{python_sitelib}/logilab/astng/test # Do not package testsuite %if 0%{?suse_version} > 1120 %check nosetests # Use nosetests because upstream testsuite script is kind of broken %endif %files %defattr(-,root,root,-) %doc README COPYING COPYING.LESSER ChangeLog %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor