diff --git a/python-asciitree.changes b/python-asciitree.changes index 3848cad..dc9ec74 100644 --- a/python-asciitree.changes +++ b/python-asciitree.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 13 14:15:06 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Mar 29 14:18:47 UTC 2024 - ecsos diff --git a/python-asciitree.spec b/python-asciitree.spec index 20bfc3b..157c940 100644 --- a/python-asciitree.spec +++ b/python-asciitree.spec @@ -1,7 +1,7 @@ # # spec file for package python-asciitree # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,8 +26,10 @@ Group: Development/Languages/Python URL: https://github.com/mbr/asciitree # https://github.com/mbr/asciitree/issues/16 -- no tests on PyPI Source: https://github.com/mbr/asciitree/archive/%{version}.tar.gz#/asciitree-%{version}-gh.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -41,10 +43,10 @@ ASCIItree draws tree structures using characters. sed -i '1{/env python/ d}' asciitree/__init__.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check