Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyemd for openSUSE:Factory checked in at 2024-07-11 20:32:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyemd (Old) and /work/SRC/openSUSE:Factory/.python-pyemd.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyemd" Thu Jul 11 20:32:54 2024 rev:5 rq:1186727 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyemd/python-pyemd.changes 2023-02-23 17:06:17.817930057 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyemd.new.17339/python-pyemd.changes 2024-07-11 20:33:33.365692831 +0200 @@ -1,0 +2,8 @@ +Thu Jul 4 02:17:34 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 1.0.0: + * Use modern packaging. +- Switch to pyproject macros. +- Remove patch numpy-arrays.patch, included upstream. + +------------------------------------------------------------------- Old: ---- numpy-arrays.patch pyemd-0.5.1.tar.gz New: ---- pyemd-1.0.0.tar.gz BETA DEBUG BEGIN: Old:- Switch to pyproject macros. - Remove patch numpy-arrays.patch, included upstream. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyemd.spec ++++++ --- /var/tmp/diff_new_pack.o42z8d/_old 2024-07-11 20:33:33.897712272 +0200 +++ /var/tmp/diff_new_pack.o42z8d/_new 2024-07-11 20:33:33.897712272 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyemd # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,20 @@ # -%define skip_python36 1 -# pytest is too smart for its own good, prevent use of compiled version -%bcond_with test Name: python-pyemd -Version: 0.5.1 +Version: 1.0.0 Release: 0 Summary: Python implementation of the Earth Mover's Distance License: MIT -Group: Development/Languages/Python URL: https://github.com/wmayner/pyemd Source: https://files.pythonhosted.org/packages/source/p/pyemd/pyemd-%{version}.tar.gz -# PATCH-FIX-UPSTREAM https://github.com/wmayner/pyemd/commit/34631658ae0cc555001b692623c23c02ed8d5611 Mark uses of ragged nested sequences in NumPy arrays as intented -Patch0: numpy-arrays.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.9.0} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -49,26 +46,23 @@ %prep %autosetup -p1 -n pyemd-%{version} -sed -i -e '/^#!\//, 1d' pyemd/__about__.py pyemd/__init__.py - %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%python_expand rm -r %{buildroot}%{$python_sitearch}/pyemd/{lib,emd.cpp} %check -mv conftest.py conftest_bad.py_bad pushd test %pytest_arch popd -mv conftest_bad.py_bad conftest.py %files %{python_files} %doc README.rst %license LICENSE %{python_sitearch}/pyemd -%{python_sitearch}/pyemd-%{version}*-info +%{python_sitearch}/pyemd-%{version}.dist-info ++++++ pyemd-0.5.1.tar.gz -> pyemd-1.0.0.tar.gz ++++++ ++++ 28385 lines of diff (skipped)