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

Eric Bélanger eric at archlinux.org
Mon Apr 30 03:25:42 EDT 2012


    Date: Monday, April 30, 2012 @ 03:25:42
  Author: eric
Revision: 157959

upgpkg: python-gdata 2.0.17-1

Upstream update, Add python2 fix, Remove old provides/replaces/conflicts arrays

Modified:
  python-gdata/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-30 07:20:00 UTC (rev 157958)
+++ PKGBUILD	2012-04-30 07:25:42 UTC (rev 157959)
@@ -3,21 +3,21 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 # Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
 # Contributor: Christophe Gueret <tolgam at homegnu.net>
+
 pkgname=python-gdata
-pkgver=2.0.16
+pkgver=2.0.17
 pkgrel=1
-arch=(any)
 pkgdesc="Python client library for Google data APIs"
+arch=('any')
 url="http://code.google.com/p/gdata-python-client/"
 license=('APACHE')
 depends=('python2')
-provides=('gdata_py')
-replaces=('gdata_py')
-conflicts=('gdata_py')
 source=(http://gdata-python-client.googlecode.com/files/gdata-${pkgver}.tar.gz)
-md5sums=('10e78a7f3bbccbaec266590f412e833e')
+sha1sums=('d2d9f60699611f95dd8c328691a2555e76191c0c')
 
-build() {
+package() {
   cd "${srcdir}/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@'  {} \;
   python2 setup.py install --prefix=/usr --root "${pkgdir}" 
 }



More information about the arch-commits mailing list