commit: 0c26a88336e2353fe28b742bcc41e0827a1a85a6
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 07:35:18 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 07:35:18 2016 +0000
URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=0c26a883
dev-vcs/git-cola: Fix tests to latest HEAD
* add python3.5 support
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-vcs/git-cola/git-cola-9999.ebuild | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/dev-vcs/git-cola/git-cola-9999.ebuild
b/dev-vcs/git-cola/git-cola-9999.ebuild
index 7f3b6e3..4492662 100644
--- a/dev-vcs/git-cola/git-cola-9999.ebuild
+++ b/dev-vcs/git-cola/git-cola-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
DISTUTILS_SINGLE_IMPL=true
inherit distutils-r1 git-r3 readme.gentoo virtualx
@@ -33,10 +33,6 @@ DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
-PATCHES=(
- "${FILESDIR}"/${P}-disable-live-tests.patch
-)
-
python_prepare_all() {
rm share/git-cola/bin/*askpass* || die
@@ -70,10 +66,12 @@ python_compile_all() {
}
python_test() {
- PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" \
- VIRTUALX_COMMAND="nosetests --verbose --with-id --with-doctest \
- --exclude=sphinxtogithub" \
- virtualmake
+ PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" \
+ LC_ALL="C" \
+ GIT_COLA_NO_HISTORY=True \
+ virtx nosetests \
+ --verbose --with-id --with-doctest \
+ --exclude=sphinxtogithub
}
src_install() {