aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-aiohttp/APKBUILD
blob: 7e8b7e231aff7d84624644b9b8adf5fbfa416744 (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
32
33
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-aiohttp
_pkgname=aiohttp
pkgver=3.2.1
pkgrel=0
pkgdesc="HTTP client/server for asyncio"
url="https://pypi.python.org/pypi/aiohttp"
arch="all"
license="Apache-2.0"
depends="python3 py3-async-timeout py3-chardet py3-multidict py3-yarl 
	py3-idna-ssl py3-attrs"
makedepends="python3-dev py3-setuptools"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="4ac3a798eaf8a42777b21836e17e6b5145493c6329cca700a293fe6ac64152e0714f3e1b919793a6acd5acf9061bf121a7cfea0188e3708dcb8c221d67ae4470  py3-aiohttp-3.2.1.tar.gz"