Accepting request 809256 from home:pgajdos:python

submit

OBS-URL: https://build.opensuse.org/request/show/809256
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexx?expand=0&rev=14
This commit is contained in:
Tomáš Chvátal 2020-05-27 10:08:44 +00:00 committed by Git OBS Bridge
parent dc7e596ed8
commit ab558f2332
2 changed files with 16 additions and 2 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# 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-tornado
Requires: python-webruntime >= 0.5.6
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-imageio
Recommends: python-numpy
Recommends: python-vispy
@ -67,16 +69,23 @@ document. It also works in the Jupyter notebook.
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/flexx
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Do not run tests, they require online access to jquery/etc.
#%%pytest
%post
%python_install_alternative flexx
%postun
%python_uninstall_alternative flexx
%files %{python_files}
%doc README.md
%license LICENSE
%python3_only %{_bindir}/flexx
%python_alternative %{_bindir}/flexx
%{python_sitelib}/*
%changelog