python3-yarl: fix template

- build C extension (this means the package is now arch-dependent,
  noarch=yes was missing otherwise)
- add missing pycompile_module
- remove unnecessary vlicense for Apache-2.0
This commit is contained in:
Alessio Sergi 2017-08-22 15:32:56 +02:00
parent 4c74670291
commit f35b7a0a0d

View file

@ -1,20 +1,16 @@
# Template file for 'python3-yarl'
pkgname=python3-yarl
version=0.12.0
revision=1
wrksrc=yarl-${version}
#create_wrksrc=yes
#only_for_archs="i686 x86_64"
revision=2
wrksrc="yarl-${version}"
build_style=python3-module
hostmakedepends="python3 python3-setuptools"
pycompile_module="yarl"
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
depends="python3-multidict"
short_desc="Yet another URL library"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="Apache-2.0"
homepage="http://yarl.readthedocs.io/"
homepage="https://yarl.readthedocs.io/"
distfiles="https://github.com/aio-libs/yarl/archive/v${version}.tar.gz"
checksum=01f05ee4085feb53a89612bbf1bad58ce4cef0c67871a25e360f4023b5d5f86b
post_install() {
vlicense LICENSE
}