SHA256
1
0
forked from pool/python-rply

Accepting request 691760 from home:pgajdos

- version update to 0.7.7
  * no upstream changelog
- run testsuite

OBS-URL: https://build.opensuse.org/request/show/691760
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rply?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2019-04-05 10:07:48 +00:00
committed by Git OBS Bridge
parent d9bab0cb46
commit 88acecd563
4 changed files with 20 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-rply
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-rply
Version: 0.7.5
Version: 0.7.7
Release: 0
Summary: A pure Python Lex/Yacc that works with RPython
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/alex/rply
Source: https://files.pythonhosted.org/packages/source/r/rply/rply-%{version}.tar.gz
# https://github.com/alex/rply/issues/90
Source: https://github.com/alex/rply/archive/v%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-appdirs
BuildArch: noarch
%if %{with test}
# SECTION test requirements
BuildRequires: %{python_module appdirs}
%endif
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
@@ -51,6 +52,9 @@ public API, and with RPython support.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.rst