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

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

py-Pillow: update to version 2.3.0

  • 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 115425 2014-01-01 23:24:54Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-Pillow
8version             2.3.0
9revision            0
10categories-append   devel
11platforms           darwin
12license             BSD
13
14python.versions     26 27 32 33
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  5aa8fca0ba7a5bc0c7c888e790743861b8cf5ada \
28                    sha256  b38e7e32401ae2d949cb4b82c6388cd13e697d1e2f8a1bffce3b834d00fbca13
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:freetype
43
44    patchfiles          patch-setup.py.diff
45
46    post-patch {
47        reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/setup.py
48    }
49
50    livecheck.type      none
51} else {
52    livecheck.type      regex
53    livecheck.url       ${master_sites}
54    livecheck.regex     {Pillow-(\d+(?:\.\d+)*)\.[tz]}
55}
Note: See TracBrowser for help on using the repository browser.