Hello community,

here is the log from the commit of package python-jupyter_nbformat for 
openSUSE:Factory checked in at 2017-05-17 17:12:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_nbformat (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_nbformat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_nbformat"

Wed May 17 17:12:54 2017 rev:3 rq:491360 version:4.3.0

Changes:
--------
New Changes file:

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_nbformat.new/python-jupyter_nbformat-doc.changes
 2017-05-17 17:12:56.030928820 +0200
@@ -0,0 +1,46 @@
+-------------------------------------------------------------------
+Wed Apr 26 19:44:12 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Thu Mar 30 19:45:04 UTC 2017 - [email protected]
+
+- Update to 4.3.0
+  * A new pluggable ``SignatureStore`` class allows specifying different ways 
to
+    record the signatures of trusted notebooks. The default is still an SQLite
+    database. See :ref:`pluggable_signature_store` for more information.
+  * :func:`nbformat.read` and :func:`nbformat.write` accept file paths as bytes
+    as well as unicode.
+  * Fix for calling :func:`nbformat.validate` on an empty dictionary.
+  * Fix for running the tests where the locale makes ASCII the default 
encoding.
+- Update to 4.2.0
+  * Update nbformat spec version to 4.2, allowing JSON outputs to have any 
JSONable type,  not just ``object``,
+    and mime-types of the form ``application/anything+json``.
+  * Define basics of ``authors`` in notebook metadata.
+    ``nb.metadata.authors`` shall be a list of objects with the property 
``name``, a string of each author's full name.
+  * Update use of traitlets API to require traitlets 4.1.
+  * Support trusting notebooks on stdin with ``cat notebook | jupyter trust``
+- Update to 4.1.0
+  * Update nbformat spec version to 4.1, adding support for attachments on 
markdown and raw cells.
+  * Catch errors opening trust database, falling back on ``:memory:`` if the 
database cannot be opened.
+- Create doc subpackage
+
+-------------------------------------------------------------------
+Mon Oct 12 13:43:06 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
+
+-------------------------------------------------------------------
+Thu Aug 13 12:11:46 UTC 2015 - [email protected]
+
+- Initial version
+
--- 
/work/SRC/openSUSE:Factory/python-jupyter_nbformat/python-jupyter_nbformat.changes
  2015-11-18 22:34:00.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_nbformat.new/python-jupyter_nbformat.changes
     2017-05-17 17:12:56.338885409 +0200
@@ -1,0 +2,33 @@
+Wed Apr 26 19:44:12 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Fri Apr  7 19:13:59 UTC 2017 - [email protected]
+
+- Clean up update-alternatives usage.
+
+-------------------------------------------------------------------
+Thu Mar 30 19:45:04 UTC 2017 - [email protected]
+
+- Update to 4.3.0
+  * A new pluggable ``SignatureStore`` class allows specifying different ways 
to
+    record the signatures of trusted notebooks. The default is still an SQLite
+    database. See :ref:`pluggable_signature_store` for more information.
+  * :func:`nbformat.read` and :func:`nbformat.write` accept file paths as bytes
+    as well as unicode.
+  * Fix for calling :func:`nbformat.validate` on an empty dictionary.
+  * Fix for running the tests where the locale makes ASCII the default 
encoding.
+- Update to 4.2.0
+  * Update nbformat spec version to 4.2, allowing JSON outputs to have any 
JSONable type,  not just ``object``,
+    and mime-types of the form ``application/anything+json``.
+  * Define basics of ``authors`` in notebook metadata.
+    ``nb.metadata.authors`` shall be a list of objects with the property 
``name``, a string of each author's full name.
+  * Update use of traitlets API to require traitlets 4.1.
+  * Support trusting notebooks on stdin with ``cat notebook | jupyter trust``
+- Update to 4.1.0
+  * Update nbformat spec version to 4.1, adding support for attachments on 
markdown and raw cells.
+  * Catch errors opening trust database, falling back on ``:memory:`` if the 
database cannot be opened.
+- Create doc subpackage
+
+-------------------------------------------------------------------

Old:
----
  nbformat-4.0.1.tar.gz

New:
----
  nbformat-4.3.0.tar.gz
  python-jupyter_nbformat-doc.changes
  python-jupyter_nbformat-doc.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jupyter_nbformat-doc.spec ++++++
#
# spec file for package python-jupyter_nbformat-doc
#
# 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/
#


%if 0%{?suse_version} && 0%{?suse_version} != 1315
%bcond_without pdf
%else
%bcond_with pdf
%endif

%bcond_without html

%bcond_without tests

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-jupyter_nbformat-doc
Version:        4.3.0
Release:        0
Summary:        Documentation for python-jupyter_nbformat
License:        BSD-3-Clause
Group:          Development/Languages/Python
Url:            http://ipython.org
Source:         
https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module jupyter_nbformat}
%if %{with tests}
# Test Requirements
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module testpath}
%endif
# Documentation requirements
%if %{with pdf} || %{with html}
BuildRequires:  python3-Sphinx
BuildRequires:  python3-numpydoc
%endif
%if %{with pdf}
BuildRequires:  python3-Sphinx-latex
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Provides:       %{name}-html = %{version}
Provides:       %{name}-pdf = %{version}
Obsoletes:      %{name}-html < %{version}
Obsoletes:      %{name}-pdf < %{version}
Provides:       %{python_module jupyter_nbformat-doc = %{version}}

%description
Documentation and help files for python-jupyter_nbformat.

%prep
%setup -q -n nbformat-%{version}

%build
# Build the documentation
pushd docs
%if %{with html}
make html
rm -rf build/html/.buildinfo
%endif
%if %{with pdf}
make latexpdf
%endif
popd

%install
mkdir -p %{buildroot}%{_docdir}/python-jupyter_nbformat

%if %{with pdf}
cp docs/_build/latex/*.pdf %{buildroot}%{_docdir}/python-jupyter_nbformat/
%endif

%if %{with html}
cp -r docs/_build/html %{buildroot}%{_docdir}/python-jupyter_nbformat/
%endif

%fdupes %{buildroot}%{_docdir}/python-jupyter_nbformat/

%if %{with tests}
%check
pushd scripts
%python_expand py.test-%{$python_bin_suffix} -k "not TestNotary and not 
SQLiteSignatureStoreTests" %{$python_sitelib}/nbformat
popd
%endif

%files
%defattr(-,root,root,-)
%doc COPYING.md
%{_docdir}/python-jupyter_nbformat/

%changelog
++++++ python-jupyter_nbformat.spec ++++++
--- /var/tmp/diff_new_pack.h7EmLb/_old  2017-05-17 17:12:57.038786746 +0200
+++ /var/tmp/diff_new_pack.h7EmLb/_new  2017-05-17 17:12:57.042786182 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_nbformat
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -16,116 +16,49 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jupyter_nbformat
-Version:        4.0.1
+Version:        4.3.0
 Release:        0
 Summary:        The Jupyter Notebook format
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            http://jupyter.org
-Source:         
https://pypi.python.org/packages/source/n/nbformat/nbformat-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-ipython_genutils
-BuildRequires:  python-jsonschema > 2.5.0
-BuildRequires:  python-jupyter_core
-BuildRequires:  python-setuptools
-BuildRequires:  python-traitlets
-# Test requirements
-BuildRequires:  python-nose
-# Documentation requirements
-BuildRequires:  python-Sphinx
-BuildRequires:  python-numpydoc
-%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
-BuildRequires:  python-Sphinx-latex
-%endif
+Source:         
https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module ipython_genutils}
+BuildRequires:  %{python_module jsonschema > 2.5.0}
+BuildRequires:  %{python_module jupyter_core}
+BuildRequires:  %{python_module traitlets}
 Requires:       python-ipython_genutils
 Requires:       python-jsonschema > 2.5.0
 Requires:       python-jupyter_core
 Requires:       python-traitlets
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 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}
-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 nbformat-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-mv %{buildroot}%{_bindir}/jupyter-trust %{buildroot}%{_bindir}/jupyter2-trust
-ln -s -f %{_bindir}/jupyter2-trust 
%{buildroot}%{_bindir}/jupyter-trust-%{py_ver}
-
-# Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-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}%{python_sitelib} make latexpdf
-%endif
-PYTHONPATH=%{buildroot}%{python_sitelib} make html
-rm -rf _build/html/.buildinfo
-popd
-
-%post
-%_sbindir/update-alternatives \
-   --install %{_bindir}/jupyter-trust jupyter-trust 
%{_bindir}/jupyter-trust-%{py_ver} 30
-
-%postun
-if [ $1 -eq 0 ] ; then
-    %_sbindir/update-alternatives --remove jupyter-trust 
%{_bindir}/jupyter-trust-%{py_ver}
-fi
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%check
-nosetests
-
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc COPYING.md README.md
-%{_bindir}/jupyter-trust
-%{_bindir}/jupyter2-trust
-%{_bindir}/jupyter-trust-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/jupyter-trust
+%python3_only %{_bindir}/jupyter-trust
 %{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

++++++ nbformat-4.0.1.tar.gz -> nbformat-4.3.0.tar.gz ++++++
++++ 19226 lines of diff (skipped)


Reply via email to