From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1024709-garchives=archives.gentoo.org@lists.gentoo.org>
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 6B0741382C5
	for <garchives@archives.gentoo.org>; Fri, 18 May 2018 06:34:01 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 73E8EE0980;
	Fri, 18 May 2018 06:34:00 +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 4D2C1E0980
	for <gentoo-commits@lists.gentoo.org>; Fri, 18 May 2018 06:34:00 +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 2D605335C72
	for <gentoo-commits@lists.gentoo.org>; Fri, 18 May 2018 06:33:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7ACA943
	for <gentoo-commits@lists.gentoo.org>; Fri, 18 May 2018 06:33:57 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1526625228.03e5b00b2188fbb3c36cc8c51c1c55bace2094e9.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: virtual/editor/
X-VCS-Repository: repo/gentoo
X-VCS-Files: virtual/editor/editor-0-r1.ebuild virtual/editor/editor-0.ebuild
X-VCS-Directories: virtual/editor/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 03e5b00b2188fbb3c36cc8c51c1c55bace2094e9
X-VCS-Branch: master
Date: Fri, 18 May 2018 06:33:57 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 9efd40aa-b3b9-4661-b9f7-b2d9d4482b9a
X-Archives-Hash: ed8abf2a29c8ae36ee9379f734339322

commit:     03e5b00b2188fbb3c36cc8c51c1c55bace2094e9
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri May 18 06:26:14 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May 18 06:33:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03e5b00b

virtual/editor: Allow only display editors as providers.

If you prefer a line editor like ed when editing files with your
DECwriter LA120 printing terminal :-) and don't want any newfangled
display editor installed on your system, then add virtual/editor to
package.provided as a workaround.

Closes: https://bugs.gentoo.org/655906
Package-Manager: Portage-2.3.37, Repoman-2.3.9

 virtual/editor/{editor-0.ebuild => editor-0-r1.ebuild} | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/virtual/editor/editor-0.ebuild b/virtual/editor/editor-0-r1.ebuild
similarity index 91%
rename from virtual/editor/editor-0.ebuild
rename to virtual/editor/editor-0-r1.ebuild
index 13c56dd7bd8..56958a5b748 100644
--- a/virtual/editor/editor-0.ebuild
+++ b/virtual/editor/editor-0-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 DESCRIPTION="Virtual for editor"
 SLOT="0"
@@ -9,9 +9,11 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86
 
 # Add a package to RDEPEND only if the editor:
 # - can edit ordinary text files,
-# - works on the console.
+# - works on the console,
+# - is a "display" or "visual" editor (e.g., using ncurses).
 
-RDEPEND="|| ( app-editors/nano
+RDEPEND="|| (
+	app-editors/nano
 	app-editors/dav
 	app-editors/e3
 	app-editors/ee
@@ -47,7 +49,7 @@ RDEPEND="|| ( app-editors/nano
 	app-misc/mc[edit]
 	dev-lisp/cmucl
 	mail-client/alpine[-onlyalpine]
-	sys-apps/ed )"
+)"
 
 # Packages outside app-editors providing an editor:
 #	app-misc/mc: mcedit (#62643)