commit acb45b56f2035cf1eefbba5f9b3b7635f421e870fb9ce237bd5875c5ffc00561 Author: Tomáš Chvátal Date: Tue Jul 21 11:11:30 2020 +0000 Accepting request 822071 from home:badshah400:branches:science A Python library that lets you create custom interactive web apps and dashboards by connecting user-defined widgets to plots, images, tables, or text. OBS-URL: https://build.opensuse.org/request/show/822071 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-panel?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/panel-0.9.5.tar.gz b/panel-0.9.5.tar.gz new file mode 100644 index 0000000..78bdb22 --- /dev/null +++ b/panel-0.9.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53340615f30f67f3182793695ebe52bf25e7bbb0751aba6f29763244350d0f42 +size 1394879 diff --git a/python-panel.changes b/python-panel.changes new file mode 100644 index 0000000..76f0514 --- /dev/null +++ b/python-panel.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Jun 6 15:37:07 UTC 2020 - Atri Bhattacharya + +- Initial package. diff --git a/python-panel.spec b/python-panel.spec new file mode 100644 index 0000000..e55cb26 --- /dev/null +++ b/python-panel.spec @@ -0,0 +1,96 @@ +# +# spec file for package python-panel +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define modname panel +Name: python-panel +Version: 0.9.5 +Release: 0 +Summary: A high level app and dashboarding solution for Python +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://panel.holoviz.org +Source: https://files.pythonhosted.org/packages/source/p/panel/panel-%{version}.tar.gz +BuildRequires: %{python_module Markdown} +BuildRequires: %{python_module bokeh >= 2.0.0} +BuildRequires: %{python_module folium} +BuildRequires: %{python_module param >= 1.9.3} +BuildRequires: %{python_module pyct >= 0.4.4} +BuildRequires: %{python_module pyviz-comms >= 0.7.4} +BuildRequires: %{python_module scipy} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module tqdm} +BuildRequires: fdupes +BuildRequires: nodejs +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module nbsmoke >= 0.2.0} +BuildRequires: %{python_module parameterized} +BuildRequires: %{python_module pytest} +# /SECTION +Requires: python-Markdown +Requires: python-bokeh >= 2.0.0 +Requires: python-param >= 1.9.3 +Requires: python-pyct >= 0.4.4 +Requires: python-pyviz-comms >= 0.7.4 +Requires: python-scipy +Requires: python-tqdm +Recommends: python-matplotlib +BuildArch: noarch +%python_subpackages + +%description +Panel is a Python library that lets you create custom interactive web apps and +dashboards by connecting user-defined widgets to plots, images, tables, or +text. + +%prep +%setup -q -n panel-%{version} +# env-based hashbangs +%python_expand sed -i "1{s|#!/usr/bin/env python|#!%{_bindir}/$python|}" \ + examples/apps/django2/manage.py \ + examples/apps/django_multi_apps/manage.py + +%build +%python_build + +%install +%python_install + +# MOVE EXAMPLES TO DOC DIR +mkdir -p %{buildroot}%{_docdir}/%{modname} +%python_expand mv %{buildroot}%{$python_sitelib}/%{modname}/examples %{buildroot}/%{_docdir}/%{modname}/ + +# UNNECESSARY HIDDEN FILE +%python_expand rm %{buildroot}%{$python_sitelib}/%{modname}/.version + +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%fdupes %{buildroot}%{_docdir}/%{modname}/ + +%check +# DISABLE TESTS REQUIRING NETWORK ACCESS +%pytest -k 'not (test_loading_a_image_from_url or test_image_alt_text or test_image_link_url or test_vtk_pane_from_url)' + +%files %{python_files} +%license LICENSE.txt +%doc README.md +%doc %{_docdir}/%{modname}/ +%python3_only %{_bindir}/panel +%{python_sitelib}/%{modname}/ +%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/ + +%changelog