14
0
Files
python-svgpathtools/python-svgpathtools.spec
Mia Herkt f78e2e0ee9 - Update to 1.6.1
* Fix circles parsing to non-closed paths
    #gh/mathandy/svgpathtools#198
  * path.transform: Arc sweep is reversed by negative scale
    #gh/mathandy/svgpathtools#200
  * return error if Path.point() cannot be computed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgpathtools?expand=0&rev=17
2023-05-21 12:41:27 +00:00

67 lines
2.0 KiB
RPMSpec

#
# spec file for package python-svgpathtools
#
# Copyright (c) 2023 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/
#
%global skip_python36 1
Name: python-svgpathtools
Version: 1.6.1
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}
# test suite uses hashes that only match on some CPUs
# due to float math
# https://github.com/mathandy/svgpathtools/issues/183
# %%check
# %%pytest
%files %{python_files}
%license LICENSE.txt LICENSE2.txt
%doc README.md
%{python_sitelib}/svgpathtools*
%changelog