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,3 +1,11 @@
-------------------------------------------------------------------
Wed Jan 2 11:43:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:55:01 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:55:01 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-svgwrite # 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 # 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-svgwrite Name: python-svgwrite
Version: 1.1.12 Version: 1.2.1
Release: 0 Release: 0
Summary: Python module for creating SVG drawings Summary: Python module for creating SVG drawings
License: MIT License: MIT
@@ -31,6 +31,7 @@ BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pyparsing >= 2.0.1} BuildRequires: %{python_module pyparsing >= 2.0.1}
BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
Requires: python-pyparsing >= 2.0.1 Requires: python-pyparsing >= 2.0.1
BuildArch: noarch BuildArch: noarch
@@ -53,11 +54,7 @@ sed -i 's/\r$//' LICENSE.TXT NEWS.rst README.rst
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
pushd tests %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python -m unittest
}
popd
%files %{python_files} %files %{python_files}
%doc NEWS.rst README.rst %doc NEWS.rst README.rst

View File

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

3
svgwrite-1.2.1.zip Normal file
View File

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