Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package 
python-sphinxcontrib-svg2pdfconverter for openSUSE:Factory checked in at 
2021-11-29 17:28:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-svg2pdfconverter (Old)
 and      
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-svg2pdfconverter.new.31177 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sphinxcontrib-svg2pdfconverter"

Mon Nov 29 17:28:39 2021 rev:5 rq:934529 version:1.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-svg2pdfconverter/python-sphinxcontrib-svg2pdfconverter.changes
      2021-07-17 23:37:25.729604281 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-svg2pdfconverter.new.31177/python-sphinxcontrib-svg2pdfconverter.changes
   2021-12-02 02:24:48.416701242 +0100
@@ -1,0 +2,7 @@
+Mon Nov 29 11:50:16 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 1.2.0:
+  * Match inkscape version number only
+  * Fix CairSVGConverter::convert for usage on Windows 
+
+-------------------------------------------------------------------

Old:
----
  sphinxcontrib-svg2pdfconverter-1.1.1.tar.gz

New:
----
  sphinxcontrib-svg2pdfconverter-1.2.0.tar.gz

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

Other differences:
------------------
++++++ python-sphinxcontrib-svg2pdfconverter.spec ++++++
--- /var/tmp/diff_new_pack.8MG5bv/_old  2021-12-02 02:24:48.768700014 +0100
+++ /var/tmp/diff_new_pack.8MG5bv/_new  2021-12-02 02:24:48.772700000 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-sphinxcontrib-svg2pdfconverter
-Version:        1.1.1
+Version:        1.2.0
 Release:        0
 Summary:        Sphinx SVG to PDF converter extension
 License:        BSD-2-Clause

++++++ sphinxcontrib-svg2pdfconverter-1.1.1.tar.gz -> 
sphinxcontrib-svg2pdfconverter-1.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib-svg2pdfconverter-1.1.1/PKG-INFO 
new/sphinxcontrib-svg2pdfconverter-1.2.0/PKG-INFO
--- old/sphinxcontrib-svg2pdfconverter-1.1.1/PKG-INFO   2021-01-07 
08:03:06.000000000 +0100
+++ new/sphinxcontrib-svg2pdfconverter-1.2.0/PKG-INFO   2021-11-05 
23:51:03.550010000 +0100
@@ -1,81 +1,12 @@
 Metadata-Version: 2.1
 Name: sphinxcontrib-svg2pdfconverter
-Version: 1.1.1
+Version: 1.2.0
 Summary: Sphinx SVG to PDF converter extension
 Home-page: 
https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter
 Author: Stefan Wiehler
 Author-email: stefan.wieh...@missinglinkelectronics.com
 License: BSD
 Download-URL: https://pypi.org/project/sphinxcontrib-svg2pdfconverter
-Description: *************************************
-        Sphinx SVG to PDF Converter Extension
-        *************************************
-        
-        This extension converts SVG images to PDF in case the builder does not 
support
-        SVG images natively (e.g. LaTeX).
-        
-        Internally, either `Inkscape <https://inkscape.org/>`_, 
``rsvg-convert``
-        from `libRSVG <https://wiki.gnome.org/Projects/LibRsvg>`_ or `CairoSVG
-        <https://cairosvg.org/>`_ as progressively more lightweight 
alternatives
-        are used to convert images.
-        
-        
-        Installation
-        ============
-        
-        Just install via ``pip``:
-        
-        .. code-block:: console
-        
-           $ pip install sphinxcontrib-svg2pdfconverter
-        
-        You can choose between Inkscape, libRSVG and CairoSVG by adding
-        ``sphinxcontrib.inkscapeconverter``, ``sphinxcontrib.rsvgconverter`` or
-        ``sphinxcontrib.cairosvgconverter`` to the ``extensions`` list in your
-        ``conf.py``.
-        
-        Make sure to have either ``inkscape`` or the ``rsvg-convert`` command 
available
-        in your systems ``PATH`` and, if necessary, adapt the
-        ``inkscape_converter_bin`` or ``rsvg_converter_bin`` config value 
respectively.
-        
-        CairoSVG requires additional dependencies to be installed with:
-        
-        .. code-block:: console
-        
-           $ pip install sphinxcontrib-svg2pdfconverter[CairoSVG]
-        
-        CairoSVG and its dependencies may require additional tools during the
-        installation depending on the OS you are using; see the `CairoSVG 
documentation
-        <https://cairosvg.org/documentation/#installation>`_ for further 
details.
-        
-        Configuration
-        =============
-        
-        Inkscape
-        --------
-        
-        ``inkscape_converter_bin``
-            Path to Inkscape binary. By default, this is ``inkscape``.
-        
-        ``inkscape_converter_args``
-            Additional command-line arguments for Inkscape, as a list. By
-            default, this is ``['--export-area-drawing']``.
-        
-        RSVG
-        ----
-        
-        ``rsvg_converter_bin``
-            Path to RSVG converter binary. By default, this is 
``rsvg-convert``.
-        
-        ``rsvg_converter_args``
-            Additional command-line arguments for the RSVG converter, as a 
list. By
-            default, this is the emtpy list ``[]``.
-        
-        CairoSVG
-        --------
-        
-        No configuration is required.
-        
 Platform: any
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Console
@@ -90,3 +21,75 @@
 Requires-Python: ~=3.4
 Description-Content-Type: text/x-rst
 Provides-Extra: CairoSVG
