diff --git a/python-pluginbase.changes b/python-pluginbase.changes index e68d35b..210b2dd 100644 --- a/python-pluginbase.changes +++ b/python-pluginbase.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 3 11:41:24 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Wed Aug 25 10:45:03 UTC 2021 - John Paul Adrian Glaubitz diff --git a/python-pluginbase.spec b/python-pluginbase.spec index 6d8adf8..ff32488 100644 --- a/python-pluginbase.spec +++ b/python-pluginbase.spec @@ -1,7 +1,7 @@ # # spec file for package python-pluginbase # -# Copyright (c) 2021 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pluginbase Version: 1.0.1 Release: 0 @@ -25,8 +24,10 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/mitsuhiko/pluginbase Source: https://files.pythonhosted.org/packages/source/p/pluginbase/pluginbase-%{version}.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 @@ -40,10 +41,10 @@ flexible plugin systems. %setup -q -n pluginbase-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -53,6 +54,8 @@ cd tests %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pluginbase.py +%{python_sitelib}/pluginbase-%{version}*-info +%pycache_only %{python_sitelib}/__pycache__/pluginbase.py %changelog