Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (62 sloc) 2.84 KB
# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-Pillow
version 6.0.0
categories-append devel
platforms darwin
license BSD
python.versions 26 27 33 34 35 36 37
maintainers {stromnov @stromnov} openmaintainer
description Python Imaging Library (fork)
long_description ${description}
homepage https://github.com/python-imaging/Pillow
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname Pillow-${version}
checksums rmd160 83ef4476d9ba361f18c6fd6882895233afd8bfae \
sha256 809c0a2ce9032cbcd7b5313f71af4bdc5c8c771cb86eb7559afd954cab82ebb5 \
size 29472229
if {${name} ne ${subport}} {
conflicts py${python.version}-pil
if {[lsearch {26 33} ${python.version}] != -1} {
version 3.4.2
revision 1
master_sites pypi:46/4f/94f6165052774839b4a4af0c72071aa528d5dc8cb8bc6bb43e24a55c10cc \
pypi:[string index ${python.rootname} 0]/${python.rootname}
distname Pillow-${version}
checksums rmd160 40f983f9a57844c8338c1649b3473a8339dd85cf \
sha256 0ee9975c05602e755ff5000232e0335ba30d507f6261922a658ee11b1cec36d1 \
size 10814666
}
if {[lsearch {34} ${python.version}] != -1} {
version 5.4.1
revision 1
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname Pillow-${version}
checksums rmd160 457ab4a946c80d739faba6af822258f2fd962014 \
sha256 5233664eadfa342c639b9b9977190d64ad7aca4edc51a966394d7e08e7f38a9f \
size 16016153
}
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-tkinter \
port:py${python.version}-olefile \
port:zlib \
port:jpeg \
port:tiff \
port:lcms2 \
port:webp \
port:openjpeg \
port:freetype
if {[lsearch {26 33} ${python.version}] != -1} {
patchfiles patch-setup-3.4.2.py.diff
} elseif {[lsearch {34} ${python.version}] != -1} {
patchfiles patch-setup-5.4.1.py.diff
} else {
patchfiles patch-setup.py.diff
}
post-patch {
reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/setup.py
}
livecheck.type none
}
You can’t perform that action at this time.