|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-flexx
|
|
|
|
# spec file for package python-flexx
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2022 SUSE LLC
|
|
|
|
# Copyright (c) 2025 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
|
|
|
|
@@ -16,9 +16,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
%bcond_without libalternatives
|
|
|
|
%define skip_python2 1
|
|
|
|
|
|
|
|
%define skip_python36 1
|
|
|
|
|
|
|
|
Name: python-flexx
|
|
|
|
Name: python-flexx
|
|
|
|
Version: 0.8.4
|
|
|
|
Version: 0.8.4
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
@@ -31,21 +29,23 @@ BuildRequires: %{python_module certifi}
|
|
|
|
BuildRequires: %{python_module dialite >= 0.5.2}
|
|
|
|
BuildRequires: %{python_module dialite >= 0.5.2}
|
|
|
|
BuildRequires: %{python_module imageio}
|
|
|
|
BuildRequires: %{python_module imageio}
|
|
|
|
BuildRequires: %{python_module numpy}
|
|
|
|
BuildRequires: %{python_module numpy}
|
|
|
|
BuildRequires: %{python_module pscript >= 0.7.3}
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module pscript}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module selenium}
|
|
|
|
BuildRequires: %{python_module selenium}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module tornado >= 4}
|
|
|
|
BuildRequires: %{python_module tornado >= 4}
|
|
|
|
BuildRequires: %{python_module webruntime >= 0.5.6}
|
|
|
|
BuildRequires: %{python_module webruntime >= 0.5.6}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
|
|
|
|
BuildRequires: alts
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: unzip
|
|
|
|
BuildRequires: unzip
|
|
|
|
|
|
|
|
Requires: alts
|
|
|
|
Requires: python-dialite >= 0.5.2
|
|
|
|
Requires: python-dialite >= 0.5.2
|
|
|
|
Requires: python-pscript >= 0.7.3
|
|
|
|
Requires: python-pscript
|
|
|
|
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
|
|
|
|
@@ -66,10 +66,10 @@ document. It also works in the Jupyter notebook.
|
|
|
|
%setup -q -n flexx-%{version}
|
|
|
|
%setup -q -n flexx-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/flexx
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/flexx
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -77,16 +77,16 @@ document. It also works in the Jupyter notebook.
|
|
|
|
# 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
|
|
|
|
%pre
|
|
|
|
%python_install_alternative flexx
|
|
|
|
# Removing old update-alternatives entries.
|
|
|
|
|
|
|
|
%python_libalternatives_reset_alternative flexx
|
|
|
|
%postun
|
|
|
|
|
|
|
|
%python_uninstall_alternative flexx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%python_alternative %{_bindir}/flexx
|
|
|
|
%python_alternative %{_bindir}/flexx
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%{python_sitelib}/flexx
|
|
|
|
|
|
|
|
%{python_sitelib}/flexxamples
|
|
|
|
|
|
|
|
%{python_sitelib}/flexx-%{version}*-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|