From 2435023dec374bec359e429d5e934cf53a6b80f5 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Thu, 14 Jan 2016 10:11:08 +0100 Subject: [PATCH] dev-python/mock: Properly use patching with distutils-r1.eclass Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher --- dev-python/mock/mock-1.0.1-r2.ebuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dev-python/mock/mock-1.0.1-r2.ebuild b/dev-python/mock/mock-1.0.1-r2.ebuild index fac96bfeb4d18..282c79c345cc0 100644 --- a/dev-python/mock/mock-1.0.1-r2.ebuild +++ b/dev-python/mock/mock-1.0.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -25,9 +25,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] )" RDEPEND="" -src_prepare() { - epatch "${FILESDIR}"/${P}-fix-python3.4.patch -} +PATCHES=( "${FILESDIR}"/${P}-fix-python3.4.patch ) python_test() { nosetests || die "Tests fail with ${EPYTHON}"