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

Eric Bélanger eric at nymeria.archlinux.org
Tue Aug 20 09:17:24 UTC 2013


    Date: Tuesday, August 20, 2013 @ 11:17:24
  Author: eric
Revision: 193441

upgpkg: python-gdata 2.0.18-1

Upstream update, Add prepare function

Modified:
  python-gdata/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-20 08:09:13 UTC (rev 193440)
+++ PKGBUILD	2013-08-20 09:17:24 UTC (rev 193441)
@@ -6,8 +6,8 @@
 
 pkgbase=python-gdata
 pkgname=('python2-gdata')
-pkgver=2.0.17
-pkgrel=3
+pkgver=2.0.18
+pkgrel=1
 pkgdesc="Python client library for Google data APIs"
 arch=('any')
 url="http://code.google.com/p/gdata-python-client/"
@@ -16,11 +16,15 @@
 conflicts=('python-gdata<=2.0.17-1')
 replaces=('python-gdata<=2.0.17-1')
 source=(http://gdata-python-client.googlecode.com/files/gdata-${pkgver}.tar.gz)
-sha1sums=('d2d9f60699611f95dd8c328691a2555e76191c0c')
+sha1sums=('4cd6804f2af81697219307421996c6055c7c16e4')
 
-package_python2-gdata() {
-  cd "${srcdir}/gdata-${pkgver}"
+prepare() {
+  cd gdata-${pkgver}
   find . -type f -exec sed -i -e 's@^#!/usr/bin/env python@#!/usr/bin/env python2@' \
     -e 's@^#!/usr/.*bin/python.*@#!/usr/bin/python2@'  {} \;
+}
+
+package_python2-gdata() {
+  cd gdata-${pkgver}
   python2 setup.py install --prefix=/usr --root "${pkgdir}" 
 }




More information about the arch-commits mailing list