Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pylineclip for openSUSE:Factory checked in at 2025-05-09 18:50:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pylineclip (Old) and /work/SRC/openSUSE:Factory/.python-pylineclip.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pylineclip" Fri May 9 18:50:25 2025 rev:3 rq:1276009 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pylineclip/python-pylineclip.changes 2021-01-25 18:24:01.088463333 +0100 +++ /work/SRC/openSUSE:Factory/.python-pylineclip.new.30101/python-pylineclip.changes 2025-05-09 18:52:56.581034342 +0200 @@ -1,0 +2,5 @@ +Fri May 9 05:13:41 UTC 2025 - Steve Kowalik <[email protected]> + +- Switch to pyproject macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pylineclip.spec ++++++ --- /var/tmp/diff_new_pack.TUBmyN/_old 2025-05-09 18:52:57.013052313 +0200 +++ /var/tmp/diff_new_pack.TUBmyN/_new 2025-05-09 18:52:57.017052479 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pylineclip # -# 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,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-pylineclip Version: 1.0.0 Release: 0 @@ -25,8 +23,10 @@ License: MIT URL: https://github.com/scivision/lineclipping-python-fortran Source: https://github.com/scivision/lineclipping-python-fortran/archive/v%{version}.tar.gz#/lineclipping-python-fortran-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 38.6} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -43,10 +43,10 @@ sed -i -e '/^#!\//, 1d' pylineclip/__init__.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %{python_expand # mkdir demo-%{$python_bin_suffix} sed -e '1 {s|^#!.*$|#!%{_bindir}/$python|}' DemoLineclip.py > demo-%{$python_bin_suffix}/DemoLineclip.py @@ -61,5 +61,5 @@ %doc README.md demo-%{python_bin_suffix}/DemoLineclip.py %license LICENSE.txt %{python_sitelib}/pylineclip -%{python_sitelib}/pylineclip-%{version}*-info +%{python_sitelib}/pylineclip-%{version}.dist-info
