1 |
commit: d86af57ab913cf65666db83a27462f28f8a38335 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 16 01:51:05 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 16 01:52:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d86af57a |
7 |
|
8 |
app-eselect/eselect-vi: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
app-eselect/eselect-vi/Manifest | 2 - |
13 |
app-eselect/eselect-vi/eselect-vi-1.1.7-r1.ebuild | 25 ---- |
14 |
app-eselect/eselect-vi/eselect-vi-1.1.8.ebuild | 20 --- |
15 |
.../eselect-vi/files/eselect-vi-1.1.7-prefix.patch | 136 --------------------- |
16 |
4 files changed, 183 deletions(-) |
17 |
|
18 |
diff --git a/app-eselect/eselect-vi/Manifest b/app-eselect/eselect-vi/Manifest |
19 |
index d6d90676a79..ad3d8a4e2c4 100644 |
20 |
--- a/app-eselect/eselect-vi/Manifest |
21 |
+++ b/app-eselect/eselect-vi/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST eselect-vi-1.1.8.tar.xz 6236 SHA256 c3b1f4233bec7b40568b6a9e7d74024d04440b00bc2490991d8737aa97c9ae58 SHA512 a54c4ce4f71d1368cf390b9c9326fe682839e375622d2ac4eeede6e38ebdb204b6a0e2d1776712f25c419e2043c86879a798c65155124ae951fbf6b5b1887fd2 WHIRLPOOL 15c377c9d0e14de7418c230c19814b6ee19aadf19c563b4eb675e47157807ef4423a5ac13fcd7cbea80c24f65ac637e27cfac72c323dc0f9d133c67883596642 |
24 |
DIST eselect-vi-1.1.9.tar.xz 6236 SHA256 e11592f4f48d16071f6248794e2f9116f716c78c1ba66b9181aa670ab9f71400 SHA512 618c83d1e93a6c137b1c787c9bf9df19b68b7ef6679ba6179f13582f67e494d365da778b4646aff4af7196399468204c249e59e104a69851bb411fff1b3d038f WHIRLPOOL c898788019a4e79ab1dee38cc3d8d3878c25651bba7e83fae1e97a05abd7222b5d514d985f3ed9ff5861af72c2255521b0db66c6d6c8f8e97beb0597344eca82 |
25 |
-DIST vi.eselect-1.1.7.bz2 1709 SHA256 e3eecf0a2ca97d1a3f66b36d7cd431fad428493ba9b43a446a6772aaa7e34072 SHA512 72f8310cf9d3decdadaae95b515318285b4d3105ff57e72e15cd2724bedaa1684943ce21c42420e23412b0dbb53f042f15cc27e6e5ee7537b457583d71271ef1 WHIRLPOOL d726d45fa7cef77180914a791017f6d865e08e035fb1a7cd3098a83c454d5ba654a173001bf3584330b69382c545b633fab7aef4853cfc62284d166b945adb36 |
26 |
|
27 |
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 |
28 |
deleted file mode 100644 |
29 |
index a7b54ce1ff0..00000000000 |
30 |
--- a/app-eselect/eselect-vi/eselect-vi-1.1.7-r1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,25 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI="3" |
37 |
-inherit eutils |
38 |
- |
39 |
-DESCRIPTION="Manages the /usr/bin/vi symlink" |
40 |
-HOMEPAGE="https://www.gentoo.org/" |
41 |
-SRC_URI="mirror://gentoo/vi.eselect-${PV}.bz2" |
42 |
- |
43 |
-LICENSE="GPL-2" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
46 |
-IUSE="" |
47 |
- |
48 |
-RDEPEND=">=app-admin/eselect-1.0.6" |
49 |
- |
50 |
-src_prepare() { |
51 |
- epatch "${FILESDIR}/${P}-prefix.patch" |
52 |
-} |
53 |
- |
54 |
-src_install() { |
55 |
- insinto /usr/share/eselect/modules |
56 |
- newins "${WORKDIR}/vi.eselect-${PV}" vi.eselect || die |
57 |
-} |
58 |
|
59 |
diff --git a/app-eselect/eselect-vi/eselect-vi-1.1.8.ebuild b/app-eselect/eselect-vi/eselect-vi-1.1.8.ebuild |
60 |
deleted file mode 100644 |
61 |
index fc56b3e376a..00000000000 |
62 |
--- a/app-eselect/eselect-vi/eselect-vi-1.1.8.ebuild |
63 |
+++ /dev/null |
64 |
@@ -1,20 +0,0 @@ |
65 |
-# Copyright 1999-2017 Gentoo Foundation |
66 |
-# Distributed under the terms of the GNU General Public License v2 |
67 |
- |
68 |
-EAPI=5 |
69 |
- |
70 |
-DESCRIPTION="Manages the /usr/bin/vi symlink" |
71 |
-HOMEPAGE="https://www.gentoo.org/" |
72 |
-SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz" |
73 |
- |
74 |
-LICENSE="GPL-2" |
75 |
-SLOT="0" |
76 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
77 |
-IUSE="" |
78 |
- |
79 |
-RDEPEND=">=app-admin/eselect-1.0.6" |
80 |
- |
81 |
-src_install() { |
82 |
- insinto /usr/share/eselect/modules |
83 |
- doins vi.eselect || die |
84 |
-} |
85 |
|
86 |
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 |
87 |
deleted file mode 100644 |
88 |
index 447e1fa5638..00000000000 |
89 |
--- a/app-eselect/eselect-vi/files/eselect-vi-1.1.7-prefix.patch |
90 |
+++ /dev/null |
91 |
@@ -1,136 +0,0 @@ |
92 |
---- vi.eselect-1.1.7.orig 2010-04-24 16:16:14.000000000 +0200 |
93 |
-+++ vi.eselect-1.1.7 2010-04-24 16:20:02.000000000 +0200 |
94 |
-@@ -12,13 +12,13 @@ |
95 |
- find_targets() { |
96 |
- local f |
97 |
- for f in \ |
98 |
-- "${ROOT}"/usr/bin/vim \ |
99 |
-- "${ROOT}"/usr/bin/nvi \ |
100 |
-- "${ROOT}"/usr/bin/elvis \ |
101 |
-- "${ROOT}"/usr/bin/vile \ |
102 |
-- "${ROOT}"/usr/bin/gvim \ |
103 |
-- "${ROOT}"/usr/bin/xvile \ |
104 |
-- "${ROOT}"/bin/busybox \ |
105 |
-+ "${EROOT}"/usr/bin/vim \ |
106 |
-+ "${EROOT}"/usr/bin/nvi \ |
107 |
-+ "${EROOT}"/usr/bin/elvis \ |
108 |
-+ "${EROOT}"/usr/bin/vile \ |
109 |
-+ "${EROOT}"/usr/bin/gvim \ |
110 |
-+ "${EROOT}"/usr/bin/xvile \ |
111 |
-+ "${EROOT}"/bin/busybox \ |
112 |
- ; do |
113 |
- if [[ -f "${f}" ]] ; then |
114 |
- echo $(basename "${f}" ) |
115 |
-@@ -28,8 +28,8 @@ |
116 |
- |
117 |
- # try to remove the vi, ex, view and man vi symlinks |
118 |
- remove_symlinks() { |
119 |
-- rm -f "${ROOT}"/usr/bin/{vi,ex,view} &>/dev/null && \ |
120 |
-- rm -f "${ROOT}"/usr/share/man/man1/{vi,ex,view}.1{,.gz,.bz2,.lzma} &>/dev/null |
121 |
-+ rm -f "${EROOT}"/usr/bin/{vi,ex,view} &>/dev/null && \ |
122 |
-+ rm -f "${EROOT}"/usr/share/man/man1/{vi,ex,view}.1{,.gz,.bz2,.lzma} &>/dev/null |
123 |
- } |
124 |
- |
125 |
- # set a man page symlink |
126 |
-@@ -37,7 +37,7 @@ |
127 |
- local target="${1}" link_name="${2}" x extension |
128 |
- |
129 |
- for x in ".1" ".1.bz2" ".1.gz" ".1.lzma" ; do |
130 |
-- if [[ -e /usr/share/man/man1/${target}${x} ]] ; then |
131 |
-+ if [[ -e ${EROOT}/usr/share/man/man1/${target}${x} ]] ; then |
132 |
- extension="${x}" |
133 |
- break |
134 |
- fi |
135 |
-@@ -49,7 +49,7 @@ |
136 |
- fi |
137 |
- |
138 |
- ln -s "${target}${extension}" \ |
139 |
-- "${ROOT}/usr/share/man/man1/${link_name}${extension}" |
140 |
-+ "${EROOT}/usr/share/man/man1/${link_name}${extension}" |
141 |
- } |
142 |
- |
143 |
- # set the vi, ex, view, and man vi symlinks |
144 |
-@@ -62,9 +62,9 @@ |
145 |
- |
146 |
- local dir |
147 |
- if [[ ${target} == "busybox" ]]; then |
148 |
-- dir="${ROOT}/bin" |
149 |
-+ dir="${EROOT}/bin" |
150 |
- else |
151 |
-- dir="${ROOT}/usr/bin" |
152 |
-+ dir="${EROOT}/usr/bin" |
153 |
- fi |
154 |
- |
155 |
- if [[ -f "${dir}/${target}" ]] ; then |
156 |
-@@ -76,12 +76,12 @@ |
157 |
- set_man_symlink "${target}" "view" |
158 |
- |
159 |
- # it's not okay if these fail |
160 |
-- target=$(relative_name "${dir}/${target}" "${ROOT}/usr/bin") |
161 |
-- ln -s "${target}" "${ROOT}/usr/bin/vi" \ |
162 |
-+ target=$(relative_name "${dir}/${target}" "${EROOT}/usr/bin") |
163 |
-+ ln -s "${target}" "${EROOT}/usr/bin/vi" \ |
164 |
- || die "Couldn't set ${target} /usr/bin/vi symlink" |
165 |
-- ln -s "${target}" "${ROOT}/usr/bin/ex" \ |
166 |
-+ ln -s "${target}" "${EROOT}/usr/bin/ex" \ |
167 |
- || die "Couldn't set ${target} /usr/bin/ex symlink" |
168 |
-- ln -s "${target}" "${ROOT}/usr/bin/view" \ |
169 |
-+ ln -s "${target}" "${EROOT}/usr/bin/view" \ |
170 |
- || die "Couldn't set ${target} /usr/bin/view symlink" |
171 |
- else |
172 |
- die -q "Target \"${1}\" doesn't appear to be valid!" |
173 |
-@@ -98,9 +98,9 @@ |
174 |
- [[ -z "${@}" ]] || die -q "Too many parameters" |
175 |
- |
176 |
- write_list_start "Current vi implementation:" |
177 |
-- if [[ -L "${ROOT}/usr/bin/vi" ]] ; then |
178 |
-- write_kv_list_entry "$(basename $(canonicalise ${ROOT}/usr/bin/vi ) )" "" |
179 |
-- elif [[ -e "${ROOT}/usr/bin/vi" ]] ; then |
180 |
-+ if [[ -L "${EROOT}/usr/bin/vi" ]] ; then |
181 |
-+ write_kv_list_entry "$(basename $(canonicalise ${EROOT}/usr/bin/vi ) )" "" |
182 |
-+ elif [[ -e "${EROOT}/usr/bin/vi" ]] ; then |
183 |
- write_kv_list_entry "(not a symlink)" "" |
184 |
- else |
185 |
- write_kv_list_entry "(unset)" "" |
186 |
-@@ -120,7 +120,7 @@ |
187 |
- targets=( $(find_targets ) ) |
188 |
- for (( i = 0; i < ${#targets[@]}; i++ )); do |
189 |
- [[ ${targets[i]} = \ |
190 |
-- $(basename "$(canonicalise "${ROOT}/usr/bin/vi")") ]] \ |
191 |
-+ $(basename "$(canonicalise "${EROOT}/usr/bin/vi")") ]] \ |
192 |
- && targets[i]=$(highlight_marker "${targets[i]}") |
193 |
- done |
194 |
- write_list_start "Available vi implementations:" |
195 |
-@@ -148,15 +148,15 @@ |
196 |
- elif [[ -n "${2}" ]] ; then |
197 |
- die -q "Too many parameters" |
198 |
- |
199 |
-- elif [[ -L "${ROOT}/usr/bin/vi" ]] ; then |
200 |
-+ elif [[ -L "${EROOT}/usr/bin/vi" ]] ; then |
201 |
- if ! remove_symlinks ; then |
202 |
- die -q "Can't remove existing provider" |
203 |
- elif ! set_symlinks "${1}" ; then |
204 |
- die -q "Can't set new provider" |
205 |
- fi |
206 |
- |
207 |
-- elif [[ -e "${ROOT}/usr/bin/vi" ]] ; then |
208 |
-- die -q "Sorry, ${ROOT}/usr/bin/vi confuses me" |
209 |
-+ elif [[ -e "${EROOT}/usr/bin/vi" ]] ; then |
210 |
-+ die -q "Sorry, ${EROOT}/usr/bin/vi confuses me" |
211 |
- |
212 |
- else |
213 |
- set_symlinks "${1}" || die -q "Can't set a new provider" |
214 |
-@@ -177,11 +177,11 @@ |
215 |
- [[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \ |
216 |
- die -q "Usage error" |
217 |
- |
218 |
-- if [[ -L "${ROOT}/usr/bin/vi" ]] ; then |
219 |
-+ if [[ -L "${EROOT}/usr/bin/vi" ]] ; then |
220 |
- [[ ${1} == "--if-unset" ]] && return |
221 |
- remove_symlinks || die -q "Can't remove existing link" |
222 |
- fi |
223 |
-- if [[ -e "${ROOT}/usr/bin/vi" ]] ; then |
224 |
-+ if [[ -e "${EROOT}/usr/bin/vi" ]] ; then |
225 |
- die -q "Can't set a new provider" |
226 |
- elif ! [[ -z $(find_targets ) ]] ; then |
227 |
- set_symlinks 1 || die -q "Can't set a new provider" |