From 8d3eab2aa6abeaaab2a546bdceb797c637aa902dbb493d4e5c8cbf0a12ecb7b5 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 11 Jun 2025 06:17:42 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyclipper?expand=0&rev=23 --- python-pyclipper.changes | 5 +++++ python-pyclipper.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-pyclipper.changes b/python-pyclipper.changes index 6bd3d40..7306061 100644 --- a/python-pyclipper.changes +++ b/python-pyclipper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 05:49:27 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Mon Oct 28 16:54:26 UTC 2024 - Dirk Müller diff --git a/python-pyclipper.spec b/python-pyclipper.spec index 239becb..39b0ce8 100644 --- a/python-pyclipper.spec +++ b/python-pyclipper.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyclipper # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2020 Xu Zhao (i@xuzhao.net). # # All modifications and additions to the file contributed by third parties @@ -28,9 +28,11 @@ URL: https://github.com/fonttools/pyclipper Source: https://files.pythonhosted.org/packages/source/p/pyclipper/pyclipper-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros @@ -50,10 +52,10 @@ library is based on Vatti's clipping algorithm. %setup -q -n pyclipper-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -63,6 +65,6 @@ library is based on Vatti's clipping algorithm. %doc README.rst %license LICENSE %{python_sitearch}/pyclipper -%{python_sitearch}/pyclipper-%{version}*-info +%{python_sitearch}/pyclipper-%{version}.dist-info %changelog