Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sphinxygen for 
openSUSE:Factory checked in at 2026-08-27 18:49:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxygen (Old)
 and      /work/SRC/openSUSE:Factory/.python-sphinxygen.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sphinxygen"

Thu Aug 27 18:49:00 2026 rev:2 rq:1373790 version:1.0.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sphinxygen/python-sphinxygen.changes      
2025-01-20 17:15:22.716180525 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxygen.new.1265/python-sphinxygen.changes
    2026-08-27 18:49:02.991718743 +0200
@@ -1,0 +2,15 @@
+Wed Aug 26 09:25:18 UTC 2026 - Petr Gajdos <[email protected]> + gemini
+
+- added patches
+  fix build with doxygen 1.18.0
+  * python-sphinxygen-doxygen-1.18.patch
+
+-------------------------------------------------------------------
+Tue Aug 25 13:52:16 UTC 2026 - Petr Gajdos <[email protected]>
+
+- version update to 1.0.12
+  * Fix documentation for C++ namespaces
+  * Fix documentation for C++ template functions
+  * Improve formatting of macro initializers
+
+-------------------------------------------------------------------

Old:
----
  sphinxygen-1.0.10.tar.gz

New:
----
  python-sphinxygen-doxygen-1.18.patch
  sphinxygen-1.0.12.tar.gz

----------(New B)----------
  New:  fix build with doxygen 1.18.0
  * python-sphinxygen-doxygen-1.18.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sphinxygen.spec ++++++
--- /var/tmp/diff_new_pack.s0Ynb9/_old  2026-08-27 18:49:04.902785404 +0200
+++ /var/tmp/diff_new_pack.s0Ynb9/_new  2026-08-27 18:49:04.905785508 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sphinxygen
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 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
@@ -17,17 +17,19 @@
 
 
 Name:           python-sphinxygen
-Version:        1.0.10
+Version:        1.0.12
 Release:        0
 Summary:        A script to generate Sphinx ReST from Doxygen XML
 License:        ISC
 URL:            https://gitlab.com/drobilla/sphinxygen
 Source:         
https://files.pythonhosted.org/packages/source/s/sphinxygen/sphinxygen-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
+# fix build with doxygen 1.18.0 (emailed David, [email protected], the 
upstream author of this module and both serd and lilv)
+Patch0:          python-sphinxygen-doxygen-1.18.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools >= 61.2}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires(post): update-alternatives
 Suggests:       python-html5lib
 BuildArch:      noarch

++++++ python-sphinxygen-doxygen-1.18.patch ++++++
--- a/src/sphinxygen/sphinxygen.py
+++ b/src/sphinxygen/sphinxygen.py
@@ -709,6 +709,9 @@
         args_text = member.find("argsstring").text
         target_text = plain_text(member.find("type"))
         if args_text is not None:  # Function pointer
+            if len(args_text) > 0 and target_text[-1] == ")" and args_text[0] 
== "(":
+                target_text = target_text[:-1]
+                args_text = ")" + args_text
             assert target_text[-2:] == "(*" and args_text[0] == ")"
             record["type"] = target_text + args_text
             record["definition"] = target_text + name + args_text


