From 13ea04703c8820c76def9494ca3191239751fecd78e018433db8797cc356fbee Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 26 Mar 2016 14:21:42 +0000 Subject: [PATCH] Accepting request 360221 from devel:languages:python 1 OBS-URL: https://build.opensuse.org/request/show/360221 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter_console?expand=0&rev=3 --- jupyter_console-4.0.3.tar.gz | 3 - jupyter_console-4.1.0.tar.gz | 3 + python-jupyter_console-doc.changes | 45 +++++++++++++++ python-jupyter_console-doc.spec | 90 ++++++++++++++++++++++++++++++ python-jupyter_console.changes | 13 +++++ python-jupyter_console.spec | 45 +-------------- 6 files changed, 153 insertions(+), 46 deletions(-) delete mode 100644 jupyter_console-4.0.3.tar.gz create mode 100644 jupyter_console-4.1.0.tar.gz create mode 100644 python-jupyter_console-doc.changes create mode 100644 python-jupyter_console-doc.spec diff --git a/jupyter_console-4.0.3.tar.gz b/jupyter_console-4.0.3.tar.gz deleted file mode 100644 index 486e8c8..0000000 --- a/jupyter_console-4.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:555be6963a8f6431fbe1d424c7ffefee90824758058e4c9a2ab3aa045948eb85 -size 22090 diff --git a/jupyter_console-4.1.0.tar.gz b/jupyter_console-4.1.0.tar.gz new file mode 100644 index 0000000..596206d --- /dev/null +++ b/jupyter_console-4.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f9703b632e38d68713fc2ea1f546edc4db2a8f925c94b6dd91a8d0c13816ce9 +size 23319 diff --git a/python-jupyter_console-doc.changes b/python-jupyter_console-doc.changes new file mode 100644 index 0000000..922bc4b --- /dev/null +++ b/python-jupyter_console-doc.changes @@ -0,0 +1,45 @@ +------------------------------------------------------------------- +Thu Feb 18 21:14:18 UTC 2016 - toddrme2178@gmail.com + +- specfile: + * update copyright year + * Split documentation into subpackage +- update to version 4.1.0: + * readline/completion fixes + * use is_complete messages to determine if input is complete + (important for non-Python kernels) + * fix: 4.0 was looking for jupyter_console_config in IPython config + directories, not Jupyter + +------------------------------------------------------------------- +Mon Oct 12 13:46:17 UTC 2015 - toddrme2178@gmail.com + +- Update to 4.0.3 + * fix jupyter console --generate-config + +------------------------------------------------------------------- +Mon Oct 5 10:01:17 UTC 2015 - toddrme2178@gmail.com + +- Build documentation + +------------------------------------------------------------------- +Wed Sep 16 15:26:27 UTC 2015 - toddrme2178@gmail.com + +- Update to 4.0.2 + * fix `jupyter console --generate-config` + * add long_description + * fix setuptools entrypoint +- Update to 4.0.1 + * entrypoints only when setuptools invoked + * bug fix + * suggestion for windows users + * Fix printing errors when execute_reply and error messages come + * Try installing IPython from Github on RTD + * Try installing on RTD with --pre to get IPython 4 + * Add requirements file for RTD + +------------------------------------------------------------------- +Tue Jul 21 15:06:50 UTC 2015 - toddrme2178@gmail.com + +- Initial version + diff --git a/python-jupyter_console-doc.spec b/python-jupyter_console-doc.spec new file mode 100644 index 0000000..9280116 --- /dev/null +++ b/python-jupyter_console-doc.spec @@ -0,0 +1,90 @@ +# +# spec file for package python-jupyter_console-doc +# +# Copyright (c) 2016 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/ +# + + +%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) +%define build_pdf 1 +%else +%define build_pdf 0 +%endif + +Name: python-jupyter_console-doc +Version: 4.1.0 +Release: 0 +Summary: Documentation for python-jupyter_console +License: BSD-3-Clause +Group: Development/Languages/Python +Url: http://jupyter.org +Source: https://pypi.python.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz +BuildRequires: python-jupyter_console +# Documentation requirements +BuildRequires: python-Sphinx +%if %{build_pdf} +BuildRequires: python-Sphinx-latex +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +Documentation and help files for python-jupyter_console. + +%package html +Summary: HTML documentation for python-jupyter_console +Group: Development/Languages/Python +Recommends: python-jupyter_console = %{version} + +%description html +Documentation and help files for python-jupyter_console in HTML format. + +%package pdf +Summary: PDF documentation for python-jupyter_console +Group: Development/Languages/Python +Recommends: python-jupyter_console = %{version} + +%description pdf +Documentation and help files for python-jupyter_console in PDF format. + +%prep +%setup -q -n jupyter_console-%{version} + +%build +# Not Needed + +%install +# Build the documentation +pushd docs +sed -i -s 's/ python3/ python/' Makefile +%if %{build_pdf} +PYTHONPATH=%{buildroot}%{python_sitelib} make latexpdf +%endif +PYTHONPATH=%{buildroot}%{python_sitelib} make html +rm -rf _build/html/.buildinfo +popd + +%files html +%defattr(-,root,root,-) +%doc COPYING.md +%doc docs/_build/html/ + +%if %{build_pdf} +%files pdf +%defattr(-,root,root,-) +%doc COPYING.md +%doc docs/_build/latex/*.pdf +%endif + +%changelog diff --git a/python-jupyter_console.changes b/python-jupyter_console.changes index f10078f..922bc4b 100644 --- a/python-jupyter_console.changes +++ b/python-jupyter_console.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Feb 18 21:14:18 UTC 2016 - toddrme2178@gmail.com + +- specfile: + * update copyright year + * Split documentation into subpackage +- update to version 4.1.0: + * readline/completion fixes + * use is_complete messages to determine if input is complete + (important for non-Python kernels) + * fix: 4.0 was looking for jupyter_console_config in IPython config + directories, not Jupyter + ------------------------------------------------------------------- Mon Oct 12 13:46:17 UTC 2015 - toddrme2178@gmail.com diff --git a/python-jupyter_console.spec b/python-jupyter_console.spec index caeaa46..85185a6 100644 --- a/python-jupyter_console.spec +++ b/python-jupyter_console.spec @@ -1,7 +1,7 @@ # # spec file for package python-jupyter_console # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,7 +17,7 @@ Name: python-jupyter_console -Version: 4.0.3 +Version: 4.1.0 Release: 0 Summary: Jupyter terminal console License: BSD-3-Clause @@ -33,11 +33,6 @@ BuildRequires: python-setuptools BuildRequires: python-nose # Python 2.x test requirements BuildRequires: python-mock -# Documentation requirements -BuildRequires: python-Sphinx -%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) -BuildRequires: python-Sphinx-latex -%endif Requires: python-jupyter_client Requires: python-jupyter_ipykernel Requires: python-jupyter_ipython @@ -54,20 +49,6 @@ BuildArch: noarch A terminal-based console frontend for Jupter kernels. This code is based on the single-process IPython terminal. -%package doc-html -Summary: HTML documentation for %{name} -Recommends: %{name} = %{version} - -%description doc-html -Documentation and help files for %{name} in HTML format - -%package doc-pdf -Summary: HTML documentation for %{name} -Recommends: %{name} = %{version} - -%description doc-pdf -Documentation and help files for %{name} in PDF format - %prep %setup -q -n jupyter_console-%{version} @@ -86,16 +67,6 @@ ln -s -f %{_sysconfdir}/alternatives/jupyter-console %{buildroot}%{_bindir}/jupy # create a dummy target for /etc/alternatives/jupyter-console touch %{buildroot}%{_sysconfdir}/alternatives/jupyter-console -# Build the documentation -pushd docs -sed -i -s 's/ python3 / python /' Makefile -%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) -PYTHONPATH=%{buildroot}%{python_sitelib} make latexpdf -%endif -PYTHONPATH=%{buildroot}%{python_sitelib} make html -rm -rf _build/html/.buildinfo -popd - %post %_sbindir/update-alternatives \ --install %{_bindir}/jupyter-console jupyter-console %{_bindir}/jupyter-console-%{py_ver} 30 @@ -117,16 +88,4 @@ nosetests jupyter_console %ghost %{_sysconfdir}/alternatives/jupyter-console %{python_sitelib}/* -%files doc-html -%defattr(-,root,root,-) -%doc COPYING.md -%doc docs/_build/html/ - -%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) -%files doc-pdf -%defattr(-,root,root,-) -%doc COPYING.md -%doc docs/_build/latex/*.pdf -%endif - %changelog