mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 03:11:18 +02:00
34 lines
989 B
Plaintext
34 lines
989 B
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-aiohttp
|
|
_pkgname=aiohttp
|
|
pkgver=3.3.2
|
|
pkgrel=0
|
|
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"
|
|
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"
|
|
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="abc031b5cd96c59886913582e7226f3c7b9ce4101d11d380f732d16776b990082b18b0c5f91bc098f17f72cbadcf499dfa93069323a8668755c1ce5d06f37f1e py3-aiohttp-3.3.2.tar.gz"
|