From 380353c78e55a591f4dc852bbee8a2ec870898cfcdaefe3b59bd4889766d435d Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 16 Jun 2025 06:25:36 +0000 Subject: [PATCH] - Switch to pyroject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stack-data?expand=0&rev=23 --- python-stack-data.changes | 5 +++++ python-stack-data.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-stack-data.changes b/python-stack-data.changes index 59dad49..6988354 100644 --- a/python-stack-data.changes +++ b/python-stack-data.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 16 06:12:25 UTC 2025 - Steve Kowalik + +- Switch to pyroject macros. + ------------------------------------------------------------------- Mon Jan 20 13:14:44 UTC 2025 - Markéta Machová diff --git a/python-stack-data.spec b/python-stack-data.spec index e535833..68dc113 100644 --- a/python-stack-data.spec +++ b/python-stack-data.spec @@ -25,8 +25,10 @@ License: MIT URL: https://github.com/alexmojaki/stack_data Source: https://files.pythonhosted.org/packages/source/s/stack_data/stack_data-%{version}.tar.gz BuildRequires: %{python_module Cython} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 44} BuildRequires: %{python_module setuptools_scm >= 3.4.3} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # PATCH-FIX-UPSTREAM https://github.com/alexmojaki/stack_data/pull/58 Modify test_executing_style_defs to work with Pygments 2.19 @@ -57,10 +59,10 @@ Extract data from python stack frames and tracebacks for informative displays %autosetup -p1 -n stack_data-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -69,6 +71,6 @@ Extract data from python stack frames and tracebacks for informative displays %files %{python_files} %{python_sitelib}/stack_data -%{python_sitelib}/stack_data-%{version}*-info +%{python_sitelib}/stack_data-%{version}.dist-info %changelog