forked from pool/python-pyPEG2
Accepting request 391163 from home:XRevan86
OBS-URL: https://build.opensuse.org/request/show/391163 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyPEG2?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
pyPEG2-2.15.2.tar.gz
Normal file
3
pyPEG2-2.15.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2b2d4f80d8e1a9370b2a91f4a25f4abf7f69b85c8da84cd23ec36451958a1f6d
|
||||||
|
size 40334
|
4
python-pyPEG2.changes
Normal file
4
python-pyPEG2.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 21 07:07:37 UTC 2016 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
- Initial package.
|
65
python-pyPEG2.spec
Normal file
65
python-pyPEG2.spec
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pyPEG2
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
|
||||||
|
|
||||||
|
%define _name pyPEG2
|
||||||
|
Name: python-pyPEG2
|
||||||
|
Version: 2.15.2
|
||||||
|
Release: 0
|
||||||
|
License: GPL-2.0+
|
||||||
|
Summary: PEG Parser-Interpreter framework for Python
|
||||||
|
Url: https://fdik.org/pyPEG2
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Source: https://pypi.python.org/packages/source/p/%{_name}/%{_name}-%{version}.tar.gz
|
||||||
|
BuildRequires: python
|
||||||
|
BuildRequires: python-lxml
|
||||||
|
Requires: python-lxml
|
||||||
|
%if 0%{?suse_version} > 1120 && !(0%{?suse_version} == 1315 && 0%{?is_opensuse})
|
||||||
|
BuildRequires: python-nose
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} >= 1120
|
||||||
|
BuildArch: noarch
|
||||||
|
%else
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
pyPEG is a plain and simple intrinsic parser interpreter framework
|
||||||
|
for Python. It is based on Parsing Expression Grammar, PEG.
|
||||||
|
With pyPEG you can parse many formal languages in a very easy way.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
python2 setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
python2 setup.py install \
|
||||||
|
--root=%{buildroot} --prefix=%{_prefix}
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1120 && !(0%{?suse_version} == 1315 && 0%{?is_opensuse})
|
||||||
|
%check
|
||||||
|
nosetests-%{py_ver}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc CHANGES.txt LICENSE.txt README.txt
|
||||||
|
%{python_sitelib}/pypeg2/
|
||||||
|
%{python_sitelib}/%{_name}-*
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user