# -*- 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 github 1.0
PortGroup python 1.0
github.setup pmaupin pdfrw 0.4 v
name py-pdfrw
categories-append graphics
platforms darwin
supported_archs noarch
license MIT
maintainers {guenael.com:macports @numeratus} \
openmaintainer
description Pure Python PDF file reader/writer library
long_description pdfrw lets you read and write PDF files, including \
compositing multiple pages together (e.g. to do \
watermarking, or to copy an image or diagram from \
one PDF to another), and can output by itself, or \
in conjunction with reportlab.
checksums rmd160 cd7d040e33848bec36110a81fa75df44e85ef379 \
sha256 0d613f9b619db532aa82fc977764d938d3916c664545e93cc5b4d0f372852690 \
size 72544
python.versions 27 35 36
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
post-destroot {
xinstall -m 755 -d \
${destroot}${prefix}/share/doc/${subport} \
${destroot}${prefix}/share/examples
xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.rst \
${destroot}${prefix}/share/doc/${subport}
copy ${worksrcpath}/examples \
${destroot}${prefix}/share/examples/${subport}
}
livecheck.type none
}