summaryrefslogtreecommitdiff
path: root/community/python2-imaging
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/python2-imaging
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/python2-imaging')
-rw-r--r--community/python2-imaging/PKGBUILD54
1 files changed, 0 insertions, 54 deletions
diff --git a/community/python2-imaging/PKGBUILD b/community/python2-imaging/PKGBUILD
deleted file mode 100644
index b44c571c2..000000000
--- a/community/python2-imaging/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# $Id: PKGBUILD 83335 2013-01-29 19:26:55Z kkeen $
-# Maintainer: Kyle Keen <keenerd@gmail.com>
-# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: simo <simo@archlinux.org>
-
-pkgname=python2-imaging
-pkgver=1.1.7
-pkgrel=8
-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' 'lcms')
-makedepends=('tk' 'sane')
-optdepends=('tk: for the ImageTK module'
- 'sane: for the ImageSane module')
-provides=("pil=${pkgver}" "python-imaging=${pkgver}")
-conflicts=('pil' 'python-imaging')
-replaces=('pil' 'python-imaging')
-source=(http://effbot.org/downloads/Imaging-${pkgver}.tar.gz)
-md5sums=('fc14a54e1ce02a0225be8854bfba478e')
-
-build() {
- cd "${srcdir}/Imaging-${pkgver}"
-
- # FS#33452
- export CFLAGS="$CFLAGS -fno-strict-aliasing"
-
- python2 setup.py build_ext
- cd Sane
- python2 setup.py build_ext
-}
-
-package() {
- cd "${srcdir}/Imaging-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
-
- pushd Sane
- python2 setup.py install --root="${pkgdir}" --optimize=1
- popd
-
- 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"
-}