commit a6347047564a8c0b93f46784fde73d14d93f5b6f892edf0dec4c3e89f22ee0c5 Author: Todd R Date: Thu May 2 18:57:38 2019 +0000 Accepting request 700225 from home:TheBlackCat:branches:devel:languages:python:jupyter - Initial version OBS-URL: https://build.opensuse.org/request/show/700225 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?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/jupyter_server-0.0.4.tar.gz b/jupyter_server-0.0.4.tar.gz new file mode 100644 index 0000000..05b0ae6 --- /dev/null +++ b/jupyter_server-0.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1098c4598e764eb64335401987cdb11a24e355e3b6ab49bf8673f33323fc08b +size 5424020 diff --git a/python-jupyter-server.changes b/python-jupyter-server.changes new file mode 100644 index 0000000..858d298 --- /dev/null +++ b/python-jupyter-server.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu May 2 18:13:49 UTC 2019 - Todd R + +- Initial version diff --git a/python-jupyter-server.spec b/python-jupyter-server.spec new file mode 100644 index 0000000..3a3d0c4 --- /dev/null +++ b/python-jupyter-server.spec @@ -0,0 +1,126 @@ +# +# spec file for package python-jupyter-server +# +# Copyright (c) 2019 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-jupyter-server +Version: 0.0.4 +Release: 0 +License: BSD-3-Clause +Summary: The Jupyter Server +Url: https://github.com/jupyter/jupyter_server +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/j/jupyter-server/jupyter_server-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module Jinja2} +BuildRequires: %{python_module Send2Trash} +BuildRequires: %{python_module coverage} +BuildRequires: %{python_module ipykernel} +BuildRequires: %{python_module ipython_genutils} +BuildRequires: %{python_module jupyter_client >= 5.2.0} +BuildRequires: %{python_module jupyter_core >= 4.4.0} +BuildRequires: %{python_module nbconvert} +BuildRequires: %{python_module nbformat} +BuildRequires: %{python_module nbval} +BuildRequires: %{python_module nose-exclude} +BuildRequires: %{python_module nose_warnings_filters} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module prometheus_client} +BuildRequires: %{python_module pyzmq >= 17} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module selenium} +BuildRequires: %{python_module terminado >= 0.8.1} +BuildRequires: %{python_module tornado >= 4} +BuildRequires: %{python_module traitlets >= 4.2.1} +BuildRequires: python-ipaddress +BuildRequires: python-mock +# /SECTION +Requires: python-Jinja2 +Requires: python-Send2Trash +Requires: python-ipykernel +Requires: python-ipython_genutils +Requires: python-jupyter_client >= 5.2.0 +Requires: python-jupyter_core >= 4.4.0 +Requires: python-nbconvert +Requires: python-nbformat +Requires: python-prometheus_client +Requires: python-pyzmq >= 17 +Requires: python-terminado >= 0.8.1 +Requires: python-tornado >= 4 +Requires: python-traitlets >= 4.2.1 +Requires: jupyter-jupyter-server = %{version} +%ifpython2 +Requires: python-ipaddress +%endif +BuildArch: noarch + +%python_subpackages + +%description +The Jupyter Server is a web application that allows you to create and +share documents that contain live code, equations, visualizations, and +explanatory text. The Notebook has support for multiple programming +languages, sharing, and interactive widgets. + +This package provides the python interface. + +%package -n jupyter-jupyter-server +Summary: The Jupyter Server +Requires: jupyter-ipykernel +Requires: jupyter-jupyter_client >= 5.2.0 +Requires: jupyter-jupyter_core >= 4.4.0 +Requires: jupyter-nbconvert +Requires: jupyter-nbformat +Requires: python3-jupyter-server = %{version} + +%description -n jupyter-jupyter-server +The Jupyter Server is a web application that allows you to create and +share documents that contain live code, equations, visualizations, and +explanatory text. The Notebook has support for multiple programming +languages, sharing, and interactive widgets. + +This package provides the jupyter components. + +%prep +%setup -q -n jupyter_server-%{version} +rm jupyter_server/bundler/tests/resources/subdir/subsubdir/.gitkeep + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +export LANG=en_US.UTF-8 +%python_expand nosetests-%{$python_bin_suffix} -v jupyter_server + +%files %{python_files} +%doc README.md +%license COPYING.md +%{python_sitelib}/* + +%files -n jupyter-jupyter-server +%license COPYING.md +%{_bindir}/jupyter-server +%{_bindir}/jupyter-extension +%{_bindir}/jupyter-bundlerextension + +%changelog