++++++ sphinxygen-1.0.10.tar.gz -> sphinxygen-1.0.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxygen-1.0.10/LICENSE 
new/sphinxygen-1.0.12/LICENSE
--- old/sphinxygen-1.0.10/LICENSE       2022-11-28 18:52:19.000000000 +0100
+++ new/sphinxygen-1.0.12/LICENSE       2025-11-12 16:51:18.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright 2021-2022 David Robillard <[email protected]>
+Copyright 2021-2025 David Robillard <[email protected]>
 
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxygen-1.0.10/LICENSES/0BSD.txt 
new/sphinxygen-1.0.12/LICENSES/0BSD.txt
--- old/sphinxygen-1.0.10/LICENSES/0BSD.txt     2022-11-28 18:52:19.000000000 
+0100
+++ new/sphinxygen-1.0.12/LICENSES/0BSD.txt     2025-11-12 16:51:27.000000000 
+0100
@@ -1,4 +1,4 @@
-Copyright 2011-2022 David Robillard <[email protected]>
+Copyright 2011-2025 David Robillard <[email protected]>
 
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxygen-1.0.10/LICENSES/ISC.txt 
new/sphinxygen-1.0.12/LICENSES/ISC.txt
--- old/sphinxygen-1.0.10/LICENSES/ISC.txt      2022-11-28 18:52:19.000000000 
+0100
+++ new/sphinxygen-1.0.12/LICENSES/ISC.txt      2025-11-12 16:51:18.000000000 
+0100
@@ -1,4 +1,4 @@
-Copyright 2021-2022 David Robillard <[email protected]>
+Copyright 2021-2025 David Robillard <[email protected]>
 
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxygen-1.0.10/NEWS new/sphinxygen-1.0.12/NEWS
--- old/sphinxygen-1.0.10/NEWS  2025-01-18 23:27:36.000000000 +0100
+++ new/sphinxygen-1.0.12/NEWS  2025-11-12 16:59:19.000000000 +0100
@@ -1,3 +1,11 @@
+sphinxygen (1.0.12) stable; urgency=medium
+
+  * Fix documentation for C++ namespaces
+  * Fix documentation for C++ template functions
+  * Improve formatting of macro initializers
+
+ -- David Robillard <[email protected]>  Wed, 12 Nov 2025 15:59:10 +0000
+
 sphinxygen (1.0.10) stable; urgency=medium
 
   * Add missing meson_options.txt to distribution archive
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxygen-1.0.10/PKG-INFO 
new/sphinxygen-1.0.12/PKG-INFO
--- old/sphinxygen-1.0.10/PKG-INFO      2025-01-18 23:28:43.673687000 +0100
+++ new/sphinxygen-1.0.12/PKG-INFO      2025-11-12 17:00:29.727980000 +0100
@@ -1,13 +1,12 @@
-Metadata-Version: 2.2
+Metadata-Version: 2.4
 Name: sphinxygen
-Version: 1.0.10
+Version: 1.0.12
 Summary: A script to generate Sphinx ReST from Doxygen XML
 Author-email: David Robillard <[email protected]>
-License: ISC
+License-Expression: ISC
 Project-URL: Homepage, https://gitlab.com/drobilla/sphinxygen
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: ISC License (ISCL)
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: C
 Classifier: Topic :: Documentation :: Sphinx
@@ -16,6 +15,7 @@
 License-File: LICENSE
 Provides-Extra: testing
 Requires-Dist: html5lib; extra == "testing"
+Dynamic: license-file
 
 Sphinxygen
 ==========
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxygen-1.0.10/meson.build 
new/sphinxygen-1.0.12/meson.build
--- old/sphinxygen-1.0.10/meson.build   2025-01-18 23:28:05.000000000 +0100
+++ new/sphinxygen-1.0.12/meson.build   2025-11-12 16:59:48.000000000 +0100
@@ -6,7 +6,7 @@
   [],
   license: 'ISC',
   meson_version: '>= 0.56.0',
-  version: '1.0.10',
+  version: '1.0.12',
 )
 
 pymod = import('python')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxygen-1.0.10/pyproject.toml 
new/sphinxygen-1.0.12/pyproject.toml
--- old/sphinxygen-1.0.10/pyproject.toml        2025-01-18 23:28:05.000000000 
+0100
+++ new/sphinxygen-1.0.12/pyproject.toml        2025-11-12 16:59:48.000000000 
+0100
@@ -7,16 +7,15 @@
 
 [project]
 name = "sphinxygen"
-version = "1.0.10"
+version = "1.0.12"
 authors = [{name = "David Robillard", email = "[email protected]"}]
