forked from pool/python-svgwrite
- 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:
committed by
Git OBS Bridge
parent
cf90b0cc27
commit
d16bebb0e1
@@ -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
|
||||
|
Reference in New Issue
Block a user