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

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

py-*: use https instead of http on PyPI

  • 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 132414 2015-01-31 20:48:40Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-Pillow
8version             2.7.0
9revision            0
10categories-append   devel
11platforms           darwin
12license             BSD
13
14python.versions     26 27 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        https://pypi.python.org/packages/source/P/Pillow/
24
25distname            Pillow-${version}
26
27checksums           rmd160  3a9f62e4d32a5f518e853c87884a4a9e39e98346 \
28                    sha256  33a5d0145e82326e781ddee1ad375f92cb84f8cfafea56e9504682adff64a5ee
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.