openbsd-ports/textproc/py-docutils/patches/patch-setup_py
martynas 2c8f860470 update to py-docutils-0.5; ok maintainer Ben Lovett
feedback and ok eric@, fgs@
2009-03-25 00:56:54 +00:00

34 lines
1.3 KiB
Plaintext

$OpenBSD: patch-setup_py,v 1.3 2009/03/25 00:56:54 martynas Exp $
--- setup.py.orig Thu Mar 22 01:00:23 2007
+++ setup.py Sun Mar 22 13:59:06 2009
@@ -108,13 +108,13 @@ what-you-see-is-what-you-get plaintext markup syntax."
('docutils/writers/s5_html/themes',
['docutils/writers/s5_html/themes/README.txt']),]
+ s5_theme_files),
- 'scripts' : ['tools/rst2html.py',
- 'tools/rst2s5.py',
- 'tools/rst2latex.py',
- 'tools/rst2newlatex.py',
- 'tools/rst2xml.py',
- 'tools/rst2pseudoxml.py',
- 'tools/rstpep2html.py',
+ 'scripts' : ['tools/rst2html',
+ 'tools/rst2s5',
+ 'tools/rst2latex',
+ 'tools/rst2newlatex',
+ 'tools/rst2xml',
+ 'tools/rst2pseudoxml',
+ 'tools/rstpep2html',
],}
"""Distutils setup parameters."""
@@ -157,6 +157,8 @@ List of (module name, minimum __version__ string, [att
def get_extras():
extras = []
for module_name, version, attributes in extra_modules:
+ if module_name == "roman":
+ extras.append(module_name)
try:
module = __import__(module_name)
if version and module.__version__ < version: