From 28c7011f25086bde05d7be3750157cc6c6770e36 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 15 Mar 2016 13:02:49 +0000 Subject: urlgrabber: update to 3.10.1 --- abs/core/python_modules/urlgrabber/PKGBUILD | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/abs/core/python_modules/urlgrabber/PKGBUILD b/abs/core/python_modules/urlgrabber/PKGBUILD index f82aa85..77f188e 100644 --- a/abs/core/python_modules/urlgrabber/PKGBUILD +++ b/abs/core/python_modules/urlgrabber/PKGBUILD @@ -1,18 +1,21 @@ -# $Id: PKGBUILD 66686 2012-02-27 11:56:32Z cbrannon $ +# $Id$ # Maintainer: Chris Brannon # Contributor: Pat Rondon + pkgname=urlgrabber -pkgver=3.9.1 -pkgrel=3 +pkgver=3.10.1 +pkgrel=2 pkgdesc="A high-level cross-protocol url-grabber and Python library" url="http://urlgrabber.baseurl.org/" license=('LGPL') arch=(any) -depends=(python2 python-pycurl) +depends=(python2 python2-pycurl) source=(http://$pkgname.baseurl.org/download/$pkgname-$pkgver.tar.gz) +md5sums=('1f5dc63805623cc473e06204fd240bb2') package() { - cd "$srcdir/$pkgname-$pkgver" - python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - } -md5sums=('00c8359bf71062d0946bacea521f80b4') + cd "$srcdir/$pkgname-$pkgver" + sed -i 's/libexec/lib/' setup.py urlgrabber/grabber.py + sed -i '1s/python/&2/' scripts/urlgrabber-ext-down + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 +} -- cgit v0.12