- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dash-renderer?expand=0&rev=10
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 9 05:08:30 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 9 21:43:15 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user