Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570201
en ru br
Репозитории ALT
5.1: 3.1.2-alt1
4.1: 3.1.0-alt1.1.1
4.0: 3.1.0-alt1.1
3.0: 3.0.5-alt2
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-tpg

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# vim: termencoding=koi8-r
# vim: encoding=utf-8
%define version 3.1.0
%define release alt1
%define nameUC TPG

%setup_python_module tpg

Summary: Toy Parser Generator is syntax analyzer under Python
Summary(ru_RU.UTF-8): п÷я─п╬я│я┌п╬п╧, п╫п╬ п╪п╬я┴п╫я▀п╧ я│п╦п╫я┌п╟п╨я│п╦я┤п╣я│п╨п╦п╧ п╟п╫п╟п╩п╦п╥п╟я┌п╬я─ Toy Parser Generator
Name: %packagename
Version: %version
Release: %release.1.1
Source: http://christophe.delord.free.fr/soft/tpg/%nameUC-%version.tar.gz
License: BSD
Group: Development/Python
Prefix: %_prefix
Url: http://christophe.delord.free.fr/en/tpg/
#Patch: pyxmms.setup.usr.patch

%description
Toy Parser Generator is a lexical and syntactic parser generator for Python.
This generator was born from a simple statement: YACC is to complex to use in
simple cases (calculators, configuration files, small programming languages, ...).

This module is built for python %__python_version

%description -l ru_RU.UTF-8
Toy Parser Generator -- я█я┌п╬ п╩п╣п╨я│п╦я┤п╣я│п╨п╦п╧ п╦ я│п╦п╫я┌п╟п╨я│п╦я┤п╣я│п╨п╦п╧ п╟п╫п╟п╩п╦п╥п╟я┌п╬я─,
п©п╬я─п╬п╤п╢п╟я▌я┴п╦п╧ п╨п╬п╢ п╫п╟ Python. п≤п╢п╣я▐ п╟п╡я┌п╬я─п╟ п╠я▀п╩п╟ п╡ я┌п╬п╪, я┤я┌п╬п╠я▀ п╡ п©я─п╬я│я┌я▀я┘ я│п╩я┐я┤п╟я▐я┘
(п╨п╟п╩я▄п╨я┐п╩я▐я┌п╬я─я▀, п╟п╫п╟п╩п╦п╥п╟я┌п╬я─я▀ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╬п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡, п╡я│я┌я─п╬п╣п╫п╫я▀п╣ я▐п╥я▀п╨п╦
п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐) п╥п╟п╪п╣п╫п╦я┌я▄ YACC п╠п╬п╩п╣п╣ п©я─п╬я│я┌я▀п╪ п╦ п╡я▀я│п╬п╨п╬я┐я─п╬п╡п╫п╣п╡я▀п╪ п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╬п╪.

п╜я┌п╬я┌ п╪п╬п╢я┐п╩я▄ я│п╬п╠я─п╟п╫ п╢п╩я▐ Python п╡п╣я─я│п╦п╦ %__python_version

%prep
%setup -q -n %nameUC-%version
#%patch

%build
mkdir -p buildroot

# Unfortunately build and install steps should be done at once

# because otherwise .pyo files won't get into INSTALLED_FILES
# record

CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=`pwd`/buildroot \
--record=INSTALLED_FILES
%install

cp -pr buildroot %buildroot

unset RPM_PYTHON

%files -f INSTALLED_FILES
%doc doc/*
%doc examples

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin