blob: 6e1bb64305c1850dd6fdca4bd1ce91a4e85732f4 (
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=py-aiohttp
_pkgname=aiohttp
pkgver=0.21.6
pkgrel=0
pkgdesc="HTTP client/server for asyncio"
url="http://pypi.python.org/pypi/aiohttp"
arch="all"
license="ASL 2.0"
depends="python3 py-chardet"
depends_dev=""
makedepends="$depends_dev py-setuptools cython-dev python3-dev"
install=""
subpackages="$pkgname-dev"
source="https://pypi.io/packages/source/a/$_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="d7f63e51bc86a61d9bccca13986c3855 aiohttp-0.21.6.tar.gz"
sha256sums="8709c6d4b7735705ef46e0d5416083f1e92d9a9ab18e2b4c7f7944e831b73428 aiohttp-0.21.6.tar.gz"
sha512sums="622218ffbc163aefc04730bc9ca36f922182699407ea8fb6e8e5ce01b63e4bbee821e466f1701ecabf2f4c47bf840a572e7f3bcdf0903e8a87b23d5c3e07209b aiohttp-0.21.6.tar.gz"
|