1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Parsel is a library to extract data from HTML and XML using XPath and CSS selectors"
9 url="https://github.com/scrapy/parsel"
10 depends=('python-cssselect' 'python-lxml' 'python-setuptools' 'python-six' 'python-w3lib')
11 makedepends=('python-pytest-runner')
12 checkdepends=('python-sybil' 'python-psutil')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/parsel/archive/v$pkgver.tar.gz")
14 sha512sums=('669dc5a25f488dbf789ecc4b3e055488ac8040427375b359ddfe48b676c5ebdee6408f4baa0adbb507f6b86d5659f947f2907b63b5bb029e8bea3ac0c40f9b6d')
28 python setup.py install --root="$pkgdir" --optimize=1
29 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/