From eea5ec8ca5839083c5142ee4f58fb5c0d7964c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 20 Apr 2017 15:36:53 +0200 Subject: [PATCH] dev-python/aiohttp-cors: Tested on py3.5 & py3.6 --- dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild index 82ce007da4797..f0c5fa8cee4eb 100644 --- a/dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild +++ b/dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python3_4 ) +PYTHON_COMPAT=( python3_4 python3_5 python3_6 ) inherit distutils-r1 @@ -29,6 +29,13 @@ DEPEND="${RDEPEND} dev-python/selenium[${PYTHON_USEDEP}] )" +python_prepare_all() { + # for some reason, it is installed by 'setup.py test' on py!=3.4 + # TODO: investigate + sed -i -e '/typing/d' setup.py || die + distutils-r1_python_prepare_all +} + python_test() { esetup.py test }