blob: 2f784d7164354e7e0223df1861d00f492c0ea390 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-pillow
_pkgname=Pillow
pkgver=2.7.0
pkgrel=0
pkgdesc="A Python Imaging Library"
url="http://python-imaging.github.io/"
arch="all"
license="PSF"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools freetype-dev jpeg-dev zlib-dev"
install=""
subpackages=""
replaces="py-imaging"
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
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"
|