15
0
forked from pool/python-dash

Accepting request 958538 from devel:languages:python:numeric

Restore the link to the development project in d:l:p:numeric.

Also, update to 2.2.0.

OBS-URL: https://build.opensuse.org/request/show/958538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dash?expand=0&rev=12
This commit is contained in:
2022-03-03 23:17:12 +00:00
committed by Git OBS Bridge
parent 659a9ed1fa
commit faa9dfed13
4 changed files with 15 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-dash
Version: 1.20.0
Version: 2.2.0
Release: 0
Summary: Python framework for building reactive web-apps
License: MIT
@@ -90,15 +90,18 @@ sed -i -e 's:==:>=:g' requires-*txt
%python_install
%python_clone -a %{buildroot}%{_bindir}/renderer
%python_clone -a %{buildroot}%{_bindir}/dash-generate-components
%python_clone -a %{buildroot}%{_bindir}/dash-update-components
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative renderer
%python_install_alternative dash-generate-components
%python_install_alternative dash-update-components
%postun
%python_uninstall_alternative renderer
%python_uninstall_alternative dash-generate-components
%python_uninstall_alternative dash-update-components
%if %{with test}
%check
@@ -110,6 +113,7 @@ sed -i -e 's:==:>=:g' requires-*txt
%doc README.md
%license LICENSE
%python_alternative %{_bindir}/dash-generate-components
%python_alternative %{_bindir}/dash-update-components
%python_alternative %{_bindir}/renderer
%{python_sitelib}/dash
%{python_sitelib}/dash-%{version}-py*.egg-info