From 912a9d2dd800e98ffdbdfe9032b4d9fcb10c47f8e3e0de29f3017b3f8041d1c9 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Mon, 12 May 2025 14:38:34 +0000 Subject: [PATCH] Accepting request 1276885 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1276885 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyTweening?expand=0&rev=14 --- python-PyTweening.changes | 5 +++++ python-PyTweening.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-PyTweening.changes b/python-PyTweening.changes index 71d5c18..2e89422 100644 --- a/python-PyTweening.changes +++ b/python-PyTweening.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 12 14:34:08 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Sun Apr 21 08:52:34 UTC 2024 - Dirk Müller diff --git a/python-PyTweening.spec b/python-PyTweening.spec index cc5046b..aaff816 100644 --- a/python-PyTweening.spec +++ b/python-PyTweening.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyTweening # -# Copyright (c) 2024 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 @@ -23,8 +23,10 @@ Release: 0 Summary: A collection of tweening / easing functions License: BSD-3-Clause URL: https://github.com/asweigart/pytweening -Source: https://files.pythonhosted.org/packages/source/P/PyTweening/pytweening-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pytweening/pytweening-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -40,10 +42,10 @@ A collection of tweening / easing functions implemented in Python. dos2unix README.md %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files}