14
0

- Version update to 1.2.1:

* BUGFIX: Python 2 pretty print encoding issue
  * NEW: Inkscape extension - support for Inkscape layers
  * BUGFIX: compatibility with Python 3.7 by fixing re.split() usage

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgwrite?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2019-01-02 11:46:59 +00:00
committed by Git OBS Bridge
parent cf90b0cc27
commit d16bebb0e1
4 changed files with 15 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-svgwrite
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-svgwrite
Version: 1.1.12
Version: 1.2.1
Release: 0
Summary: Python module for creating SVG drawings
License: MIT
@@ -31,6 +31,7 @@ BuildRequires: python-rpm-macros
BuildRequires: unzip
# SECTION test requirements
BuildRequires: %{python_module pyparsing >= 2.0.1}
BuildRequires: %{python_module pytest}
# /SECTION
Requires: python-pyparsing >= 2.0.1
BuildArch: noarch
@@ -53,11 +54,7 @@ sed -i 's/\r$//' LICENSE.TXT NEWS.rst README.rst
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
pushd tests
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python -m unittest
}
popd
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
%files %{python_files}
%doc NEWS.rst README.rst