commit python-sphinxcontrib-htmlhelp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sphinxcontrib-htmlhelp for openSUSE:Factory checked in at 2022-05-31 15:47:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-htmlhelp (Old) and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-htmlhelp.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-sphinxcontrib-htmlhelp" Tue May 31 15:47:03 2022 rev:4 rq:979903 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sphinxcontrib-htmlhelp/python-sphinxcontrib-htmlhelp.changes 2021-06-15 16:36:57.717654514 +0200 +++ /work/SRC/openSUSE:Factory/.python-sphinxcontrib-htmlhelp.new.1548/python-sphinxcontrib-htmlhelp.changes 2022-05-31 15:47:51.160006958 +0200 @@ -1,0 +2,5 @@ +Mon May 30 10:38:17 UTC 2022 - Mark��ta Machov�� <mmachova@suse.com> + +- Add upstream patch sphinx5.patch to fix build with the new Sphinx + +------------------------------------------------------------------- New: ---- sphinx5.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sphinxcontrib-htmlhelp.spec ++++++ --- /var/tmp/diff_new_pack.OzqcO2/_old 2022-05-31 15:47:52.112007590 +0200 +++ /var/tmp/diff_new_pack.OzqcO2/_new 2022-05-31 15:47:52.116007593 +0200 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 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-htmlhelp Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version}.tar.gz +# PATCH-FIX-UPSTREAM https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/commit/248ff52b3c3d39c2... Fix #9457: RemovedInSphinx50Warning on testing +Patch0: sphinx5.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -52,6 +54,7 @@ %prep %setup -q -n sphinxcontrib-htmlhelp-%{version} +%autopatch -p1 %build %python_build ++++++ sphinx5.patch ++++++ Index: sphinxcontrib-htmlhelp-2.0.0/tests/test_htmlhelp.py =================================================================== --- sphinxcontrib-htmlhelp-2.0.0.orig/tests/test_htmlhelp.py +++ sphinxcontrib-htmlhelp-2.0.0/tests/test_htmlhelp.py @@ -21,7 +21,7 @@ from sphinx.config import Config def test_build_htmlhelp(app, status, warning): app.build() - hhp = (app.outdir / 'pythondoc.hhp').text() + hhp = (app.outdir / 'pythondoc.hhp').read_text() assert 'Compiled file=pythondoc.chm' in hhp assert 'Contents file=pythondoc.hhc' in hhp assert 'Default Window=pythondoc' in hhp @@ -84,7 +84,7 @@ def test_htmlhelp_hhc(app): assert node[1].attrib == {'name': 'Local', 'value': filename} # .hhc file - hhc = (app.outdir / 'pythondoc.hhc').text() + hhc = (app.outdir / 'pythondoc.hhc').read_text() tree = HTMLParser(namespaceHTMLElements=False).parse(hhc) items = tree.find('.//body/ul') assert len(items) == 4
participants (1)
-
Source-Sync