From 0e5186e2765451e6033a4bdd93eb85d22d72b973 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Fri, 19 Nov 2010 03:29:11 +0000 Subject: python-imaging: bump, incorporate pil customizations and delete pil --- abs/core/pil/PKGBUILD | 29 ----------------------------- abs/core/pil/__changelog | 2 -- abs/extra/python-imaging/PKGBUILD | 4 +++- abs/extra/python-imaging/__changelog | 2 ++ 4 files changed, 5 insertions(+), 32 deletions(-) delete mode 100644 abs/core/pil/PKGBUILD delete mode 100644 abs/core/pil/__changelog create mode 100644 abs/extra/python-imaging/__changelog diff --git a/abs/core/pil/PKGBUILD b/abs/core/pil/PKGBUILD deleted file mode 100644 index 5ae42bb..0000000 --- a/abs/core/pil/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# $Id: PKGBUILD 16703 2008-10-22 02:31:25Z allan $ -# Maintainer: Allan McRae -# Contributor: simo - -pkgname=pil -pkgver=1.1.6 -pkgrel=11 -pkgdesc="Python imaging library" -arch=('i686' 'x86_64') -url="http://www.pythonware.com/products/pil/index.htm" -license=('custom:"pil"') -depends=('python' 'libjpeg6' 'freetype2') -makedepends=('tk>=8.5.0') -source=(http://effbot.org/downloads/Imaging-$pkgver.tar.gz) -md5sums=('3a9b5c20ca52f0a9900512d2c7347622') - -build() { - cd $srcdir/Imaging-$pkgver - sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6/lib\",\ \"/opt/libjpeg6/include\"#" setup.py - python setup.py build_ext -i - python setup.py install --root=$pkgdir - mkdir -p $pkgdir/usr/include/python2.6/ - cp libImaging/*.h $pkgdir/usr/include/python2.6/ - - # Install license - install -m644 -D $srcdir/Imaging-$pkgver/README \ - $pkgdir/usr/share/licenses/pil/README -} - diff --git a/abs/core/pil/__changelog b/abs/core/pil/__changelog deleted file mode 100644 index 91214ed..0000000 --- a/abs/core/pil/__changelog +++ /dev/null @@ -1,2 +0,0 @@ -__change so that it builds against libjpeg6 and not libjpeg7 - sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6\"#" setup.py diff --git a/abs/extra/python-imaging/PKGBUILD b/abs/extra/python-imaging/PKGBUILD index e469a94..f947154 100644 --- a/abs/extra/python-imaging/PKGBUILD +++ b/abs/extra/python-imaging/PKGBUILD @@ -4,7 +4,7 @@ pkgname=python-imaging pkgver=1.1.7 -pkgrel=2 +pkgrel=4 pkgdesc="PIL. Provides image processing capabilities for python" arch=('i686' 'x86_64') url="http://www.pythonware.com/products/pil/index.htm" @@ -20,6 +20,7 @@ md5sums=('fc14a54e1ce02a0225be8854bfba478e') build() { cd $srcdir/Imaging-$pkgver + sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6/lib\",\ \"/opt/libjpeg6/include\"#" setup.py python2 setup.py build_ext } @@ -38,3 +39,4 @@ package() { install -Dm644 $srcdir/Imaging-$pkgver/README \ $pkgdir/usr/share/licenses/$pkgname/README } + diff --git a/abs/extra/python-imaging/__changelog b/abs/extra/python-imaging/__changelog new file mode 100644 index 0000000..91214ed --- /dev/null +++ b/abs/extra/python-imaging/__changelog @@ -0,0 +1,2 @@ +__change so that it builds against libjpeg6 and not libjpeg7 + sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6\"#" setup.py -- cgit v0.12