From 0e033770475131436faad3ab793bc5868d44d2d255764964a3443114278e4aa3 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Fri, 9 May 2025 11:48:13 +0000 Subject: [PATCH 1/3] - Update to 1.7.0 * Hashes used by test suite are now platform-agnostic * Drop support for Python < 3.8 - Enable test suite OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgpathtools?expand=0&rev=19 --- python-svgpathtools.changes | 8 ++++++++ python-svgpathtools.spec | 13 ++++--------- svgpathtools-1.6.1.tar.gz | 3 --- svgpathtools-1.7.0.tar.gz | 3 +++ 4 files changed, 15 insertions(+), 12 deletions(-) delete mode 100644 svgpathtools-1.6.1.tar.gz create mode 100644 svgpathtools-1.7.0.tar.gz diff --git a/python-svgpathtools.changes b/python-svgpathtools.changes index db3acbf..68f0169 100644 --- a/python-svgpathtools.changes +++ b/python-svgpathtools.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri May 9 11:36:43 UTC 2025 - Mia Herkt + +- Update to 1.7.0 + * Hashes used by test suite are now platform-agnostic + * Drop support for Python < 3.8 +- Enable test suite + ------------------------------------------------------------------- Sun May 21 12:16:43 UTC 2023 - Mia Herkt diff --git a/python-svgpathtools.spec b/python-svgpathtools.spec index 99a0445..9e7dfcd 100644 --- a/python-svgpathtools.spec +++ b/python-svgpathtools.spec @@ -1,7 +1,7 @@ # # spec file for package python-svgpathtools # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,13 +16,11 @@ # -%global skip_python36 1 Name: python-svgpathtools -Version: 1.6.1 +Version: 1.7.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} @@ -52,11 +50,8 @@ analyzing SVG Path objects and Bézier curves. %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 +%check +%pytest %files %{python_files} %license LICENSE.txt LICENSE2.txt diff --git a/svgpathtools-1.6.1.tar.gz b/svgpathtools-1.6.1.tar.gz deleted file mode 100644 index 420f0e4..0000000 --- a/svgpathtools-1.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7054e6de1953e295bf565d535d585695453b09f8db4a2f7c4853348732097a3e -size 2133040 diff --git a/svgpathtools-1.7.0.tar.gz b/svgpathtools-1.7.0.tar.gz new file mode 100644 index 0000000..0e693db --- /dev/null +++ b/svgpathtools-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdcb6dedce45fc2307c96119d0f720bab243418a753c514aa7c423b39289519c +size 2132481 From 255771234e392ec0f81963878d1e0d5913ab0ff1af55fecb89c2fa1d68a2d8fa Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Fri, 9 May 2025 11:53:20 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgpathtools?expand=0&rev=20 --- python-svgpathtools.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-svgpathtools.spec b/python-svgpathtools.spec index 9e7dfcd..ec26781 100644 --- a/python-svgpathtools.spec +++ b/python-svgpathtools.spec @@ -16,6 +16,8 @@ # +%global skip_python36 1 +%global skip_python38 1 Name: python-svgpathtools Version: 1.7.0 Release: 0 From 5f5aa93a76c82650348a7fa018e3cd9ec851c1953c0b7c2089820e7449b43b38 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Fri, 9 May 2025 12:01:21 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgpathtools?expand=0&rev=21 --- python-svgpathtools.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-svgpathtools.spec b/python-svgpathtools.spec index ec26781..dc13ff0 100644 --- a/python-svgpathtools.spec +++ b/python-svgpathtools.spec @@ -16,8 +16,7 @@ # -%global skip_python36 1 -%global skip_python38 1 +%{?sle15_python_module_pythons} Name: python-svgpathtools Version: 1.7.0 Release: 0