forked from pool/python-parsy
- Clean up the SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsy?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 29 21:02:29 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up the SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 29 19:49:25 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-parsy
|
||||
Version: 2.1
|
||||
Release: 0
|
||||
@@ -24,7 +23,9 @@ Summary: Python parser combinators
|
||||
License: MIT
|
||||
URL: https://github.com/python-parsy/parsy
|
||||
Source: https://files.pythonhosted.org/packages/source/p/parsy/parsy-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -38,10 +39,10 @@ Easy-to-use parser combinators, for parsing in pure Python.
|
||||
touch tests/__init__.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
|
||||
Reference in New Issue
Block a user