From 94aa09a5f16728475b1e4ef1fb9c94282daf3605 Mon Sep 17 00:00:00 2001 From: StevenK <> Date: Jun 13 2025 16:51:40 +0000 Subject: Update python-whatever to version 0.7 / rev 6 via SR 1285282 https://build.opensuse.org/request/show/1285282 by user StevenK + anag_factory - Switch to pyproject macros. --- diff --git a/.files b/.files index f1cd0ae..dd48b5d 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 38301c0..4579fc0 100644 --- a/.rev +++ b/.rev @@ -41,4 +41,12 @@ 1249621 + + 7c36193223565d556f14cd577bcb1eb2 + 0.7 + + anag_factory + - Switch to pyproject macros. + 1285282 + diff --git a/python-whatever.changes b/python-whatever.changes index d6231d4..64c27a0 100644 --- a/python-whatever.changes +++ b/python-whatever.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Jun 13 02:42:45 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + +------------------------------------------------------------------- Thu Feb 27 09:57:15 UTC 2025 - ecsos - Add %{?sle15_python_module_pythons} diff --git a/python-whatever.spec b/python-whatever.spec index 54cd9ff..ba5af7e 100644 --- a/python-whatever.spec +++ b/python-whatever.spec @@ -1,7 +1,7 @@ # # spec file for package python-whatever # -# 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 @@ -25,8 +25,10 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/Suor/whatever Source: https://github.com/Suor/whatever/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -40,10 +42,10 @@ It is inspired by the Perl 6 one, see http://perlcabal.org/syn/S02.html#The_What %setup -q -n whatever-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -53,7 +55,7 @@ It is inspired by the Perl 6 one, see http://perlcabal.org/syn/S02.html#The_What %license LICENSE %doc README.rst %{python_sitelib}/whatever.py -%{python_sitelib}/whatever-%{version}*-info +%{python_sitelib}/whatever-%{version}.dist-info %pycache_only %{python_sitelib}/__pycache__ %changelog