Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pycxx for openSUSE:Factory checked in at 2025-09-02 18:00:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycxx (Old) and /work/SRC/openSUSE:Factory/.python-pycxx.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycxx" Tue Sep 2 18:00:43 2025 rev:8 rq:1302431 version:7.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycxx/python-pycxx.changes 2024-03-01 23:39:59.498975630 +0100 +++ /work/SRC/openSUSE:Factory/.python-pycxx.new.1977/python-pycxx.changes 2025-09-02 18:02:11.524255411 +0200 @@ -1,0 +2,10 @@ +Tue Sep 2 13:03:43 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Fix broken build to preserve the old behaviour + +------------------------------------------------------------------- +Wed Jun 4 10:08:59 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycxx.spec ++++++ --- /var/tmp/diff_new_pack.MsHImU/_old 2025-09-02 18:02:12.124280621 +0200 +++ /var/tmp/diff_new_pack.MsHImU/_new 2025-09-02 18:02:12.128280788 +0200 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-pycxx # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,18 +19,20 @@ # Note PyPI 'pycxx' is a different package, # and this package is not 'cxx' or 'CXX' on PyPI %global modname pycxx -%{?sle15_python_module_pythons} %define oldpython python +%{?sle15_python_module_pythons} Name: python-%{modname} Version: 7.1.8 Release: 0 Summary: Python extensions in C++ License: BSD-3-Clause Group: Development/Libraries/Python -URL: http://CXX.sourceforge.net/ +URL: https://CXX.sourceforge.net/ Source0: http://downloads.sourceforge.net/cxx/%{modname}-%{version}.tar.gz Patch1: python-pycxx-7.0.3-change-include-paths.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros @@ -75,7 +77,7 @@ %autopatch -p1 %build -%python_build +%pyproject_wheel %ifpython2 rm -r Doc/Python3 && mv Doc/Python2 Doc/Python %else @@ -83,13 +85,19 @@ %endif %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%{python_expand mkdir -p %{buildroot}%{_datadir}/python%{$python_bin_suffix} +cp -r %{buildroot}/usr/CXX %{buildroot}%{_datadir}/python%{$python_bin_suffix} +} +rm -r %{buildroot}/usr/CXX + %files %{python_files} %license COPYRIGHT %doc README.html %{python_sitelib}/CXX* +%{python_sitelib}/[Cc][Xx][Xx]-%{version}*-info %files %{python_files devel} %doc Doc/Python/