From 683a07aa98312b86161502dea8df935025912a154f00a9d365630dbb55dbf28e Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 9 May 2025 05:26:21 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dash-core-components?expand=0&rev=14 --- python-dash-core-components.changes | 5 +++++ python-dash-core-components.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-dash-core-components.changes b/python-dash-core-components.changes index 54bcdc5..7e9271e 100644 --- a/python-dash-core-components.changes +++ b/python-dash-core-components.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 9 05:08:18 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Tue Jun 7 20:14:49 UTC 2022 - Ben Greiner diff --git a/python-dash-core-components.spec b/python-dash-core-components.spec index 10caff7..7a848f1 100644 --- a/python-dash-core-components.spec +++ b/python-dash-core-components.spec @@ -1,7 +1,7 @@ # # spec file for package python-dash-core-components # -# Copyright (c) 2022 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 @@ -23,7 +23,9 @@ Summary: Core component suite for Dash - Legacy License: MIT URL: https://github.com/plotly/dash-core-components Source: https://files.pythonhosted.org/packages/source/d/dash-core-components/dash_core_components-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -41,16 +43,16 @@ has no further functionality than displaying a deprecation message. %setup -q -n dash_core_components-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/dash_core_components -%{python_sitelib}/dash_core_components-%{version}-py*.egg-info +%{python_sitelib}/dash_core_components-%{version}.dist-info %changelog