commit python-CairoSVG for openSUSE:Factory
Hello community, here is the log from the commit of package python-CairoSVG for openSUSE:Factory checked in at 2019-05-05 21:18:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-CairoSVG (Old) and /work/SRC/openSUSE:Factory/.python-CairoSVG.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-CairoSVG" Sun May 5 21:18:39 2019 rev:4 rq:699369 version:2.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-CairoSVG/python-CairoSVG.changes 2019-02-28 21:39:23.773621449 +0100 +++ /work/SRC/openSUSE:Factory/.python-CairoSVG.new.5148/python-CairoSVG.changes 2019-05-05 21:18:42.116833019 +0200 @@ -1,0 +2,6 @@ +Mon Apr 29 07:57:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Update to 2.3.1: + * Fix relative paths on Windows + +------------------------------------------------------------------- Old: ---- CairoSVG-2.3.0.tar.gz New: ---- CairoSVG-2.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-CairoSVG.spec ++++++ --- /var/tmp/diff_new_pack.pIUMNv/_old 2019-05-05 21:18:43.680837280 +0200 +++ /var/tmp/diff_new_pack.pIUMNv/_new 2019-05-05 21:18:43.720837389 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-CairoSVG -Version: 2.3.0 +Version: 2.3.1 Release: 0 Summary: A Python SVG converter based on Cairo License: LGPL-3.0-or-later ++++++ CairoSVG-2.3.0.tar.gz -> CairoSVG-2.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CairoSVG-2.3.0/CairoSVG.egg-info/PKG-INFO new/CairoSVG-2.3.1/CairoSVG.egg-info/PKG-INFO --- old/CairoSVG-2.3.0/CairoSVG.egg-info/PKG-INFO 2019-02-08 17:33:01.000000000 +0100 +++ new/CairoSVG-2.3.1/CairoSVG.egg-info/PKG-INFO 2019-04-18 14:27:07.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: CairoSVG -Version: 2.3.0 +Version: 2.3.1 Summary: A Simple SVG Converter based on Cairo Home-page: http://www.cairosvg.org/ Author: Guillaume Ayoub @@ -36,5 +36,5 @@ Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion Requires-Python: >= 3.5 Description-Content-Type: text/x-rst -Provides-Extra: test Provides-Extra: doc +Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CairoSVG-2.3.0/PKG-INFO new/CairoSVG-2.3.1/PKG-INFO --- old/CairoSVG-2.3.0/PKG-INFO 2019-02-08 17:33:01.000000000 +0100 +++ new/CairoSVG-2.3.1/PKG-INFO 2019-04-18 14:27:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: CairoSVG -Version: 2.3.0 +Version: 2.3.1 Summary: A Simple SVG Converter based on Cairo Home-page: http://www.cairosvg.org/ Author: Guillaume Ayoub @@ -36,5 +36,5 @@ Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion Requires-Python: >= 3.5 Description-Content-Type: text/x-rst -Provides-Extra: test Provides-Extra: doc +Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CairoSVG-2.3.0/cairosvg/VERSION new/CairoSVG-2.3.1/cairosvg/VERSION --- old/CairoSVG-2.3.0/cairosvg/VERSION 2019-02-08 17:30:44.000000000 +0100 +++ new/CairoSVG-2.3.1/cairosvg/VERSION 2019-04-18 13:55:49.000000000 +0200 @@ -1 +1 @@ -2.3.0 \ No newline at end of file +2.3.1 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CairoSVG-2.3.0/cairosvg/__init__.py new/CairoSVG-2.3.1/cairosvg/__init__.py --- old/CairoSVG-2.3.0/cairosvg/__init__.py 2019-02-06 18:25:01.000000000 +0100 +++ new/CairoSVG-2.3.1/cairosvg/__init__.py 2019-03-22 17:30:59.000000000 +0100 @@ -39,7 +39,7 @@ # VERSION is used in the "url" module imported by "surface" -from . import surface # noqa +from . import surface # noqa isort:skip SURFACES = { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CairoSVG-2.3.0/cairosvg/url.py new/CairoSVG-2.3.1/cairosvg/url.py --- old/CairoSVG-2.3.0/cairosvg/url.py 2018-11-26 10:10:07.000000000 +0100 +++ new/CairoSVG-2.3.1/cairosvg/url.py 2019-04-18 14:19:35.000000000 +0200 @@ -46,13 +46,19 @@ - file:///C:/Directory/zzz.svg """ - if url and os.name == 'nt': + if url and os.name == 'nt' and not url.startswith('data:'): # Match input ``url`` like the following: # - C:\\Directory\\zzz.svg # - Blah.svg - if 'file:' not in url: + if not url.startswith('file:') and os.path.isabs(url): url = os.path.abspath(url) + if '#' in url: + url, part = url.rsplit('#', 1) + else: + part = None url = Path(url).resolve().as_uri() + if part is not None: + url = url + '#' + part # Match input ``url`` like the following: # - file://C:\\Directory\\zzz.svg
participants (1)
-
root