diff options
author | James Meyer <jams@linhes.org> | 2010-12-10 23:16:04 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-10 23:16:04 (GMT) |
commit | 16133d6dd0a9402eaf2a0532b475d43798fcd4a3 (patch) | |
tree | f3a58cdd3ff6fad6ec1c0a64c643f5cb2b4294dd /abs/core/python_modules | |
parent | 7c5f001026414ccb3fc0a83287b889a41078bbc4 (diff) | |
download | linhes_pkgbuild-16133d6dd0a9402eaf2a0532b475d43798fcd4a3.zip linhes_pkgbuild-16133d6dd0a9402eaf2a0532b475d43798fcd4a3.tar.gz linhes_pkgbuild-16133d6dd0a9402eaf2a0532b475d43798fcd4a3.tar.bz2 |
urlgrabber: move to pyhton_modules and recompile for 2.6
Diffstat (limited to 'abs/core/python_modules')
-rw-r--r-- | abs/core/python_modules/urlgrabber/PKGBUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core/python_modules/urlgrabber/PKGBUILD b/abs/core/python_modules/urlgrabber/PKGBUILD new file mode 100644 index 0000000..ccd0d62 --- /dev/null +++ b/abs/core/python_modules/urlgrabber/PKGBUILD @@ -0,0 +1,18 @@ +pkgname=urlgrabber +pkgver=3.9.1 +pkgrel=2 +pkgdesc="A high-level cross-protocol url-grabber and Python library" +url="http://urlgrabber.baseurl.org/" +license=('LGPL') +arch=('i686' 'x86_64') +depends=('python2') +provides=(python-urlgrabber) +source=("${url}/download/urlgrabber-${pkgver}.tar.gz") +build() { + cd ${srcdir}/${pkgname}-${pkgver} + python2 setup.py install --prefix=${pkgdir}/usr || return 1 + + find "$pkgdir/" -name '*.py' | \ + xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" +} +md5sums=('00c8359bf71062d0946bacea521f80b4') |