From b91fa6995d668e257c23746eebb3265b5c19e673c0cb68e950f1f0fd7a9ca483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 3 Jun 2025 12:24:57 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proglog?expand=0&rev=5 --- python-proglog.changes | 5 +++++ python-proglog.spec | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/python-proglog.changes b/python-proglog.changes index bb673e0..c95fe72 100644 --- a/python-proglog.changes +++ b/python-proglog.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 3 12:24:42 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue May 9 21:38:51 UTC 2023 - Dirk Müller diff --git a/python-proglog.spec b/python-proglog.spec index 3237dce..693461a 100644 --- a/python-proglog.spec +++ b/python-proglog.spec @@ -1,7 +1,7 @@ # # spec file for package python-proglog # -# 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-proglog Version: 0.1.10 Release: 0 @@ -25,15 +24,16 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/Edinburgh-Genome-Foundry/Proglog Source: https://files.pythonhosted.org/packages/source/p/proglog/proglog-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-tqdm +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module tqdm} # /SECTION -BuildRequires: fdupes -Requires: python-tqdm -BuildArch: noarch - %python_subpackages %description @@ -46,16 +46,16 @@ logs, callbacks and progress bars. chmod a-x LICENSE README.rst %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.rst %license LICENSE %{python_sitelib}/proglog -%{python_sitelib}/proglog-%{version}-py3*.egg-info +%{python_sitelib}/proglog-%{version}*-info %changelog