summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2003-06-04 19:39:25 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2003-06-04 19:39:25 +0000
commit82c46384d9100688a52d9a66df252d7ee773ddd1 (patch)
tree16fc3922ed7b5f269abf58948be33b329818f911 /dev-python/docutils/files
parentGLEP fixes and numerous cleanings thanks to Ben Cornett (bug #17026) (diff)
downloadgentoo-2-82c46384d9100688a52d9a66df252d7ee773ddd1.tar.gz
gentoo-2-82c46384d9100688a52d9a66df252d7ee773ddd1.tar.bz2
gentoo-2-82c46384d9100688a52d9a66df252d7ee773ddd1.zip
GLEP fixes and numerous cleanings thanks to Ben Cornett (bug #17026)
Diffstat (limited to 'dev-python/docutils/files')
-rw-r--r--dev-python/docutils/files/digest-docutils-0.3_pre20030530-r3 (renamed from dev-python/docutils/files/digest-docutils-0.3_pre20030530-r2)0
-rw-r--r--dev-python/docutils/files/glep_htmlwrite.py6
-rw-r--r--dev-python/docutils/files/glepstrans.py10
3 files changed, 8 insertions, 8 deletions
diff --git a/dev-python/docutils/files/digest-docutils-0.3_pre20030530-r2 b/dev-python/docutils/files/digest-docutils-0.3_pre20030530-r3
index 82fdd4ba805e..82fdd4ba805e 100644
--- a/dev-python/docutils/files/digest-docutils-0.3_pre20030530-r2
+++ b/dev-python/docutils/files/digest-docutils-0.3_pre20030530-r3
diff --git a/dev-python/docutils/files/glep_htmlwrite.py b/dev-python/docutils/files/glep_htmlwrite.py
index 460515130f47..2ac959de04bc 100644
--- a/dev-python/docutils/files/glep_htmlwrite.py
+++ b/dev-python/docutils/files/glep_htmlwrite.py
@@ -1,7 +1,7 @@
# Author: David Goodger
# Contact: goodger@users.sourceforge.net
-# Revision: $Revision: 1.2 $
-# Date: $Date: 2003/06/01 14:00:11 $
+# Revision: $Revision: 1.3 $
+# Date: $Date: 2003/06/04 19:39:20 $
# Copyright: This module has been placed in the public domain.
"""
@@ -69,7 +69,7 @@ class Writer(html4css1.Writer):
if pyhome == '..':
subs['pepindex'] = '.'
else:
- subs['pepindex'] = pyhome + '/glep/'
+ subs['pepindex'] = 'http://www.gentoo.org/proj/en/glep'
index = self.document.first_child_matching_class(nodes.field_list)
header = self.document[index]
pepnum = header[0][1].astext()
diff --git a/dev-python/docutils/files/glepstrans.py b/dev-python/docutils/files/glepstrans.py
index 394376ad1927..1c2f5e0f562b 100644
--- a/dev-python/docutils/files/glepstrans.py
+++ b/dev-python/docutils/files/glepstrans.py
@@ -1,7 +1,7 @@
# Author: David Goodger
# Contact: goodger@users.sourceforge.net
-# Revision: $Revision: 1.1 $
-# Date: $Date: 2003/06/01 03:57:44 $
+# Revision: $Revision: 1.2 $
+# Date: $Date: 2003/06/04 19:39:20 $
# Copyright: This module has been placed in the public domain.
"""
@@ -33,8 +33,8 @@ class Headers(Transform):
default_priority = 360
pep_url = 'glep-%04d.html'
- pep_cvs_url = ('http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/'
- 'python/nondist/peps/pep-%04d.txt')
+ pep_cvs_url = ('http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo/'
+ 'xml/htdocs/proj/en/glep/glep-%04d.txt')
rcs_keyword_substitutions = (
(re.compile(r'\$' r'RCSfile: (.+),v \$$', re.IGNORECASE), r'\1'),
(re.compile(r'\$[a-zA-Z]+: (.+) \$$'), r'\1'),)
@@ -127,7 +127,7 @@ class Headers(Transform):
para[:] = [nodes.reference('', date, refuri=cvs_url)]
elif name == 'content-type':
pep_type = para.astext()
- uri = self.pep_url % 12
+ uri = self.pep_url % 2
para[:] = [nodes.reference('', pep_type, refuri=uri)]
elif name == 'version' and len(body):
utils.clean_rcs_keywords(para, self.rcs_keyword_substitutions)