commit: 89cc1cdf50eeb75a0dcda3c2bfa8c6b411258e11
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 12 15:36:46 2018 +0000
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Sun Aug 12 15:36:46 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89cc1cdf
app-admin/setools: remove spurious test dependencies
* dev-python/tox is not needed to run tests
* USE flags for mock dep was overly broad
Package-Manager: Portage-2.3.46, Repoman-2.3.10
app-admin/setools/{setools-9999.ebuild => setools-4.1.1-r1.ebuild} | 3 +--
app-admin/setools/setools-9999.ebuild | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/app-admin/setools/setools-9999.ebuild
b/app-admin/setools/setools-4.1.1-r1.ebuild
similarity index 93%
copy from app-admin/setools/setools-9999.ebuild
copy to app-admin/setools/setools-4.1.1-r1.ebuild
index d0836619d13..13b8cb7389c 100644
--- a/app-admin/setools/setools-9999.ebuild
+++ b/app-admin/setools/setools-4.1.1-r1.ebuild
@@ -37,8 +37,7 @@ DEPEND="${RDEPEND}
sys-devel/flex
>=sys-libs/libsepol-2.5
test? (
- python_targets_python2_7? ( dev-python/mock[${PYTHON_USEDEP}] )
- dev-python/tox[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]'
python2_7)
sys-apps/checkpolicy
)"
diff --git a/app-admin/setools/setools-9999.ebuild
b/app-admin/setools/setools-9999.ebuild
index d0836619d13..13b8cb7389c 100644
--- a/app-admin/setools/setools-9999.ebuild
+++ b/app-admin/setools/setools-9999.ebuild
@@ -37,8 +37,7 @@ DEPEND="${RDEPEND}
sys-devel/flex
>=sys-libs/libsepol-2.5
test? (
- python_targets_python2_7? ( dev-python/mock[${PYTHON_USEDEP}] )
- dev-python/tox[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]'
python2_7)
sys-apps/checkpolicy
)"