From 9a481bcf1ce2c5786dc598be983d70e1286e23d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 21 Mar 2018 17:30:46 +0100 Subject: [PATCH] dev-java/java-config: Support sys-apps/portage-mgorny --- ...g-2.2.0-r3.ebuild => java-config-2.2.0-r4.ebuild} | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) rename dev-java/java-config/{java-config-2.2.0-r3.ebuild => java-config-2.2.0-r4.ebuild} (81%) diff --git a/dev-java/java-config/java-config-2.2.0-r3.ebuild b/dev-java/java-config/java-config-2.2.0-r4.ebuild similarity index 81% rename from dev-java/java-config/java-config-2.2.0-r3.ebuild rename to dev-java/java-config/java-config-2.2.0-r4.ebuild index 62b5da6dd713..2d0a08658067 100644 --- a/dev-java/java-config/java-config-2.2.0-r3.ebuild +++ b/dev-java/java-config/java-config-2.2.0-r4.ebuild @@ -17,13 +17,21 @@ SLOT="2" KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" IUSE="test" -DEPEND="test? ( sys-apps/portage[${PYTHON_USEDEP}] )" +DEPEND="test? ( + || ( + sys-apps/portage[${PYTHON_USEDEP}] + sys-apps/portage-mgorny[${PYTHON_USEDEP}] + ) + )" # baselayout-java is added as a dep till it can be added to eclass. RDEPEND=" !dev-java/java-config-wrapper sys-apps/baselayout-java - sys-apps/portage[${PYTHON_USEDEP}]" + || ( + sys-apps/portage[${PYTHON_USEDEP}] + sys-apps/portage-mgorny[${PYTHON_USEDEP}] + )" PATCHES=( "${FILESDIR}"/${PN}-2.2.0-prefix.patch ) -- 2.26.2