diff options
Diffstat (limited to 'dev-util/buildbot/buildbot-9999.ebuild')
-rw-r--r-- | dev-util/buildbot/buildbot-9999.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-util/buildbot/buildbot-9999.ebuild b/dev-util/buildbot/buildbot-9999.ebuild index 9bf2d9d13b69..2183d7106a41 100644 --- a/dev-util/buildbot/buildbot-9999.ebuild +++ b/dev-util/buildbot/buildbot-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -66,7 +66,7 @@ DEPEND="${RDEPEND} doc? ( >=dev-python/sphinx-1.4.3[${PYTHON_USEDEP}] ) test? ( >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] || ( >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] ( @@ -138,6 +138,12 @@ src_install() { readme.gentoo_create_doc } +python_test() { + distutils_install_for_testing + + esetup.py test || die "Tests failed under ${EPYTHON}" +} + pkg_postinst() { readme.gentoo_print_elog |