From 29ee8deafc40bbd19190a5db1bb8c3f80fe50bee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 21 Mar 2018 18:09:47 +0100 Subject: [PATCH] app-portage/g-sorcery: Support sys-apps/portage-mgorny --- .../{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(-) rename app-portage/g-sorcery/{g-sorcery-0.2.ebuild => g-sorcery-0.2-r1.ebuild} (85%) 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 a86a63afcbe4..5ee1d41cb94f 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 8e6f16207b89..8b59511a4f4d 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}]" -- 2.26.2