Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Genshi for openSUSE:Factory checked in at 2025-05-12 16:45:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Genshi (Old) and /work/SRC/openSUSE:Factory/.python-Genshi.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Genshi" Mon May 12 16:45:33 2025 rev:27 rq:1276082 version:0.7.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Genshi/python-Genshi.changes 2024-09-26 18:53:04.224544599 +0200 +++ /work/SRC/openSUSE:Factory/.python-Genshi.new.30101/python-Genshi.changes 2025-05-12 16:48:31.567781201 +0200 @@ -1,0 +2,6 @@ +Fri May 9 06:30:01 UTC 2025 - Matej Cepl <mc...@cepl.eu> + +- Add remove_six.patch removing six from the package + (gh#edgewall/genshi!92). + +------------------------------------------------------------------- New: ---- remove_six.patch BETA DEBUG BEGIN: New: - Add remove_six.patch removing six from the package (gh#edgewall/genshi!92). BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Genshi.spec ++++++ --- /var/tmp/diff_new_pack.W3uKFM/_old 2025-05-12 16:48:32.611824988 +0200 +++ /var/tmp/diff_new_pack.W3uKFM/_new 2025-05-12 16:48:32.615825156 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Genshi # -# Copyright (c) 2024 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 @@ -26,16 +26,19 @@ Group: Development/Languages/Python URL: https://genshi.edgewall.org/ Source: https://files.pythonhosted.org/packages/source/G/Genshi/Genshi-%{version}.tar.gz +# PATCH-FEATURE-UPSTREAM remove_six.patch gh#edgewall/genshi!92 mc...@suse.com +# remove six +Patch0: remove_six.patch BuildRequires: %{python_module Babel} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: gcc BuildRequires: python-rpm-macros Requires: python-Babel -Requires: python-six Requires: python-xml %ifpython2 Obsoletes: %{oldpython}-genshi < %{version} @@ -67,15 +70,10 @@ %autosetup -p1 -n Genshi-%{version} %build -%python_build +%pyproject_wheel %install -%python_install -# Fix python-bytecode-inconsistent-mtime -pushd %{buildroot}%{python_sitearch} -find . -name '*.pyc' -exec rm -f '{}' ';' -python%python_bin_suffix -m compileall *.py ';' -popd +%pyproject_install # remove accidentally installed source files %python_expand find %{buildroot}%{$python_sitearch}/genshi -name '*.c' -delete %python_expand %fdupes %{buildroot}%{$python_sitearch} @@ -87,7 +85,7 @@ %license COPYING %doc ChangeLog README.md %{python_sitearch}/genshi/ -%{python_sitearch}/Genshi-%{version}*-info +%{python_sitearch}/[Gg]enshi-%{version}*-info %files -n %{name}-doc %doc doc ++++++ remove_six.patch ++++++ ++++ 1176 lines (skipped)