[arch-commits] Commit in python-pillow/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Fri Aug 29 17:26:23 UTC 2014
Date: Friday, August 29, 2014 @ 19:26:22
Author: kkeen
Revision: 118075
upgpkg: python-pillow 2.5.3-2 pyc todo
Modified:
python-pillow/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-08-29 16:11:39 UTC (rev 118074)
+++ PKGBUILD 2014-08-29 17:26:22 UTC (rev 118075)
@@ -5,7 +5,7 @@
pkgbase=python-pillow
pkgname=(python-pillow python2-pillow)
pkgver=2.5.3
-pkgrel=1
+pkgrel=2
_appname=Pillow
_py2basever=2.7
_py3basever=3.4m
@@ -54,12 +54,11 @@
conflicts=('python-imaging' 'python2-imaging')
replaces=('python2-imaging')
cd "$srcdir/${_appname}2-$pkgver"
+ sed -i 's|/usr/local/bin/python$|/usr/bin/env python2|' PIL/OleFileIO.py
python2 setup.py install --root="$pkgdir/" --optimize=0
pushd Sane
python2 setup.py install --root="$pkgdir/" --optimize=0
popd
- sed -i 's|/usr/local/bin/python$|/usr/bin/env python2|' \
- "$pkgdir/usr/lib/python$_py2basever/site-packages/PIL/OleFileIO.py"
install -Dm644 docs/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
More information about the arch-commits
mailing list