+License-File: LICENSE.txt
+
+*************************************
+Sphinx SVG to PDF Converter Extension
+*************************************
+
+This extension converts SVG images to PDF in case the builder does not support
+SVG images natively (e.g. LaTeX).
+
+Internally, either `Inkscape <https://inkscape.org/>`_, ``rsvg-convert``
+from `libRSVG <https://wiki.gnome.org/Projects/LibRsvg>`_ or `CairoSVG
+<https://cairosvg.org/>`_ as progressively more lightweight alternatives
+are used to convert images.
+
+
+Installation
+============
+
+Just install via ``pip``:
+
+.. code-block:: console
+
+   $ pip install sphinxcontrib-svg2pdfconverter
+
+You can choose between Inkscape, libRSVG and CairoSVG by adding
+``sphinxcontrib.inkscapeconverter``, ``sphinxcontrib.rsvgconverter`` or
+``sphinxcontrib.cairosvgconverter`` to the ``extensions`` list in your
+``conf.py``.
+
+Make sure to have either ``inkscape`` or the ``rsvg-convert`` command available
+in your systems ``PATH`` and, if necessary, adapt the
+``inkscape_converter_bin`` or ``rsvg_converter_bin`` config value respectively.
+
+CairoSVG requires additional dependencies to be installed with:
+
+.. code-block:: console
+
+   $ pip install sphinxcontrib-svg2pdfconverter[CairoSVG]
+
+CairoSVG and its dependencies may require additional tools during the
+installation depending on the OS you are using; see the `CairoSVG documentation
+<https://cairosvg.org/documentation/#installation>`_ for further details.
+
+Configuration
+=============
+
+Inkscape
+--------
+
+``inkscape_converter_bin``
+    Path to Inkscape binary. By default, this is ``inkscape``.
+
+``inkscape_converter_args``
+    Additional command-line arguments for Inkscape, as a list. By
+    default, this is ``['--export-area-drawing']``.
+
+RSVG
+----
+
+``rsvg_converter_bin``
+    Path to RSVG converter binary. By default, this is ``rsvg-convert``.
+
+``rsvg_converter_args``
+    Additional command-line arguments for the RSVG converter, as a list. By
+    default, this is the emtpy list ``[]``.
+
+CairoSVG
+--------
+
+No configuration is required.
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib-svg2pdfconverter-1.1.1/setup.py 
new/sphinxcontrib-svg2pdfconverter-1.2.0/setup.py
--- old/sphinxcontrib-svg2pdfconverter-1.1.1/setup.py   2021-01-07 
07:59:34.000000000 +0100
+++ new/sphinxcontrib-svg2pdfconverter-1.2.0/setup.py   2021-11-05 
23:48:44.000000000 +0100
@@ -13,7 +13,7 @@
 
 setup(
     name='sphinxcontrib-svg2pdfconverter',
-    version='1.1.1',
+    version='1.2.0',
     
url='https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter',
     download_url='https://pypi.org/project/sphinxcontrib-svg2pdfconverter',
     license='BSD',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinxcontrib-svg2pdfconverter-1.1.1/sphinxcontrib/cairosvgconverter.py 
new/sphinxcontrib-svg2pdfconverter-1.2.0/sphinxcontrib/cairosvgconverter.py
--- old/sphinxcontrib-svg2pdfconverter-1.1.1/sphinxcontrib/cairosvgconverter.py 
2020-05-29 13:50:34.000000000 +0200
+++ new/sphinxcontrib-svg2pdfconverter-1.2.0/sphinxcontrib/cairosvgconverter.py 
2021-11-05 23:48:44.000000000 +0100
@@ -51,7 +51,7 @@
         """Converts the image from SVG to PDF via CairoSVG."""
         import cairosvg
         try:
-            cairosvg.svg2pdf(url=_from, write_to=_to)
+            cairosvg.svg2pdf(file_obj=open(_from, 'rb'), write_to=_to)
         except (OSError, URLError) as err:
             raise ExtensionError(__('CairoSVG converter failed with reason: '
                                     '%s') % err.reason)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinxcontrib-svg2pdfconverter-1.1.1/sphinxcontrib/inkscapeconverter.py 
new/sphinxcontrib-svg2pdfconverter-1.2.0/sphinxcontrib/inkscapeconverter.py
--- old/sphinxcontrib-svg2pdfconverter-1.1.1/sphinxcontrib/inkscapeconverter.py 
2020-11-30 12:48:56.000000000 +0100
+++ new/sphinxcontrib-svg2pdfconverter-1.2.0/sphinxcontrib/inkscapeconverter.py 
2021-11-05 23:48:44.000000000 +0100
@@ -42,7 +42,7 @@
             output = subprocess.check_output(
                 args, stdin=subprocess.PIPE, stderr=subprocess.PIPE,
                 universal_newlines=True)
-            match = re.search('Inkscape (.+) \(.+, .+\)', output)
+            match = re.search('Inkscape (.+)', output)
             if not match:
                 logger.warning(__('Inkscape command %r returned invalid 
result: %s\n '
                                   'Check the inkscape_converter_bin setting'),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinxcontrib-svg2pdfconverter-1.1.1/sphinxcontrib_svg2pdfconverter.egg-info/PKG-INFO
 
new/sphinxcontrib-svg2pdfconverter-1.2.0/sphinxcontrib_svg2pdfconverter.egg-info/PKG-INFO
--- 
old/sphinxcontrib-svg2pdfconverter-1.1.1/sphinxcontrib_svg2pdfconverter.egg-info/PKG-INFO
   2021-01-07 08:03:06.000000000 +0100
+++ 
new/sphinxcontrib-svg2pdfconverter-1.2.0/sphinxcontrib_svg2pdfconverter.egg-info/PKG-INFO
   2021-11-05 23:51:03.000000000 +0100
@@ -1,81 +1,12 @@
 Metadata-Version: 2.1
 Name: sphinxcontrib-svg2pdfconverter
-Version: 1.1.1
+Version: 1.2.0
 Summary: Sphinx SVG to PDF converter extension
 Home-page: 
https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter
 Author: Stefan Wiehler
 Author-email: stefan.wieh...@missinglinkelectronics.com
 License: BSD
 Download-URL: https://pypi.org/project/sphinxcontrib-svg2pdfconverter
-Description: *************************************
-        Sphinx SVG to PDF Converter Extension
-        *************************************
-        
-        This extension converts SVG images to PDF in case the builder does not 
support
-        SVG images natively (e.g. LaTeX).
-        
-        Internally, either `Inkscape <https://inkscape.org/>`_, 
``rsvg-convert``
-        from `libRSVG <https://wiki.gnome.org/Projects/LibRsvg>`_ or `CairoSVG
-        <https://cairosvg.org/>`_ as progressively more lightweight 
alternatives
-        are used to convert images.
-        
-        
-        Installation
-        ============
-        
-        Just install via ``pip``:
-        
-        .. code-block:: console
-        
-           $ pip install sphinxcontrib-svg2pdfconverter
-        
-        You can choose between Inkscape, libRSVG and CairoSVG by adding
-        ``sphinxcontrib.inkscapeconverter``, ``sphinxcontrib.rsvgconverter`` or
-        ``sphinxcontrib.cairosvgconverter`` to the ``extensions`` list in your
-        ``conf.py``.
-        
-        Make sure to have either ``inkscape`` or the ``rsvg-convert`` command 
available
-        in your systems ``PATH`` and, if necessary, adapt the
-        ``inkscape_converter_bin`` or ``rsvg_converter_bin`` config value 
respectively.
-        
-        CairoSVG requires additional dependencies to be installed with:
-        
-        .. code-block:: console
-        
-           $ pip install sphinxcontrib-svg2pdfconverter[CairoSVG]
-        
-        CairoSVG and its dependencies may require additional tools during the
-        installation depending on the OS you are using; see the `CairoSVG 
documentation
-        <https://cairosvg.org/documentation/#installation>`_ for further 
details.
-        
-        Configuration
-        =============
-        
-        Inkscape
-        --------
-        
-        ``inkscape_converter_bin``
-            Path to Inkscape binary. By default, this is ``inkscape``.
-        
-        ``inkscape_converter_args``
-            Additional command-line arguments for Inkscape, as a list. By
-            default, this is ``['--export-area-drawing']``.
-        
-        RSVG
-        ----
-        
-        ``rsvg_converter_bin``
-            Path to RSVG converter binary. By default, this is 
``rsvg-convert``.
-        
-        ``rsvg_converter_args``
-            Additional command-line arguments for the RSVG converter, as a 
list. By
-            default, this is the emtpy list ``[]``.
-        
-        CairoSVG
-        --------
-        
-        No configuration is required.
-        
 Platform: any
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Console
@@ -90,3 +21,75 @@
 Requires-Python: ~=3.4
 Description-Content-Type: text/x-rst
 Provides-Extra: CairoSVG
+License-File: LICENSE.txt
+
+*************************************
+Sphinx SVG to PDF Converter Extension
+*************************************
+
+This extension converts SVG images to PDF in case the builder does not support
+SVG images natively (e.g. LaTeX).
+
+Internally, either `Inkscape <https://inkscape.org/>`_, ``rsvg-convert``
+from `libRSVG <https://wiki.gnome.org/Projects/LibRsvg>`_ or `CairoSVG
+<https://cairosvg.org/>`_ as progressively more lightweight alternatives
+are used to convert images.
+
+
+Installation
+============
+
+Just install via ``pip``:
+
+.. code-block:: console
+
+   $ pip install sphinxcontrib-svg2pdfconverter
+
+You can choose between Inkscape, libRSVG and CairoSVG by adding
+``sphinxcontrib.inkscapeconverter``, ``sphinxcontrib.rsvgconverter`` or
+``sphinxcontrib.cairosvgconverter`` to the ``extensions`` list in your
+``conf.py``.
+
+Make sure to have either ``inkscape`` or the ``rsvg-convert`` command available
+in your systems ``PATH`` and, if necessary, adapt the
+``inkscape_converter_bin`` or ``rsvg_converter_bin`` config value respectively.
+
+CairoSVG requires additional dependencies to be installed with:
+
+.. code-block:: console
+
+   $ pip install sphinxcontrib-svg2pdfconverter[CairoSVG]
+
+CairoSVG and its dependencies may require additional tools during the
+installation depending on the OS you are using; see the `CairoSVG documentation
+<https://cairosvg.org/documentation/#installation>`_ for further details.
+
+Configuration
+=============
+
+Inkscape
+--------
+
+``inkscape_converter_bin``
+    Path to Inkscape binary. By default, this is ``inkscape``.
+
+``inkscape_converter_args``
+    Additional command-line arguments for Inkscape, as a list. By
+    default, this is ``['--export-area-drawing']``.
+
+RSVG
+----
+
+``rsvg_converter_bin``
+    Path to RSVG converter binary. By default, this is ``rsvg-convert``.
+
+``rsvg_converter_args``
+    Additional command-line arguments for the RSVG converter, as a list. By
+    default, this is the emtpy list ``[]``.
+
+CairoSVG
+--------
+
+No configuration is required.
+
+

Reply via email to