forked from pool/python-svgwrite
Accepting request 783302 from devel:languages:python
py38 fix OBS-URL: https://build.opensuse.org/request/show/783302 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-svgwrite?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 10 10:43:52 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Skip one test that started to fail with python 3.8:
|
||||||
|
* test_pretty_print
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 22 12:44:34 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Mon Jul 22 12:44:34 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-svgwrite
|
# spec file for package python-svgwrite
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -22,7 +22,6 @@ Version: 1.3.1
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python module for creating SVG drawings
|
Summary: Python module for creating SVG drawings
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/mozman/svgwrite
|
URL: https://github.com/mozman/svgwrite
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/svgwrite/svgwrite-%{version}.zip
|
Source: https://files.pythonhosted.org/packages/source/s/svgwrite/svgwrite-%{version}.zip
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@@ -54,7 +53,8 @@ sed -i 's/\r$//' LICENSE.TXT NEWS.rst README.rst
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# test_embed_google_web_font - asks google for data
|
# test_embed_google_web_font - asks google for data
|
||||||
%pytest -k 'not test_embed_google_web_font'
|
# test_pretty_print - fails on python 3.8 because xml output is now ordering tags
|
||||||
|
%pytest -k 'not test_embed_google_web_font and not test_pretty_print'
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc NEWS.rst README.rst
|
%doc NEWS.rst README.rst
|
||||||
|
Reference in New Issue
Block a user