commit python-breathe for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-breathe for openSUSE:Factory checked in at 2023-09-04 22:52:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-breathe (Old) and /work/SRC/openSUSE:Factory/.python-breathe.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-breathe" Mon Sep 4 22:52:22 2023 rev:22 rq:1107831 version:4.35.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-breathe/python-breathe.changes 2023-07-07 15:45:59.911723493 +0200 +++ /work/SRC/openSUSE:Factory/.python-breathe.new.1766/python-breathe.changes 2023-09-04 22:52:23.341236870 +0200 @@ -1,0 +2,14 @@ +Tue Aug 29 02:48:53 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> + +- Upgrade to 4.35: + * Pull lone literal blocks in paragraphs up to produce correct doctree. + * Fix tests for changes in Sphinx 5.3. + * Bump Python requirement to 3.7. + * Support Sphinx 6. + * Support sort option to sort sections by name. +- Drop patch Fix-tests-for-Sphinx-5.3.0.patch, included upstream. +- Add patch support-sphinx-7.2.patch: + * Support Sphinx 7.2 changes. +- Switch to pyproject macros. + +------------------------------------------------------------------- Old: ---- Fix-tests-for-Sphinx-5.3.0.patch breathe-4.34.0.tar.gz New: ---- breathe-4.35.0.tar.gz support-sphinx-7.2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-breathe.spec ++++++ --- /var/tmp/diff_new_pack.YhaZgo/_old 2023-09-04 22:52:24.613281835 +0200 +++ /var/tmp/diff_new_pack.YhaZgo/_new 2023-09-04 22:52:24.617281976 +0200 @@ -16,22 +16,22 @@ # -%define skip_python2 1 %define modname breathe %{?sle15_python_module_pythons} Name: python-breathe -Version: 4.34.0 +Version: 4.35.0 Release: 0 Summary: Sphinx Doxygen renderer License: BSD-3-Clause URL: https://github.com/michaeljones/breathe Source: https://github.com/michaeljones/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM Fix-tests-for-Sphinx-5.3.0.patch gh#breathe-doc/breathe#865 -Patch0: Fix-tests-for-Sphinx-5.3.0.patch +Patch0: support-sphinx-7.2.patch BuildRequires: %{python_module Sphinx >= 4.0} BuildRequires: %{python_module docutils >= 0.12} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx >= 4.0 @@ -51,13 +51,13 @@ %autosetup -p1 -n breathe-%{version} %build -%python_build +%pyproject_wheel %check %pytest %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/breathe-apidoc %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -72,6 +72,6 @@ %license LICENSE %python_alternative %{_bindir}/breathe-apidoc %{python_sitelib}/breathe -%{python_sitelib}/breathe-%{version}-py*.egg-info +%{python_sitelib}/breathe-%{version}.dist-info %changelog ++++++ breathe-4.34.0.tar.gz -> breathe-4.35.0.tar.gz ++++++ ++++ 3828 lines of diff (skipped) ++++++ support-sphinx-7.2.patch ++++++ Index: breathe-4.35.0/tests/test_renderer.py =================================================================== --- breathe-4.35.0.orig/tests/test_renderer.py +++ breathe-4.35.0/tests/test_renderer.py @@ -35,7 +35,7 @@ def app(test_params, app_params, make_ap """ args, kwargs = app_params assert "srcdir" in kwargs - kwargs["srcdir"].makedirs(exist_ok=True) + kwargs["srcdir"].mkdir(parents=True, exist_ok=True) (kwargs["srcdir"] / "conf.py").write_text("") app_ = make_app(*args, **kwargs) yield app_ Index: breathe-4.35.0/breathe/project.py =================================================================== --- breathe-4.35.0.orig/breathe/project.py +++ breathe-4.35.0/breathe/project.py @@ -113,7 +113,7 @@ class ProjectInfoFactory: # Assume general build directory is the doctree directory without the last component. # We strip off any trailing slashes so that dirname correctly drops the last part. # This can be overridden with the breathe_build_directory config variable - self._default_build_dir = os.path.dirname(app.doctreedir.rstrip(os.sep)) + self._default_build_dir = app.doctreedir.parent self.project_count = 0 self.project_info_store: Dict[str, ProjectInfo] = {} self.project_info_for_auto_store: Dict[str, AutoProjectInfo] = {}
participants (1)
-
Source-Sync