1
0

Accepting request 732870 from devel:languages:python

- Update to 2.4.2:
  * Fix race condition in tests
  * Fix scale for images with no viewBox

OBS-URL: https://build.opensuse.org/request/show/732870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2019-09-30 13:54:05 +00:00 committed by Git OBS Bridge
commit df19be4707
4 changed files with 12 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fbd1d5e97ff72e2e46d69485164416fadd55a9cae944b50aa961130d8800fbc5
size 38649

3
CairoSVG-2.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad
size 38715

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Sep 24 08:46:49 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.4.2:
* Fix race condition in tests
* Fix scale for images with no viewBox
-------------------------------------------------------------------
Mon Sep 9 09:16:37 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

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