From a6f6fcf43664b06b232ba2ff05e1d98de52cd2cd6afd0231d46d3525d08d0067 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 5 Jun 2025 06:05:03 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=41 --- python-debugpy.changes | 5 +++++ python-debugpy.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-debugpy.changes b/python-debugpy.changes index ae879fa..a6559e2 100644 --- a/python-debugpy.changes +++ b/python-debugpy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 5 06:01:35 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Mon Apr 28 15:12:46 UTC 2025 - Markéta Machová diff --git a/python-debugpy.spec b/python-debugpy.spec index 9dcb02d..6cef8d2 100644 --- a/python-debugpy.spec +++ b/python-debugpy.spec @@ -89,7 +89,7 @@ mv ../attach_${pyarch}.so ../attach_linux_amd64.so mv ../attach_${pyarch}.so ../attach_linux_x86.so %endif popd -%{$python_build} +%pyproject_wheel } %endif @@ -97,7 +97,7 @@ popd %if !%{with test} # Dont compile pydevd again export SKIP_CYTHON_BUILD=1 -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/debugpy %python_clone -a %{buildroot}%{_bindir}/debugpy-adapter %{python_expand # remove source files