python3-aiohttp-cors: fix template

- noarch=yes
- add missing pycompile_module
- remove unnecessary vlicense for Apache-2.0
This commit is contained in:
Alessio Sergi 2017-08-22 15:39:34 +02:00
parent 2c01dcb583
commit f02f2fcd2e

View file

@ -1,18 +1,16 @@
# Template file for 'python3-aiohttp-cors'
pkgname=python3-aiohttp-cors
version=0.5.3
revision=1
wrksrc=aiohttp-cors-${version}
revision=2
noarch=yes
wrksrc="aiohttp-cors-${version}"
build_style=python3-module
hostmakedepends="python3 python3-setuptools"
pycompile_module="aiohttp_cors"
hostmakedepends="python3-setuptools"
depends="python3-aiohttp"
short_desc="CORS support for aiohttp"
short_desc="Cross Origin Resource Sharing (CORS) support for aiohttp"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="Apache-2"
license="Apache-2.0"
homepage="https://github.com/aio-libs/aiohttp-cors"
distfiles="https://github.com/aio-libs/aiohttp-cors/archive/v${version}.tar.gz"
checksum=bec79cc5c62cffd044899863a73a450d058a6cb2c965d4c8cec8e6b0d06e9768
post_install() {
vlicense LICENSE
}