Created
January 24, 2014 04:31
-
-
Save barraponto/8592121 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: PyroDevil <p dot devil at gmail dot com> | |
# Contributor: Anibal Pacheco <apacheco.uy@gmail.com> | |
pkgname="scrapy" | |
pkgver=0.22.0 | |
pkgrel=1 | |
pkgdesc="A fast high-level scraping and web crawling framework." | |
arch=(any) | |
license=('BSD') | |
url="http://scrapy.org" | |
depends=('twisted>=10.0' 'libxml2>=2.6.28' 'python2-w3lib>=1.2' 'python2-lxml' 'python2-six>=1.5.2' 'python2-queuelib' 'python2-setuptools' 'python2-cssselect>=0.9') | |
makedepends=('git') | |
optdepends=( | |
'python2-pyopenssl: only if you want to crawl secure (HTTPS) pages' | |
'ipython2: enhances scrapy shell with ipython2' | |
) | |
provides=('scrapy') | |
conflicts=('scrapy-hg' 'scrapy-git') | |
options=(!emptydirs) | |
source=("git://github.com/scrapy/scrapy.git#tag=${pkgver}") | |
md5sums=('SKIP') | |
package() { | |
cd "${srcdir}/scrapy" | |
python2 setup.py install --root="${pkgdir}" | |
# copying license information | |
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
# copying readme information | |
install -D -m644 "README.rst" "${pkgdir}/usr/share/doc/${pkgname}/README.rst" | |
install -D -m644 "docs/intro/install.rst" "${pkgdir}/usr/share/doc/${pkgname}/INSTALL.rst" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment