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

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

Change distribute dependencies back to setuptools and mark py*-distribute replaced_by py*-setuptools (#39237).

  • 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 106911 2013-06-11 14:40:14Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-Pillow
8version             2.0.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}
26use_zip             yes
27
28checksums           rmd160  e33173cd2017f9140d6ee48541d99bb23025b2e1 \
29                    sha256  3e70c8f13675284166e4a8d8899107bf67febe676b893eb8d88785c24cca4c15
30
31if {$subport != $name} {
32    conflicts       py${python.version}-pil
33
34    depends_lib-append  port:py${python.version}-setuptools \
35                        port:py${python.version}-tkinter \
36                        port:zlib \
37                        port:jpeg \
38                        port:tiff \
39                        port:lcms \
40                        port:webp \
41                        port:freetype
42
43    patchfiles          patch-setup.py.diff
44
45    post-patch {
46        reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/setup.py
47    }
48
49    livecheck.type      none
50} else {
51    livecheck.type      regex
52    livecheck.url       ${master_sites}
53    livecheck.regex     "Pillow-(\\d+(?:\\.\\d+)*)${extract.suffix}"
54}
Note: See TracBrowser for help on using the repository browser.