Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pysofaconventions for
openSUSE:Factory checked in at 2025-05-09 18:50:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysofaconventions (Old)
and /work/SRC/openSUSE:Factory/.python-pysofaconventions.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pysofaconventions"
Fri May 9 18:50:29 2025 rev:3 rq:1276012 version:0.1.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pysofaconventions/python-pysofaconventions.changes
2021-04-23 17:51:07.206845184 +0200
+++
/work/SRC/openSUSE:Factory/.python-pysofaconventions.new.30101/python-pysofaconventions.changes
2025-05-09 18:52:58.249103729 +0200
@@ -1,0 +2,6 @@
+Fri May 9 05:14:45 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- Ship the correct license.
+
+-------------------------------------------------------------------
New:
----
LICENSE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pysofaconventions.spec ++++++
--- /var/tmp/diff_new_pack.VR27PS/_old 2025-05-09 18:52:59.553157974 +0200
+++ /var/tmp/diff_new_pack.VR27PS/_new 2025-05-09 18:52:59.569158640 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pysofaconventions
#
-# Copyright (c) 2021 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,17 +16,19 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python36 1
Name: python-pysofaconventions
Version: 0.1.5
Release: 0
Summary: Python implementation of the SOFA Convention
License: BSD-3-Clause
-Group: Development/Languages/Python
-URL: https://andresperezlopez.github.io/pysofaconventions/
-Source:
https://files.pythonhosted.org/packages/source/p/pysofaconventions/pysofaconventions-%{version}.tar.gz
+URL: https://github.com/andresperezEUT/pysofaconventions
+Source0:
https://files.pythonhosted.org/packages/source/p/pysofaconventions/pysofaconventions-%{version}.tar.gz
+# LICENSE not shipped in sdist
+Source1:
https://raw.githubusercontent.com/andresperezEUT/pysofaconventions/refs/heads/master/LICENSE
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-netCDF4
@@ -44,12 +46,13 @@
%setup -q -n pysofaconventions-%{version}
sed -i -e '/^#!\//, 1d' pysofaconventions/__init__.py
sed -i -e 's/--cov-report term-missing --cov pysofaconventions//' setup.cfg
+cp %{SOURCE1} .
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -57,7 +60,8 @@
%pytest
%files %{python_files}
+%license LICENSE
%doc README.md
%{python_sitelib}/pysofaconventions
-%{python_sitelib}/pysofaconventions-%{version}*-info
+%{python_sitelib}/pysofaconventions-%{version}.dist-info
++++++ LICENSE ++++++
Copyright (c) 2018, Eurecat / UPF
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the <organization> nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.