aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-aiohttp/APKBUILD
blob: cda5f2fe2e56140e2a742af50b6dc71fbf97ab50 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-aiohttp
_pkgname=aiohttp
pkgver=1.1.4
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"
makedepends="python3-dev"
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 || return 
}

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

md5sums="2a096b103baa381d9ac910626f57ef2b  py3-aiohttp-1.1.4.tar.gz"
sha256sums="11397e2dfdda688d98d9a22f822234c1f2b2071f661f4a8b261ca346e2103eaf  py3-aiohttp-1.1.4.tar.gz"
sha512sums="d42f296a8dc7992c7de322bf4367379924df65613f602cd9d15a9458b2cbf8ff1b476d42dc947ed45ff1bf1042bcd9dfba22a14456559113ead57513f21ef69b  py3-aiohttp-1.1.4.tar.gz"