From 5a07d072d13beeeead3d1f0ad4b2cd46f8bd149039c032bb27f3f7ccd9c00633 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Mon, 9 Jun 2025 14:56:18 +0000 Subject: [PATCH] - 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 --- python-svgpathtools.changes | 14 ++++++++++++++ python-svgpathtools.spec | 7 ++++--- svgpathtools-1.7.0.tar.gz | 3 --- svgpathtools-1.7.1.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 svgpathtools-1.7.0.tar.gz create mode 100644 svgpathtools-1.7.1.tar.gz diff --git a/python-svgpathtools.changes b/python-svgpathtools.changes index 68f0169..3ddbdd2 100644 --- a/python-svgpathtools.changes +++ b/python-svgpathtools.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Jun 9 13:55:49 UTC 2025 - Mia Herkt + +- 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 diff --git a/python-svgpathtools.spec b/python-svgpathtools.spec index dc13ff0..ce3dd92 100644 --- a/python-svgpathtools.spec +++ b/python-svgpathtools.spec @@ -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 diff --git a/svgpathtools-1.7.0.tar.gz b/svgpathtools-1.7.0.tar.gz deleted file mode 100644 index 0e693db..0000000 --- a/svgpathtools-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bdcb6dedce45fc2307c96119d0f720bab243418a753c514aa7c423b39289519c -size 2132481 diff --git a/svgpathtools-1.7.1.tar.gz b/svgpathtools-1.7.1.tar.gz new file mode 100644 index 0000000..c34735a --- /dev/null +++ b/svgpathtools-1.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:beaef20fd78164aa5f0a7d4fd164ef20cb0d3d015cdec50c8c168e9d6547f041 +size 2135227