forked from pool/python-dash
Accepting request 809428 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/809428 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dash?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 07:22:29 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 18 20:31:40 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
||||
@@ -40,6 +40,8 @@ Requires: python-future
|
||||
# needed for dash/testing/browser.py
|
||||
Requires: python-percy
|
||||
Requires: python-plotly
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Flask >= 1.0.2}
|
||||
@@ -74,13 +76,23 @@ sed -i -e 's:==:>=:g' requires-*txt
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/renderer
|
||||
%python_clone -a %{buildroot}%{_bindir}/dash-generate-components
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative renderer
|
||||
%python_install_alternative dash-generate-components
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative renderer
|
||||
%python_uninstall_alternative dash-generate-components
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python3_only %{_bindir}/dash-generate-components
|
||||
%python3_only %{_bindir}/renderer
|
||||
%python_alternative %{_bindir}/dash-generate-components
|
||||
%python_alternative %{_bindir}/renderer
|
||||
%{python_sitelib}/dash
|
||||
%{python_sitelib}/dash-%{version}-py*.egg-info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user