Репозиторий Sisyphus
Последнее обновление: 16 октября 2019 | Пакетов: 17499 | Посещений: 15275015
en ru br
Репозитории ALT
S:2.4.2-alt1
5.1: 1.5.1-alt1
4.1: 1.4.2-alt1.1
4.0: 1.4.2-alt1
3.0: 1.1.2-alt5
www.altlinux.org/Changes

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

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

%define _unpackaged_files_terminate_build 1

%define oname pyparsing

%def_with python3

Name: python-module-%oname
Version: 2.2.0
Release: alt1

Summary: Python parsing module

License: MIT
Group: Development/Python
URL: https://pypi.org/project/pyparsing
Packager: Python Development Team <python at packages.altlinux.org>
BuildArch: noarch

BuildRequires: python-devel python-module-setuptools
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
%endif

# http://prdownloads.sourceforge.net/%oname/%oname-%version.tar.gz

Source: %oname-%version.tar

%description
The parsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of
regular expressions.  The parsing module provides a library of classes
that client code uses to construct the grammar directly in Python code.

%package -n python3-module-%oname
Summary: Python 3 parsing module
Group: Development/Python3

%description -n python3-module-%oname
The parsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of
regular expressions.  The parsing module provides a library of classes
that client code uses to construct the grammar directly in Python code.

%prep
%setup -n %oname-%version

%if_with python3
cp -fR . ../python3
%endif

%build
%python_build

%if_with python3
pushd ../python3
%python3_build
popd
%endif

%install
%python_install

%if_with python3
pushd ../python3
%python3_install
popd
%endif

%files
%doc CHANGES examples docs/*
%doc pyparsingClassDiagram.JPG pyparsingClassDiagram.PNG README
%python_sitelibdir/*

%files -n python3-module-%oname
%doc CHANGES examples docs/*
%doc pyparsingClassDiagram.JPG pyparsingClassDiagram.PNG README
%python3_sitelibdir/*

%changelog

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

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