diff options
author | tnn <tnn> | 2009-06-17 14:07:35 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-06-17 14:07:35 +0000 |
commit | 2d4b1aa7633e1ebefaf64173262043fdc612d91e (patch) | |
tree | 87b8700aa8c156d2036eec9cb619cb8c8b91d205 /textproc/py-docutils | |
parent | 33222ef7ff444cc316a6c7c23e84f885934e6dbb (diff) | |
download | pkgsrc-2d4b1aa7633e1ebefaf64173262043fdc612d91e.tar.gz |
patch-aa: Since the 'roman' module is unconditionally present in the PLIST,
it must be unconditionally built and installed.
(when building the py-docutils package while already having it installed,
setup.py excluded the module, causing PLIST breakage with USE_DESTDIR=yes)
Diffstat (limited to 'textproc/py-docutils')
-rw-r--r-- | textproc/py-docutils/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-docutils/patches/patch-aa | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/textproc/py-docutils/distinfo b/textproc/py-docutils/distinfo index c0767e176cc..61ed3914a60 100644 --- a/textproc/py-docutils/distinfo +++ b/textproc/py-docutils/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.8 2009/02/23 11:33:44 wiz Exp $ +$NetBSD: distinfo,v 1.9 2009/06/17 14:07:35 tnn Exp $ SHA1 (docutils-0.5.tar.gz) = 70ca2dd94969ddf76217e5fe907b0b23f16cc199 RMD160 (docutils-0.5.tar.gz) = 3e8dfd2923528bbeac0ca33ccfe6f576c74f1886 Size (docutils-0.5.tar.gz) = 1271981 bytes +SHA1 (patch-aa) = 3a9a8d897ad74edcc8b3e01e0247af62ceef6bfb diff --git a/textproc/py-docutils/patches/patch-aa b/textproc/py-docutils/patches/patch-aa new file mode 100644 index 00000000000..0b41e8fcb96 --- /dev/null +++ b/textproc/py-docutils/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1 2009/06/17 14:07:35 tnn Exp $ + +--- setup.py.orig 2007-03-22 00:00:23.000000000 +0100 ++++ setup.py +@@ -148,14 +148,13 @@ classifiers = [ + Python 2.3 and up.""" + + extra_modules = [('optparse', '1.4.1', None), +- ('textwrap', None, None), +- ('roman', '1.4', ['toRoman', 'fromRoman', +- 'InvalidRomanNumeralError'])] ++ ('textwrap', None, None)] ++ + """Third-party modules to install if they're not already present. + List of (module name, minimum __version__ string, [attribute names]).""" + + def get_extras(): +- extras = [] ++ extras = ['roman'] + for module_name, version, attributes in extra_modules: + try: + module = __import__(module_name) |