projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95bab14
)
dev-python/mock: Properly use patching with distutils-r1.eclass
author
Justin Lecher
<jlec@gentoo.org>
Thu, 14 Jan 2016 09:11:08 +0000
(10:11 +0100)
committer
Justin Lecher
<jlec@gentoo.org>
Thu, 14 Jan 2016 09:53:37 +0000
(10:53 +0100)
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/mock/mock-1.0.1-r2.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/mock/mock-1.0.1-r2.ebuild
b/dev-python/mock/mock-1.0.1-r2.ebuild
index fac96bfeb4d180a76586801626f303c342534be6..282c79c345cc0ae8a68d73826322c0b60e92b6c8 100644
(file)
--- 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-201
5
Gentoo Foundation
+# Copyright 1999-201
6
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}"