From d037ee388064db21d6c7933c47d3e34e587d0f20eed8c1b54b68e8271b4f7641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 3 Jun 2025 11:38:41 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkgconfig?expand=0&rev=24 --- python-pkgconfig.changes | 5 +++++ python-pkgconfig.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-pkgconfig.changes b/python-pkgconfig.changes index 1f1d3c4..76163d3 100644 --- a/python-pkgconfig.changes +++ b/python-pkgconfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 3 11:38:26 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Sat Jun 10 17:49:48 UTC 2023 - ecsos diff --git a/python-pkgconfig.spec b/python-pkgconfig.spec index 51c1d7f..8310b3d 100644 --- a/python-pkgconfig.spec +++ b/python-pkgconfig.spec @@ -1,7 +1,7 @@ # # spec file for package python-pkgconfig # -# 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 @@ -28,8 +28,10 @@ URL: https://github.com/matze/pkgconfig Source0: https://files.pythonhosted.org/packages/source/p/pkgconfig/pkgconfig-%{version}.tar.gz # .. get the tests from github Source1: https://github.com/matze/pkgconfig/archive/v%{version}.tar.gz#/pkgconfig-%{version}-gh.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: openssl-devel BuildRequires: pkgconfig @@ -47,10 +49,10 @@ command line tool (cd ..; tar xf %{SOURCE1} pkgconfig-%{version}/{test_pkgconfig.py,data}) %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check