diff options
author | James Meyer <jams@linhes.org> | 2010-12-10 01:32:23 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-10 01:32:23 (GMT) |
commit | 5c40bb464357d486339e90f4118e4adaa8989e09 (patch) | |
tree | 8b5f680e7867c24eb5f3d1347eef9ea19c92beeb /abs/extra/python-imaging | |
parent | f9b90df04a227fb2607482bed9a2f56678d95d30 (diff) | |
parent | 59771e9d114b75eafb316e94b7612dda202edd83 (diff) | |
download | linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.zip linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.tar.gz linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.tar.bz2 |
Merge branch 'testing' of ssh://linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/python-imaging')
-rw-r--r-- | abs/extra/python-imaging/PKGBUILD | 42 | ||||
-rw-r--r-- | abs/extra/python-imaging/__changelog | 2 |
2 files changed, 0 insertions, 44 deletions
diff --git a/abs/extra/python-imaging/PKGBUILD b/abs/extra/python-imaging/PKGBUILD deleted file mode 100644 index f947154..0000000 --- a/abs/extra/python-imaging/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# $Id: PKGBUILD 87626 2010-08-17 13:21:07Z allan $ -# Maintainer: Allan McRae <allan@archlinux.org> -# Contributor: simo <simo@archlinux.org> - -pkgname=python-imaging -pkgver=1.1.7 -pkgrel=4 -pkgdesc="PIL. Provides image processing capabilities for python" -arch=('i686' 'x86_64') -url="http://www.pythonware.com/products/pil/index.htm" -license=('custom:"pil"') -depends=('python2' 'libjpeg' 'freetype2') -makedepends=('tk') -optdepends=('tk') -provides=("pil=$pkgver") -conflicts=('pil') -replaces=('pil') -source=(http://effbot.org/downloads/Imaging-$pkgver.tar.gz) -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 -} - -package() { - cd $srcdir/Imaging-$pkgver - python2 setup.py install --root=$pkgdir - install -dm755 $pkgdir/usr/include/python2.7/ - install -m644 -t $pkgdir/usr/include/python2.7/ libImaging/*.h - - # do not have files ending in .py in /usr/bin - for f in pildriver pilprint pilconvert pilfile pilfont; do - mv $pkgdir/usr/bin/$f{.py,} - done - - # Install license - 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 deleted file mode 100644 index 91214ed..0000000 --- a/abs/extra/python-imaging/__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 |