From e590ea849c9ac86f200e7c6176cc305a914e3f3fd54253b9fc1c1d94c563a753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 2 Jun 2025 12:58:17 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mulpyplexer?expand=0&rev=7 --- python-mulpyplexer.changes | 5 +++++ python-mulpyplexer.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-mulpyplexer.changes b/python-mulpyplexer.changes index 854b974..eb01cc1 100644 --- a/python-mulpyplexer.changes +++ b/python-mulpyplexer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 2 12:58:05 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Sep 29 16:57:56 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-mulpyplexer.spec b/python-mulpyplexer.spec index ff03cc0..f3613d6 100644 --- a/python-mulpyplexer.spec +++ b/python-mulpyplexer.spec @@ -1,7 +1,7 @@ # # spec file for package python-mulpyplexer # -# Copyright (c) 2022 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-mulpyplexer Version: 0.09 Release: 0 @@ -26,11 +25,12 @@ Group: Development/Languages/Python URL: https://github.com/zardus/mulpyplexer Source: https://files.pythonhosted.org/packages/source/m/mulpyplexer/mulpyplexer-%{version}.tar.gz Source1: https://github.com/zardus/mulpyplexer/raw/master/LICENSE +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -41,14 +41,15 @@ Mulpyplexer is a piece of code that can multiplex interactions with lists of pyt [ -e LICENSE ] || cp %{SOURCE1} LICENSE %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/mulpyplexer +%{python_sitelib}/mulpyplexer-%{version}*-info %changelog