Hello community,
here is the log from the commit of package python3-jupyter_nbformat for
openSUSE:Factory checked in at 2015-10-19 22:50:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-jupyter_nbformat (Old)
and /work/SRC/openSUSE:Factory/.python3-jupyter_nbformat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-jupyter_nbformat"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python3-jupyter_nbformat/python3-jupyter_nbformat.changes
2015-09-30 05:49:42.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python3-jupyter_nbformat.new/python3-jupyter_nbformat.changes
2015-10-20 00:04:08.000000000 +0200
@@ -1,0 +2,13 @@
+Sat Oct 10 16:33:22 UTC 2015 - [email protected]
+
+- update to version 4.0.1:
+ * setuptools entrypoint
+ * Add label to format docs for cross referencing
+ * ensure `--version` output has actual version
+
+-------------------------------------------------------------------
+Mon Oct 5 10:01:17 UTC 2015 - [email protected]
+
+- Build documentation
+
+-------------------------------------------------------------------
Old:
----
nbformat-4.0.0.tar.gz
New:
----
nbformat-4.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-jupyter_nbformat.spec ++++++
--- /var/tmp/diff_new_pack.r1JLKb/_old 2015-10-20 00:04:09.000000000 +0200
+++ /var/tmp/diff_new_pack.r1JLKb/_new 2015-10-20 00:04:09.000000000 +0200
@@ -17,7 +17,7 @@
Name: python3-jupyter_nbformat
-Version: 4.0.0
+Version: 4.0.1
Release: 0
Summary: The Jupyter Notebook format
License: BSD-3-Clause
@@ -32,6 +32,12 @@
BuildRequires: python3-traitlets
# Test requirements
BuildRequires: python3-nose
+# Documentation requirements
+BuildRequires: python3-Sphinx
+BuildRequires: python3-numpydoc
+%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} >
1110 )
+BuildRequires: python3-Sphinx-latex
+%endif
Requires: python3-ipython_genutils
Requires: python3-jsonschema > 2.5.0
Requires: python3-jupyter_core
@@ -45,6 +51,22 @@
This package contains the base implementation of the Jupyter Notebook format,
and Python APIs for working with notebooks.
+%package doc-html
+Summary: HTML documentation for %{name}
+Group: Development/Languages/Python
+Recommends: %{name} = %{version}
+
+%description doc-html
+Documentation and help files for %{name} in HTML format
+
+%package doc-pdf
+Summary: HTML documentation for %{name}
+Group: Development/Languages/Python
+Recommends: %{name} = %{version}
+
+%description doc-pdf
+Documentation and help files for %{name} in PDF format
+
%prep
%setup -q -n nbformat-%{version}
@@ -54,13 +76,24 @@
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+mv %{buildroot}%{_bindir}/jupyter-trust %{buildroot}%{_bindir}/jupyter3-trust
+ln -s -f %{_bindir}/jupyter3-trust
%{buildroot}%{_bindir}/jupyter-trust-%{py3_ver}
+
# Prepare for update-alternatives usage
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/jupyter-trust
%{buildroot}%{_bindir}/jupyter-trust-%{py3_ver}
ln -s -f %{_sysconfdir}/alternatives/jupyter-trust
%{buildroot}%{_bindir}/jupyter-trust
# create a dummy target for /etc/alternatives/jupyter-trust
touch %{buildroot}%{_sysconfdir}/alternatives/jupyter-trust
+# Build the documentation
+pushd docs
+%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} >
1110 )
+PYTHONPATH=%{buildroot}%{python3_sitelib} make latexpdf
+%endif
+PYTHONPATH=%{buildroot}%{python3_sitelib} make html
+rm -rf _build/html/.buildinfo
+popd
+
%post
%_sbindir/update-alternatives \
--install %{_bindir}/jupyter-trust jupyter-trust
%{_bindir}/jupyter-trust-%{py3_ver} 30
@@ -77,8 +110,21 @@
%defattr(-,root,root,-)
%doc COPYING.md README.md
%{_bindir}/jupyter-trust
+%{_bindir}/jupyter3-trust
%{_bindir}/jupyter-trust-%{py3_ver}
%ghost %{_sysconfdir}/alternatives/jupyter-trust
%{python3_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
++++++ nbformat-4.0.0.tar.gz -> nbformat-4.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/MANIFEST.in
new/nbformat-4.0.1/MANIFEST.in
--- old/nbformat-4.0.0/MANIFEST.in 2015-04-09 02:52:39.000000000 +0200
+++ new/nbformat-4.0.1/MANIFEST.in 1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-include COPYING.md
-include CONTRIBUTING.md
-include README.md
-
-# Documentation
-graft docs
-exclude docs/\#*
-
-# Examples
-graft examples
-
-# docs subdirs we want to skip
-prune docs/build
-prune docs/gh-pages
-prune docs/dist
-
-# Patterns to exclude from any directory
-global-exclude *~
-global-exclude *.pyc
-global-exclude *.pyo
-global-exclude .git
-global-exclude .ipynb_checkpoints
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/PKG-INFO new/nbformat-4.0.1/PKG-INFO
--- old/nbformat-4.0.0/PKG-INFO 2015-07-02 19:35:30.000000000 +0200
+++ new/nbformat-4.0.1/PKG-INFO 2015-10-05 11:25:27.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: nbformat
-Version: 4.0.0
+Version: 4.0.1
Summary: The Jupyter Notebook format
Home-page: http://jupyter.org
Author: Jupyter Development Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/docs/format_description.rst
new/nbformat-4.0.1/docs/format_description.rst
--- old/nbformat-4.0.0/docs/format_description.rst 2015-07-02
19:05:35.000000000 +0200
+++ new/nbformat-4.0.1/docs/format_description.rst 2015-09-28
20:15:24.000000000 +0200
@@ -1,3 +1,5 @@
+.. _notebook_file_format:
+
========================
The Notebook file format
========================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/nbformat/_version.py
new/nbformat-4.0.1/nbformat/_version.py
--- old/nbformat-4.0.0/nbformat/_version.py 2015-07-02 19:32:55.000000000
+0200
+++ new/nbformat-4.0.1/nbformat/_version.py 2015-10-05 11:24:28.000000000
+0200
@@ -1,2 +1,2 @@
-version_info = (4, 0, 0)
+version_info = (4, 0, 1)
__version__ = '.'.join(map(str, version_info))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/nbformat/sign.py
new/nbformat-4.0.1/nbformat/sign.py
--- old/nbformat-4.0.0/nbformat/sign.py 2015-05-09 00:45:59.000000000 +0200
+++ new/nbformat-4.0.1/nbformat/sign.py 2015-07-12 23:36:08.000000000 +0200
@@ -24,7 +24,7 @@
from traitlets.config import LoggingConfigurable, MultipleInstanceError
from jupyter_core.application import JupyterApp, base_flags
-from . import read, NO_CONVERT
+from . import read, NO_CONVERT, __version__
try:
# Python 3
@@ -361,7 +361,7 @@
class TrustNotebookApp(JupyterApp):
-
+ version = __version__
description="""Sign one or more Jupyter notebooks with your key,
to trust their dynamic (HTML, Javascript) output.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/nbformat.egg-info/PKG-INFO
new/nbformat-4.0.1/nbformat.egg-info/PKG-INFO
--- old/nbformat-4.0.0/nbformat.egg-info/PKG-INFO 2015-07-02
19:35:30.000000000 +0200
+++ new/nbformat-4.0.1/nbformat.egg-info/PKG-INFO 1970-01-01
01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-Metadata-Version: 1.1
-Name: nbformat
-Version: 4.0.0
-Summary: The Jupyter Notebook format
-Home-page: http://jupyter.org
-Author: Jupyter Development Team
-Author-email: [email protected]
-License: BSD
-Description:
- This package contains the base implementation of the Jupyter
Notebook format,
- and Python APIs for working with notebooks.
-
-Keywords: Interactive,Interpreter,Shell,Web
-Platform: Linux
-Platform: Mac OS X
-Platform: Windows
-Classifier: Intended Audience :: Developers
-Classifier: Intended Audience :: System Administrators
-Classifier: Intended Audience :: Science/Research
-Classifier: License :: OSI Approved :: BSD License
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/nbformat.egg-info/SOURCES.txt
new/nbformat-4.0.1/nbformat.egg-info/SOURCES.txt
--- old/nbformat-4.0.0/nbformat.egg-info/SOURCES.txt 2015-07-02
19:35:30.000000000 +0200
+++ new/nbformat-4.0.1/nbformat.egg-info/SOURCES.txt 1970-01-01
01:00:00.000000000 +0100
@@ -1,88 +0,0 @@
-CONTRIBUTING.md
-COPYING.md
-MANIFEST.in
-README.md
-setup.cfg
-setup.py
-docs/Makefile
-docs/api.rst
-docs/conf.py
-docs/format_description.rst
-docs/index.rst
-docs/make.bat
-docs/requirements.txt
-nbformat/__init__.py
-nbformat/_version.py
-nbformat/converter.py
-nbformat/current.py
-nbformat/notebooknode.py
-nbformat/reader.py
-nbformat/sentinel.py
-nbformat/sign.py
-nbformat/validator.py
-nbformat.egg-info/PKG-INFO
-nbformat.egg-info/SOURCES.txt
-nbformat.egg-info/dependency_links.txt
-nbformat.egg-info/requires.txt
-nbformat.egg-info/top_level.txt
-nbformat/tests/__init__.py
-nbformat/tests/base.py
-nbformat/tests/invalid.ipynb
-nbformat/tests/test2.ipynb
-nbformat/tests/test3.ipynb
-nbformat/tests/test4.ipynb
-nbformat/tests/test4plus.ipynb
-nbformat/tests/test_api.py
-nbformat/tests/test_convert.py
-nbformat/tests/test_reader.py
-nbformat/tests/test_sign.py
-nbformat/tests/test_validator.py
-nbformat/v1/__init__.py
-nbformat/v1/convert.py
-nbformat/v1/nbbase.py
-nbformat/v1/nbjson.py
-nbformat/v1/rwbase.py
-nbformat/v1/tests/__init__.py
-nbformat/v1/tests/nbexamples.py
-nbformat/v1/tests/test_json.py
-nbformat/v1/tests/test_nbbase.py
-nbformat/v2/__init__.py
-nbformat/v2/convert.py
-nbformat/v2/nbbase.py
-nbformat/v2/nbjson.py
-nbformat/v2/nbpy.py
-nbformat/v2/nbxml.py
-nbformat/v2/rwbase.py
-nbformat/v2/tests/__init__.py
-nbformat/v2/tests/nbexamples.py
-nbformat/v2/tests/test_json.py
-nbformat/v2/tests/test_nbbase.py
-nbformat/v2/tests/test_nbpy.py
-nbformat/v3/__init__.py
-nbformat/v3/convert.py
-nbformat/v3/nbbase.py
-nbformat/v3/nbformat.v3.schema.json
-nbformat/v3/nbjson.py
-nbformat/v3/nbpy.py
-nbformat/v3/rwbase.py
-nbformat/v3/tests/__init__.py
-nbformat/v3/tests/formattest.py
-nbformat/v3/tests/nbexamples.py
-nbformat/v3/tests/test_json.py
-nbformat/v3/tests/test_misc.py
-nbformat/v3/tests/test_nbbase.py
-nbformat/v3/tests/test_nbpy.py
-nbformat/v4/__init__.py
-nbformat/v4/convert.py
-nbformat/v4/nbbase.py
-nbformat/v4/nbformat.v4.schema.json
-nbformat/v4/nbjson.py
-nbformat/v4/rwbase.py
-nbformat/v4/tests/__init__.py
-nbformat/v4/tests/formattest.py
-nbformat/v4/tests/nbexamples.py
-nbformat/v4/tests/test_convert.py
-nbformat/v4/tests/test_json.py
-nbformat/v4/tests/test_nbbase.py
-nbformat/v4/tests/test_validate.py
-scripts/jupyter-trust
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/nbformat-4.0.0/nbformat.egg-info/dependency_links.txt
new/nbformat-4.0.1/nbformat.egg-info/dependency_links.txt
--- old/nbformat-4.0.0/nbformat.egg-info/dependency_links.txt 2015-07-02
19:35:30.000000000 +0200
+++ new/nbformat-4.0.1/nbformat.egg-info/dependency_links.txt 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/nbformat.egg-info/requires.txt
new/nbformat-4.0.1/nbformat.egg-info/requires.txt
--- old/nbformat-4.0.0/nbformat.egg-info/requires.txt 2015-07-02
19:35:30.000000000 +0200
+++ new/nbformat-4.0.1/nbformat.egg-info/requires.txt 1970-01-01
01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-ipython_genutils
-traitlets
-jsonschema>=2.0,!=2.5.0
-jupyter_core
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/nbformat.egg-info/top_level.txt
new/nbformat-4.0.1/nbformat.egg-info/top_level.txt
--- old/nbformat-4.0.0/nbformat.egg-info/top_level.txt 2015-07-02
19:35:30.000000000 +0200
+++ new/nbformat-4.0.1/nbformat.egg-info/top_level.txt 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-nbformat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/setup.cfg new/nbformat-4.0.1/setup.cfg
--- old/nbformat-4.0.0/setup.cfg 2015-07-02 19:35:30.000000000 +0200
+++ new/nbformat-4.0.1/setup.cfg 2015-04-10 06:40:11.000000000 +0200
@@ -1,8 +1,2 @@
[bdist_wheel]
-universal = 1
-
-[egg_info]
-tag_date = 0
-tag_build =
-tag_svn_revision = 0
-
+universal=1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbformat-4.0.0/setup.py new/nbformat-4.0.1/setup.py
--- old/nbformat-4.0.0/setup.py 2015-07-02 19:05:35.000000000 +0200
+++ new/nbformat-4.0.1/setup.py 2015-09-28 20:15:24.000000000 +0200
@@ -99,6 +99,12 @@
if 'setuptools' in sys.modules:
setup_args.update(setuptools_args)
+ setup_args['entry_points'] = {
+ 'console_scripts': [
+ 'jupyter-trust = nbformat.sign:TrustNotebookApp.launch_instance',
+ ]
+ }
+ setup_args.pop('scripts', None)
if __name__ == '__main__':
setup(**setup_args)