# -*- 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 # $Id: Portfile 130772 2015-01-02 19:28:36Z stromnov@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-Pillow version 2.7.0 revision 0 categories-append devel platforms darwin license BSD python.versions 26 27 33 34 maintainers stromnov openmaintainer description Python Imaging Library (fork) long_description ${description} homepage http://github.com/python-imaging/Pillow master_sites http://pypi.python.org/packages/source/P/Pillow/ distname Pillow-${version} checksums rmd160 3a9f62e4d32a5f518e853c87884a4a9e39e98346 \ sha256 33a5d0145e82326e781ddee1ad375f92cb84f8cfafea56e9504682adff64a5ee if {${name} ne ${subport}} { use_zip yes conflicts py${python.version}-pil depends_build port:py${python.version}-setuptools depends_lib-append port:py${python.version}-tkinter \ port:zlib \ port:jpeg \ port:tiff \ port:lcms \ port:webp \ port:openjpeg \ port:freetype patchfiles patch-setup.py.diff post-patch { reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/setup.py } livecheck.type none } else { livecheck.type regex livecheck.url ${master_sites} livecheck.regex {Pillow-(\d+(?:\.\d+)*)\.[tz]} }