14
0

- Switch to pip-based build

- Update to 1.7.1
Fixes:
  * Rotation angle calculation when transforming arcs
  * Converting rounded rect to a d-string path
  * Floating point error in bezier bbox calculation
  * Skip end path in polyline if no dedicated end path is provided
Changes:
  * When converting ellipses to d-string paths, use arcs by default
  * Add various new test cases

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgpathtools?expand=0&rev=23
This commit is contained in:
2025-06-09 14:56:18 +00:00
committed by Git OBS Bridge
parent 5f5aa93a76
commit 5a07d072d1
4 changed files with 21 additions and 6 deletions

View File

@@ -18,13 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-svgpathtools
Version: 1.7.0
Version: 1.7.1
Release: 0
Summary: Tools for manipulating and analyzing SVG Path objects and Bézier curves
License: MIT
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 pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy}
BuildRequires: %{python_module setuptools}
@@ -45,10 +46,10 @@ analyzing SVG Path objects and Bézier curves.
%setup -q -n svgpathtools-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check