source: trunk/dports/python/py-Pillow/Portfile @ 126692

Last change on this file since 126692 was 126692, checked in by stromnov@…, 4 years ago

py-Pillow: update to version 2.6.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 126692 2014-10-13 20:56:42Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-Pillow
8version             2.6.1
9revision            0
10categories-append   devel
11platforms           darwin
12license             BSD
13
14python.versions     26 27 32 33 34
15
16maintainers         stromnov openmaintainer
17
18description         Python Imaging Library (fork)
19
20long_description    ${description}
21
22homepage            http://github.com/python-imaging/Pillow
23master_sites        http://pypi.python.org/packages/source/P/Pillow/
24
25distname            Pillow-${version}
26
27checksums           rmd160  2b1816f7e6c13cd03280d5ad75e18c3cc9a022e4 \
28                    sha256  96bdd40714daf326d01c6286591b5dfe60336c23b7a6bf8e048bcc339513a414
29
30if {${name} ne ${subport}} {
31    use_zip             yes
32
33    conflicts           py${python.version}-pil
34
35    depends_build       port:py${python.version}-setuptools
36    depends_lib-append  port:py${python.version}-tkinter \
37                        port:zlib \
38                        port:jpeg \
39                        port:tiff \
40                        port:lcms \
41                        port:webp \
42                        port:openjpeg \
43                        port:freetype
44
45    patchfiles          patch-setup.py.diff
46
47    post-patch {
48        reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/setup.py
49    }
50
51    livecheck.type      none
52} else {
53    livecheck.type      regex
54    livecheck.url       ${master_sites}
55    livecheck.regex     {Pillow-(\d+(?:\.\d+)*)\.[tz]}
56}
Note: See TracBrowser for help on using the repository browser.