diff options
author | obache <obache> | 2009-11-01 02:19:39 +0000 |
---|---|---|
committer | obache <obache> | 2009-11-01 02:19:39 +0000 |
commit | 4f8b7db935e15759c2e729e08b4b0ca1c08f3deb (patch) | |
tree | 80770bba96221476994b308fd413a4ba506ab4da /textproc/py-docutils | |
parent | 63b418b7a8782b3fa6f69ddef338052675d94961 (diff) | |
download | pkgsrc-4f8b7db935e15759c2e729e08b4b0ca1c08f3deb.tar.gz |
get back patch-aa, it is required for DESTDIR installation.
Diffstat (limited to 'textproc/py-docutils')
-rw-r--r-- | textproc/py-docutils/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-docutils/patches/patch-aa | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/textproc/py-docutils/distinfo b/textproc/py-docutils/distinfo index 0ab46a44441..00193af8da8 100644 --- a/textproc/py-docutils/distinfo +++ b/textproc/py-docutils/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.10 2009/10/31 03:00:27 wiz Exp $ +$NetBSD: distinfo,v 1.11 2009/11/01 02:19:39 obache Exp $ SHA1 (docutils-0.6.tar.gz) = 1b3bfc3bdf285c208dd0c29427fd6b096569aa92 RMD160 (docutils-0.6.tar.gz) = 627665526f25d93277b977c6bfdb1b3f0554d69a Size (docutils-0.6.tar.gz) = 1368354 bytes +SHA1 (patch-aa) = 85b585b0920c56210e2e50cc6b8dbb350704658c diff --git a/textproc/py-docutils/patches/patch-aa b/textproc/py-docutils/patches/patch-aa new file mode 100644 index 00000000000..f9fc0802049 --- /dev/null +++ b/textproc/py-docutils/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.3 2009/11/01 02:19:39 obache Exp $ + +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) + +--- setup.py.orig 2009-10-05 19:08:10.000000000 +0000 ++++ setup.py +@@ -174,13 +174,12 @@ classifiers = [ + """Trove classifiers for the Distutils "register" command; + Python 2.3 and up.""" + +-extra_modules = [('roman', '1.4', ['toRoman', 'fromRoman', +- 'InvalidRomanNumeralError'])] ++extra_modules = [] + """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) |