14
0

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whatever?expand=0&rev=11
This commit is contained in:
2025-06-13 02:56:46 +00:00
committed by Git OBS Bridge
parent 37f6e9f0a5
commit 1197cb112d
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 13 02:42:45 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 27 09:57:15 UTC 2025 - ecsos <ecsos@opensuse.org> Thu Feb 27 09:57:15 UTC 2025 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-whatever # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -25,8 +25,10 @@ License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/Suor/whatever URL: https://github.com/Suor/whatever
Source: https://github.com/Suor/whatever/archive/%{version}.tar.gz Source: https://github.com/Suor/whatever/archive/%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch 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} %setup -q -n whatever-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -53,7 +55,7 @@ It is inspired by the Perl 6 one, see http://perlcabal.org/syn/S02.html#The_What
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python_sitelib}/whatever.py %{python_sitelib}/whatever.py
%{python_sitelib}/whatever-%{version}*-info %{python_sitelib}/whatever-%{version}.dist-info
%pycache_only %{python_sitelib}/__pycache__ %pycache_only %{python_sitelib}/__pycache__
%changelog %changelog