Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-hepunits for openSUSE:Factory
checked in at 2025-05-09 18:50:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hepunits (Old)
and /work/SRC/openSUSE:Factory/.python-hepunits.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hepunits"
Fri May 9 18:50:02 2025 rev:3 rq:1275990 version:2.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hepunits/python-hepunits.changes
2020-11-03 15:16:40.192046059 +0100
+++
/work/SRC/openSUSE:Factory/.python-hepunits.new.30101/python-hepunits.changes
2025-05-09 18:52:44.856546635 +0200
@@ -1,0 +2,5 @@
+Fri May 9 05:10:35 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hepunits.spec ++++++
--- /var/tmp/diff_new_pack.6L5EUG/_old 2025-05-09 18:52:45.324566103 +0200
+++ /var/tmp/diff_new_pack.6L5EUG/_new 2025-05-09 18:52:45.324566103 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-hepunits
#
-# Copyright (c) 2020 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,9 +25,11 @@
License: BSD-3-Clause
URL: https://github.com/scikit-hep/hepunits
Source:
https://files.pythonhosted.org/packages/source/h/%{modname}/%{modname}-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools > 42.0}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module toml}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION For tests
@@ -45,10 +47,10 @@
%setup -q -n hepunits-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +59,6 @@
%files %{python_files}
%doc README.rst
%license LICENSE
-%{python_sitelib}/%{modname}/
-%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/
+%{python_sitelib}/%{modname}
+%{python_sitelib}/%{modname}-%{version}.dist-info