Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sphinxcontrib-qthelp for openSUSE:Factory checked in at 2022-06-03 14:16:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-qthelp (Old) and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-qthelp.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-qthelp" Fri Jun 3 14:16:35 2022 rev:3 rq:980470 version:1.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sphinxcontrib-qthelp/python-sphinxcontrib-qthelp.changes 2020-03-08 22:22:54.576032006 +0100 +++ /work/SRC/openSUSE:Factory/.python-sphinxcontrib-qthelp.new.1548/python-sphinxcontrib-qthelp.changes 2022-06-03 14:16:35.405310540 +0200 @@ -1,0 +2,6 @@ +Wed Jun 1 08:38:40 UTC 2022 - Mark??ta Machov?? <mmach...@suse.com> + +- Added sphinx5.patch + * Fix build with the new Sphinx, sent upstream + +------------------------------------------------------------------- New: ---- sphinx5.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sphinxcontrib-qthelp.spec ++++++ --- /var/tmp/diff_new_pack.0NAMLj/_old 2022-06-03 14:16:36.373311797 +0200 +++ /var/tmp/diff_new_pack.0NAMLj/_new 2022-06-03 14:16:36.377311802 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-sphinxcontrib-qthelp +# spec file # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,6 +34,8 @@ Group: Development/Languages/Python URL: https://github.com/sphinx-doc/sphinxcontrib-qthelp Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-qthelp/sphinxcontrib-qthelp-%{version}.tar.gz +# PATCH-FIX-UPSTREAM https://github.com/sphinx-doc/sphinxcontrib-qthelp/pull/14 Fix tests with Sphinx 5.0 +Patch0: sphinx5.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -51,6 +53,7 @@ %prep %setup -q -n sphinxcontrib-qthelp-%{version} +%autopatch -p1 %build %python_build ++++++ sphinx5.patch ++++++ Index: sphinxcontrib-qthelp-1.0.3/tests/test_qthelp.py =================================================================== --- sphinxcontrib-qthelp-1.0.3.orig/tests/test_qthelp.py +++ sphinxcontrib-qthelp-1.0.3/tests/test_qthelp.py @@ -17,7 +17,7 @@ from sphinx.testing.util import etree_pa def test_qthelp_basic(app, status, warning): app.builder.build_all() - qhp = (app.outdir / 'Python.qhp').text() + qhp = (app.outdir / 'Python.qhp').read_text() assert '<customFilter name="Python ">' in qhp assert '<filterAttribute>Python</filterAttribute>' in qhp assert '<filterAttribute></filterAttribute>' in qhp @@ -26,7 +26,7 @@ def test_qthelp_basic(app, status, warni assert '<file>index.html</file>' in qhp assert '<file>_static/basic.css</file>' in qhp - qhcp = (app.outdir / 'Python.qhcp').text() + qhcp = (app.outdir / 'Python.qhcp').read_text() assert '<title>Python documentation</title>' in qhcp assert '<homePage>qthelp://org.sphinx.python/doc/index.html</homePage>' in qhcp assert '<startPage>qthelp://org.sphinx.python/doc/index.html</startPage>' in qhcp @@ -91,10 +91,10 @@ def test_qthelp_namespace(app, status, w # default namespace app.builder.build_all() - qhp = (app.outdir / 'Python.qhp').text() + qhp = (app.outdir / 'Python.qhp').read_text() assert '<namespace>org.sphinx.python</namespace>' in qhp - qhcp = (app.outdir / 'Python.qhcp').text() + qhcp = (app.outdir / 'Python.qhcp').read_text() assert '<homePage>qthelp://org.sphinx.python/doc/index.html</homePage>' in qhcp assert '<startPage>qthelp://org.sphinx.python/doc/index.html</startPage>' in qhcp @@ -102,10 +102,10 @@ def test_qthelp_namespace(app, status, w app.config.qthelp_namespace = 'org.sphinx-doc.sphinx' app.builder.build_all() - qhp = (app.outdir / 'Python.qhp').text() + qhp = (app.outdir / 'Python.qhp').read_text() assert '<namespace>org.sphinx-doc.sphinx</namespace>' in qhp - qhcp = (app.outdir / 'Python.qhcp').text() + qhcp = (app.outdir / 'Python.qhcp').read_text() assert '<homePage>qthelp://org.sphinx-doc.sphinx/doc/index.html</homePage>' in qhcp assert '<startPage>qthelp://org.sphinx-doc.sphinx/doc/index.html</startPage>' in qhcp @@ -115,10 +115,10 @@ def test_qthelp_title(app, status, warni # default title app.builder.build_all() - qhp = (app.outdir / 'Python.qhp').text() + qhp = (app.outdir / 'Python.qhp').read_text() assert '<section title="Python documentation" ref="index.html">' in qhp - qhcp = (app.outdir / 'Python.qhcp').text() + qhcp = (app.outdir / 'Python.qhcp').read_text() assert '<title>Python documentation</title>' in qhcp # give a title @@ -126,9 +126,9 @@ def test_qthelp_title(app, status, warni app.config.html_short_title = 'Sphinx <b>"short"</b> title' app.builder.build_all() - qhp = (app.outdir / 'Python.qhp').text() + qhp = (app.outdir / 'Python.qhp').read_text() assert ('<section title="Sphinx <b>"full"</b> title" ref="index.html">' in qhp) - qhcp = (app.outdir / 'Python.qhcp').text() + qhcp = (app.outdir / 'Python.qhcp').read_text() assert '<title>Sphinx <b>"short"</b> title</title>' in qhcp