summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-05-18 08:26:14 +0200
committerUlrich Müller <ulm@gentoo.org>2018-05-18 08:33:48 +0200
commit03e5b00b2188fbb3c36cc8c51c1c55bace2094e9 (patch)
treedb9d740d2cfdfc4a841cf919ea07cbd38ba256f8 /virtual/editor
parentmedia-gfx/inkscape: Fixed compilation against poppler-0.64.0 (diff)
downloadgentoo-03e5b00b2188fbb3c36cc8c51c1c55bace2094e9.tar.gz
gentoo-03e5b00b2188fbb3c36cc8c51c1c55bace2094e9.tar.bz2
gentoo-03e5b00b2188fbb3c36cc8c51c1c55bace2094e9.zip
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
Diffstat (limited to 'virtual/editor')
-rw-r--r--virtual/editor/editor-0-r1.ebuild (renamed from virtual/editor/editor-0.ebuild)10
1 files changed, 6 insertions, 4 deletions
diff --git a/virtual/editor/editor-0.ebuild b/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)