# -*- 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
github.setup Solomoriah gdmodule 0.57 v
categories-append graphics
description py-gd is a python wrapper for the GD library
long_description py-gd is a python wrapper for the graphics library GD \
so you can use python to create/manipulate images \
(png, jpeg) by drawing lines, text, doing flood-fills, \
checksums rmd160 93ad30d386737014ff33ac393fe3a304c28f3183 \
sha256 b3da19425f2cdcb8bb219a6cebc2b96b1ae3b8b1fb8a1a97a4154164e9b5516a
if {${name} ne ${subport}} {
patchfiles patch-Setup.py.diff
file rename ${worksrcpath}/Setup.py ${worksrcpath}/_Setup.py
file rename ${worksrcpath}/_Setup.py ${worksrcpath}/setup.py
reinplace "s|PREFIX|${prefix}|g" ${worksrcpath}/setup.py
build.env LDFLAGS="-L${prefix}/lib"
xinstall -m 644 -W ${worksrcpath} README gd-ref.html \
install_notes.html ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 ${worksrcpath}/gddemo.py \
${destroot}${prefix}/share/doc/${subport}/examples/