python3-async-timeout: fix template

- noarch=yes
- add missing pycompile_module and depends
- remove unnecessary vlicense for Apache-2.0
This commit is contained in:
Alessio Sergi 2017-08-22 15:34:13 +02:00
parent f35b7a0a0d
commit 7db6035aa9
1 changed files with 8 additions and 9 deletions

View File

@ -1,17 +1,16 @@
# Template file for 'python3-async-timeout'
pkgname=python3-async-timeout
version=1.2.1
revision=1
wrksrc=async-timeout-${version}
revision=2
noarch=yes
wrksrc="async-timeout-${version}"
build_style=python3-module
hostmakedepends="python3 python3-setuptools"
short_desc="Timeout class compatible with asyncio"
pycompile_module="async_timeout"
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Timeout context manager for asyncio programs"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="Apache-2"
license="Apache-2.0"
homepage="https://github.com/aio-libs/async-timeout"
distfiles="https://github.com/aio-libs/async-timeout/archive/v${version}.tar.gz"
checksum=840ca2fb8237faa2251ecccdd8b5180d6f9f2d92df6068e77ea823642fcc75d4
post_install() {
vlicense LICENSE
}