diff --git a/python-pyte.changes b/python-pyte.changes index 3e09c66..36c797d 100644 --- a/python-pyte.changes +++ b/python-pyte.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 10 12:37:59 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Dec 14 21:29:20 UTC 2023 - Dirk Müller diff --git a/python-pyte.spec b/python-pyte.spec index abf859f..4d124b7 100644 --- a/python-pyte.spec +++ b/python-pyte.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyte # -# Copyright (c) 2023 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,9 +26,11 @@ Group: Development/Languages/Python URL: https://github.com/selectel/pyte Source: https://files.pythonhosted.org/packages/source/p/pyte/pyte-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wcwidth} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros Requires: python-wcwidth BuildArch: noarch @@ -49,10 +51,10 @@ rm tests/test_input_output.py sed -i '/pytest-runner/d' setup.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %check %pytest @@ -62,6 +64,6 @@ sed -i '/pytest-runner/d' setup.py %doc README AUTHORS CHANGES docs/*rst %dir %{python_sitelib}/pyte %{python_sitelib}/pyte/* -%{python_sitelib}/pyte-%{version}-py*.egg-info +%{python_sitelib}/pyte-%{version}*-info %changelog