From 3c225cd3afacefd84094ea37d548ae399dc664e0f607ce10f695dcf05e21372a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 May 2025 13:06:33 +0000 Subject: [PATCH 1/3] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fluidity-sm?expand=0&rev=7 --- python-fluidity-sm.changes | 5 +++++ python-fluidity-sm.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-fluidity-sm.changes b/python-fluidity-sm.changes index 80a1b64..a1247b8 100644 --- a/python-fluidity-sm.changes +++ b/python-fluidity-sm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 27 13:06:22 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Apr 21 12:25:23 UTC 2023 - Dirk Müller diff --git a/python-fluidity-sm.spec b/python-fluidity-sm.spec index fb0c594..349cdc2 100644 --- a/python-fluidity-sm.spec +++ b/python-fluidity-sm.spec @@ -1,7 +1,7 @@ # # spec file for package python-fluidity-sm # -# 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-%{**}} %{?sle15_python_module_pythons} Name: python-fluidity-sm Version: 0.2.0 @@ -26,11 +25,12 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/nsi-iff/fluidity Source: https://github.com/nsi-iff/fluidity/archive/%{version}/fluidity-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -47,15 +47,16 @@ callables, or lists of method names or callables. rm -rf *.egg-info/ %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc CHANGELOG README.* %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/fluidity[-_]sm +%{python_sitelib}/fluidity[-_]sm-%{version}*-info %changelog From d7f80d6fe1131784c7ed58db6f56413112d8a49992a4216c8b8c184a20e88b17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 May 2025 13:10:40 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fluidity-sm?expand=0&rev=8 --- python-fluidity-sm.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-fluidity-sm.spec b/python-fluidity-sm.spec index 349cdc2..bc05058 100644 --- a/python-fluidity-sm.spec +++ b/python-fluidity-sm.spec @@ -56,7 +56,8 @@ rm -rf *.egg-info/ %files %{python_files} %doc CHANGELOG README.* %license LICENSE -%{python_sitelib}/fluidity[-_]sm +%{python_sitelib}/fluidity[-_]sm.py %{python_sitelib}/fluidity[-_]sm-%{version}*-info +%pycache_only %{python_sitelib}/__pycache__/fluidity[-_]sm* %changelog From d3e053ab5a95b86fa7d7b99d72a3aabc0e9aba71b4ba60b6c15a0c29f2ccd368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 May 2025 13:41:01 +0000 Subject: [PATCH 3/3] Accepting request 1280605 from home:mcalabkova:branches:devel:languages:python fix files OBS-URL: https://build.opensuse.org/request/show/1280605 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fluidity-sm?expand=0&rev=9 --- python-fluidity-sm.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-fluidity-sm.spec b/python-fluidity-sm.spec index bc05058..a267958 100644 --- a/python-fluidity-sm.spec +++ b/python-fluidity-sm.spec @@ -56,8 +56,7 @@ rm -rf *.egg-info/ %files %{python_files} %doc CHANGELOG README.* %license LICENSE -%{python_sitelib}/fluidity[-_]sm.py +%{python_sitelib}/fluidity %{python_sitelib}/fluidity[-_]sm-%{version}*-info -%pycache_only %{python_sitelib}/__pycache__/fluidity[-_]sm* %changelog