commit:     29ee8deafc40bbd19190a5db1bb8c3f80fe50bee
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 21 17:09:47 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 21 18:12:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ee8dea

app-portage/g-sorcery: Support sys-apps/portage-mgorny

 .../g-sorcery/{g-sorcery-0.2.ebuild => g-sorcery-0.2-r1.ebuild}    | 7 +++++--
 app-portage/g-sorcery/g-sorcery-9999.ebuild                        | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/app-portage/g-sorcery/g-sorcery-0.2.ebuild 
b/app-portage/g-sorcery/g-sorcery-0.2-r1.ebuild
similarity index 85%
rename from app-portage/g-sorcery/g-sorcery-0.2.ebuild
rename to app-portage/g-sorcery/g-sorcery-0.2-r1.ebuild
index a86a63afcbe..5ee1d41cb94 100644
--- a/app-portage/g-sorcery/g-sorcery-0.2.ebuild
+++ b/app-portage/g-sorcery/g-sorcery-0.2-r1.ebuild
@@ -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
@@ -17,7 +17,10 @@ IUSE="bson"
 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
 
 DEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] )
-       sys-apps/portage[${PYTHON_USEDEP}]"
+       || (
+               sys-apps/portage[${PYTHON_USEDEP}]
+               sys-apps/portage-mgorny[${PYTHON_USEDEP}]
+       )"
 RDEPEND="${DEPEND}"
 PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]"
 

diff --git a/app-portage/g-sorcery/g-sorcery-9999.ebuild 
b/app-portage/g-sorcery/g-sorcery-9999.ebuild
index 8e6f16207b8..8b59511a4f4 100644
--- a/app-portage/g-sorcery/g-sorcery-9999.ebuild
+++ b/app-portage/g-sorcery/g-sorcery-9999.ebuild
@@ -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=6
@@ -19,7 +19,10 @@ IUSE="bson git"
 
 DEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] )
        git? ( dev-vcs/git )
-       sys-apps/portage[${PYTHON_USEDEP}]"
+       || (
+               sys-apps/portage[${PYTHON_USEDEP}]
+               sys-apps/portage-mgorny[${PYTHON_USEDEP}]
+       )"
 RDEPEND="${DEPEND}"
 PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]"
 

Reply via email to