app-portage/g-sorcery: Support sys-apps/portage-mgorny
authorMichał Górny <mgorny@gentoo.org>
Wed, 21 Mar 2018 17:09:47 +0000 (18:09 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 21 Mar 2018 18:12:40 +0000 (19:12 +0100)
app-portage/g-sorcery/g-sorcery-0.2-r1.ebuild [moved from app-portage/g-sorcery/g-sorcery-0.2.ebuild with 85% similarity]
app-portage/g-sorcery/g-sorcery-9999.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 a86a63afcbe498b5eebb17c32c07e33832ba51a8..5ee1d41cb94f45fce623ee9f8b04fd21bb16c53e 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
@@ -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}]"
 
index 8e6f16207b8922f02e7e8626762aa98edfb5d401..8b59511a4f4da2c34e520e347ca6c5ccd8f20360 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=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}]"