aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-aiohttp-gns3/APKBUILD
blob: aa365fa7f7c02d5a0593e9ceac116942047a4b6e (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-aiohttp-gns3
_pkgname=aiohttp
pkgver=3.6.2
pkgrel=0
pkgdesc="HTTP client/server for asyncio - GNS3 compatible version"
url="https://pypi.python.org/pypi/aiohttp"
arch="all"
license="Apache-2.0"
depends="python3 py3-async-timeout-gns3 py3-chardet py3-multidict py3-yarl 
	py3-idna-ssl py3-attrs !py3-aiohttp"
makedepends="python3-dev py3-setuptools cython"
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="49bd3089158c05ff6312420190ccd7fed95efb4a18b8aff7497d5507c71c692080d6949801edabdcd95379ca8e6614398408118d72ff1e782399e059e2cfc1a8  py3-aiohttp-gns3-3.6.2.tar.gz"