Sisyphus repositório
Última atualização: 18 setembro 2019 | SRPMs: 17444 | Visitas: 15117940
en ru br
ALT Linux repositórios
S:0.5.1-alt1

Group :: Desenvolvimento/Python
RPM: python-module-pymeta3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname pymeta3

%def_with python3
%def_disable check

Name: python-module-%oname
Version: 0.5.1
Release: alt1
Summary: Pattern-matching language based on OMeta for Python 2 and 3
License: MIT
Group: Development/Python
Url: https://pypi.python.org/pypi/PyMeta3/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

# https://github.com/wbond/pymeta3.git

Source0: https://pypi.python.org/packages/ce/af/409edba35fc597f1e386e3860303791ab5a28d6cc9a8aecbc567051b19a9/PyMeta3-%{version}.tar.gz
BuildArch: noarch

#BuildPreReq: python-devel python-module-setuptools-tests

#BuildPreReq: python-module-twisted-core-test
%if_with python3
BuildRequires(pre): rpm-build-python3
#BuildPreReq: python3-devel python3-module-setuptools-tests
#BuildPreReq: python3-module-twisted-core-test
%endif

%py_provides %oname pymeta

# Automatically added by buildreq on Thu Jan 28 2016 (-bi)

# optimized out: python-base python-modules python-modules-compiler python-modules-email python3 python3-base
BuildRequires: python-devel python3-module-zope rpm-build-python3 python3-module-pytest

%description
This is a fork of PyMeta 0.5.0 that supports Python 2 and 3.

PyMeta is an implementation of OMeta, an object-oriented
pattern-matching language developed by Alessandro Warth
(http://www.cs.ucla.edu/~awarth/ometa/). PyMeta provides a compact
syntax based on Parsing Expression Grammars (PEGs) for common lexing,
parsing and tree-transforming activities in a way that's easy to reason
about for Python programmers.

%package -n python3-module-%oname
Summary: Pattern-matching language based on OMeta for Python 2 and 3
Group: Development/Python3
%py3_provides %oname pymeta

%description -n python3-module-%oname
This is a fork of PyMeta 0.5.0 that supports Python 2 and 3.

PyMeta is an implementation of OMeta, an object-oriented
pattern-matching language developed by Alessandro Warth
(http://www.cs.ucla.edu/~awarth/ometa/). PyMeta provides a compact
syntax based on Parsing Expression Grammars (PEGs) for common lexing,
parsing and tree-transforming activities in a way that's easy to reason
about for Python programmers.

%prep
%setup -q -n PyMeta3-%{version}

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

%build
%python_build_debug

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

%install
%python_install

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

%check
export PYTHONPATH=$PWD
py.test -vv
%if_with python3
pushd ../python3
export PYTHONPATH=$PWD
py.test-%_python3_version -vv
popd
%endif

%files
%doc NEWS README examples extras
%python_sitelibdir/*

%if_with python3
%files -n python3-module-%oname
%doc NEWS README examples extras
%python3_sitelibdir/*
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009