Files
2020-03-01 12:02:17 -05:00

44 lines
1.4 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-xhtml2pdf
version 0.2.4
revision 0
platforms darwin
supported_archs noarch
license Apache-2
maintainers nomaintainer
description HTML/CSS to PDF converter based on Python
long_description ${description}
homepage https://github.com/xhtml2pdf/xhtml2pdf
checksums rmd160 f5b997f31d8c7f1285cc4f5a0237e9a9564d0bf0 \
sha256 6793fbbdcb6bb8a4a70132966d8d95e95ea3498cdf0e82252d2b8e9aae34fcb5 \
size 98624
python.versions 27 37 38
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-html5lib \
port:py${python.version}-Pillow \
port:py${python.version}-pypdf2 \
port:py${python.version}-reportlab \
port:py${python.version}-setuptools \
port:py${python.version}-six
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt \
${destroot}${docdir}
}
livecheck.regex none
}