commit: d259ac65f1af8264fdf994ad012cd5073bc2e312
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 27 11:33:15 2019 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Aug 27 11:33:37 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d259ac65
app-misc/editor-wrapper: Bump EAPI to 7.
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
.../{editor-wrapper-4.ebuild => editor-wrapper-4-r1.ebuild} | 5 ++---
app-misc/editor-wrapper/files/editor-wrapper-4.sh | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/app-misc/editor-wrapper/editor-wrapper-4.ebuild
b/app-misc/editor-wrapper/editor-wrapper-4-r1.ebuild
similarity index 97%
rename from app-misc/editor-wrapper/editor-wrapper-4.ebuild
rename to app-misc/editor-wrapper/editor-wrapper-4-r1.ebuild
index 888c907c437..361c762024f 100644
--- a/app-misc/editor-wrapper/editor-wrapper-4.ebuild
+++ b/app-misc/editor-wrapper/editor-wrapper-4-r1.ebuild
@@ -1,16 +1,14 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
DESCRIPTION="Wrapper scripts that will execute EDITOR or PAGER"
HOMEPAGE="https://www.gentoo.org/"
-SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh
sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris
~x64-solaris ~x86-solaris"
-IUSE=""
S="${WORKDIR}"
@@ -23,6 +21,7 @@ src_prepare() {
-e "s: /etc/profile: \"${EPREFIX}/etc/profile\":" \
editor pager || die
fi
+ eapply_user
}
src_install() {
diff --git a/app-misc/editor-wrapper/files/editor-wrapper-4.sh
b/app-misc/editor-wrapper/files/editor-wrapper-4.sh
index b58f1a8b9ee..9c8fe959955 100644
--- a/app-misc/editor-wrapper/files/editor-wrapper-4.sh
+++ b/app-misc/editor-wrapper/files/editor-wrapper-4.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright 2009-2011 Gentoo Foundation
+# Copyright 2009-2011 Gentoo Authors
# Distributed under the terms of the MIT/X11 license
# Wrapper script, executes ${@VAR@} with arguments $@