-license = {text = "ISC"}
+license = "ISC"
 description = "A script to generate Sphinx ReST from Doxygen XML"
 urls = {Homepage = "https://gitlab.com/drobilla/sphinxygen"}
 dependencies = []
 classifiers = [
     "Development Status :: 5 - Production/Stable",
     "Intended Audience :: Developers",
-    "License :: OSI Approved :: ISC License (ISCL)",
     "Operating System :: OS Independent",
     "Programming Language :: C",
     "Topic :: Documentation :: Sphinx",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxygen-1.0.10/src/sphinxygen/sphinxygen.py 
new/sphinxygen-1.0.12/src/sphinxygen/sphinxygen.py
--- old/sphinxygen-1.0.10/src/sphinxygen/sphinxygen.py  2025-01-18 
23:28:05.000000000 +0100
+++ new/sphinxygen-1.0.12/src/sphinxygen/sphinxygen.py  2025-11-12 
16:59:48.000000000 +0100
@@ -20,7 +20,7 @@
 __date__ = "2025-01-18"
 __email__ = "[email protected]"
 __license__ = "ISC"
-__version__ = "1.0.10"
+__version__ = "1.0.12"
 
 
 entities = {
@@ -509,7 +509,7 @@
         return " " + markup
 
     def convert_initializer():
-        return ":{}:`{}`\n\n".format(lang, plain_text(node))
+        return convert_para()
 
     def convert_itemizedlist():
         markup = ""
@@ -685,7 +685,20 @@
             set_descriptions(index, lang, value, index[value.get("id")])
 
     def read_function():
-        record["prototype"] = "%s %s%s" % (
+        templateparamlist = member.find("templateparamlist")
+        record["prototype"] = ""
+        if templateparamlist is not None:
+            params = []
+            for param in templateparamlist.findall("param"):
+                declname = param.find("declname")
+                params += [
+                    plain_text(param.find("type"))
+                    + ("" if declname is None else (" " + declname.text))
+                ]
+
+            record["prototype"] += "template <{}> ".format(", ".join(params))
+
+        record["prototype"] += "%s %s%s" % (
             plain_text(member.find("type")),
             member.find("name").text,
             member.find("argsstring").text,
@@ -729,12 +742,15 @@
     # Set descriptions for the compound itself
     compound = root.find("compounddef")
     compound_record = index[compound.get("id")]
+    compound_kind = compound.get("kind")
     set_descriptions(index, lang, compound, compound_record)
 
     if compound.find("title") is not None:
         compound_record["title"] = compound.find("title").text.strip()
+    elif compound_kind == "namespace":
+        compound_record["title"] = compound.find("compoundname").text.strip()
 
-    if compound.get("kind") in ["class", "struct"]:
+    if compound_kind in ["class", "struct"]:
         name = compound_record["name"]
         prefix = local_name(name)
 
@@ -900,9 +916,6 @@
             raise FileExistsError("File already exists: '%s'" % filename)
 
         with open(filename, "w", encoding="utf-8") as rst:
-            # Define "c" role for syntax highlighted inline code
-            rst.write("\n.. role:: c(code)\n   :language: c\n")
-
             # Write heading with anchor
             rst.write(".. _%s:\n\n" % name)
             rst.write(heading(record["title"], 1))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxygen-1.0.10/src/sphinxygen.egg-info/PKG-INFO 
new/sphinxygen-1.0.12/src/sphinxygen.egg-info/PKG-INFO
--- old/sphinxygen-1.0.10/src/sphinxygen.egg-info/PKG-INFO      2025-01-18 
23:28:43.000000000 +0100
+++ new/sphinxygen-1.0.12/src/sphinxygen.egg-info/PKG-INFO      2025-11-12 
17:00:29.000000000 +0100
@@ -1,13 +1,12 @@
-Metadata-Version: 2.2
+Metadata-Version: 2.4
 Name: sphinxygen
-Version: 1.0.10
+Version: 1.0.12
 Summary: A script to generate Sphinx ReST from Doxygen XML
 Author-email: David Robillard <[email protected]>
-License: ISC
+License-Expression: ISC
 Project-URL: Homepage, https://gitlab.com/drobilla/sphinxygen
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: ISC License (ISCL)
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: C
 Classifier: Topic :: Documentation :: Sphinx
@@ -16,6 +15,7 @@
 License-File: LICENSE
 Provides-Extra: testing
 Requires-Dist: html5lib; extra == "testing"
+Dynamic: license-file
 
 Sphinxygen
 ==========

Reply via email to