blob: 0e0b4498deb953868318ecae8548c66247ca89f2 (
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: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-aiohttp
_pkgname=aiohttp
pkgver=0.22.5
pkgrel=0
pkgdesc="HTTP client/server for asyncio"
url="http://pypi.python.org/pypi/aiohttp"
arch="all"
license="ASL 2.0"
depends="python3 py3-chardet py3-multidict"
depends_dev=""
makedepends="$depends_dev py-setuptools python3-dev"
install=""
subpackages="$pkgname-dev"
source="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 || return
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir" --optimize=1 || return 1
}
md5sums="8541b6085fee8f8b51e0144df6470186 aiohttp-0.22.5.tar.gz"
sha256sums="9c51af030c866f91e18a219614e39d345db4483ed9860389d0536d74d04b0d3b aiohttp-0.22.5.tar.gz"
sha512sums="919818445590b386b40edd05e8a58fac0b1b2993fe82faf95e10b53b5c0b3b464e92ea2484bc1929cb737351f3629b77a4ff67788248e19d69eb638bbf44a5e3 aiohttp-0.22.5.tar.gz"
|