summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d6bd19676789f7d5d8deba5be0bc2faf61cf938 (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
# Maintainer: Stick <stick@stma.is>

pkgname=python-geventhttpclient
_name=${pkgname#python-}
pkgver=1.5.3
pkgrel=1
pkgdesc="A high performance, concurrent HTTP client library for python using gevent"
arch=('any')
url='http://github.com/gwik/geventhttpclient'
license=('MIT')
depends=(
	'python-gevent'
	'python-certifi'
	'python-six'
	'python-brotli'
)
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('d80ec9ff42b7219f33558185499d0b4365597fc55ff886207b45f5632e099780')
provides=()
conflicts=()

build() {
	cd "$srcdir/$_name-$pkgver"
	python setup.py build
}

package() {
	cd "$srcdir/$_name-$pkgver"
	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}