diff --git a/python-svgwrite.changes b/python-svgwrite.changes index 6e38bcd..427b0e8 100644 --- a/python-svgwrite.changes +++ b/python-svgwrite.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jan 2 11:43:25 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-svgwrite.spec b/python-svgwrite.spec index 9a69b07..b3d40aa 100644 --- a/python-svgwrite.spec +++ b/python-svgwrite.spec @@ -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 diff --git a/svgwrite-1.1.12.zip b/svgwrite-1.1.12.zip deleted file mode 100644 index 9299957..0000000 --- a/svgwrite-1.1.12.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:968c99f193f34f0fa7f0b3e82f49b93789c7c45cd89ce190480f16020d41ab79 -size 171947 diff --git a/svgwrite-1.2.1.zip b/svgwrite-1.2.1.zip new file mode 100644 index 0000000..92f5eb4 --- /dev/null +++ b/svgwrite-1.2.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72ef66c9fe367989823cb237ab7f012ac809dd3ba76c1b5ebd9aa61580e2e75e +size 176795