Hello community, here is the log from the commit of package python-Sphinx for openSUSE:Factory checked in at 2017-09-07 22:09:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Sphinx (Old) and /work/SRC/openSUSE:Factory/.python-Sphinx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Sphinx" Thu Sep 7 22:09:25 2017 rev:42 rq:520218 version:1.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Sphinx/python-Sphinx.changes 2017-08-29 11:39:10.565783144 +0200 +++ /work/SRC/openSUSE:Factory/.python-Sphinx.new/python-Sphinx.changes 2017-09-07 22:09:26.734844515 +0200 @@ -1,0 +2,7 @@ +Thu Aug 31 22:47:36 UTC 2017 - [email protected] + +- Create a base sphinxcontrib namespace package to guarantee all + the "python(2|3)-sphinxcontrib-foo" packages can be imported + correctly. + +------------------------------------------------------------------- New: ---- __init__.py ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Sphinx.spec ++++++ --- /var/tmp/diff_new_pack.KmNSXh/_old 2017-09-07 22:09:28.630577310 +0200 +++ /var/tmp/diff_new_pack.KmNSXh/_new 2017-09-07 22:09:28.634576746 +0200 @@ -32,6 +32,7 @@ License: BSD-2-Clause Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz +Source10: https://raw.githubusercontent.com/sphinx-doc/sphinxcontrib-websupport/1.0.1/sphinxcontrib/__init__.py Patch1: disable-test.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module devel} @@ -186,6 +187,13 @@ %install %python_install +# Set up the sphinxcontrib namespace package +%{python_expand mkdir -p %{buildroot}%{$python_sitelib}/sphinxcontrib/ +cp %{SOURCE10} %{buildroot}%{$python_sitelib}/sphinxcontrib/ +$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/sphinxcontrib/ +$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/sphinxcontrib/ +} + %python_clone -a %{buildroot}%{_bindir}/sphinx-apidoc %python_clone -a %{buildroot}%{_bindir}/sphinx-autogen %python_clone -a %{buildroot}%{_bindir}/sphinx-build @@ -211,6 +219,10 @@ %exclude %{python_sitelib}/sphinx/texinputs/ %endif %{python_sitelib}/Sphinx-%{version}-py*.egg-info +%dir %{python_sitelib}/sphinxcontrib/ +%{python_sitelib}/sphinxcontrib/__init__.py* +%pycache_only %dir %{python_sitelib}/sphinxcontrib/__pycache__/ +%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/__init__*.py* # Requirements are not available on SLES %if %{with latex} ++++++ __init__.py ++++++ # -*- coding: utf-8 -*- __import__('pkg_resources').declare_namespace(__name__)
