From a21af09013f36d3117f05c9307e3971adfdb4d15bf516753bb2077aad9ab5cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Dec 2024 14:12:22 +0000 Subject: [PATCH] Accepting request 1230104 from home:glaubitz:branches:devel:languages:python - Update to version 0.9.4 * Fix typo by @schriftgestalt in #323 * Do not re-cycle the outline in strict mode by @simoncozens in #325 - Adjust upstream source name in spec file - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install OBS-URL: https://build.opensuse.org/request/show/1230104 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fontMath?expand=0&rev=15 --- fontMath-0.9.3.zip | 3 --- fontmath-0.9.4.zip | 3 +++ python-fontMath.changes | 16 ++++++++++++++++ python-fontMath.spec | 17 +++++++++-------- 4 files changed, 28 insertions(+), 11 deletions(-) delete mode 100644 fontMath-0.9.3.zip create mode 100644 fontmath-0.9.4.zip diff --git a/fontMath-0.9.3.zip b/fontMath-0.9.3.zip deleted file mode 100644 index f74d952..0000000 --- a/fontMath-0.9.3.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a5387cb7feb105958db2f5ceedc878513cc35bf3715e262090f0557be0c1b1c -size 39324 diff --git a/fontmath-0.9.4.zip b/fontmath-0.9.4.zip new file mode 100644 index 0000000..94a984d --- /dev/null +++ b/fontmath-0.9.4.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fd9190c9d784e1305c3c49771b91d910f246a4b7c44ede219c99a07ed7aeda4 +size 39399 diff --git a/python-fontMath.changes b/python-fontMath.changes index 091be3f..4c56c1a 100644 --- a/python-fontMath.changes +++ b/python-fontMath.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Dec 11 13:01:16 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.9.4 + * Fix typo by @schriftgestalt in #323 + * Do not re-cycle the outline in strict mode + by @simoncozens in #325 +- Adjust upstream source name in spec file +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install + ------------------------------------------------------------------- Wed Dec 14 08:39:04 UTC 2022 - Daniel Garcia diff --git a/python-fontMath.spec b/python-fontMath.spec index 63de7f2..f4c24fb 100644 --- a/python-fontMath.spec +++ b/python-fontMath.spec @@ -1,7 +1,7 @@ # # spec file for package python-fontMath # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,18 @@ # -%define skip_python2 1 -%define skip_python36 1 +%{?sle15_python_module_pythons} Name: python-fontMath -Version: 0.9.3 +Version: 0.9.4 Release: 0 Summary: A set of objects for performing math operations on font data License: MIT URL: https://github.com/robotools/fontMath -Source: https://files.pythonhosted.org/packages/source/f/fontMath/fontMath-%{version}.zip +Source: https://files.pythonhosted.org/packages/source/f/fontmath/fontmath-%{version}.zip +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip @@ -42,13 +43,13 @@ BuildRequires: %{python_module pytest >= 3.0.3} A set of objects for performing math operations on font data. %prep -%setup -q -n fontMath-%{version} +%setup -q -n fontmath-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check