1 |
grozin 08/09/02 09:13:35 |
2 |
|
3 |
Added: sympy-0.6.2-sphinx.patch |
4 |
Log: |
5 |
Initial import. Based on the ebuild in sunrise, bug #192785. Thanks to Thomas Pani, Thomas Sachau. |
6 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-tuxonice-r1 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-python/sympy/files/sympy-0.6.2-sphinx.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sympy/files/sympy-0.6.2-sphinx.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sympy/files/sympy-0.6.2-sphinx.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: sympy-0.6.2-sphinx.patch |
15 |
=================================================================== |
16 |
diff -r -U2 sympy-0.6.2.orig/doc/Makefile sympy-0.6.2/doc/Makefile |
17 |
--- sympy-0.6.2.orig/doc/Makefile 2008-08-17 22:00:24.000000000 +0700 |
18 |
+++ sympy-0.6.2/doc/Makefile 2008-08-29 00:09:11.000000000 +0700 |
19 |
@@ -1,11 +1,8 @@ |
20 |
# Makefile for Sphinx documentation |
21 |
# |
22 |
-RST2HTML = rst2html |
23 |
+RST2HTML = rst2html.py |
24 |
|
25 |
# You can set these variables from the command line. |
26 |
SPHINXOPTS = |
27 |
-SPHINXVER = 0.4.1 |
28 |
-SPHINXBUILDpy = sphinx/Sphinx-$(SPHINXVER)/sphinx-build.py |
29 |
-SPHINXBUILD = PYTHONPATH=.. python $(SPHINXBUILDpy) |
30 |
PAPER = |
31 |
|
32 |
@@ -31,11 +28,5 @@ |
33 |
-rm -rf sphinx |
34 |
|
35 |
-$(SPHINXBUILDpy): |
36 |
- rm -rf sphinx |
37 |
- mkdir sphinx |
38 |
- cd sphinx; wget http://pypi.python.org/packages/source/S/Sphinx/Sphinx-$(SPHINXVER).tar.gz; |
39 |
- cd sphinx; tar xzf Sphinx-$(SPHINXVER).tar.gz |
40 |
- |
41 |
-html: $(SPHINXBUILDpy) spt-printable |
42 |
+html: spt-printable |
43 |
mkdir -p src/.static |
44 |
mkdir -p _build/html _build/doctrees |
45 |
@@ -52,5 +43,5 @@ |
46 |
$(RST2HTML) src/sympy-patches-tutorial.txt > _build/html/spt-printable.html |
47 |
|
48 |
-htmlapi: $(SPHINXBUILDpy) |
49 |
+htmlapi: |
50 |
mkdir -p api/.static |
51 |
mkdir -p api/modules |
52 |
@@ -77,5 +68,5 @@ |
53 |
".hhp project file in _build/htmlhelp." |
54 |
|
55 |
-latex: $(SPHINXBUILDpy) |
56 |
+latex: |
57 |
mkdir -p _build/latex _build/doctrees |
58 |
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex |