Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37745819
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-tpg

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

Version: 3.2.4
Release: alt1

%def_enable doc

Summary: Toy Parser Generator is syntax analyzer under Python
Summary(ru_RU.UTF-8): п÷я─п╬я│я┌п╬п╧, п╫п╬ п╪п╬я┴п╫я▀п╧ я│п╦п╫я┌п╟п╨я│п╦я┤п╣я│п╨п╦п╧ п╟п╫п╟п╩п╦п╥п╟я┌п╬я─ Toy Parser Generator
%define nameUC TPG
Name: python3-module-tpg
Source: TPG-%version.tar.gz
License: LGPL-2.1
Group: Development/Python3
Url: http://christophe.delord.free.fr/tpg/index.html
Buildarch: noarch

# Automatically added by buildreq on Wed Feb 02 2022

# optimized out: fontconfig libgpg-error libx265-199 python-modules python2-base python3 python3-base python3-dev python3-module-pkg_resources sh4 tex-common texlive texlive-collection-basic texlive-dist
BuildRequires: python3-module-setuptools

%if_enabled doc
BuildRequires: tex4ht texlive-collection-latexrecommended tex(a4wide.sty)
%endif

%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, ...).

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

%prep
%setup -n TPG-%version

%build
%python3_build

%if_enabled doc
cd doc
pdflatex tpg
htlatex tpg
   cd ..
%endif

%install
%python3_install

%files
%if_enabled doc
%doc doc/*.{png,pdf,html,css}
%endif
%doc examples
%_bindir/*
%python3_sitelibdir/*

%changelog

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

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