summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-03-15 13:02:49 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-03-15 13:02:49 (GMT)
commit28c7011f25086bde05d7be3750157cc6c6770e36 (patch)
treeb190b3a67b6319e68b47e2783824daf4dd5753d5 /abs/core
parentdcfc6c0046765536645e929ccb3bc3e6cf292bd9 (diff)
downloadlinhes_pkgbuild-28c7011f25086bde05d7be3750157cc6c6770e36.zip
linhes_pkgbuild-28c7011f25086bde05d7be3750157cc6c6770e36.tar.gz
linhes_pkgbuild-28c7011f25086bde05d7be3750157cc6c6770e36.tar.bz2
urlgrabber: update to 3.10.1
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/python_modules/urlgrabber/PKGBUILD19
1 files 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 <cmbrannon79@gmail.com>
# Contributor: Pat Rondon <pmr@@patrondon.org>
+
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
+}