14
0

- Update to 2.4.2:

* Fix race condition in tests
  * Fix scale for images with no viewBox

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=18
This commit is contained in:
Tomáš Chvátal
2019-09-24 08:48:09 +00:00
committed by Git OBS Bridge
parent 89873fa350
commit 2ce715b3b5
4 changed files with 12 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-CairoSVG
Version: 2.4.1
Version: 2.4.2
Release: 0
Summary: A Python SVG converter based on Cairo
License: LGPL-3.0-or-later
@@ -68,7 +68,7 @@ sed -i setup.cfg \
%python_clone -a %{buildroot}/%{_bindir}/cairosvg
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
%pytest
%post
%python_install_alternative cairosvg