[99844] trunk/dports/python

ryandesign at macports.org ryandesign at macports.org
Sun Nov 18 21:57:52 PST 2012


Revision: 99844
          https://trac.macports.org/changeset/99844
Author:   ryandesign at macports.org
Date:     2012-11-18 21:57:52 -0800 (Sun, 18 Nov 2012)
Log Message:
-----------
py-reportlab: unify; update to 2.6; update homepage and master_sites (#37042)

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

Removed Paths:
-------------
    trunk/dports/python/py25-reportlab/
    trunk/dports/python/py26-reportlab/
    trunk/dports/python/py27-reportlab/

Modified: trunk/dports/python/py-reportlab/Portfile
===================================================================
--- trunk/dports/python/py-reportlab/Portfile	2012-11-19 05:54:55 UTC (rev 99843)
+++ trunk/dports/python/py-reportlab/Portfile	2012-11-19 05:57:52 UTC (rev 99844)
@@ -1,11 +1,10 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python24 1.0
+PortGroup           python 1.0
 
 name                py-reportlab
-version             2.3
-revision            1
+version             2.6
 license             BSD
 maintainers         nomaintainer
 platforms           darwin freebsd
@@ -15,17 +14,28 @@
    in Adobe's Portable Document Format (PDF) using the python programming \
    language.
 
-homepage            http://www.reportlab.org/rl_toolkit.html
-master_sites        http://www.reportlab.org/ftp/
-distname            ReportLab_2_3
-checksums           md5     057b846bd3b7b2c3498bf14f6a523632 \
-                    sha1    cb5e27fef02eceaab79236d5a074cdfb92bff179 \
-                    rmd160  ebb347765d516e74b965ec89c7909ec7592e3f54
-depends_lib-append  port:py24-pil
+python.versions     24 25 26 27
 
-patchfiles          patch-src_reportlab_lib_testutils.py.diff
+homepage            http://www.reportlab.com/software/opensource/rl-toolkit/
+master_sites        http://www.reportlab.com/ftp/
+distname            reportlab-${version}
 
-post-destroot {
-   xinstall -m 644 -W ${worksrcpath} README.txt CHANGES.txt LICENSE.txt \
-      ${destroot}${prefix}/share/doc/${name}
+checksums           rmd160  1128a37b6cf020a44fa3a1bac57cdebebd0dea59 \
+                    sha256  76c3cda08f6eac9b0adf0e3c86202fe5e9cb075c00503bef5760cd9e75ec34ff
+
+if {${name} != ${subport}} {
+    depends_lib-append  port:py${python.version}-pil
+    
+    patchfiles      patch-src_reportlab_lib_testutils.py.diff
+    
+    post-destroot {
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath} README.txt CHANGES.txt LICENSE.txt \
+            ${destroot}${docdir}
+    }
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   [lindex ${master_sites} 0]
+    livecheck.regex reportlab-(\[0-9.\]+)${extract.suffix}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121118/149b1c5a/attachment.html>


More information about the macports-changes mailing list