[arch-commits] Commit in python-pillow/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Sat Feb 7 12:26:09 UTC 2015


    Date: Saturday, February 7, 2015 @ 13:26:09
  Author: kkeen
Revision: 127237

upgpkg: python-pillow 2.7.0-1

Modified:
  python-pillow/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-07 11:01:00 UTC (rev 127236)
+++ PKGBUILD	2015-02-07 12:26:09 UTC (rev 127237)
@@ -4,7 +4,7 @@
 
 pkgbase=python-pillow
 pkgname=(python-pillow python2-pillow)
-pkgver=2.6.2
+pkgver=2.7.0
 pkgrel=1
 _appname=Pillow
 _py2basever=2.7
@@ -14,11 +14,17 @@
 url="http://python-pillow.github.io/"
 license=('BSD')
 makedepends=('python-setuptools' 'python2-setuptools' 'lcms' 'libwebp' 'tk' 'sane')
-source=("http://pypi.python.org/packages/source/P/$_appname/$_appname-$pkgver.zip")
-md5sums=('e5ec45b7dd828e8710714e4a96bba49c')
+source=("http://pypi.python.org/packages/source/P/$_appname/$_appname-$pkgver.zip"
+        "https://github.com/python-pillow/Sane/archive/v$pkgver.tar.gz")
+md5sums=('da10ee9d0c0712c942224300c2931a1a'
+         '892cd70e3838250b615095d117173b57')
 
-build() {
+prepare() {
   cd "$srcdir"
+  # allow sane to build
+  sed -i "s|os.path.join|'../libImaging', &|" "$srcdir/Sane-$pkgver/setup.py"
+  cp -r "$srcdir/Sane-$pkgver" "$srcdir/$_appname-$pkgver/Sane"
+  # py2 and py3
   cp -r "$srcdir/$_appname-$pkgver" "$srcdir/${_appname}2-$pkgver"
 }  
 



More information about the arch-commits mailing list