Hello community, here is the log from the commit of package python-Sphinx for openSUSE:Factory checked in at 2019-03-29 20:38:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Sphinx (Old) and /work/SRC/openSUSE:Factory/.python-Sphinx.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Sphinx" Fri Mar 29 20:38:15 2019 rev:53 rq:689141 version:1.8.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Sphinx/python-Sphinx.changes 2018-12-14 20:49:06.645367178 +0100 +++ /work/SRC/openSUSE:Factory/.python-Sphinx.new.25356/python-Sphinx.changes 2019-03-29 20:38:17.614666716 +0100 @@ -1,0 +2,63 @@ +Wed Mar 27 16:39:15 UTC 2019 - Matej Cepl <mc...@suse.com> + +- Remove last remainder of python-Sphinx-doc-man-common subpackage + +------------------------------------------------------------------- +Thu Mar 14 16:25:50 CET 2019 - Matej Cepl <mc...@suse.com> + +- Switch off test_latex_images test, because it tries to download + image from the www.python.org. + +------------------------------------------------------------------- +Tue Mar 12 15:35:49 UTC 2019 - Matej Cepl <mc...@suse.com> + +- Remove lang packages + +------------------------------------------------------------------- +Mon Mar 11 15:32:54 CET 2019 - Matej Cepl <mc...@suse.com> + +- Revert to multiple lang files using standard macros. + +------------------------------------------------------------------- +Mon Mar 11 10:25:50 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Drop patch disable-test.patch no longer applicable + +------------------------------------------------------------------- +Mon Mar 11 09:40:44 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 1.8.5: + * LaTeX: Remove extraneous space after author names on PDF title page (refs: #6004) + * #6026: LaTeX: A cross reference to definition list does not work + * #6046: LaTeX: TypeError is raised when invalid latex_elements given + * #6067: LaTeX: images having a target are concatenated to next line + * #6067: LaTeX: images having a target are not aligned even if specified + * #6019: imgconverter: Including multipage PDF fails + * #6047: autodoc: autofunction emits a warning for method objects + * #6028: graphviz: Ensure the graphviz filenames are reproducible + * #6068: doctest: skipif option may remove the code block from documentation + * #6136: :name: option for math directive causes a crash + * #6139: intersphinx: ValueError on failure reporting + * #6135: changes: Fix UnboundLocalError when any module found + +------------------------------------------------------------------- +Wed Mar 6 16:28:12 CET 2019 - Matej Cepl <mc...@suse.com> + +- Rewrite the package to multibuild. Remove python-Sphinx-doc*. +- Fix %check to make tests passing. + +------------------------------------------------------------------- +Tue Mar 5 10:17:45 UTC 2019 - Thomas Bechtold <tbecht...@suse.com> + +- update to 1.8.4: + There are many changes so have a look at the following changes files: + * https://www.sphinx-doc.org/en/master/changes.html#release-1-8-4-released-feb-03-2019 + * https://www.sphinx-doc.org/en/master/changes.html#release-1-8-3-released-dec-26-2018 + * https://www.sphinx-doc.org/en/master/changes.html#release-1-8-2-released-nov-11-2018 + * https://www.sphinx-doc.org/en/master/changes.html#release-1-8-1-released-sep-22-2018 + * https://www.sphinx-doc.org/en/master/changes.html#release-1-8-0-released-sep-13-2018 + * https://www.sphinx-doc.org/en/master/changes.html#release-1-7-9-released-sep-05-2018 + * https://www.sphinx-doc.org/en/master/changes.html#release-1-7-8-released-aug-29-2018 + * https://www.sphinx-doc.org/en/master/changes.html#release-1-7-7-released-aug-19-2018 + +------------------------------------------------------------------- Old: ---- Sphinx-1.7.6.tar.gz disable-test.patch python-Sphinx-doc.changes python-Sphinx-doc.spec New: ---- Sphinx-1.8.5.tar.gz _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Sphinx.spec ++++++ --- /var/tmp/diff_new_pack.t2gmzn/_old 2019-03-29 20:38:18.386667110 +0100 +++ /var/tmp/diff_new_pack.t2gmzn/_new 2019-03-29 20:38:18.394667114 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Sphinx # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -23,15 +23,22 @@ %else %bcond_with latex %endif -Name: python-Sphinx -Version: 1.7.6 +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +Name: python-Sphinx%{psuffix} +Version: 1.8.5 Release: 0 Summary: Python documentation generator License: BSD-2-Clause Group: Development/Languages/Python URL: http://sphinx-doc.org Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz -Patch1: disable-test.patch BuildRequires: %{python_module base} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -40,7 +47,7 @@ #!BuildIgnore: texinfo Requires: python-Babel >= 1.3 Requires: python-Jinja2 >= 2.3 -Requires: python-Pygments >= 2.0 +Requires: python-Pygments >= 2.1 Requires: python-alabaster >= 0.7 Requires: python-docutils >= 0.11 Requires: python-imagesize @@ -52,8 +59,18 @@ Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module Sphinx = %{version}} +BuildRequires: %{python_module html5lib} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module sphinxcontrib-websupport} +BuildRequires: ImageMagick +BuildRequires: python3-mypy +BuildRequires: python3-typed-ast +%endif %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 -Recommends: %{name}-doc-man +Recommends: python-Sphinx-doc-man Recommends: python-SQLAlchemy >= 0.9 Recommends: python-Whoosh >= 2.0 %endif @@ -66,9 +83,6 @@ Requires: python-typing %endif %endif -%if 0%{?suse_version} -Recommends: python-rst2pdf -%endif %ifpython2 Obsoletes: %{oldpython}-sphinx < %{version} Provides: %{oldpython}-sphinx = %{version} @@ -88,7 +102,8 @@ %package latex Summary: Sphinx packages for LaTeX Group: Productivity/Publishing/TeX/Base -Requires: %{name} = %{version} +Requires: python-Sphinx = %{version} +Requires: texlive-gnu-freefont Requires: texlive-latex Requires: texlive-metafont Requires: texlive-pdftex @@ -161,18 +176,71 @@ projects (or other documents consisting of multiple reStructuredText sources). -This package contains the LaTeX components for %{name}. +This package contains the LaTeX components for python-Sphinx. + +%package -n python-Sphinx-doc +Summary: Man files for python-Sphinx +Group: Documentation/Other +Requires: python-Sphinx = %{version} + +%description -n python-Sphinx-doc +Sphinx is a tool that facilitates creating documentation for Python +projects (or other documents consisting of multiple reStructuredText +sources). It was originally created for the Python documentation, and +supports Python project documentation well, but C/C++ is likewise +supported. + +Sphinx uses reStructuredText as its markup language. Sphinx draws from +the parsing and translating suite, the Docutils. + +This package contains the documentation for Sphinx. + +%package -n python-Sphinx-doc-man +Summary: Man files for python-Sphinx +Group: Documentation/Man +Requires: python-Sphinx = %{version} +Requires(post): update-alternatives +Requires(postun): update-alternatives +Obsoletes: %{python_module Sphinx-doc-man-common <= %{version}} + +%description -n python-Sphinx-doc-man +Sphinx is a tool that facilitates creating documentation for Python +projects (or other documents consisting of multiple reStructuredText +sources). + +This package contains the manual pages for the Sphinx executables. + +%package -n python-Sphinx-doc-html +Summary: HTML Documentation for python-Sphinx +Group: Documentation/HTML +Provides: %{python_module Sphinx-doc-html = %{version}} + +%description -n python-Sphinx-doc-html +Sphinx is a tool that facilitates creating documentation for Python +projects (or other documents consisting of multiple reStructuredText +sources). + +This package contains the HTML documentation for Sphinx. %prep %setup -q -n Sphinx-%{version} -%patch1 -p1 sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line encoding %build %python_build +%if %{with test} +mkdir build.doc + +python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo +python3 setup.py build_sphinx -b man + +mv build/sphinx/{html,man} build.doc/ +%endif + %install +%if ! %{with test} %python_install %python_clone -a %{buildroot}%{_bindir}/sphinx-apidoc @@ -183,15 +251,51 @@ %python_expand mkdir -p %{buildroot}%{$python_sitelib}/sphinxcontrib %python_expand %fdupes %{buildroot}%{$python_sitelib} +# # Prepare lang lists +# %%find_lang sphinx +# %%python_expand grep -F "%%{$python_sitelib}" sphinx.lang > sphinx_%%{$python_bin_suffix}.lang + +%else +mkdir -p %{buildroot}%{_docdir}/python-Sphinx/ +mv build.doc/html %{buildroot}%{_docdir}/python-Sphinx/ + +mkdir -p %{buildroot}%{_mandir}/man1 +mv build.doc/man/sphinx-all.1 %{buildroot}%{_mandir}/man1/sphinx-all.1 +mv build.doc/man/sphinx-apidoc.1 %{buildroot}%{_mandir}/man1/sphinx-apidoc.1 +mv build.doc/man/sphinx-build.1 %{buildroot}%{_mandir}/man1/sphinx-build.1 +mv build.doc/man/sphinx-quickstart.1 %{buildroot}%{_mandir}/man1/sphinx-quickstart.1 + +%python_clone %{buildroot}%{_mandir}/man1/sphinx-all.1 +%python_clone %{buildroot}%{_mandir}/man1/sphinx-apidoc.1 +%python_clone %{buildroot}%{_mandir}/man1/sphinx-build.1 +%python_clone %{buildroot}%{_mandir}/man1/sphinx-quickstart.1 + +%endif + +# Always deduplicate +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if ! %{with test} %post %{python_install_alternative sphinx-apidoc sphinx-autogen sphinx-build sphinx-quickstart} %postun %python_uninstall_alternative sphinx-apidoc +%endif + +%check +%if %{with test} +export LC_ALL="C.utf8" +%{python_expand export PYTHONPATH=$PYTHONPATH:%{buildroot}%{$python_sitelib} +py.test-%{$python_bin_suffix} --ignore=_build.python3 --ignore=_build.python2 -k 'not (linkcheck or test_latex_images)' -v tests +# $python -mpytest --ignore=_build.python3 --ignore=_build.python2 -k 'not linkcheck' -v tests +} +%endif %files %{python_files} %license LICENSE %doc AUTHORS CHANGES README.rst +%if ! %{with test} %python_alternative %{_bindir}/sphinx-apidoc %python_alternative %{_bindir}/sphinx-autogen %python_alternative %{_bindir}/sphinx-build @@ -210,5 +314,27 @@ %doc AUTHORS %{python_sitelib}/sphinx/texinputs/ %endif +%endif + +%if %{with test} +%files -n python-Sphinx-doc-man +%license LICENSE +%doc AUTHORS +%{_mandir}/man1/sphinx-all-*.1%{?ext_man} +%{_mandir}/man1/sphinx-apidoc-*.1%{?ext_man} +%{_mandir}/man1/sphinx-build-*.1%{?ext_man} +%{_mandir}/man1/sphinx-quickstart-*.1%{?ext_man} +%{_mandir}/man1/sphinx-all.1%{?ext_man} +%{_mandir}/man1/sphinx-apidoc.1%{?ext_man} +%{_mandir}/man1/sphinx-build.1%{?ext_man} +%{_mandir}/man1/sphinx-quickstart.1%{?ext_man} + +%files -n python-Sphinx-doc-html +%license LICENSE +%doc AUTHORS +%dir %{_docdir}/python-Sphinx/ +%{_docdir}/python-Sphinx/html/ + +%endif %changelog ++++++ Sphinx-1.7.6.tar.gz -> Sphinx-1.8.5.tar.gz ++++++ ++++ 241710 lines of diff (skipped) ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild>