summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-03-31 16:58:01 +0000
committerUlrich Müller <ulm@gentoo.org>2015-03-31 16:58:01 +0000
commit2b57aa586fb520ee02b30ee9dd6834773bbe36c9 (patch)
tree45334c9ad527f84a4e3a0b35ec14839cad861ed2 /app-eselect
parentMove package from app-admin to app-eselect category. (diff)
downloadgentoo-2-2b57aa586fb520ee02b30ee9dd6834773bbe36c9.tar.gz
gentoo-2-2b57aa586fb520ee02b30ee9dd6834773bbe36c9.tar.bz2
gentoo-2-2b57aa586fb520ee02b30ee9dd6834773bbe36c9.zip
Move package from app-admin to app-eselect category.
(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-eselect')
-rw-r--r--app-eselect/eselect-vi/ChangeLog199
-rw-r--r--app-eselect/eselect-vi/eselect-vi-1.1.7-r1.ebuild26
-rw-r--r--app-eselect/eselect-vi/eselect-vi-1.1.8.ebuild21
-rw-r--r--app-eselect/eselect-vi/eselect-vi-1.1.9.ebuild21
-rw-r--r--app-eselect/eselect-vi/files/eselect-vi-1.1.7-prefix.patch136
-rw-r--r--app-eselect/eselect-vi/metadata.xml6
6 files changed, 409 insertions, 0 deletions
diff --git a/app-eselect/eselect-vi/ChangeLog b/app-eselect/eselect-vi/ChangeLog
new file mode 100644
index 000000000000..9d4bb81b2164
--- /dev/null
+++ b/app-eselect/eselect-vi/ChangeLog
@@ -0,0 +1,199 @@
+# ChangeLog for app-eselect/eselect-vi
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-vi/ChangeLog,v 1.1 2015/03/31 16:58:01 ulm Exp $
+
+ 31 Mar 2015; Ulrich Müller <ulm@gentoo.org> +eselect-vi-1.1.7-r1.ebuild,
+ +eselect-vi-1.1.8.ebuild, +eselect-vi-1.1.9.ebuild,
+ +files/eselect-vi-1.1.7-prefix.patch, +metadata.xml:
+ Move package from app-admin to app-eselect category.
+
+*eselect-vi-1.1.9 (26 Feb 2015)
+
+ 26 Feb 2015; Ben de Groot <yngwin@gentoo.org> +eselect-vi-1.1.9.ebuild:
+ version bump, offering neovim as option
+
+ 22 Nov 2014; Ben de Groot <yngwin@gentoo.org> eselect-vi-1.1.8.ebuild:
+ fix SRC_URI (bug #530104)
+
+*eselect-vi-1.1.8 (22 Nov 2014)
+
+ 22 Nov 2014; Ben de Groot <yngwin@gentoo.org> +eselect-vi-1.1.8.ebuild,
+ -eselect-vi-1.1.4.ebuild, -eselect-vi-1.1.5.ebuild, -eselect-vi-1.1.6.ebuild,
+ -eselect-vi-1.1.7.ebuild:
+ Version bump, including patch from 1.1.7-r1 and adding qvim as option (bug
+ #529528). Remove old.
+
+ 06 Jun 2014; Mike Frysinger <vapier@gentoo.org> eselect-vi-1.1.7-r1.ebuild:
+ Add arm64 love.
+
+ 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> eselect-vi-1.1.7-r1.ebuild:
+ keyword ~amd64-fbsd
+
+ 06 Feb 2011; Mart Raudsepp <leio@gentoo.org> eselect-vi-1.1.4.ebuild:
+ Drop to ~mips
+
+ 29 Oct 2010; Mark Loeser <halcy0n@gentoo.org> eselect-vi-1.1.7-r1.ebuild:
+ Stable for ppc64; bug #251659
+
+ 12 Oct 2010; Raúl Porcel <armin76@gentoo.org> eselect-vi-1.1.7-r1.ebuild:
+ ia64/m68k/s390/sh/sparc stable wrt #251659
+
+ 11 Oct 2010; Jeroen Roovers <jer@gentoo.org> eselect-vi-1.1.7-r1.ebuild:
+ Stable for HPPA (bug #251659).
+
+ 10 Oct 2010; Markus Meier <maekke@gentoo.org> eselect-vi-1.1.7-r1.ebuild:
+ arm stable, bug #251659
+
+ 10 Oct 2010; Markos Chandras <hwoarang@gentoo.org>
+ eselect-vi-1.1.7-r1.ebuild:
+ Stable on amd64 wrt bug #251659
+
+ 09 Oct 2010; Christian Faulhammer <fauli@gentoo.org>
+ eselect-vi-1.1.7-r1.ebuild:
+ stable x86, bug 251659
+
+ 08 Oct 2010; Brent Baude <ranger@gentoo.org> eselect-vi-1.1.7-r1.ebuild:
+ stable ppc, bug 251659
+
+ 03 Oct 2010; Tobias Klausmann <klausman@gentoo.org>
+ eselect-vi-1.1.7-r1.ebuild:
+ Stable on alpha, bug #251659
+
+ 29 Apr 2010; Fabian Groffen <grobian@gentoo.org>
+ eselect-vi-1.1.7-r1.ebuild:
+ Transfer Prefix keywords
+
+*eselect-vi-1.1.7-r1 (26 Apr 2010)
+
+ 26 Apr 2010; Jim Ramsay <lack@gentoo.org> +eselect-vi-1.1.7-r1.ebuild,
+ +files/eselect-vi-1.1.7-prefix.patch:
+ Patch for prefix support
+
+*eselect-vi-1.1.7 (23 Apr 2010)
+
+ 23 Apr 2010; Jim Ramsay <lack@gentoo.org> +eselect-vi-1.1.7.ebuild:
+ Fix for bugs #260593 #292899 #315613
+
+*eselect-vi-1.1.6 (06 Oct 2008)
+
+ 06 Oct 2008; Ali Polatel <hawking@gentoo.org> +eselect-vi-1.1.6.ebuild:
+ Version bump. Add busybox to the list of possible targets, #240156.
+
+ 05 Feb 2008; Markus Rothe <corsair@gentoo.org> eselect-vi-1.1.5.ebuild:
+ Stable on ppc64
+
+ 17 Jan 2008; Jeroen Roovers <jer@gentoo.org> eselect-vi-1.1.5.ebuild:
+ Stable for HPPA too.
+
+ 14 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ eselect-vi-1.1.5.ebuild:
+ ppc. stable
+
+ 26 Dec 2007; Doug Klima <cardoe@gentoo.org> eselect-vi-1.1.5.ebuild:
+ amd64 stable
+
+ 19 Dec 2007; Raúl Porcel <armin76@gentoo.org> eselect-vi-1.1.5.ebuild:
+ alpha/ia64/sparc/x86 stable
+
+ 31 May 2007; Mike Kelly <pioto@gentoo.org> metadata.xml:
+ Remove myself from metadata.xml. Just let the vim herd get the mails.
+
+*eselect-vi-1.1.5 (07 May 2007)
+
+ 07 May 2007; Mike Kelly <pioto@gentoo.org> +eselect-vi-1.1.5.ebuild:
+ Version bump. Makes missing manpages really not be an issue. Fixes
+ Bug #176874.
+
+ 21 Feb 2007; Alexander H. Færøy <eroyf@gentoo.org>
+ eselect-vi-1.1.4.ebuild:
+ Stable on MIPS; bug #166501
+
+ 13 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ eselect-vi-1.1.4.ebuild:
+ Stable on alpha wrt bug #166501.
+
+ 13 Feb 2007; Markus Rothe <corsair@gentoo.org> eselect-vi-1.1.4.ebuild:
+ Stable on ppc64; bug #166501
+
+ 13 Feb 2007; Joseph Jezak <josejx@gentoo.org> eselect-vi-1.1.4.ebuild:
+ Marked ppc stable for bug #166501.
+
+ 12 Feb 2007; Simon Stelling <blubb@gentoo.org> eselect-vi-1.1.4.ebuild:
+ stable on amd64; bug 166501
+
+ 12 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
+ eselect-vi-1.1.4.ebuild:
+ stable x86; bug 166501
+
+ 12 Feb 2007; Jeroen Roovers <jer@gentoo.org> eselect-vi-1.1.4.ebuild:
+ Stable for HPPA (bug #166501).
+
+ 12 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ eselect-vi-1.1.4.ebuild:
+ Stable on sparc wrt #166501
+
+ 06 Dec 2006; Alexander H. Færøy <eroyf@gentoo.org>
+ eselect-vi-1.1.4.ebuild:
+ Marked ~mips.
+
+*eselect-vi-1.1.4 (26 Oct 2006)
+
+ 26 Oct 2006; Mike Kelly <pioto@gentoo.org> -eselect-vi-1.1.3.ebuild,
+ +eselect-vi-1.1.4.ebuild:
+ Version bump. Missing man pages are no longer fatal (we just skip making the
+ symlinks). Also, keyword ~ia64, ~s390, ~sh, and ~arm, by authority of vapier.
+
+ 25 Oct 2006; Emanuele Giaquinta <exg@gentoo.org> eselect-vi-1.1.3.ebuild:
+ Add to ~ppc.
+
+ 25 Oct 2006; Steve Dibb <beandog@gentoo.org> eselect-vi-1.1.3.ebuild:
+ Added ~amd64 (bug #152620)
+
+ 24 Oct 2006; Stephen Bennett <spb@gentoo.org> eselect-vi-1.1.3.ebuild:
+ Added ~alpha
+
+ 24 Oct 2006; Jeroen Roovers <jer@gentoo.org> eselect-vi-1.1.3.ebuild:
+ Marked ~hpp (bug #152620).
+
+ 24 Oct 2006; Markus Rothe <corsair@gentoo.org> eselect-vi-1.1.3.ebuild:
+ Added ~ppc64; bug #152620
+
+ 24 Oct 2006; Jason Wever <weeve@gentoo.org> eselect-vi-1.1.3.ebuild:
+ Added ~sparc keyword to fix the broken dependencies of app-editors/vim-core.
+
+ 24 Oct 2006; Roy Marples <uberlord@gentoo.org> eselect-vi-1.1.3.ebuild:
+ Added ~sparc-fbsd keyword.
+
+ 24 Oct 2006; Timothy Redaelli <drizzt@gentoo.org> eselect-vi-1.1.3.ebuild:
+ Added ~x86-fbsd keyword, bug 152620
+
+*eselect-vi-1.1.3 (22 Oct 2006)
+
+ 22 Oct 2006; Mike Kelly <pioto@gentoo.org> -eselect-vi-1.1.1.ebuild,
+ +eselect-vi-1.1.3.ebuild:
+ Version bump. Now properly errors only when it couldn't remove old symlinks
+ due to access errors, etc. Also, now intelligently will make symlinks to
+ non-gzip'd manpages (bzip2 or no compression).
+
+ 05 Oct 2006; Mike Kelly <pioto@gentoo.org> metadata.xml,
+ -eselect-vi-1.0.ebuild, -eselect-vi-1.1.ebuild:
+ Drop old ebuilds. Add vim herd to metadata.xml
+
+*eselect-vi-1.1.1 (02 Oct 2006)
+
+ 02 Oct 2006; Mike Kelly <pioto@gentoo.org> +eselect-vi-1.1.1.ebuild:
+ Bugfix bump, fixes some typos and such, thanks to bug #147857, comment 14.
+
+*eselect-vi-1.1 (24 Sep 2006)
+
+ 24 Sep 2006; Mike Kelly <pioto@gentoo.org> +eselect-vi-1.1.ebuild:
+ Version bump, now supports symlinks for ex, view, and man pages.
+
+ 19 Sep 2006; Mike Kelly <pioto@gentoo.org> eselect-vi-1.0.ebuild:
+ RDEPEND upon eselect-1.0.6.
+
+*eselect-vi-1.0 (19 Sep 2006)
+
+ 19 Sep 2006; Mike Kelly <pioto@gentoo.org> +metadata.xml,
+ +eselect-vi-1.0.ebuild:
+ Initial ebuild.
diff --git a/app-eselect/eselect-vi/eselect-vi-1.1.7-r1.ebuild b/app-eselect/eselect-vi/eselect-vi-1.1.7-r1.ebuild
new file mode 100644
index 000000000000..47238b1450eb
--- /dev/null
+++ b/app-eselect/eselect-vi/eselect-vi-1.1.7-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-vi/eselect-vi-1.1.7-r1.ebuild,v 1.1 2015/03/31 16:58:01 ulm Exp $
+
+EAPI="3"
+inherit eutils
+
+DESCRIPTION="Manages the /usr/bin/vi symlink"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="mirror://gentoo/vi.eselect-${PV}.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=app-admin/eselect-1.0.6"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-prefix.patch"
+}
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ newins "${WORKDIR}/vi.eselect-${PV}" vi.eselect || die
+}
diff --git a/app-eselect/eselect-vi/eselect-vi-1.1.8.ebuild b/app-eselect/eselect-vi/eselect-vi-1.1.8.ebuild
new file mode 100644
index 000000000000..9ca4e5a8bfb8
--- /dev/null
+++ b/app-eselect/eselect-vi/eselect-vi-1.1.8.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-vi/eselect-vi-1.1.8.ebuild,v 1.1 2015/03/31 16:58:01 ulm Exp $
+
+EAPI=5
+
+DESCRIPTION="Manages the /usr/bin/vi symlink"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=app-admin/eselect-1.0.6"
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins vi.eselect || die
+}
diff --git a/app-eselect/eselect-vi/eselect-vi-1.1.9.ebuild b/app-eselect/eselect-vi/eselect-vi-1.1.9.ebuild
new file mode 100644
index 000000000000..932264862085
--- /dev/null
+++ b/app-eselect/eselect-vi/eselect-vi-1.1.9.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-vi/eselect-vi-1.1.9.ebuild,v 1.1 2015/03/31 16:58:01 ulm Exp $
+
+EAPI=5
+
+DESCRIPTION="Manages the /usr/bin/vi symlink"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=app-admin/eselect-1.0.6"
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins vi.eselect || die
+}
diff --git a/app-eselect/eselect-vi/files/eselect-vi-1.1.7-prefix.patch b/app-eselect/eselect-vi/files/eselect-vi-1.1.7-prefix.patch
new file mode 100644
index 000000000000..447e1fa56385
--- /dev/null
+++ b/app-eselect/eselect-vi/files/eselect-vi-1.1.7-prefix.patch
@@ -0,0 +1,136 @@
+--- vi.eselect-1.1.7.orig 2010-04-24 16:16:14.000000000 +0200
++++ vi.eselect-1.1.7 2010-04-24 16:20:02.000000000 +0200
+@@ -12,13 +12,13 @@
+ find_targets() {
+ local f
+ for f in \
+- "${ROOT}"/usr/bin/vim \
+- "${ROOT}"/usr/bin/nvi \
+- "${ROOT}"/usr/bin/elvis \
+- "${ROOT}"/usr/bin/vile \
+- "${ROOT}"/usr/bin/gvim \
+- "${ROOT}"/usr/bin/xvile \
+- "${ROOT}"/bin/busybox \
++ "${EROOT}"/usr/bin/vim \
++ "${EROOT}"/usr/bin/nvi \
++ "${EROOT}"/usr/bin/elvis \
++ "${EROOT}"/usr/bin/vile \
++ "${EROOT}"/usr/bin/gvim \
++ "${EROOT}"/usr/bin/xvile \
++ "${EROOT}"/bin/busybox \
+ ; do
+ if [[ -f "${f}" ]] ; then
+ echo $(basename "${f}" )
+@@ -28,8 +28,8 @@
+
+ # try to remove the vi, ex, view and man vi symlinks
+ remove_symlinks() {
+- rm -f "${ROOT}"/usr/bin/{vi,ex,view} &>/dev/null && \
+- rm -f "${ROOT}"/usr/share/man/man1/{vi,ex,view}.1{,.gz,.bz2,.lzma} &>/dev/null
++ rm -f "${EROOT}"/usr/bin/{vi,ex,view} &>/dev/null && \
++ rm -f "${EROOT}"/usr/share/man/man1/{vi,ex,view}.1{,.gz,.bz2,.lzma} &>/dev/null
+ }
+
+ # set a man page symlink
+@@ -37,7 +37,7 @@
+ local target="${1}" link_name="${2}" x extension
+
+ for x in ".1" ".1.bz2" ".1.gz" ".1.lzma" ; do
+- if [[ -e /usr/share/man/man1/${target}${x} ]] ; then
++ if [[ -e ${EROOT}/usr/share/man/man1/${target}${x} ]] ; then
+ extension="${x}"
+ break
+ fi
+@@ -49,7 +49,7 @@
+ fi
+
+ ln -s "${target}${extension}" \
+- "${ROOT}/usr/share/man/man1/${link_name}${extension}"
++ "${EROOT}/usr/share/man/man1/${link_name}${extension}"
+ }
+
+ # set the vi, ex, view, and man vi symlinks
+@@ -62,9 +62,9 @@
+
+ local dir
+ if [[ ${target} == "busybox" ]]; then
+- dir="${ROOT}/bin"
++ dir="${EROOT}/bin"
+ else
+- dir="${ROOT}/usr/bin"
++ dir="${EROOT}/usr/bin"
+ fi
+
+ if [[ -f "${dir}/${target}" ]] ; then
+@@ -76,12 +76,12 @@
+ set_man_symlink "${target}" "view"
+
+ # it's not okay if these fail
+- target=$(relative_name "${dir}/${target}" "${ROOT}/usr/bin")
+- ln -s "${target}" "${ROOT}/usr/bin/vi" \
++ target=$(relative_name "${dir}/${target}" "${EROOT}/usr/bin")
++ ln -s "${target}" "${EROOT}/usr/bin/vi" \
+ || die "Couldn't set ${target} /usr/bin/vi symlink"
+- ln -s "${target}" "${ROOT}/usr/bin/ex" \
++ ln -s "${target}" "${EROOT}/usr/bin/ex" \
+ || die "Couldn't set ${target} /usr/bin/ex symlink"
+- ln -s "${target}" "${ROOT}/usr/bin/view" \
++ ln -s "${target}" "${EROOT}/usr/bin/view" \
+ || die "Couldn't set ${target} /usr/bin/view symlink"
+ else
+ die -q "Target \"${1}\" doesn't appear to be valid!"
+@@ -98,9 +98,9 @@
+ [[ -z "${@}" ]] || die -q "Too many parameters"
+
+ write_list_start "Current vi implementation:"
+- if [[ -L "${ROOT}/usr/bin/vi" ]] ; then
+- write_kv_list_entry "$(basename $(canonicalise ${ROOT}/usr/bin/vi ) )" ""
+- elif [[ -e "${ROOT}/usr/bin/vi" ]] ; then
++ if [[ -L "${EROOT}/usr/bin/vi" ]] ; then
++ write_kv_list_entry "$(basename $(canonicalise ${EROOT}/usr/bin/vi ) )" ""
++ elif [[ -e "${EROOT}/usr/bin/vi" ]] ; then
+ write_kv_list_entry "(not a symlink)" ""
+ else
+ write_kv_list_entry "(unset)" ""
+@@ -120,7 +120,7 @@
+ targets=( $(find_targets ) )
+ for (( i = 0; i < ${#targets[@]}; i++ )); do
+ [[ ${targets[i]} = \
+- $(basename "$(canonicalise "${ROOT}/usr/bin/vi")") ]] \
++ $(basename "$(canonicalise "${EROOT}/usr/bin/vi")") ]] \
+ && targets[i]=$(highlight_marker "${targets[i]}")
+ done
+ write_list_start "Available vi implementations:"
+@@ -148,15 +148,15 @@
+ elif [[ -n "${2}" ]] ; then
+ die -q "Too many parameters"
+
+- elif [[ -L "${ROOT}/usr/bin/vi" ]] ; then
++ elif [[ -L "${EROOT}/usr/bin/vi" ]] ; then
+ if ! remove_symlinks ; then
+ die -q "Can't remove existing provider"
+ elif ! set_symlinks "${1}" ; then
+ die -q "Can't set new provider"
+ fi
+
+- elif [[ -e "${ROOT}/usr/bin/vi" ]] ; then
+- die -q "Sorry, ${ROOT}/usr/bin/vi confuses me"
++ elif [[ -e "${EROOT}/usr/bin/vi" ]] ; then
++ die -q "Sorry, ${EROOT}/usr/bin/vi confuses me"
+
+ else
+ set_symlinks "${1}" || die -q "Can't set a new provider"
+@@ -177,11 +177,11 @@
+ [[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \
+ die -q "Usage error"
+
+- if [[ -L "${ROOT}/usr/bin/vi" ]] ; then
++ if [[ -L "${EROOT}/usr/bin/vi" ]] ; then
+ [[ ${1} == "--if-unset" ]] && return
+ remove_symlinks || die -q "Can't remove existing link"
+ fi
+- if [[ -e "${ROOT}/usr/bin/vi" ]] ; then
++ if [[ -e "${EROOT}/usr/bin/vi" ]] ; then
+ die -q "Can't set a new provider"
+ elif ! [[ -z $(find_targets ) ]] ; then
+ set_symlinks 1 || die -q "Can't set a new provider"
diff --git a/app-eselect/eselect-vi/metadata.xml b/app-eselect/eselect-vi/metadata.xml
new file mode 100644
index 000000000000..c7b901f7dcaf
--- /dev/null
+++ b/app-eselect/eselect-vi/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>vim</herd>
+</pkgmetadata>
+