commit: 2435023dec374bec359e429d5e934cf53a6b80f5
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 14 09:11:08 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 14 09:53:37 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2435023d
dev-python/mock: Properly use patching with distutils-r1.eclass
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
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 fac96bf..282c79c 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}"