1 |
commit: a96ccb3412d0312d4e3ea55dd2d25caf63882819 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 12:22:42 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 12:55:03 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96ccb34 |
7 |
|
8 |
dev-python/mock: dev-python/unittest2 is required in all versions |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=570322 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
dev-python/mock/mock-1.3.0-r1.ebuild | 9 ++++----- |
16 |
1 file changed, 4 insertions(+), 5 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/mock/mock-1.3.0-r1.ebuild b/dev-python/mock/mock-1.3.0-r1.ebuild |
19 |
index 46dc640..5407477 100644 |
20 |
--- a/dev-python/mock/mock-1.3.0-r1.ebuild |
21 |
+++ b/dev-python/mock/mock-1.3.0-r1.ebuild |
22 |
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
23 |
LICENSE="BSD" |
24 |
SLOT="0" |
25 |
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" |
26 |
-IUSE="doc test" |
27 |
+IUSE="test" |
28 |
|
29 |
CDEPEND=" |
30 |
>=dev-python/pbr-1.3[${PYTHON_USEDEP}] |
31 |
@@ -25,7 +25,7 @@ DEPEND=" |
32 |
test? ( |
33 |
${CDEPEND} |
34 |
dev-python/nose[${PYTHON_USEDEP}] |
35 |
- $(python_gen_cond_dep '>=dev-python/unittest2-1.1.0[${PYTHON_USEDEP}]' python{2_7,3_3} pypy) |
36 |
+ >=dev-python/unittest2-1.1.0[${PYTHON_USEDEP}] |
37 |
)" |
38 |
RDEPEND=" |
39 |
${CDEPEND} |
40 |
@@ -33,11 +33,10 @@ RDEPEND=" |
41 |
" |
42 |
|
43 |
python_test() { |
44 |
- nosetests || die "tests fail under ${EPYTHON}" |
45 |
+ nosetests --verbose || die "tests fail under ${EPYTHON}" |
46 |
} |
47 |
|
48 |
python_install_all() { |
49 |
- use doc && local DOCS=( docs/*.txt ) |
50 |
- |
51 |
+ local DOCS=( docs/. ) |
52 |
distutils-r1_python_install_all |
53 |
} |