aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-aiohttp/APKBUILD
blob: ca5d4e2447e5309d04e39a8c1e9ab1d88e4d73aa (plain) (blame)
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
_pkgname=aiohttp
pkgver=3.7.4
pkgrel=2
pkgdesc="HTTP client/server for asyncio"
url="https://pypi.python.org/pypi/aiohttp"
arch="all"
license="Apache-2.0"
depends="python3 py3-async-timeout py3-chardet py3-multidict py3-yarl
	py3-idna-ssl py3-attrs py3-typing-extensions"
makedepends="python3-dev py3-setuptools"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
	0001-bump-chardet-from-3.0.4-to-4.0.0.patch
	"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="66fcc837b388020dc998cbaa2db31e48ecec75bcfaa8af9108e2ea265588dafa5684ca96a8fe3ad6759b22e09a4ae6d4efd8653fb76126eccdc826c15cbbe2e6  py3-aiohttp-3.7.4.tar.gz
4a53179cec15aeafa4eea68d1a9b1762c96a876391610c5553f31057ab1ded1f27ea75f896ca2f5c29b6673b56f32627aaef79ada78cb30812c9d73642a16e71  0001-bump-chardet-from-3.0.4-to-4.0.0.patch"