From 4c74670291a3852758f43da7fb474ace13f6d8c6 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 22 Aug 2017 15:31:23 +0200 Subject: [PATCH] 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 --- srcpkgs/python3-multidict/template | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-multidict/template b/srcpkgs/python3-multidict/template index 7f501c77d28..eb42d649f8a 100644 --- a/srcpkgs/python3-multidict/template +++ b/srcpkgs/python3-multidict/template @@ -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 " -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 -}