From a7c335a90d665175abecaaf67ff91ebfdf0865833082c362637c3b387bc02eb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 23 May 2025 11:49:33 +0000 Subject: [PATCH] Accepting request 1279514 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1279514 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cppy?expand=0&rev=11 --- python-cppy.changes | 5 +++++ python-cppy.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-cppy.changes b/python-cppy.changes index 967c2e1..1756ca7 100644 --- a/python-cppy.changes +++ b/python-cppy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 23 10:20:59 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Apr 21 12:23:49 UTC 2023 - Dirk Müller diff --git a/python-cppy.spec b/python-cppy.spec index 34496c8..b849f7e 100644 --- a/python-cppy.spec +++ b/python-cppy.spec @@ -1,7 +1,7 @@ # # spec file for package python-cppy # -# 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 @@ -27,10 +27,12 @@ URL: https://github.com/nucleic/cppy Source: https://files.pythonhosted.org/packages/source/c/cppy/cppy-%{version}.tar.gz Source99: python-cppy-rpmlintrc BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= 61.2} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module tomli} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -43,10 +45,10 @@ C++ headers for C extension development %setup -q -n cppy-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check