projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ad1f2
)
dev-python/aiohttp-cors: Tested on py3.5 & py3.6
author
Michał Górny
<mgorny@gentoo.org>
Thu, 20 Apr 2017 13:36:53 +0000
(15:36 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Thu, 20 Apr 2017 13:40:59 +0000
(15:40 +0200)
dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild
patch
|
blob
|
history
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 82ce007da4797c7c0a21f6d77c3f584f65ca3bfc..f0c5fa8cee4eb3ce2f98003f0146e997422f9220 100644
(file)
--- 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
}