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