[123789] trunk/dports/python/py-xhtml2pdf/Portfile

petr at macports.org petr at macports.org
Thu Aug 14 08:29:47 PDT 2014


Revision: 123789
          https://trac.macports.org/changeset/123789
Author:   petr at macports.org
Date:     2014-08-14 08:29:46 -0700 (Thu, 14 Aug 2014)
Log Message:
-----------
py-xhtml2pdf @0.0.6: switch from PIL/Pillow to Pillow dependency, (Pillow required since 0.0.5), minor correction to livecheck, avoid redirect

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

Modified: trunk/dports/python/py-xhtml2pdf/Portfile
===================================================================
--- trunk/dports/python/py-xhtml2pdf/Portfile	2014-08-14 15:00:31 UTC (rev 123788)
+++ trunk/dports/python/py-xhtml2pdf/Portfile	2014-08-14 15:29:46 UTC (rev 123789)
@@ -6,6 +6,7 @@
 
 name                    py-xhtml2pdf
 version                 0.0.6
+revision                1
 maintainers             nomaintainer
 platforms               darwin
 supported_archs         noarch
@@ -15,23 +16,24 @@
 license                 Apache-2
 homepage                http://pypi.python.org/pypi/xhtml2pdf/
 
-livecheck.regex         {>xhtml2pdf (.+) :}
-livecheck.type          regex
-livecheck.url           ${homepage}
-
 distname                xhtml2pdf-${version}
-master_sites            http://pypi.python.org/packages/source/x/xhtml2pdf/
+master_sites            https://pypi.python.org/packages/source/x/xhtml2pdf/
 
 checksums               rmd160  37c26819a1b3e3aa5adb571c5d2f1cadeee5c74b \
                         sha256  29dbf7da8943ccef4afb958747cd0084762821546e3cc62d23115fd7470d95f0
 
-python.default_version  27
 python.versions         26 27
 
 if {${name} ne ${subport}} {
     depends_build-append    port:py${python.version}-setuptools
     depends_lib-append      port:py${python.version}-html5lib \
-                            path:${python.pkgd}/PIL:py${python.version}-Pillow \
+                            port:py${python.version}-Pillow \
                             port:py${python.version}-pypdf2 \
                             port:py${python.version}-reportlab
+
+    livecheck.regex         none
+} else {
+    livecheck.regex         {>xhtml2pdf (.+) :}
+    livecheck.type          regex
+    livecheck.url           ${homepage}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140814/3d001d9b/attachment.html>


More information about the macports-changes mailing list