blob: 386a542e3c1883434effd750f7a6749e4b21baa7 (
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
|
# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
pkgname=python-txrequests
pkgver=0.9.6
pkgrel=11
pkgdesc='Asynchronous Python HTTP Requests for Humans using twisted'
license=('Apache')
arch=(any)
url='https://github.com/tardyp/txrequests'
depends=(python-requests python-twisted)
makedepends=(python-setuptools)
source=("https://files.pythonhosted.org/packages/source/t/txrequests/txrequests-${pkgver}.tar.gz")
sha256sums=('b452a1cafa4d005678f6fa47922a330feb4907d5b4732d1841ca98e89f1362e1')
build() {
cd txrequests-$pkgver
python setup.py build
}
check() {
cd txrequests-$pkgver
python test_txrequests.py
}
package() {
cd txrequests-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|