Accepting request 809378 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/809378 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexx?expand=0&rev=6
This commit is contained in:
commit
3f9f84d736
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 26 06:34:17 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
- %python3_only -> %python_alternative
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 7 10:39:18 UTC 2019 - pgajdos@suse.com
|
Tue May 7 10:39:18 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-flexx
|
# spec file for package python-flexx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -43,6 +43,8 @@ Requires: python-dialite >= 0.5.2
|
|||||||
Requires: python-pscript >= 0.7.0
|
Requires: python-pscript >= 0.7.0
|
||||||
Requires: python-tornado
|
Requires: python-tornado
|
||||||
Requires: python-webruntime >= 0.5.6
|
Requires: python-webruntime >= 0.5.6
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
Recommends: python-imageio
|
Recommends: python-imageio
|
||||||
Recommends: python-numpy
|
Recommends: python-numpy
|
||||||
Recommends: python-vispy
|
Recommends: python-vispy
|
||||||
@ -67,16 +69,23 @@ document. It also works in the Jupyter notebook.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/flexx
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Do not run tests, they require online access to jquery/etc.
|
# Do not run tests, they require online access to jquery/etc.
|
||||||
#%%pytest
|
#%%pytest
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative flexx
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative flexx
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python3_only %{_bindir}/flexx
|
%python_alternative %{_bindir}/flexx
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user