14
0
Files
python-svgpathtools/python-svgpathtools.spec
Mia Herkt f6e0aef6e7 - Update to 1.5.0
* Fix implementation of points()
    (#gh/mathandy/svgpathtools#155)
  * Add support for rounded rectangles
    (#gh/mathandy/svgpathtools#161)
  * Fix Document.add_path for empty groups
    (#gh/mathandy/svgpathtools#170)
  * Allow file-like object as input to Documents ctor and
    svg2paths function
  * Add convenience functions for converting svgs contained in a
    string to paths

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgpathtools?expand=0&rev=11
2022-06-15 16:23:40 +00:00

65 lines
1.9 KiB
RPMSpec

#
# spec file for package python-svgpathtools
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python36 1
Name: python-svgpathtools
Version: 1.5.0
Release: 0
Summary: Tools for manipulating and analyzing SVG Path objects and Bézier curves
License: MIT
Group: Development/Languages/Python
URL: https://github.com/mathandy/svgpathtools
Source: https://files.pythonhosted.org/packages/source/s/svgpathtools/svgpathtools-%{version}.tar.gz
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module svgwrite}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-numpy
Requires: python-scipy
Requires: python-svgwrite
BuildArch: noarch
%python_subpackages
%description
Svgpathtools is a collection of tools for manipulating and
analyzing SVG Path objects and Bézier curves.
%prep
%setup -q -n svgpathtools-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE.txt LICENSE2.txt
%doc README.md
%{python_sitelib}/*
%changelog