14
0
forked from pool/python-pyPEG2

Accepting request 812624 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/812624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyPEG2?expand=0&rev=3
This commit is contained in:
2020-06-09 22:47:26 +00:00
committed by Git OBS Bridge
2 changed files with 13 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 8 13:14:43 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- replace nose with pytest
-------------------------------------------------------------------
Tue May 2 21:42:12 UTC 2017 - sor.alexei@meowr.ru

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyPEG2
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -23,12 +23,12 @@ Name: python-pyPEG2
Version: 2.15.2
Release: 0
Summary: PEG Parser-Interpreter framework for Python
License: GPL-2.0
License: GPL-2.0-only
Group: Development/Languages/Python
Url: https://fdik.org/pyPEG2
URL: https://fdik.org/pyPEG2
Source: https://files.pythonhosted.org/packages/source/p/%{_name}/%{_name}-%{version}.tar.gz
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: python-rpm-macros
Requires: python-lxml
BuildArch: noarch
@@ -55,11 +55,11 @@ With pyPEG you can parse many formal languages in a very easy way.
%python_install
%check
nosetests-%{python_version}
%pytest
%files %{python_files}
%defattr(-,root,root)
%doc CHANGES.txt LICENSE.txt README.txt
%license LICENSE.txt
%doc CHANGES.txt README.txt
%{python_sitelib}/pypeg2/
%{python_sitelib}/%{_name}-%{version}-py%{python_version}.egg-info