aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-aiohttp/APKBUILD
blob: aae11b95653cb63546f50f67b844f8b1182303f7 (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.2
pkgrel=0
pkgdesc="HTTP client/server for asyncio"
url="http://pypi.python.org/pypi/aiohttp"
arch="all"
license="APACHE"
depends="python3 py-chardet"
depends_dev=""
makedepends="$depends_dev py-setuptools cython-dev python3-dev"
install=""
subpackages="$pkgname-dev"
source="https://pypi.python.org/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="b53e5d6b3e5961b7119f2f500a20904e  aiohttp-0.21.2.tar.gz"
sha256sums="991e574309815036ca36889a8917005bb795522acd2ba9cc870e07c260c092b5  aiohttp-0.21.2.tar.gz"
sha512sums="282f249d94056e65615ec153713f99b34071344fc3effb15b376dc26e5db2b5cf189b07c4007e5b73e4e7fcbca7776a075778b778075fb9071fa8cc9dafb4746  aiohttp-0.21.2.tar.gz"