Package Details: python2-grab 0.6.30-1

Git Clone URL: https://aur.archlinux.org/python-grab.git (read-only)
Package Base: python-grab
Description: Web Scraping Framework
Upstream URL: https://pypi.python.org/pypi/grab
Licenses: MIT
Submitter: masser
Maintainer: masser
Last Packager: masser
Votes: 2
Popularity: 0.000000
First Submitted: 2014-01-21 05:18
Last Updated: 2016-03-01 08:48

Latest Comments

atweiden commented on 2015-01-20 06:44

PKGBUILD modified to use https sources and is now compatible with python-grab (otherwise /usr/bin/grab conflicts).

# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>

pkgname=python2-grab
pkgver=0.4.13
pkgrel=2
pkgdesc="Grab - Site Scraping Framework"
arch=('any')
url="http://github.com/lorien/grab"
license=('BSD')
depends=('python2' 'python2-pycurl' 'python2-lxml' 'python2-cssselect')
source=(https://pypi.python.org/packages/source/g/grab/grab-${pkgver}.tar.gz)
sha256sums=('361e3b274e595a35e6f26761d994357cd063c3e8d47e0aa2f31e6961da342e03')

build() {
cd "$srcdir/grab-$pkgver"
python2 setup.py build
}

package() {
cd "$srcdir/grab-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
mv "$pkgdir/usr/bin/grab" "$pkgdir/usr/bin/grab2"
}

# vim:set ts=2 sw=2 et: