Группа :: Разработка/Python
Пакет: python-module-logilab-astng
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: python-module-logilab-astng
Version: 0.19.1
Release: alt1
Summary: Python Abstract Syntax Tree New Generation
License: GPLv2+
Group: Development/Python
BuildArch: noarch
Url: http://www.logilab.org/project/logilab-astng
Source: %name-%version.tar
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
%setup_python_module logilab-astng
%python_module_declare %python_sitelibdir/logilab
%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 essentialy governed by
pylint's needs.
It extends class defined in the compiler.ast [1] module (python <= 2.4)
or in the builtin _ast module (python >= 2.5) 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.
%prep
%setup
%build
%python_build
%install
%python_install
rm -rf %buildroot%python_sitelibdir/logilab/astng/test
rm -rf %buildroot%python_sitelibdir/logilab/__init__.py*
%files
%python_sitelibdir/logilab/
%python_sitelibdir/*.egg-info
%doc ChangeLog README
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.19.1
Release: alt1
Summary: Python Abstract Syntax Tree New Generation
License: GPLv2+
Group: Development/Python
BuildArch: noarch
Url: http://www.logilab.org/project/logilab-astng
Source: %name-%version.tar
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
%setup_python_module logilab-astng
%python_module_declare %python_sitelibdir/logilab
%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 essentialy governed by
pylint's needs.
It extends class defined in the compiler.ast [1] module (python <= 2.4)
or in the builtin _ast module (python >= 2.5) 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.
%prep
%setup
%build
%python_build
%install
%python_install
rm -rf %buildroot%python_sitelibdir/logilab/astng/test
rm -rf %buildroot%python_sitelibdir/logilab/__init__.py*
%files
%python_sitelibdir/logilab/
%python_sitelibdir/*.egg-info
%doc ChangeLog README
%changelog
…
Полный changelog можно просмотреть здесь