summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-05-03 22:03:35 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-05-03 22:05:35 +0200
commit57573ef53763b904974e359a3d4a6d4b32215ce8 (patch)
tree6dfb56be91ca55002becdfcc9a7da6830132d82e
parente430f314f129e5b6fc6d5058ff3e570d1f0ef1b9 (diff)
downloadaports-57573ef53763b904974e359a3d4a6d4b32215ce8.tar.bz2
aports-57573ef53763b904974e359a3d4a6d4b32215ce8.tar.xz
main/py-pillow: upgrade to 2.8.1
add extra library support fix zlib support
-rw-r--r--main/py-pillow/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/py-pillow/APKBUILD b/main/py-pillow/APKBUILD
index 2f784d716..887e737e6 100644
--- a/main/py-pillow/APKBUILD
+++ b/main/py-pillow/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-pillow
_pkgname=Pillow
-pkgver=2.7.0
+pkgver=2.8.1
pkgrel=0
pkgdesc="A Python Imaging Library"
url="http://python-imaging.github.io/"
@@ -10,7 +10,8 @@ arch="all"
license="PSF"
depends="python"
depends_dev=""
-makedepends="python-dev py-setuptools freetype-dev jpeg-dev zlib-dev"
+makedepends="python-dev py-setuptools freetype-dev jpeg-dev libwebp-dev tiff-dev
+ libpng-dev lcms2-dev openjpeg-dev zlib-dev"
install=""
subpackages=""
replaces="py-imaging"
@@ -29,6 +30,8 @@ prepare() {
build() {
cd "$_builddir"
+ # zlib resides in lib
+ export CFLAGS="$CFLAGS -L/lib"
python setup.py build || return 1
}
@@ -37,6 +40,6 @@ package() {
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="da10ee9d0c0712c942224300c2931a1a Pillow-2.7.0.zip"
-sha256sums="33a5d0145e82326e781ddee1ad375f92cb84f8cfafea56e9504682adff64a5ee Pillow-2.7.0.zip"
-sha512sums="df6e6d7c964446c40f7b17081a6c0c0eebc3ee559f890bf8f2ee2846e20a0abe9dde0902e7cb625208af112c1d18d722a4d6d49fd2de5b5232a477cdbadf79eb Pillow-2.7.0.zip"
+md5sums="c9596d3676800ade486463120a0c2e18 Pillow-2.8.1.zip"
+sha256sums="4363b52527c263e77f5b18c3dfffd15ae454edf0c4457197ecbe29863a651938 Pillow-2.8.1.zip"
+sha512sums="75c0cfb53530549a2bac66cc3457747c239779233c64fe944fa661e7401acd915700e0dfd74e13c93d96afb9b50a112f09cbaea49205e83d8797e832a52534e4 Pillow-2.8.1.zip"