source: trunk/dports/python/py-xhtml2pdf/Portfile

Last change on this file was 150724, checked in by petr@…, 14 months ago

various py-* ports, nomaintainer: retire py26 subport for ports without dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 150724 2016-07-27 20:07:24Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-xhtml2pdf
8version                 0.0.6
9revision                1
10maintainers             nomaintainer
11platforms               darwin
12supported_archs         noarch
13
14description             HTML/CSS to PDF converter based on Python
15long_description        ${description}
16license                 Apache-2
17homepage                http://pypi.python.org/pypi/xhtml2pdf/
18
19distname                xhtml2pdf-${version}
20master_sites            pypi:x/xhtml2pdf/
21
22checksums               rmd160  37c26819a1b3e3aa5adb571c5d2f1cadeee5c74b \
23                        sha256  29dbf7da8943ccef4afb958747cd0084762821546e3cc62d23115fd7470d95f0
24
25python.versions         27
26
27if {${name} ne ${subport}} {
28    depends_build-append    port:py${python.version}-setuptools
29    depends_lib-append      port:py${python.version}-html5lib \
30                            port:py${python.version}-Pillow \
31                            port:py${python.version}-pypdf2 \
32                            port:py${python.version}-reportlab
33
34    livecheck.regex         none
35} else {
36    livecheck.regex         {>xhtml2pdf (.+) :}
37    livecheck.type          regex
38    livecheck.url           ${homepage}
39}
Note: See TracBrowser for help on using the repository browser.