From: Justin Lecher Date: Fri, 11 Sep 2015 07:03:46 +0000 (+0200) Subject: dev-python/oauth2: Drop unnecessary die X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=43d48d0e17dcb283ec8dd6bd217338562cd3a4ba;p=gentoo.git dev-python/oauth2: Drop unnecessary die Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher --- diff --git a/dev-python/oauth2/oauth2-1.5.211-r1.ebuild b/dev-python/oauth2/oauth2-1.5.211-r1.ebuild index df5026acce51..37766bc5ff9a 100644 --- a/dev-python/oauth2/oauth2-1.5.211-r1.ebuild +++ b/dev-python/oauth2/oauth2-1.5.211-r1.ebuild @@ -3,6 +3,7 @@ # $Id$ EAPI=5 + PYTHON_COMPAT=( python2_7 pypy ) inherit distutils-r1 @@ -17,7 +18,8 @@ KEYWORDS="amd64 x86 ~x64-macos" IUSE="test" RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} dev-python/coverage[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] @@ -26,5 +28,5 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] PATCHES=( "${FILESDIR}/${PN}-exclude-tests.patch" ) python_test() { - esetup.py test || die "Tests fail with ${EPYTHON}" + esetup.py test }