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
This commit is contained in:
parent
b47677c9e3
commit
13ea04703c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:555be6963a8f6431fbe1d424c7ffefee90824758058e4c9a2ab3aa045948eb85
|
||||
size 22090
|
3
jupyter_console-4.1.0.tar.gz
Normal file
3
jupyter_console-4.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3f9703b632e38d68713fc2ea1f546edc4db2a8f925c94b6dd91a8d0c13816ce9
|
||||
size 23319
|
45
python-jupyter_console-doc.changes
Normal file
45
python-jupyter_console-doc.changes
Normal file
@ -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
|
||||
|
90
python-jupyter_console-doc.spec
Normal file
90
python-jupyter_console-doc.spec
Normal file
@ -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
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user