From eb37755ca423694315e4f124109658eccfcf37ee520b18bd7aa2e9a73ffba263 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 28 Aug 2017 13:11:16 +0000 Subject: [PATCH] Accepting request 517548 from devel:languages:python New package OBS-URL: https://build.opensuse.org/request/show/517548 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-plotly?expand=0&rev=1 --- .gitattributes | 24 ++++++++++++++ .gitignore | 4 +++ plotly-2.0.14.tar.gz | 3 ++ python-plotly.changes | 17 ++++++++++ python-plotly.spec | 76 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 124 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 plotly-2.0.14.tar.gz create mode 100644 python-plotly.changes create mode 100644 python-plotly.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.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 +*.tar 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..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/plotly-2.0.14.tar.gz b/plotly-2.0.14.tar.gz new file mode 100644 index 0000000..407ff59 --- /dev/null +++ b/plotly-2.0.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cec2dab417ae0e1ca1bcabc2e95c9c58b75538b3b7056cf7e6e921ad614a1d0d +size 1030989 diff --git a/python-plotly.changes b/python-plotly.changes new file mode 100644 index 0000000..743d440 --- /dev/null +++ b/python-plotly.changes @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Thu Aug 17 15:06:34 UTC 2017 - toddrme2178@gmail.com + +- Update to python-plotly-2.0.14 +- Fix imports + +------------------------------------------------------------------- +Wed Aug 2 10:16:04 UTC 2017 - alarrosa@suse.com + +- Update to python-plotly-2.0.12 +- Use singlespec macros + +------------------------------------------------------------------- +Wed Apr 29 13:23:34 UTC 2015 - toddrme2178@gmail.com + +- Initial version + diff --git a/python-plotly.spec b/python-plotly.spec new file mode 100644 index 0000000..ad5298a --- /dev/null +++ b/python-plotly.spec @@ -0,0 +1,76 @@ +# +# spec file for package python-plotly +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-plotly +Version: 2.0.14 +Release: 0 +Summary: Library for collaborative, interactive, publication-quality graphs +License: MIT +Group: Development/Languages/Python +Url: https://plot.ly/api/python +Source: https://files.pythonhosted.org/packages/source/p/plotly/plotly-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module decorator >= 4.0.6} +BuildRequires: %{python_module jupyter_nbformat >= 4.2} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-decorator >= 4.0.6 +Requires: python-jupyter_nbformat >= 4.2 +Requires: python-pytz +Requires: python-requests +Requires: python-six +Recommends: python-jupyter_ipython +Recommends: python-jupyter_ipywidgets +Recommends: python-jupyter_notebook +Recommends: python-matplotlib >= 1.3.1 +Recommends: python-numpy +Recommends: python-pandas +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages + +%description +Use this package to make collaborative, interactive, +publication-quality graphs from Python on https://plot.ly. + +Plotly is an online collaborative data analysis and graphing tool. The +Python API allows you to access all of Plotly's functionality from Python. +Plotly figures are shared, tracked, and edited all online and the data is +always accessible from the graph. + +%prep +%setup -q -n plotly-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%defattr(-,root,root,-) +%doc README.rst +%{python_sitelib}/* + +%changelog