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', 'python2-w3lib')
11 optdepends=("pyopenssl: for HTTPS support. Optional, but highly recommended")
16 _gitroot=https://github.com/scrapy/scrapy.git
22 if [ -d ${_gitrepo} ]; then
23 (cd ${_gitrepo} && git pull)
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