From 3614183aab19e74c85e81eee0a2339738d6e7a9f4824f8187d50b4c91a045bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 12 Jun 2025 11:02:19 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shellingham?expand=0&rev=13 --- python-shellingham.changes | 5 +++++ python-shellingham.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-shellingham.changes b/python-shellingham.changes index c3a1b43..e14dc42 100644 --- a/python-shellingham.changes +++ b/python-shellingham.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 11:02:08 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Nov 27 16:01:12 UTC 2023 - Dirk Müller diff --git a/python-shellingham.spec b/python-shellingham.spec index 42658f8..42b16ba 100644 --- a/python-shellingham.spec +++ b/python-shellingham.spec @@ -1,7 +1,7 @@ # # spec file for package python-shellingham # -# 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/sarugaku/shellingham Source: https://github.com/sarugaku/shellingham/archive/refs/tags/%{version}.tar.gz#/shellingham-%{version}-gh.tar.gz BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -41,10 +43,10 @@ Python library to detect surrounding shell. %setup -q -n shellingham-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check