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

Last change on this file was 153264, checked in by ionic@…, 10 months ago

python/py-reportlab: fix up after r153259.

Make setuptools a build dependency, add port: selector to pip dependency.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 153264 2016-09-28 09:45:10Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-reportlab
8version             3.3.0
9revision            1
10categories-append   textproc
11platforms           darwin
12license             BSD
13
14python.versions     27 34 35
15
16maintainers         stromnov openmaintainer
17
18description         Engine for creating PDF documents
19
20long_description    The ReportLab Toolkit is a library for programatically \
21                    creating documents in PDF format.
22
23homepage            http://www.reportlab.com/software/opensource/rl-toolkit/
24master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname} \
25                    http://www.reportlab.com/ftp/
26
27distname            ${python.rootname}-${version}
28
29checksums           rmd160  5fa65b8abf15042671d7e850bb214acff6eeeb03 \
30                    sha256  f48900b9321bcb2871a46543993bd995148d769a11a9e24495f25b4ec0bbe267
31
32if {${name} ne ${subport}} {
33    depends_build-append    port:py${python.version}-setuptools
34
35    depends_lib-append      port:freetype \
36                            path:${python.pkgd}/PIL:py${python.version}-Pillow \
37                            port:py${python.version}-pip
38
39    post-destroot {
40        set docdir ${prefix}/share/doc/${subport}
41        xinstall -m 644 -W ${worksrcpath} README.txt CHANGES.md LICENSE.txt \
42            ${destroot}${docdir}
43    }
44
45    livecheck.type      none
46} else {
47    livecheck.type      pypi
48}
Note: See TracBrowser for help on using the repository browser.