summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-12-31 13:22:42 +0100
committerJustin Lecher <jlec@gentoo.org>2015-12-31 13:55:03 +0100
commita96ccb3412d0312d4e3ea55dd2d25caf63882819 (patch)
treea197ed883283ddc1b247368e9bda6401f242956c /dev-python/mock
parentx11-themes/ubuntu-wallpapers: Drop old (diff)
downloadgentoo-a96ccb3412d0312d4e3ea55dd2d25caf63882819.tar.gz
gentoo-a96ccb3412d0312d4e3ea55dd2d25caf63882819.tar.bz2
gentoo-a96ccb3412d0312d4e3ea55dd2d25caf63882819.zip
dev-python/mock: dev-python/unittest2 is required in all versions
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=570322 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/mock')
-rw-r--r--dev-python/mock/mock-1.3.0-r1.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-python/mock/mock-1.3.0-r1.ebuild b/dev-python/mock/mock-1.3.0-r1.ebuild
index 46dc640b3cce..5407477dc50e 100644
--- a/dev-python/mock/mock-1.3.0-r1.ebuild
+++ b/dev-python/mock/mock-1.3.0-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
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"
-IUSE="doc test"
+IUSE="test"
CDEPEND="
>=dev-python/pbr-1.3[${PYTHON_USEDEP}]
@@ -25,7 +25,7 @@ DEPEND="
test? (
${CDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '>=dev-python/unittest2-1.1.0[${PYTHON_USEDEP}]' python{2_7,3_3} pypy)
+ >=dev-python/unittest2-1.1.0[${PYTHON_USEDEP}]
)"
RDEPEND="
${CDEPEND}
@@ -33,11 +33,10 @@ RDEPEND="
"
python_test() {
- nosetests || die "tests fail under ${EPYTHON}"
+ nosetests --verbose || die "tests fail under ${EPYTHON}"
}
python_install_all() {
- use doc && local DOCS=( docs/*.txt )
-
+ local DOCS=( docs/. )
distutils-r1_python_install_all
}