diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-28 07:57:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-28 11:54:40 +0000 |
commit | b8da78bc3d6bda250c5305b520324579d7c50d9f (patch) | |
tree | b25ebab23a469c13c65bf632088eed53670dbd9e /main | |
parent | 6959e373f1107e176d222e4ad73028c1e1edf918 (diff) | |
download | aports-b8da78bc3d6bda250c5305b520324579d7c50d9f.tar.bz2 aports-b8da78bc3d6bda250c5305b520324579d7c50d9f.tar.xz |
main/py-imaging: remove python2.6 traces
Diffstat (limited to 'main')
-rw-r--r-- | main/py-imaging/APKBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/main/py-imaging/APKBUILD b/main/py-imaging/APKBUILD index 7b793a545..b7f0d8007 100644 --- a/main/py-imaging/APKBUILD +++ b/main/py-imaging/APKBUILD @@ -13,9 +13,15 @@ makedepends="python-dev freetype-dev" install= subpackages="" source="http://effbot.org/downloads/Imaging-$pkgver.tar.gz" + +_builddir="$srcdir"/Imaging-$pkgver build() { - cd "$srcdir"/Imaging-$pkgver - mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages + cd "$_builddir" + python setup.py build +} + +package() { + cd "$_builddir" python setup.py install --root="$pkgdir" } |