# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-xhtml2pdf version 0.0.6 revision 1 maintainers nomaintainer platforms darwin supported_archs noarch description HTML/CSS to PDF converter based on Python long_description ${description} license Apache-2 homepage http://pypi.python.org/pypi/xhtml2pdf/ distname xhtml2pdf-${version} master_sites pypi:x/xhtml2pdf/ checksums rmd160 37c26819a1b3e3aa5adb571c5d2f1cadeee5c74b \ sha256 29dbf7da8943ccef4afb958747cd0084762821546e3cc62d23115fd7470d95f0 python.versions 27 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-html5lib \ 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} }