app-admin/webapp-config: Support sys-apps/portage-mgorny
authorMichał Górny <mgorny@gentoo.org>
Wed, 21 Mar 2018 16:59:04 +0000 (17:59 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 21 Mar 2018 18:12:31 +0000 (19:12 +0100)
app-admin/webapp-config/webapp-config-1.55-r1.ebuild [moved from app-admin/webapp-config/webapp-config-1.55.ebuild with 90% similarity]
app-admin/webapp-config/webapp-config-9999.ebuild

similarity index 90%
rename from app-admin/webapp-config/webapp-config-1.55.ebuild
rename to app-admin/webapp-config/webapp-config-1.55-r1.ebuild
index b83d9fcd994a77437eaab1ec0045f9fe1fe87595..871ffb75c6a72383d767071ebdecb538edc13ef3 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
@@ -19,7 +19,13 @@ IUSE="+portage"
 
 DEPEND="app-text/xmlto
        sys-apps/gentoo-functions"
-RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
+RDEPEND="
+       portage? (
+               || (
+                       sys-apps/portage[${PYTHON_USEDEP}]
+                       sys-apps/portage-mgorny[${PYTHON_USEDEP}]
+               )
+       )"
 
 python_prepare_all() {
        distutils-r1_python_prepare_all
index 409c9b0d9b1bf462522f3cce3a7e2836af68276d..08cda6204783249b0fb8d3ad445be5e1d6e150d5 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
@@ -26,7 +26,13 @@ IUSE="+portage"
 
 DEPEND="app-text/xmlto
        sys-apps/gentoo-functions"
-RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
+RDEPEND="
+       portage? (
+               || (
+                       sys-apps/portage[${PYTHON_USEDEP}]
+                       sys-apps/portage-mgorny[${PYTHON_USEDEP}]
+               )
+       )"
 
 python_prepare_all() {
        distutils-r1_python_prepare_all