forked from pool/python-Arpeggio
Accepting request 846972 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/846972 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Arpeggio?expand=0&rev=10
This commit is contained in:
3
python-Arpeggio-1.10.1.tar.gz
Normal file
3
python-Arpeggio-1.10.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:21053faef2cf4f9a0ad4c7cbf3d0ffcd3a357884b3ac8353127bc2beb042ac9c
|
||||
size 766438
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:670f35833922640af7386a0d037bfb0c75710645ee7017693a926b01538e85b9
|
||||
size 761920
|
||||
@@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 1 19:43:14 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- Update to version 1.10.1:
|
||||
- Fix packaging, exclude examples from wheel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 1 16:56:10 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- Update to version 1.10.0:
|
||||
- Fix reporting duplicate rule names in `NoMatch` exception ([a1f14bede])
|
||||
- Raise `AttributeError` when accessing unexisting rule name on parse tree node.
|
||||
([#82])
|
||||
- Added `tree_str` method to parse tree nodes for nice string representation of
|
||||
parse trees. ([#76])
|
||||
- Added parse tree node suppression support and overriding of special Python
|
||||
rule syntax. (#76)
|
||||
- UnorderedGroup matching made deterministic ([#73])
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 6 07:06:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -18,14 +18,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Arpeggio
|
||||
Version: 1.9.2
|
||||
Version: 1.10.1
|
||||
Release: 0
|
||||
Summary: Packrat parser interpreter
|
||||
License: MIT
|
||||
URL: https://github.com/textX/Arpeggio/
|
||||
Source: https://github.com/textX/Arpeggio/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
Source: https://github.com/textX/Arpeggio/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -40,22 +41,21 @@ Arpeggio) see textX
|
||||
|
||||
%prep
|
||||
%setup -q -n Arpeggio-%{version}
|
||||
sed -i -e '/pytest-runner/d' setup.py
|
||||
# remove shebang
|
||||
sed -i '1d' arpeggio/tests/regressions/issue_16/test_issue_16.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
# do not install examples in generic folder, not needed really
|
||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/examples
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest arpeggio/tests
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst CHANGELOG.md AUTHORS.md
|
||||
%doc README.md CHANGELOG.md AUTHORS.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user