14
0

Accepting request 1284231 from devel:languages:python

- 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/request/show/1284231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-svgpathtools?expand=0&rev=9
This commit is contained in:
2025-06-10 07:08:16 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 6 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Jun 9 13:55:49 UTC 2025 - Mia Herkt <mia@0x0.st>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 9 11:36:43 UTC 2025 - Mia Herkt <mia@0x0.st> Fri May 9 11:36:43 UTC 2025 - Mia Herkt <mia@0x0.st>

View File

@@ -18,13 +18,14 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-svgpathtools Name: python-svgpathtools
Version: 1.7.0 Version: 1.7.1
Release: 0 Release: 0
Summary: Tools for manipulating and analyzing SVG Path objects and Bézier curves Summary: Tools for manipulating and analyzing SVG Path objects and Bézier curves
License: MIT License: MIT
URL: https://github.com/mathandy/svgpathtools URL: https://github.com/mathandy/svgpathtools
Source: https://files.pythonhosted.org/packages/source/s/svgpathtools/svgpathtools-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/svgpathtools/svgpathtools-%{version}.tar.gz
BuildRequires: %{python_module numpy} BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy} BuildRequires: %{python_module scipy}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@@ -45,10 +46,10 @@ analyzing SVG Path objects and Bézier curves.
%setup -q -n svgpathtools-%{version} %setup -q -n svgpathtools-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bdcb6dedce45fc2307c96119d0f720bab243418a753c514aa7c423b39289519c
size 2132481

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:beaef20fd78164aa5f0a7d4fd164ef20cb0d3d015cdec50c8c168e9d6547f041
size 2135227