From 2c01dcb583d64b0ce693573c0c2a44524f75626a Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 22 Aug 2017 15:37:46 +0200 Subject: [PATCH] python3-aiohttp: fix template - build C extension (this means the package is now arch-dependent, noarch=yes was missing otherwise) - add missing pycompile_module - fix depends - remove unnecessary vlicense for Apache-2.0 --- srcpkgs/python3-aiohttp/template | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/srcpkgs/python3-aiohttp/template b/srcpkgs/python3-aiohttp/template index 1638f86c03e..8479970abe3 100644 --- a/srcpkgs/python3-aiohttp/template +++ b/srcpkgs/python3-aiohttp/template @@ -1,18 +1,16 @@ # Template file for 'python3-aiohttp' pkgname=python3-aiohttp version=2.2.5 -revision=1 -wrksrc=aiohttp-${version} +revision=2 +wrksrc="aiohttp-${version}" build_style=python3-module -hostmakedepends="python3 python3-setuptools" -depends="python3-async-timeout python3-chardet" +pycompile_module="aiohttp" +hostmakedepends="python3-setuptools python3-Cython" +makedepends="python3-devel" +depends="python3-async-timeout python3-chardet python3-yarl" short_desc="HTTP client/server for asyncio (PEP-3156)" maintainer="Michael Aldridge " -license="Apache-2" -homepage="http://aiohttp.readthedocs.io/" +license="Apache-2.0" +homepage="https://aiohttp.readthedocs.io/" distfiles="https://github.com/aio-libs/aiohttp/archive/v${version}.tar.gz" checksum=f0dafed9ea8afa99bd599531ee9f7863d60e69648b1059bcbb0de167c6e11e60 - -post_install() { - vlicense LICENSE.txt -}