app-admin/webapp-config: Support sys-apps/portage-mgorny

This commit is contained in:
Michał Górny
2018-03-21 17:59:04 +01:00
parent 7c48d1ed3a
commit 4566ecefe9
2 changed files with 16 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -19,7 +19,13 @@ IUSE="+portage"
DEPEND="app-text/xmlto
sys-apps/gentoo-functions"
RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
RDEPEND="
portage? (
|| (
sys-apps/portage[${PYTHON_USEDEP}]
sys-apps/portage-mgorny[${PYTHON_USEDEP}]
)
)"
python_prepare_all() {
distutils-r1_python_prepare_all

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -26,7 +26,13 @@ IUSE="+portage"
DEPEND="app-text/xmlto
sys-apps/gentoo-functions"
RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
RDEPEND="
portage? (
|| (
sys-apps/portage[${PYTHON_USEDEP}]
sys-apps/portage-mgorny[${PYTHON_USEDEP}]
)
)"
python_prepare_all() {
distutils-r1_python_prepare_all