Add patch to fix sphinx build
This commit is contained in:
parent
ca076d7f5b
commit
f29f928f1a
11
python-networkx-sphinx.patch
Normal file
11
python-networkx-sphinx.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -up networkx-networkx-1.11/doc/source/conf.py.sphinx networkx-networkx-1.11/doc/source/conf.py
|
||||||
|
--- networkx-networkx-1.11/doc/source/conf.py.sphinx 2016-01-30 10:25:44.000000000 -0700
|
||||||
|
+++ networkx-networkx-1.11/doc/source/conf.py 2016-12-23 09:54:55.280925006 -0700
|
||||||
|
@@ -74,7 +74,6 @@ extensions = [
|
||||||
|
'sphinx.ext.intersphinx',
|
||||||
|
'sphinx.ext.mathjax',
|
||||||
|
'sphinx.ext.napoleon',
|
||||||
|
- 'sphinx.ext.pngmath',
|
||||||
|
'sphinx.ext.todo',
|
||||||
|
'sphinx.ext.viewcode',
|
||||||
|
#'sphinxcontrib.bibtex',
|
||||||
@ -17,6 +17,9 @@ Source0: https://github.com/networkx/networkx/archive/%{srcname}-%{versio
|
|||||||
Patch0: %{srcname}-optional-modules.patch
|
Patch0: %{srcname}-optional-modules.patch
|
||||||
Patch1: %{srcname}-nose1.0.patch
|
Patch1: %{srcname}-nose1.0.patch
|
||||||
Patch2: %{srcname}-skip-scipy-0.8-tests.patch
|
Patch2: %{srcname}-skip-scipy-0.8-tests.patch
|
||||||
|
# Fix sphinx build error
|
||||||
|
# https://github.com/networkx/networkx/issues/2340
|
||||||
|
Patch3: python-networkx-sphinx.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -200,6 +203,7 @@ Documentation for networkx
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%endif
|
%endif
|
||||||
|
%patch3 -p1 -b .sphinx
|
||||||
|
|
||||||
# Fix permissions
|
# Fix permissions
|
||||||
find examples -type f -perm /0111 -exec chmod a-x {} +
|
find examples -type f -perm /0111 -exec chmod a-x {} +
|
||||||
@ -313,6 +317,9 @@ PYTHONPATH=$PWD/site-packages python -c "import networkx; networkx.test()"
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 23 2016 Orion Poplawski <orion@cora.nwra.com> - 1.15-5
|
||||||
|
- Add patch to fix sphinx build
|
||||||
|
|
||||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.11-5
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.11-5
|
||||||
- Rebuild for Python 3.6
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user