From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C98E1382C5 for ; Thu, 22 Mar 2018 17:07:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54EBEE0A44; Thu, 22 Mar 2018 17:07:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31294E0A44 for ; Thu, 22 Mar 2018 17:07:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B1EF335C2C for ; Thu, 22 Mar 2018 17:07:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7EFE4264 for ; Thu, 22 Mar 2018 17:07:30 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1521738445.439170c2d96af1be875d3421fe543c61361495b4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage-mgorny/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/portage-mgorny/portage-mgorny-9999.ebuild X-VCS-Directories: sys-apps/portage-mgorny/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 439170c2d96af1be875d3421fe543c61361495b4 X-VCS-Branch: master Date: Thu, 22 Mar 2018 17:07:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a34cfb92-47c9-40ef-b32a-54d166be194b X-Archives-Hash: c4661d0ed778db86f32ba6bc7080d957 commit: 439170c2d96af1be875d3421fe543c61361495b4 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 22 17:04:22 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 22 17:07:25 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=439170c2 sys-apps/portage-mgorny: Warn about abort if switching from Portage sys-apps/portage-mgorny/portage-mgorny-9999.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild b/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild index 87caced0df1..49017fa930b 100644 --- a/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild +++ b/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild @@ -54,6 +54,16 @@ PDEPEND=" )" # NOTE: FEATURES=installsources requires debugedit and rsync +pkg_pretend() { + if has_version sys-apps/portage; then + ewarn "If you are migrating from sys-apps/portage to sys-apps/portage-mgorny," + ewarn "please note that Portage will abort upon having to unmerge itself." + ewarn "However, sys-apps/portage-mgorny will already be installed at this" + ewarn "point, so you simply have to restart emerge and it will successfully" + ewarn "clean the old package afterwards." + fi +} + python_prepare_all() { distutils-r1_python_prepare_all