From: Michał Górny Date: Thu, 20 Apr 2017 13:36:53 +0000 (+0200) Subject: dev-python/aiohttp-cors: Tested on py3.5 & py3.6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=eea5ec8ca5839083c5142ee4f58fb5c0d7964c56;p=gentoo.git dev-python/aiohttp-cors: Tested on py3.5 & py3.6 --- 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 82ce007da479..f0c5fa8cee4e 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 }