pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-docutils patch-aa: Since the 'roman' modul...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1da229852891
branches:  trunk
changeset: 394865:1da229852891
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Jun 17 14:07:35 2009 +0000

description:
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:

 textproc/py-docutils/distinfo         |   3 ++-
 textproc/py-docutils/patches/patch-aa |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 21bc1d90e241 -r 1da229852891 textproc/py-docutils/distinfo
--- a/textproc/py-docutils/distinfo     Wed Jun 17 12:54:57 2009 +0000
+++ b/textproc/py-docutils/distinfo     Wed Jun 17 14:07:35 2009 +0000
@@ -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 -r 21bc1d90e241 -r 1da229852891 textproc/py-docutils/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-docutils/patches/patch-aa     Wed Jun 17 14:07:35 2009 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index