From f35b7a0a0d6fce36e8b6494094e3914dce0083e1 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 22 Aug 2017 15:32:56 +0200 Subject: [PATCH] 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 --- srcpkgs/python3-yarl/template | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/srcpkgs/python3-yarl/template b/srcpkgs/python3-yarl/template index 4e3f72be251..72b86a05cab 100644 --- a/srcpkgs/python3-yarl/template +++ b/srcpkgs/python3-yarl/template @@ -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 " 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 -}