From 03e5b00b2188fbb3c36cc8c51c1c55bace2094e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Fri, 18 May 2018 08:26:14 +0200 Subject: [PATCH] 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(-) rename virtual/editor/{editor-0.ebuild => editor-0-r1.ebuild} (91%) 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 13c56dd7bd8c..56958a5b748f 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) -- 2.26.2