From 5ae594fc34740b43ec9809b239106a5d8b9871d27b12b558ac7b8464e19b796d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 3 Jun 2025 11:42:50 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pluginbase?expand=0&rev=5 --- python-pluginbase.changes | 5 +++++ python-pluginbase.spec | 13 ++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) 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