[52680] trunk/dports/python

blb at macports.org blb at macports.org
Sun Jun 21 01:24:55 PDT 2009


Revision: 52680
          http://trac.macports.org/changeset/52680
Author:   blb at macports.org
Date:     2009-06-21 01:24:54 -0700 (Sun, 21 Jun 2009)
Log Message:
-----------
python/py*-reportlab - patch testutils.py so testing works; add pil as a dependency since it makes reportlab more useful

Modified Paths:
--------------
    trunk/dports/python/py-reportlab/Portfile
    trunk/dports/python/py25-reportlab/Portfile

Added Paths:
-----------
    trunk/dports/python/py-reportlab/files/
    trunk/dports/python/py-reportlab/files/patch-src_reportlab_lib_testutils.py.diff
    trunk/dports/python/py25-reportlab/files/
    trunk/dports/python/py25-reportlab/files/patch-src_reportlab_lib_testutils.py.diff

Modified: trunk/dports/python/py-reportlab/Portfile
===================================================================
--- trunk/dports/python/py-reportlab/Portfile	2009-06-21 07:39:16 UTC (rev 52679)
+++ trunk/dports/python/py-reportlab/Portfile	2009-06-21 08:24:54 UTC (rev 52680)
@@ -5,6 +5,7 @@
 
 name                py-reportlab
 version             2.3
+revision            1
 categories          python
 maintainers         nomaintainer
 platforms           darwin freebsd
@@ -20,10 +21,12 @@
 checksums           md5     057b846bd3b7b2c3498bf14f6a523632 \
                     sha1    cb5e27fef02eceaab79236d5a074cdfb92bff179 \
                     rmd160  ebb347765d516e74b965ec89c7909ec7592e3f54
-depends_lib-append  port:py-numeric
+depends_lib-append  port:py-numeric port:py-pil
 
 worksrcdir          reportlab_2_3
 
+patchfiles          patch-src_reportlab_lib_testutils.py.diff
+
 post-destroot {
    xinstall -m 644 -W ${worksrcpath} README.txt CHANGES.txt LICENSE.txt \
       ${destroot}${prefix}/share/doc/${name}

Added: trunk/dports/python/py-reportlab/files/patch-src_reportlab_lib_testutils.py.diff
===================================================================
--- trunk/dports/python/py-reportlab/files/patch-src_reportlab_lib_testutils.py.diff	                        (rev 0)
+++ trunk/dports/python/py-reportlab/files/patch-src_reportlab_lib_testutils.py.diff	2009-06-21 08:24:54 UTC (rev 52680)
@@ -0,0 +1,10 @@
+--- src/reportlab/lib/testutils.py.orig	2009-01-22 09:53:05.000000000 -0700
++++ src/reportlab/lib/testutils.py	2009-06-21 02:10:44.000000000 -0600
+@@ -12,6 +12,7 @@
+ import sys, os, string, fnmatch, copy, re
+ from ConfigParser import ConfigParser
+ import unittest
++from reportlab.lib.utils import get_rl_tempdir
+ 
+ # Helper functions.
+ def isWritable(D):

Modified: trunk/dports/python/py25-reportlab/Portfile
===================================================================
--- trunk/dports/python/py25-reportlab/Portfile	2009-06-21 07:39:16 UTC (rev 52679)
+++ trunk/dports/python/py25-reportlab/Portfile	2009-06-21 08:24:54 UTC (rev 52680)
@@ -5,6 +5,7 @@
 
 name                py25-reportlab
 version             2.3
+revision            1
 categories          python
 maintainers         nomaintainer
 platforms           darwin freebsd
@@ -20,10 +21,12 @@
 checksums           md5     057b846bd3b7b2c3498bf14f6a523632 \
                     sha1    cb5e27fef02eceaab79236d5a074cdfb92bff179 \
                     rmd160  ebb347765d516e74b965ec89c7909ec7592e3f54
-depends_lib-append  port:py25-numeric
+depends_lib-append  port:py25-numeric port:py25-pil
 
 worksrcdir          reportlab_2_3
 
+patchfiles          patch-src_reportlab_lib_testutils.py.diff
+
 post-destroot {
    xinstall -m 644 -W ${worksrcpath} README.txt CHANGES.txt LICENSE.txt \
       ${destroot}${prefix}/share/doc/${name}

Added: trunk/dports/python/py25-reportlab/files/patch-src_reportlab_lib_testutils.py.diff
===================================================================
--- trunk/dports/python/py25-reportlab/files/patch-src_reportlab_lib_testutils.py.diff	                        (rev 0)
+++ trunk/dports/python/py25-reportlab/files/patch-src_reportlab_lib_testutils.py.diff	2009-06-21 08:24:54 UTC (rev 52680)
@@ -0,0 +1,10 @@
+--- src/reportlab/lib/testutils.py.orig	2009-01-22 09:53:05.000000000 -0700
++++ src/reportlab/lib/testutils.py	2009-06-21 02:10:44.000000000 -0600
+@@ -12,6 +12,7 @@
+ import sys, os, string, fnmatch, copy, re
+ from ConfigParser import ConfigParser
+ import unittest
++from reportlab.lib.utils import get_rl_tempdir
+ 
+ # Helper functions.
+ def isWritable(D):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090621/b8200cd5/attachment.html>


More information about the macports-changes mailing list