Compare commits
133 Commits
python-sph
...
f30
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
016c639951 | ||
|
|
bd7e5f534f | ||
|
|
d38712d2c8 | ||
|
|
de4211c65d | ||
|
|
26b3d1a440 | ||
|
|
644e00c17b | ||
|
|
9622ed923e | ||
|
|
10b412f00c | ||
|
|
88b03eafc5 | ||
|
|
334b5cd671 | ||
|
|
6a162ce61a | ||
|
|
80327ebb05 | ||
|
|
b037848b60 | ||
|
|
46248b49f8 | ||
|
|
6947effe2b | ||
|
|
74c8514689 | ||
|
|
da1eff5e26 | ||
|
|
baac7bad24 | ||
|
|
9e75ecd41f | ||
|
|
61f25030e6 | ||
|
|
3d9a6101c9 | ||
|
|
8e40c34f4a | ||
|
|
ad1161d6bc | ||
|
|
e5eb957b03 | ||
|
|
fa7fa5e015 | ||
|
|
e75c1dcce9 | ||
|
|
bf86b0e51b | ||
|
|
3a77d8ce47 | ||
|
|
ce8ab307f4 | ||
|
|
6fe65c3b4d | ||
|
|
43596e5731 | ||
|
|
ffb77c7ed3 | ||
|
|
f73229b3b1 | ||
|
|
b5d98f0f4d | ||
|
|
145cab2c32 | ||
|
|
5bf198167c | ||
|
|
9ea173bb1e | ||
|
|
ea98c3de4b | ||
|
|
74b3a560b8 | ||
|
|
baaecbbb4a | ||
|
|
fa7e4f510b | ||
|
|
4944f766cd | ||
|
|
1a1466a96e | ||
|
|
2f352b47f7 | ||
|
|
93a4ba510a | ||
|
|
79d38f37ff | ||
|
|
b6f4a595f7 | ||
|
|
cc11c8ff89 | ||
|
|
c729227123 | ||
|
|
68944a5bb0 | ||
|
|
ad8724f17a | ||
|
|
e07792c3a5 | ||
|
|
b45a413e6d | ||
|
|
3b323a1e79 | ||
|
|
80e09a56e7 | ||
|
|
82066edb54 | ||
|
|
9c436a4b96 | ||
|
|
a2c5476ecc | ||
|
|
6b1fa7ad66 | ||
|
|
0ce41f300c | ||
|
|
bef3af321e | ||
|
|
f9d75a3763 | ||
|
|
16a3f9244e | ||
|
|
c7b0a2a350 | ||
|
|
a451501ba7 | ||
|
|
bc5504a567 | ||
|
|
6e19bc6384 | ||
|
|
73971d1e98 | ||
|
|
1e96511926 | ||
|
|
e24435f061 | ||
|
|
09de9d1710 | ||
|
|
a967b5849d | ||
|
|
791e01fe59 | ||
|
|
731cbeb29c | ||
|
|
ffb1bcc3eb | ||
|
|
be9c7819b5 | ||
|
|
03e2822f6a | ||
|
|
d550a9e41a | ||
|
|
466a673d10 | ||
|
|
82623cae02 | ||
|
|
59016161fc | ||
|
|
d1ad3f6769 | ||
|
|
b89e221d55 | ||
|
|
05583324a9 | ||
|
|
a5f5cdf496 | ||
|
|
8fa1fa5fca | ||
|
|
3fae921c8f | ||
|
|
1f7abf830e | ||
|
|
5c3682d94b | ||
|
|
0391881889 | ||
|
|
90515d9f9d | ||
|
|
98372232f5 | ||
|
|
b116da03e7 | ||
|
|
949853df27 | ||
|
|
3b05e7e3e8 | ||
|
|
b4171b5eab | ||
|
|
6c82a1545f | ||
|
|
a395fb6e81 | ||
|
|
6f5543e14a | ||
|
|
bb7f33ebc7 | ||
|
|
1d3a0101f8 | ||
|
|
40949725d6 | ||
|
|
7f502fb34d | ||
|
|
f55dc614d6 | ||
|
|
b1c0c82b46 | ||
|
|
e0af5ebac0 | ||
|
|
f9ba5a714c | ||
|
|
ff20a4d877 | ||
|
|
f0ffbd5999 | ||
|
|
0f518b7f08 | ||
|
|
77fdd8d536 | ||
|
|
9194318671 | ||
|
|
12a32ebd2e | ||
|
|
dd5bd655af | ||
|
|
7dd2f9eb6a | ||
|
|
140b900b5c | ||
|
|
e361c26ece | ||
|
|
eb8d9046b7 | ||
|
|
a8d02c7d84 | ||
|
|
80ae6c20e9 | ||
|
|
194520652e | ||
|
|
e2484de735 | ||
|
|
31070382c6 | ||
|
|
746537fbfa | ||
|
|
0852abb4bd | ||
|
|
807d85b48f | ||
|
|
29e36a1060 | ||
|
|
7382e0c9a1 | ||
|
|
35a7eb1264 | ||
|
|
bf53c8fbc1 | ||
|
|
39a4bdc0cc | ||
|
|
d8df43cb77 | ||
|
|
6deaeb9424 |
@@ -1 +0,0 @@
|
||||
Sphinx-0.3.tar.gz
|
||||
18
.gitignore
vendored
Normal file
18
.gitignore
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/Sphinx-1.2.3.tar.gz
|
||||
/Sphinx-1.3.1.tar.gz
|
||||
/Sphinx-1.4.4.tar.gz
|
||||
/Sphinx-1.4.5.tar.gz
|
||||
/Sphinx-1.4.6.tar.gz
|
||||
/Sphinx-1.4.8.tar.gz
|
||||
/Sphinx-1.4.9.tar.gz
|
||||
/Sphinx-1.5.1.tar.gz
|
||||
/Sphinx-1.5.2.tar.gz
|
||||
/Sphinx-1.6.3.tar.gz
|
||||
/Sphinx-1.6.4.tar.gz
|
||||
/Sphinx-1.6.5.tar.gz
|
||||
/Sphinx-1.6.6.tar.gz
|
||||
/Sphinx-1.7.1.tar.gz
|
||||
/Sphinx-1.7.2.tar.gz
|
||||
/Sphinx-1.7.5.tar.gz
|
||||
/Sphinx-1.7.6.tar.gz
|
||||
/Sphinx-1.8.4.tar.gz
|
||||
21
Makefile
21
Makefile
@@ -1,21 +0,0 @@
|
||||
# Makefile for source rpm: python-sphinx
|
||||
# $Id$
|
||||
NAME := python-sphinx
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
27
README.fedora
Normal file
27
README.fedora
Normal file
@@ -0,0 +1,27 @@
|
||||
Sphinx with autodoc is sensitive to whether it is run via Python2 or Python3
|
||||
as it uses the Python version that it is invoked with to parse the source
|
||||
files for docstrings. Unfortunately, there's no logic to detect this within
|
||||
the sphinx commands and the standard Makefiles generated by sphinx-quickstart
|
||||
don't give the user any hint that it might be a problem.
|
||||
|
||||
The Fedora package tries to mitigate this problem by allowing the user to
|
||||
switch between the Python2 and Python3 versions using environment-modules. To
|
||||
switch to the Python3 commands, use::
|
||||
|
||||
module swap python-sphinx/python3-sphinx
|
||||
|
||||
To switch to the Python2 version, use::
|
||||
|
||||
module swap python-sphinx/python2-sphinx
|
||||
|
||||
The default install uses the python2 version of the modules.
|
||||
If the system administrator wishes to change the default, edit the
|
||||
/etc/profile.d/zz-modules-python-sphinx.sh and
|
||||
/etc/profile.d/zz-modules-python-sphinx.csh files to specify a specific
|
||||
alternative to use. For instance, to make the python3 version the default,
|
||||
modify it like so::
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Add path to the default python-sphinx scripts on this version of Fedora
|
||||
-module load python-sphinx
|
||||
+module load python-sphinx/python3-sphinx
|
||||
2
default-sphinx-command.in
Normal file
2
default-sphinx-command.in
Normal file
@@ -0,0 +1,2 @@
|
||||
#%Module1.0
|
||||
set ModuleVersion "python@PYTHONVER@-sphinx"
|
||||
File diff suppressed because it is too large
Load Diff
6
python2-sphinx
Normal file
6
python2-sphinx
Normal file
@@ -0,0 +1,6 @@
|
||||
#%Module 1.0
|
||||
#
|
||||
# python2-sphinx module for use with 'environment modules' package
|
||||
#
|
||||
conflict python-sphinx
|
||||
prepend-path PATH @python2_sphinx_dir@
|
||||
6
python3-sphinx
Normal file
6
python3-sphinx
Normal file
@@ -0,0 +1,6 @@
|
||||
#%Module 1.0
|
||||
#
|
||||
# python2-sphinx module for use with 'environment modules' package
|
||||
#
|
||||
conflict python-sphinx
|
||||
prepend-path PATH @python3_sphinx_dir@
|
||||
2
sources
2
sources
@@ -1 +1 @@
|
||||
98550d222aec91a029c0921819c4c49f Sphinx-0.3.tar.gz
|
||||
SHA512 (Sphinx-1.8.4.tar.gz) = 6821bb56c30b52f357ae55f5db45f056883c457eae62a0751a2b654519a07bca9edccb7678b29fa380379f059c9d8899d9e7b06ceccca5ec26962e6f83bb8578
|
||||
|
||||
12
sphinx-test_theming.diff
Normal file
12
sphinx-test_theming.diff
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -ru Sphinx-1.7.6/tests/test_theming.py Sphinx-1.7.6_patched/tests/test_theming.py
|
||||
--- Sphinx-1.7.6/tests/test_theming.py 2018-07-16 11:24:40.000000000 +0200
|
||||
+++ Sphinx-1.7.6_patched/tests/test_theming.py 2018-07-20 15:17:35.049263077 +0200
|
||||
@@ -31,7 +31,7 @@
|
||||
themes.append('alabaster')
|
||||
|
||||
# test Theme class API
|
||||
- assert set(app.html_themes.keys()) == set(themes)
|
||||
+ assert set(app.html_themes.keys()) >= set(themes)
|
||||
assert app.html_themes['test-theme'] == app.srcdir / 'test_theme' / 'test-theme'
|
||||
assert app.html_themes['ziptheme'] == app.srcdir / 'ziptheme.zip'
|
||||
assert app.html_themes['staticfiles'] == app.srcdir / 'test_theme' / 'staticfiles'
|
||||
13
xfail-test_latex_remote_images.patch
Normal file
13
xfail-test_latex_remote_images.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py
|
||||
index 55f48cd..78ccecd 100644
|
||||
--- a/tests/test_build_latex.py
|
||||
+++ b/tests/test_build_latex.py
|
||||
@@ -1009,7 +1009,7 @@ def test_latex_raw_directive(app, status, warning):
|
||||
assert 'HTML: abc ghi' in result
|
||||
assert 'LaTeX: abc def ghi' in result
|
||||
|
||||
-
|
||||
+@pytest.mark.xfail(reason="this test requires internet connection")
|
||||
@pytest.mark.sphinx('latex', testroot='images')
|
||||
def test_latex_remote_images(app, status, warning):
|
||||
app.builder.build_all()
|
||||
2
zz-modules-python-sphinx.csh
Normal file
2
zz-modules-python-sphinx.csh
Normal file
@@ -0,0 +1,2 @@
|
||||
# Add path to the default python-sphinx scripts on this version of Fedora
|
||||
module load python-sphinx >& /dev/null
|
||||
2
zz-modules-python-sphinx.sh
Normal file
2
zz-modules-python-sphinx.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
# Add path to the default python-sphinx scripts on this version of Fedora
|
||||
module load python-sphinx 2> /dev/null
|
||||
Reference in New Issue
Block a user