Accepting request 527167 from home:TheBlackCat:branches:devel:languages:python
- Move sphinxcontrib namespace into seperate package to avoid dependency loop with sphinxcontrib-websupport. OBS-URL: https://build.opensuse.org/request/show/527167 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=92
This commit is contained in:
parent
c2b054a3ef
commit
a1f60844ea
@ -1,2 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
__import__('pkg_resources').declare_namespace(__name__)
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 18 22:03:24 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Move sphinxcontrib namespace into seperate package to avoid
|
||||
dependency loop with sphinxcontrib-websupport.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 11 17:07:40 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
@ -32,7 +32,6 @@ Summary: Python documentation generator
|
||||
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}
|
||||
@ -49,6 +48,7 @@ Requires: python-requests >= 2.0.0
|
||||
Requires: python-six >= 1.5
|
||||
Requires: python-snowballstemmer >= 1.1
|
||||
Requires: python-sphinx_rtd_theme
|
||||
Requires: python-sphinxcontrib
|
||||
Requires: python-sphinxcontrib-websupport
|
||||
Recommends: python-SQLAlchemy >= 0.9
|
||||
Recommends: python-Whoosh >= 2.0
|
||||
@ -178,13 +178,6 @@ sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line en
|
||||
%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
|
||||
@ -210,10 +203,6 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/sp
|
||||
%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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user