forked from pool/python-mando
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mando?expand=0&rev=18
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 29 04:08:07 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 09:19:47 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -26,7 +26,9 @@ URL: https://mando.readthedocs.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/m/mando/mando-%{version}.tar.gz
|
||||
# https://github.com/rubik/mando/pull/57
|
||||
Patch0: python-mando-no-python2.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Suggests: python-rst2ansi
|
||||
@@ -45,10 +47,10 @@ applications.
|
||||
sed -i -e '/^#!\//, 1d' mando/tests/*.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -58,6 +60,6 @@ sed -i -e '/^#!\//, 1d' mando/tests/*.py
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/mando
|
||||
%{python_sitelib}/mando-*-info
|
||||
%{python_sitelib}/mando-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user