app-portage/metagen: Support sys-apps/portage-mgorny

This commit is contained in:
Michał Górny
2018-03-21 18:13:44 +01:00
parent 0431467167
commit 4f3ee8feb5
2 changed files with 7 additions and 3 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"
@@ -16,7 +16,10 @@ KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND=">=dev-python/jaxml-3.01[${PYTHON_USEDEP}]
sys-apps/portage[${PYTHON_USEDEP}]"
|| (
sys-apps/portage[${PYTHON_USEDEP}]
sys-apps/portage-mgorny[${PYTHON_USEDEP}]
)"
RDEPEND="${DEPEND}"
python_install() {

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -19,6 +19,7 @@ IUSE=""
DEPEND=">=dev-python/jaxml-3.01[${PYTHON_USEDEP}]
|| (
( >=sys-apps/portage-2.3.0_rc1[${PYTHON_USEDEP}] app-portage/repoman[${PYTHON_USEDEP}] )
sys-apps/portage-mgorny[${PYTHON_USEDEP}]
<sys-apps/portage-2.3.0_rc1[${PYTHON_USEDEP}]
)"
RDEPEND="${DEPEND}"