mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 05:21:23 +02:00
app-eselect/eselect-vi: Sync with gentoo
It's from gentoo commit cdbe195e46a303ec2b5c46e73a4d9c442d6b9e2c.
This commit is contained in:
parent
7b734de837
commit
b8f0236d8d
@ -1,199 +0,0 @@
|
||||
# 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.
|
@ -1,26 +1 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX eselect-vi-1.1.7-prefix.patch 4518 SHA256 657ffae82d901af71b3e08afa4a2338107c46a223fb7dca53ea65700b045ce9f SHA512 adab027c33b93cf4d3df44c6f87469e89c71d4498dd479067ac215b01b5436b8947d0f54a5f1186c5553b2fb99905db79f13451f57afe2c9cb1de200fd0ac152 WHIRLPOOL 1adfbff96fb52500d9c90957657e2a82681cce439c1c561c8c7f8c60f2c90c6cd072e1d9771e71cde6c335aeebf751d35bb1ee01e5a087beaa61f1d57dce95cd
|
||||
DIST eselect-vi-1.1.8.tar.xz 6236 SHA256 c3b1f4233bec7b40568b6a9e7d74024d04440b00bc2490991d8737aa97c9ae58 SHA512 a54c4ce4f71d1368cf390b9c9326fe682839e375622d2ac4eeede6e38ebdb204b6a0e2d1776712f25c419e2043c86879a798c65155124ae951fbf6b5b1887fd2 WHIRLPOOL 15c377c9d0e14de7418c230c19814b6ee19aadf19c563b4eb675e47157807ef4423a5ac13fcd7cbea80c24f65ac637e27cfac72c323dc0f9d133c67883596642
|
||||
DIST eselect-vi-1.1.9.tar.xz 6236 SHA256 e11592f4f48d16071f6248794e2f9116f716c78c1ba66b9181aa670ab9f71400 SHA512 618c83d1e93a6c137b1c787c9bf9df19b68b7ef6679ba6179f13582f67e494d365da778b4646aff4af7196399468204c249e59e104a69851bb411fff1b3d038f WHIRLPOOL c898788019a4e79ab1dee38cc3d8d3878c25651bba7e83fae1e97a05abd7222b5d514d985f3ed9ff5861af72c2255521b0db66c6d6c8f8e97beb0597344eca82
|
||||
DIST vi.eselect-1.1.7.bz2 1709 SHA256 e3eecf0a2ca97d1a3f66b36d7cd431fad428493ba9b43a446a6772aaa7e34072 SHA512 72f8310cf9d3decdadaae95b515318285b4d3105ff57e72e15cd2724bedaa1684943ce21c42420e23412b0dbb53f042f15cc27e6e5ee7537b457583d71271ef1 WHIRLPOOL d726d45fa7cef77180914a791017f6d865e08e035fb1a7cd3098a83c454d5ba654a173001bf3584330b69382c545b633fab7aef4853cfc62284d166b945adb36
|
||||
EBUILD eselect-vi-1.1.7-r1.ebuild 934 SHA256 7f07649729dd982c10e96910486eb5cc110a233145c9629af78df5b6327bef31 SHA512 4ea68ef415c6295ae581ab2a3e18e1296c33e4599e7e510ad637746e4c97e03d93ff365ed7bf39c4d49da0091dac59c2cb20e5d1be71b7b39eafff951d8499cf WHIRLPOOL a51da9ae2805dc8dbef5e1dc7c7e45a9c70ff480aded4da2ba89df668ce7639b099bec85f70f84df603cbebe84ef5115221e0a4966108c5b6771ce87e29c68ab
|
||||
EBUILD eselect-vi-1.1.8.ebuild 852 SHA256 5780b1efb08c7476c8512476236707d6d8eb122bfef3a9ab39f0933da97439cf SHA512 9bdde954188aff0c815c1987ca8a872fa21ee4ed868d86348f44dadccf395df7a46192552835ab537bc386459cca1501f5ff42ee905d304bf95184c26c8f6781 WHIRLPOOL 29babc1ed13e5c601a55f3bec68c5b2dee978c5694efc45762a99a0774b314c82fe1acd32f767a295cb173281d45f5e211f3120c0f961395ae5656412b88c088
|
||||
EBUILD eselect-vi-1.1.9.ebuild 852 SHA256 80feb73154f8f4650d1944fe066331a69aca6c8388ed81ba40f3ccebec9182b3 SHA512 cfb06a3aae4a3653ff319f8c9bca65d325cd79664c651b2a569b9f6fdbc16822c8b40b0aaadc8444b3cc35ef68a6d5e4a3258ea5a7e45d817427534180ed937f WHIRLPOOL 005797833499f68afc539148aad7bf23312e89664bd54bc6579ef5b55ecc70c42ed3931fae815a6e547cd97412921281b0577d040ef302f2bb51005d666ab54c
|
||||
MISC ChangeLog 6816 SHA256 6055c91279198ce50086ef264f2d6e17503974a5cee0e45e9af76ed2a4187a61 SHA512 006124be0e68fc99dbd5813446beabd8dd4830d910a20aca7faac100d152c37f7b0d6588310c268ebe3fe9059ab314065f1304d204265890c8ccf4d95ec94bb0 WHIRLPOOL 9e0521fb3f0765d2e678d9f760d0efaf30f98ebe458520face3e1fa19e79fe4c8795b8995a94b00ac2d27f21a58b71c01098aa616f46c8f3c5cb75281e34409e
|
||||
MISC metadata.xml 158 SHA256 a50f7e086b8e90ea2505c615c8a321faf36f785ad9d1d2b67f5f04876230027b SHA512 972c8c54026d66c369259328d52bd2ca36eb2f04cc2c72515fe5e9221af83fa33eb237beebeaccf05c3006d29d20aa02c65ac4a2ae992767ea8b9df594fefe0a WHIRLPOOL 9e8119a77b881fdfacd77c46532e074b20085098112af79679587302c95bd5a8621d0700b6d0135c68f4e896042ae4e57006668bd9442e41440e8ee157507da7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQGcBAEBCAAGBQJVGtIdAAoJEJQzkH1pP7W4M0oMAKUme01ZWp8T7ymyRyTY2XN8
|
||||
EF1hF+/Kj57NK4EDXdluZwjvoOJhH9X0FWJ2GRDZQxFfhrjbgb890nbjOZoM5i7N
|
||||
qA5LJDUoXq5JxxCZr9wQe/agJ4Jh1nXGFpa57xdkhW7Q8TXUDrgm9JxPsMIl6vni
|
||||
D38mIbvTGfjXR/e7Nn/WiBaRtF6fA6SJHsacowlT3IbA4zfGIx0L1730V9icYtow
|
||||
faM1crp7SBNwB1R02SbdAbUpcOYcDqXdrEilH5Of8/aO50TfYM+HRnv1Bc2T1eu5
|
||||
tvyE6NEXqTulZgtmmIMhYC8fX/ObaUJf41DfiuGKvtrI6eQrAb13BwVsTUaU4EqB
|
||||
VdoRi4b7QsZ+zbo3MNRhTVAbRerNlaGMJlAaW6ciJ0wbVVAbE2MC1Ybm+aCu8HkJ
|
||||
6dm/fBFYbFl7CR74LVya8e0zP58Y8LOdfbwP1NxxgBbQxlY5xw4VAP4X+QALh/Sw
|
||||
M/Fbcb4K20f0AW9Rs/qBLxYmSKvJLd3I8RlDoZQdQQ==
|
||||
=tei9
|
||||
-----END PGP SIGNATURE-----
|
||||
DIST eselect-vi-1.2.tar.gz 2078 BLAKE2B 0f78afe201d9db72de005e035fd044435faf76b0027ce570cad09f3b4f0f497631f57107222de5e649c8badc0cbc3172edd1f1600e5b7bee8ba6f78b2ae9277a SHA512 77ec5281a25156d4a6c4b35fb154aa5837e4d2335637ecdb66a75984419439526f2215abe39a4d08e68d8dd3e337f47947f5a8fbf89ae7ecca8631e7dbf50dc5
|
||||
|
@ -1,26 +0,0 @@
|
||||
# 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
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
# 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
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
# 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
|
||||
}
|
21
sdk_container/src/third_party/portage-stable/app-eselect/eselect-vi/eselect-vi-1.2.ebuild
vendored
Normal file
21
sdk_container/src/third_party/portage-stable/app-eselect/eselect-vi/eselect-vi-1.2.ebuild
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Manages the /usr/bin/vi symlink"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Vim"
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND="app-admin/eselect"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
@ -1,136 +0,0 @@
|
||||
--- 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"
|
@ -1,6 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>vim</herd>
|
||||
<maintainer type="project">
|
||||
<email>vim@gentoo.org</email>
|
||||
<name>Gentoo Vim Project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user