forked from pool/python-svgwrite
- 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
This commit is contained in:
committed by
Git OBS Bridge
parent
d16bebb0e1
commit
993f55775e
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 22 12:44:34 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- 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 <tchvatal@suse.com>
|
Wed Jan 2 11:43:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -18,24 +18,23 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-svgwrite
|
Name: python-svgwrite
|
||||||
Version: 1.2.1
|
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
|
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
|
Source: https://files.pythonhosted.org/packages/source/s/svgwrite/svgwrite-%{version}.zip
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
|
Requires: python-pyparsing >= 2.0.1
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pyparsing >= 2.0.1}
|
BuildRequires: %{python_module pyparsing >= 2.0.1}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: python-pyparsing >= 2.0.1
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -54,7 +53,8 @@ sed -i 's/\r$//' LICENSE.TXT NEWS.rst README.rst
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%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}
|
%files %{python_files}
|
||||||
%doc NEWS.rst README.rst
|
%doc NEWS.rst README.rst
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:72ef66c9fe367989823cb237ab7f012ac809dd3ba76c1b5ebd9aa61580e2e75e
|
|
||||||
size 176795
|
|
3
svgwrite-1.3.1.zip
Normal file
3
svgwrite-1.3.1.zip
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:11e47749b159ed7004721e11d380b4642a26154b8cb2f7b0102fea9c71a3dfa1
|
||||||
|
size 185842
|
Reference in New Issue
Block a user