dev-python/virtualenvwrapper: add python3_5 support
authorIlya Tumaykin <itumaykin@gmail.com>
Fri, 6 Jan 2017 19:27:15 +0000 (22:27 +0300)
committerDavid Seifert <soap@gentoo.org>
Sat, 7 Jan 2017 14:48:40 +0000 (16:48 +0200)
Build succeeds, no testsuite, basic virtualenv operations work.

Gentoo-Bug: 572834

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3355

dev-python/virtualenvwrapper/virtualenvwrapper-4.7.1.ebuild

index bf208b193813703f99d387920fe1df1cd1f4be92..acaec4e5c644d6feb847208da39e31e41b613cac 100644 (file)
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 inherit distutils-r1
 
@@ -31,8 +31,10 @@ DEPEND="${DEPEND}
        dev-python/pbr[${PYTHON_USEDEP}]"
 
 # Keep just in case
-src_prepare() {
+python_prepare_all() {
        sed -e 's:-o shwordsplit::' -i tests/run_tests || die
+
+       distutils-r1_python_prepare_all
 }
 
 python_test() {