blob: 25611d511fb7599c28dcdfbf9e8fb33bfc5654c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=py3-grequests
_pkgname=grequests
pkgver=0.6.0
pkgrel=1
pkgdesc="Asynchronus HTTP requests with gevent"
url="https://github.com/spyoungtech/grequests"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-gevent py3-requests"
makedepends="py3-setuptools"
checkdepends="py3-nose"
source="$_pkgname-$pkgver.tar.gz::https://github.com/spyoungtech/grequests/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
nosetests
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
0c635dfc21a9c8d276a7428fd8c01079292a59c6755aa10b76722fafe38e01f622b02a44692335ecc0914ab17b6b3b6806b87092b4293ee9e324536fee55a8ad grequests-0.6.0.tar.gz
"
|