From 90d7232c742b789a95583e3781f1ac73b0eb48ef25c601ca28c51b349bb971cb Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 9 May 2025 05:26:45 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dash-renderer?expand=0&rev=10 --- python-dash-renderer.changes | 5 +++++ python-dash-renderer.spec | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/python-dash-renderer.changes b/python-dash-renderer.changes index d2c922b..db2a359 100644 --- a/python-dash-renderer.changes +++ b/python-dash-renderer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 9 05:08:30 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Fri Apr 9 21:43:15 UTC 2021 - Ben Greiner diff --git a/python-dash-renderer.spec b/python-dash-renderer.spec index 082920e..9028fa6 100644 --- a/python-dash-renderer.spec +++ b/python-dash-renderer.spec @@ -1,7 +1,7 @@ # # spec file for package python-dash-renderer # -# Copyright (c) 2021 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,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dash-renderer Version: 1.9.1 Release: 0 @@ -25,7 +24,9 @@ License: MIT URL: https://github.com/plotly/dash/tree/dev/dash-renderer Source: https://files.pythonhosted.org/packages/source/d/dash_renderer/dash_renderer-%{version}.tar.gz Source99: https://raw.githubusercontent.com/plotly/dash/dev/LICENSE +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -39,10 +40,10 @@ Front-end component renderer for Dash. cp %{SOURCE99} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # no python tests available, js testing is hard. @@ -51,6 +52,6 @@ cp %{SOURCE99} . %files %{python_files} %license LICENSE %{python_sitelib}/dash_renderer -%{python_sitelib}/dash_renderer-%{version}-py*.egg-info +%{python_sitelib}/dash_renderer-%{version}.dist-info %changelog