1 # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
3 pkgname=python-grequests
7 pkgdesc="Allows you to use Requests with Gevent to make asyncronous HTTP Requests easily."
8 url="https://pypi.python.org/pypi/grequests/"
9 license=('custom: ISC')
11 depends=('python-requests' 'python-gevent')
12 makedepends=('python-setuptools')
13 source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz
14 $_libname-$pkgver-LICENSE::https://github.com/kennethreitz/grequests/raw/v$pkgver/LICENSE)
15 sha256sums=('7dec890c6668e6755a1ea968565535867956639301268394d24df67b478df666'
16 '4063882a8913e4b37457d58fe6600bd975ba053c8db2e8c6b218e7c9c8575ca8')
19 cd "$srcdir"/$_libname-$pkgver
23 package_python-grequests() {
24 cd "$srcdir"/$_libname-$pkgver
25 python setup.py install --skip-build -O1 --root="$pkgdir"
26 install -m0644 -D "$srcdir"/$_libname-$pkgver-LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE