python3-multidict: 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:31:23 +02:00
parent 31fc79e0d8
commit 4c74670291

View file

@ -1,17 +1,15 @@
# Template file for 'python3-multidict'
pkgname=python3-multidict
version=3.1.3
revision=1
wrksrc=multidict-${version}
revision=2
wrksrc="multidict-${version}"
build_style=python3-module
hostmakedepends="python3 python3-setuptools"
pycompile_module="multidict"
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
short_desc="Multidict implementation from aiohttp"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="Apache-2"
license="Apache-2.0"
homepage="https://github.com/aio-libs/multidict"
distfiles="https://github.com/aio-libs/multidict/archive/v${version}.tar.gz"
checksum=421570422f7c933afde697149b288b3c5342f04606a1f912a4e070ab8f52ccb2
post_install() {
vlicense LICENSE
}