python3-aiohttp: fix template

- build C extension (this means the package is now arch-dependent,
  noarch=yes was missing otherwise)
- add missing pycompile_module
- fix depends
- remove unnecessary vlicense for Apache-2.0
This commit is contained in:
Alessio Sergi 2017-08-22 15:37:46 +02:00
parent 7db6035aa9
commit 2c01dcb583

View file

@ -1,18 +1,16 @@
# Template file for 'python3-aiohttp'
pkgname=python3-aiohttp
version=2.2.5
revision=1
wrksrc=aiohttp-${version}
revision=2
wrksrc="aiohttp-${version}"
build_style=python3-module
hostmakedepends="python3 python3-setuptools"
depends="python3-async-timeout python3-chardet"
pycompile_module="aiohttp"
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
depends="python3-async-timeout python3-chardet python3-yarl"
short_desc="HTTP client/server for asyncio (PEP-3156)"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="Apache-2"
homepage="http://aiohttp.readthedocs.io/"
license="Apache-2.0"
homepage="https://aiohttp.readthedocs.io/"
distfiles="https://github.com/aio-libs/aiohttp/archive/v${version}.tar.gz"
checksum=f0dafed9ea8afa99bd599531ee9f7863d60e69648b1059bcbb0de167c6e11e60
post_install() {
vlicense LICENSE.txt
}