1 # Contributor: Anibal Pacheco <apacheco.uy@gmail.com>
5 pkgdesc="A fast high-level scraping and web crawling framework - development version."
8 url="http://scrapy.org"
9 depends=('python2>=2.5' 'twisted>=2.5' 'libxml2>=2.6.28')
10 makedepends=('mercurial')
11 optdepends=("pyopenssl: only if you want to crawl secure (HTTPS) pages")
16 _hgroot=http://hg.scrapy.org/
22 if [ -d ${_hgrepo} ]; then
23 (cd ${_hgrepo} && hg pull -u)
25 hg clone ${_hgroot}/${_hgrepo}
31 python2 setup.py install --root=$pkgdir || return 1
33 # copying license information
34 install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
36 # copying readme information
37 install -D -m644 README $pkgdir/usr/share/doc/$pkgname/README
38 install -D -m644 INSTALL $pkgdir/usr/share/doc/$pkgname/INSTALL