commit python-jupyter_nbconvert for openSUSE:Factory
Hello community, here is the log from the commit of package python-jupyter_nbconvert for openSUSE:Factory checked in at 2018-07-31 15:57:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyter_nbconvert (Old) and /work/SRC/openSUSE:Factory/.python-jupyter_nbconvert.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-jupyter_nbconvert" Tue Jul 31 15:57:55 2018 rev:7 rq:625388 version:5.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyter_nbconvert/python-jupyter_nbconvert-doc.changes 2018-02-21 14:13:02.350802059 +0100 +++ /work/SRC/openSUSE:Factory/.python-jupyter_nbconvert.new/python-jupyter_nbconvert-doc.changes 2018-07-31 15:58:00.087404232 +0200 @@ -1,0 +2,11 @@ +Thu Jul 26 09:02:24 UTC 2018 - mcepl@suse.com + +- Skip over tests test_pandoc_extra_args and test_markdown2rst + (https://github.com/jupyter/nbconvert/issues/845) + +------------------------------------------------------------------- +Thu Jul 26 08:04:59 UTC 2018 - mcepl@suse.com + +- Clean up SPEC + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python-jupyter_nbconvert/python-jupyter_nbconvert.changes 2018-02-21 14:13:02.758787366 +0100 +++ /work/SRC/openSUSE:Factory/.python-jupyter_nbconvert.new/python-jupyter_nbconvert.changes 2018-07-31 15:58:01.479406590 +0200 @@ -1,0 +2,5 @@ +Thu Jul 26 08:04:47 UTC 2018 - mcepl@suse.com + +- Clean up SPEC file. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyter_nbconvert-doc.spec ++++++ --- /var/tmp/diff_new_pack.v4nGG0/_old 2018-07-31 15:58:02.127407688 +0200 +++ /var/tmp/diff_new_pack.v4nGG0/_new 2018-07-31 15:58:02.135407702 +0200 @@ -16,29 +16,32 @@ # -# PDF docs currently broken -%bcond_with pdf - -%bcond_without html - +%{?!python_module:%define python_module() python-%{**} python3-%{**}} %if 0%{?suse_version} && 0%{?suse_version} > 1320 %bcond_without tests %else %bcond_with tests %endif - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +# PDF docs currently broken +%bcond_with pdf +%bcond_without html Name: python-jupyter_nbconvert-doc Version: 5.3.1 Release: 0 Summary: Documentation for python-jupyter_nbconvert License: BSD-3-Clause Group: Documentation/Other -Url: https://github.com/jupyter/nbconvert +URL: https://github.com/jupyter/nbconvert Source: https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-%{version}.tar.gz BuildRequires: %{python_module jupyter_nbconvert} BuildRequires: fdupes BuildRequires: python-rpm-macros +Provides: %{name}-html = %{version} +Provides: %{name}-pdf = %{version} +Obsoletes: %{name}-html < %{version} +Obsoletes: %{name}-pdf < %{version} +Provides: %{python_module jupyter_nbconvert-doc = %{version}} +BuildArch: noarch %if %{with tests} # Test Requirements BuildRequires: %{python_module jupyter_ipykernel} @@ -61,13 +64,6 @@ BuildRequires: tex(eurosym.sty) BuildRequires: tex(ulem.sty) %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_nbconvert-doc = %{version}} %description Documentation and help files for python-jupyter_nbconvert. @@ -80,11 +76,11 @@ export LANG=en_US.UTF-8 pushd docs %if %{with html} -make html +make %{?_smp_mflags} html rm -rf build/html/.buildinfo %endif %if %{with pdf} -make latexpdf +make %{?_smp_mflags} latexpdf %endif popd @@ -106,14 +102,14 @@ pushd docs export LANG=en_US.UTF-8 %{python_expand $python -m ipykernel.kernelspec --user -py.test-%{$python_bin_suffix} -v --pyargs -k 'not test_svg_handling' nbconvert +py.test-%{$python_bin_suffix} -v --pyargs \ + -k 'not (test_svg_handling or test_pandoc_extra_args or test_markdown2rst)' nbconvert } popd %endif %files -%defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %{_docdir}/python-jupyter_nbconvert/ %changelog ++++++ python-jupyter_nbconvert.spec ++++++ --- /var/tmp/diff_new_pack.v4nGG0/_old 2018-07-31 15:58:02.171407763 +0200 +++ /var/tmp/diff_new_pack.v4nGG0/_new 2018-07-31 15:58:02.171407763 +0200 @@ -23,7 +23,7 @@ Summary: Converting Jupyter Notebooks License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/jupyter/nbconvert +URL: https://github.com/jupyter/nbconvert Source: https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -52,6 +52,7 @@ %package latex Summary: LaTeX support for nbconvert +Group: Development/Languages/Python Requires: texlive-bibtex Requires: texlive-makeindex Requires: tex(adjustbox.sty) @@ -76,8 +77,8 @@ %{python_expand chmod a+x %{buildroot}%{$python_sitelib}/nbconvert/nbconvertapp.py chmod a+x %{buildroot}%{$python_sitelib}/nbconvert/filters/filter_links.py -sed -i "s|^#!/usr/bin/env python$|#!%{__$python}|" %{buildroot}%{$python_sitelib}/nbconvert/nbconvertapp.py -sed -i "s|^#!/usr/bin/env python3$|#!%{__$python}|" %{buildroot}%{$python_sitelib}/nbconvert/filters/filter_links.py +sed -i "s|^#!%{_bindir}/env python$|#!%{__$python}|" %{buildroot}%{$python_sitelib}/nbconvert/nbconvertapp.py +sed -i "s|^#!%{_bindir}/env python3$|#!%{__$python}|" %{buildroot}%{$python_sitelib}/nbconvert/filters/filter_links.py $python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/nbconvert/ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/nbconvert/ $python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/nbconvert/filters/ @@ -86,13 +87,13 @@ } %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.md +%license LICENSE +%doc README.md %python3_only %{_bindir}/jupyter-nbconvert %{python_sitelib}/* %files %{python_files latex} -%defattr(-,root,root,-) -%doc LICENSE README.md +%license LICENSE +%doc README.md %changelog
participants (1)
-
root