app-portage/metagen: Support sys-apps/portage-mgorny
authorMichał Górny <mgorny@gentoo.org>
Wed, 21 Mar 2018 17:13:44 +0000 (18:13 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 21 Mar 2018 18:12:43 +0000 (19:12 +0100)
app-portage/metagen/metagen-0.6.6-r1.ebuild [moved from app-portage/metagen/metagen-0.6.6.ebuild with 84% similarity]
app-portage/metagen/metagen-9999.ebuild

similarity index 84%
rename from app-portage/metagen/metagen-0.6.6.ebuild
rename to app-portage/metagen/metagen-0.6.6-r1.ebuild
index 124483989462f38a3707c564f12b8fe2a9038583..4a7336fac2c0ddd11f4160eebe1221635060eab4 100644 (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() {
index 6f413d6b1c1d566dca1c8eb2bd5c7409ad721392..5393a9b2861486cc23d08a36e463ff6ba3a15ca9 100644 (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}"