dev-python/snakeoil: Add missing mock dep, bump to EAPI 6
authorMichał Górny <mgorny@gentoo.org>
Wed, 30 Nov 2016 09:30:17 +0000 (10:30 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 30 Nov 2016 09:42:14 +0000 (10:42 +0100)
dev-python/snakeoil/snakeoil-9999.ebuild

index f82c7fde625d1e377edc423e1d3a34ba909e067b..af9cbb04b4866b3ea7ab2b2c438380af9724cb29 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 PYTHON_REQ_USE="threads(+)"
 inherit distutils-r1
@@ -20,8 +20,10 @@ HOMEPAGE="https://github.com/pkgcore/snakeoil"
 
 LICENSE="BSD"
 SLOT="0"
+IUSE="test"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/mock[${PYTHON_USEDEP}] )"
 
 python_configure_all() {
        # disable snakeoil 2to3 caching