dev-python/mock: Properly use patching with distutils-r1.eclass

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2016-01-14 10:11:08 +01:00
parent 95bab145c3
commit 2435023dec

View File

@@ -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}"