From 993f55775e823688f2dba1e98f15b430cd02377405216b27fa9a47af647bc69e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 22 Jul 2019 12:46:18 +0000 Subject: [PATCH] - Update to 1.3.1: * NEW: easy stylesheet embedding: Drawing.embed_stylesheet(content), see example using_fonts.py * NEW: embedded local fonts: Drawing.embed_font(fontname, filename), see example using_fonts.py * NEW: embedded web fonts: Drawing.embed_google_web_font(fontname, uri), see example using_fonts.py * NEW: shapes extension by Christof Hanke * NEW: for write(), save() and saveas(), indentation for pretty print is configurable by Mitar * BUGFIX: converted regex strings in tests to raw strings by tirkarthi OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgwrite?expand=0&rev=11 --- python-svgwrite.changes | 11 +++++++++++ python-svgwrite.spec | 12 ++++++------ svgwrite-1.2.1.zip | 3 --- svgwrite-1.3.1.zip | 3 +++ 4 files changed, 20 insertions(+), 9 deletions(-) delete mode 100644 svgwrite-1.2.1.zip create mode 100644 svgwrite-1.3.1.zip diff --git a/python-svgwrite.changes b/python-svgwrite.changes index 427b0e8..bdd69cf 100644 --- a/python-svgwrite.changes +++ b/python-svgwrite.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Jul 22 12:44:34 UTC 2019 - Tomáš Chvátal + +- Update to 1.3.1: + * NEW: easy stylesheet embedding: Drawing.embed_stylesheet(content), see example using_fonts.py + * NEW: embedded local fonts: Drawing.embed_font(fontname, filename), see example using_fonts.py + * NEW: embedded web fonts: Drawing.embed_google_web_font(fontname, uri), see example using_fonts.py + * NEW: shapes extension by Christof Hanke + * NEW: for write(), save() and saveas(), indentation for pretty print is configurable by Mitar + * BUGFIX: converted regex strings in tests to raw strings by tirkarthi + ------------------------------------------------------------------- Wed Jan 2 11:43:25 UTC 2019 - Tomáš Chvátal diff --git a/python-svgwrite.spec b/python-svgwrite.spec index b3d40aa..6c20412 100644 --- a/python-svgwrite.spec +++ b/python-svgwrite.spec @@ -18,24 +18,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-svgwrite -Version: 1.2.1 +Version: 1.3.1 Release: 0 Summary: Python module for creating SVG drawings License: MIT Group: Development/Languages/Python -Url: http://github.com/mozman/svgwrite +URL: https://github.com/mozman/svgwrite Source: https://files.pythonhosted.org/packages/source/s/svgwrite/svgwrite-%{version}.zip BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip +Requires: python-pyparsing >= 2.0.1 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pyparsing >= 2.0.1} BuildRequires: %{python_module pytest} # /SECTION -Requires: python-pyparsing >= 2.0.1 -BuildArch: noarch - %python_subpackages %description @@ -54,7 +53,8 @@ sed -i 's/\r$//' LICENSE.TXT NEWS.rst README.rst %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} +# test_embed_google_web_font - asks google for data +%pytest -k 'not test_embed_google_web_font' %files %{python_files} %doc NEWS.rst README.rst diff --git a/svgwrite-1.2.1.zip b/svgwrite-1.2.1.zip deleted file mode 100644 index 92f5eb4..0000000 --- a/svgwrite-1.2.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:72ef66c9fe367989823cb237ab7f012ac809dd3ba76c1b5ebd9aa61580e2e75e -size 176795 diff --git a/svgwrite-1.3.1.zip b/svgwrite-1.3.1.zip new file mode 100644 index 0000000..37b68a2 --- /dev/null +++ b/svgwrite-1.3.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11e47749b159ed7004721e11d380b4642a26154b8cb2f7b0102fea9c71a3dfa1 +size 185842