Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/
Date: Thu, 20 Sep 2018 05:31:39
Message-Id: 1537421453.1fe6e7b07f4f18985b3da9f38c08f6e502f947b8.radhermit@gentoo
1 commit: 1fe6e7b07f4f18985b3da9f38c08f6e502f947b8
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 20 05:28:49 2018 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 20 05:30:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fe6e7b0
7
8 app-editors/vim-core: remove old
9
10 app-editors/vim-core/Manifest | 2 -
11 app-editors/vim-core/vim-core-8.0.1428.ebuild | 214 --------------------------
12 app-editors/vim-core/vim-core-8.0.1645.ebuild | 214 --------------------------
13 3 files changed, 430 deletions(-)
14
15 diff --git a/app-editors/vim-core/Manifest b/app-editors/vim-core/Manifest
16 index 4bc82fa45ce..100f5698d8f 100644
17 --- a/app-editors/vim-core/Manifest
18 +++ b/app-editors/vim-core/Manifest
19 @@ -1,7 +1,5 @@
20 DIST vim-8.0.0938-gentoo-patches.tar.bz2 2316 BLAKE2B 05a87f32fc5cc65e7f5e4e5a87c654b2040ad39f1555ddde7e0e6f473dc8b520916a795406bb6bbeaf5e7ae8748aacebe7a9679461e48802e69417e945eea827 SHA512 a6062be5e6a5c5b437081312df5742353242b5171bf26da04aa6ca216d2b142b2411a88bc1edd460d28e00a59a210c8e1729e801fac6f1efd86bb2e437a56a2b
21 DIST vim-8.0.1298.tar.gz 13395459 BLAKE2B 4b6e3c4443cd675dc3727e8609b89c422f66c7d32908b5136ee312d48427568a8236214c85135242269b6575e0e1336b0973395a6372664435f8bae4d7bee843 SHA512 7704c493359c1a922f876e4d6f3b4ad265d8ce974a59d51a39e5a4424251105250ffc803bcf6c6750daeb5e6376cbbfd24557b075eacf2b0274d7c432db2f681
22 -DIST vim-8.0.1428.tar.gz 13415243 BLAKE2B 88f86c371d0a644212b9e4dc1a15d61244847037f36262a225c361bfc2799b741c128de21ac92bb3fb4a4955894e46d34dc01baa7cbf58f1371d772b36887103 SHA512 f635c53c7e2ca808dc1cb424e6e4b16d8c41c66a86c3c7584444dab3d2482904795fea7c071d65862ae6ac6b2b66b7ad5ac832e1e30f4624d46f220c6f41e2e9
23 -DIST vim-8.0.1645.tar.gz 13535252 BLAKE2B a5c7463e85eed12825bdf46d15eb7e7513d62831eba76cbb90af875010b33662b7a6ef2c4c5cecddface415d75e97caf0a670e69835ecd3b4a89704f3b18b905 SHA512 367b9e205e776f84fcfbb92725afd5e7aa66898110d46dbea1a33f7b74c239559e829b5104c45360539c8f2b23c375ed59ccea7ee35a5dd10770400d9a7be085
24 DIST vim-8.0.1699.tar.gz 13546105 BLAKE2B cabf29d5a89c55e2fe3bc5e39eb499412f5907ddf856f8644b466f1e0fbffefff3cd801b6bc5e49e62ffdf8805b0556058b9a913015a9f9fbe1a4f580132fd49 SHA512 b0fe8e1dc05fdc3758896caf4746da40988ca7604d77dbe78c47525cbf8f0d7e6c05f690687268eda581009050d4e02e93fb4d30734cbbab4cfd6a8a1488c1e7
25 DIST vim-8.1.0034.tar.gz 13652586 BLAKE2B 98dac6b37c04ea8c15f0b0e2e4145d6529138e0532e92751fd07be04a2180519135d386dfc19e7f12c8eb37b3e15ee81ba357680d453afab56d96299b69cb511 SHA512 b2b85035c6c60a09e903d8f6deb500e42ab8bfc2f9a5b959d0055a8e02dab3a91d5460fd5028e6634c5ef6ab034186b7155e341fa25e84b9851290708e892d19
26 DIST vim-8.1.0412.tar.gz 13857501 BLAKE2B 6925184359b8b36cb546c9fcba4bb01755455aa87171ea7328ece411a5a5ced45096b8bef8561059bbff9a3ade565e0648fd18dd091d6faad0eb8a67321337a5 SHA512 3f458c039a636d7d3e398f8aa9cba4b4ae650c00038618c4776959b6feb0a1e3ac56be2912c3d85cba8e8f301661a62d71acd34a4dd75dc4dc000a94bf1b237e
27
28 diff --git a/app-editors/vim-core/vim-core-8.0.1428.ebuild b/app-editors/vim-core/vim-core-8.0.1428.ebuild
29 deleted file mode 100644
30 index 004a0a1c69e..00000000000
31 --- a/app-editors/vim-core/vim-core-8.0.1428.ebuild
32 +++ /dev/null
33 @@ -1,214 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -VIM_VERSION="8.0"
39 -inherit estack vim-doc flag-o-matic versionator bash-completion-r1 prefix
40 -
41 -if [[ ${PV} == 9999* ]] ; then
42 - inherit git-r3
43 - EGIT_REPO_URI="https://github.com/vim/vim.git"
44 - EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
45 -else
46 - SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
47 - https://dev.gentoo.org/~radhermit/vim/vim-8.0.0938-gentoo-patches.tar.bz2"
48 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~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"
49 -fi
50 -
51 -DESCRIPTION="vim and gvim shared files"
52 -HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
53 -
54 -SLOT="0"
55 -LICENSE="vim"
56 -IUSE="nls acl minimal"
57 -
58 -DEPEND="sys-devel/autoconf"
59 -PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
60 -
61 -S=${WORKDIR}/vim-${PV}
62 -
63 -pkg_setup() {
64 - # people with broken alphabets run into trouble. bug 82186.
65 - unset LANG LC_ALL
66 - export LC_COLLATE="C"
67 -
68 - # Gnome sandbox silliness. bug #114475.
69 - mkdir -p "${T}"/home || die "mkdir -p failed"
70 - export HOME="${T}"/home
71 -}
72 -
73 -src_prepare() {
74 - if [[ ${PV} != 9999* ]] ; then
75 - # Gentoo patches to fix runtime issues, cross-compile errors, etc
76 - eapply "${WORKDIR}"/patches
77 - fi
78 -
79 - # Fixup a script to use awk instead of nawk
80 - sed -i \
81 - -e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
82 - "${S}"/runtime/tools/mve.awk || die "sed failed"
83 -
84 - # See #77841. We remove this file after the tarball extraction.
85 - rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed"
86 -
87 - # Read vimrc and gvimrc from /etc/vim
88 - echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
89 - echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
90 -
91 - # Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
92 - # Hopefully this pattern won't break for a while at least.
93 - # This fixes bug 29398 (27 Sep 2003 agriffis)
94 - sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
95 - "${S}"/runtime/doc/syntax.txt \
96 - "${S}"/runtime/doc/tagsrch.txt \
97 - "${S}"/runtime/doc/usr_29.txt \
98 - "${S}"/runtime/menu.vim \
99 - "${S}"/src/configure.ac || die 'sed failed'
100 -
101 - # Don't be fooled by /usr/include/libc.h. When found, vim thinks
102 - # this is NeXT, but it's actually just a file in dev-libs/9libs
103 - # This fixes bug 43885 (20 Mar 2004 agriffis)
104 - sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
105 -
106 - # gcc on sparc32 has this, uhm, interesting problem with detecting EOF
107 - # correctly. To avoid some really entertaining error messages about stuff
108 - # which isn't even in the source file being invalid, we'll do some trickery
109 - # to make the error never occur. bug 66162 (02 October 2004 ciaranm)
110 - find "${S}" -name '*.c' | while read c; do
111 - echo >> "$c" || die "echo failed"
112 - done
113 -
114 - # Try to avoid sandbox problems. Bug #114475.
115 - if [[ -d "${S}"/src/po ]]; then
116 - sed -i -e \
117 - '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
118 - "${S}"/src/po/Makefile || die "sed failed"
119 - fi
120 -
121 - cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
122 -
123 - # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
124 - sed -i -e \
125 - "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
126 - "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
127 -
128 - eapply_user
129 -}
130 -
131 -src_configure() {
132 - local myconf
133 -
134 - # Fix bug 37354: Disallow -funroll-all-loops on amd64
135 - # Bug 57859 suggests that we want to do this for all archs
136 - filter-flags -funroll-all-loops
137 -
138 - # Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
139 - # everyone since previous flag filtering bugs have turned out to affect
140 - # multiple archs...
141 - replace-flags -O3 -O2
142 -
143 - # Fix bug 18245: Prevent "make" from the following chain:
144 - # (1) Notice configure.ac is newer than auto/configure
145 - # (2) Rebuild auto/configure
146 - # (3) Notice auto/configure is newer than auto/config.mk
147 - # (4) Run ./configure (with wrong args) to remake auto/config.mk
148 - sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
149 -
150 - # Remove src/auto/configure file.
151 - rm -v src/auto/configure || die "rm configure failed"
152 -
153 - emake -j1 -C src autoconf
154 -
155 - # This should fix a sandbox violation (see bug 24447). The hvc
156 - # things are for ppc64, see bug 86433.
157 - for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
158 - if [[ -e "${file}" ]]; then
159 - addwrite $file
160 - fi
161 - done
162 -
163 - # Let Portage do the stripping. Some people like that.
164 - export ac_cv_prog_STRIP="$(type -P true ) faking strip"
165 -
166 - # Keep Gentoo Prefix env contained within the EPREFIX
167 - use prefix && myconf+=" --without-local-dir"
168 -
169 - econf \
170 - --with-modified-by=Gentoo-${PVR} \
171 - --enable-gui=no \
172 - --without-x \
173 - --disable-darwin \
174 - --disable-perlinterp \
175 - --disable-pythoninterp \
176 - --disable-rubyinterp \
177 - --disable-gpm \
178 - --disable-selinux \
179 - $(use_enable nls) \
180 - $(use_enable acl) \
181 - ${myconf}
182 -}
183 -
184 -src_compile() {
185 - emake -j1 -C src auto/osdef.h objects
186 - emake tools
187 -}
188 -
189 -src_test() { :; }
190 -
191 -src_install() {
192 - local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
193 -
194 - dodir /usr/{bin,share/{man/man1,vim}}
195 - emake -C src \
196 - installruntime \
197 - installmanlinks \
198 - installmacros \
199 - installtutor \
200 - installtutorbin \
201 - installtools \
202 - install-languages \
203 - DESTDIR="${D}" \
204 - BINDIR="${EPREFIX}"/usr/bin \
205 - MANDIR="${EPREFIX}"/usr/share/man \
206 - DATADIR="${EPREFIX}"/usr/share
207 -
208 - keepdir ${vimfiles}/keymap
209 -
210 - # default vimrc is installed by vim-core since it applies to
211 - # both vim and gvim
212 - insinto /etc/vim/
213 - newins "${FILESDIR}"/vimrc-r5 vimrc
214 - eprefixify "${ED}"/etc/vim/vimrc
215 -
216 - if use minimal; then
217 - # To save space, install only a subset of the files.
218 - # Helps minimalize the livecd, bug 65144.
219 - eshopts_push -s extglob
220 -
221 - rm -rv "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} || die "rm failed"
222 - rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
223 - rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
224 -
225 - local keep_colors="default"
226 - ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
227 -
228 - local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
229 - # tinkering with the next line might make bad things happen ...
230 - keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
231 - ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
232 -
233 - eshopts_pop
234 - fi
235 -
236 - newbashcomp "${FILESDIR}"/xxd-completion xxd
237 -}
238 -
239 -pkg_postinst() {
240 - # Update documentation tags (from vim-doc.eclass)
241 - update_vim_helptags
242 -}
243 -
244 -pkg_postrm() {
245 - # Update documentation tags (from vim-doc.eclass)
246 - update_vim_helptags
247 -}
248
249 diff --git a/app-editors/vim-core/vim-core-8.0.1645.ebuild b/app-editors/vim-core/vim-core-8.0.1645.ebuild
250 deleted file mode 100644
251 index 004a0a1c69e..00000000000
252 --- a/app-editors/vim-core/vim-core-8.0.1645.ebuild
253 +++ /dev/null
254 @@ -1,214 +0,0 @@
255 -# Copyright 1999-2018 Gentoo Foundation
256 -# Distributed under the terms of the GNU General Public License v2
257 -
258 -EAPI=6
259 -VIM_VERSION="8.0"
260 -inherit estack vim-doc flag-o-matic versionator bash-completion-r1 prefix
261 -
262 -if [[ ${PV} == 9999* ]] ; then
263 - inherit git-r3
264 - EGIT_REPO_URI="https://github.com/vim/vim.git"
265 - EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
266 -else
267 - SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
268 - https://dev.gentoo.org/~radhermit/vim/vim-8.0.0938-gentoo-patches.tar.bz2"
269 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~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"
270 -fi
271 -
272 -DESCRIPTION="vim and gvim shared files"
273 -HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
274 -
275 -SLOT="0"
276 -LICENSE="vim"
277 -IUSE="nls acl minimal"
278 -
279 -DEPEND="sys-devel/autoconf"
280 -PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
281 -
282 -S=${WORKDIR}/vim-${PV}
283 -
284 -pkg_setup() {
285 - # people with broken alphabets run into trouble. bug 82186.
286 - unset LANG LC_ALL
287 - export LC_COLLATE="C"
288 -
289 - # Gnome sandbox silliness. bug #114475.
290 - mkdir -p "${T}"/home || die "mkdir -p failed"
291 - export HOME="${T}"/home
292 -}
293 -
294 -src_prepare() {
295 - if [[ ${PV} != 9999* ]] ; then
296 - # Gentoo patches to fix runtime issues, cross-compile errors, etc
297 - eapply "${WORKDIR}"/patches
298 - fi
299 -
300 - # Fixup a script to use awk instead of nawk
301 - sed -i \
302 - -e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
303 - "${S}"/runtime/tools/mve.awk || die "sed failed"
304 -
305 - # See #77841. We remove this file after the tarball extraction.
306 - rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed"
307 -
308 - # Read vimrc and gvimrc from /etc/vim
309 - echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
310 - echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
311 -
312 - # Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
313 - # Hopefully this pattern won't break for a while at least.
314 - # This fixes bug 29398 (27 Sep 2003 agriffis)
315 - sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
316 - "${S}"/runtime/doc/syntax.txt \
317 - "${S}"/runtime/doc/tagsrch.txt \
318 - "${S}"/runtime/doc/usr_29.txt \
319 - "${S}"/runtime/menu.vim \
320 - "${S}"/src/configure.ac || die 'sed failed'
321 -
322 - # Don't be fooled by /usr/include/libc.h. When found, vim thinks
323 - # this is NeXT, but it's actually just a file in dev-libs/9libs
324 - # This fixes bug 43885 (20 Mar 2004 agriffis)
325 - sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
326 -
327 - # gcc on sparc32 has this, uhm, interesting problem with detecting EOF
328 - # correctly. To avoid some really entertaining error messages about stuff
329 - # which isn't even in the source file being invalid, we'll do some trickery
330 - # to make the error never occur. bug 66162 (02 October 2004 ciaranm)
331 - find "${S}" -name '*.c' | while read c; do
332 - echo >> "$c" || die "echo failed"
333 - done
334 -
335 - # Try to avoid sandbox problems. Bug #114475.
336 - if [[ -d "${S}"/src/po ]]; then
337 - sed -i -e \
338 - '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
339 - "${S}"/src/po/Makefile || die "sed failed"
340 - fi
341 -
342 - cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
343 -
344 - # Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
345 - sed -i -e \
346 - "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
347 - "${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
348 -
349 - eapply_user
350 -}
351 -
352 -src_configure() {
353 - local myconf
354 -
355 - # Fix bug 37354: Disallow -funroll-all-loops on amd64
356 - # Bug 57859 suggests that we want to do this for all archs
357 - filter-flags -funroll-all-loops
358 -
359 - # Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
360 - # everyone since previous flag filtering bugs have turned out to affect
361 - # multiple archs...
362 - replace-flags -O3 -O2
363 -
364 - # Fix bug 18245: Prevent "make" from the following chain:
365 - # (1) Notice configure.ac is newer than auto/configure
366 - # (2) Rebuild auto/configure
367 - # (3) Notice auto/configure is newer than auto/config.mk
368 - # (4) Run ./configure (with wrong args) to remake auto/config.mk
369 - sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
370 -
371 - # Remove src/auto/configure file.
372 - rm -v src/auto/configure || die "rm configure failed"
373 -
374 - emake -j1 -C src autoconf
375 -
376 - # This should fix a sandbox violation (see bug 24447). The hvc
377 - # things are for ppc64, see bug 86433.
378 - for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
379 - if [[ -e "${file}" ]]; then
380 - addwrite $file
381 - fi
382 - done
383 -
384 - # Let Portage do the stripping. Some people like that.
385 - export ac_cv_prog_STRIP="$(type -P true ) faking strip"
386 -
387 - # Keep Gentoo Prefix env contained within the EPREFIX
388 - use prefix && myconf+=" --without-local-dir"
389 -
390 - econf \
391 - --with-modified-by=Gentoo-${PVR} \
392 - --enable-gui=no \
393 - --without-x \
394 - --disable-darwin \
395 - --disable-perlinterp \
396 - --disable-pythoninterp \
397 - --disable-rubyinterp \
398 - --disable-gpm \
399 - --disable-selinux \
400 - $(use_enable nls) \
401 - $(use_enable acl) \
402 - ${myconf}
403 -}
404 -
405 -src_compile() {
406 - emake -j1 -C src auto/osdef.h objects
407 - emake tools
408 -}
409 -
410 -src_test() { :; }
411 -
412 -src_install() {
413 - local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
414 -
415 - dodir /usr/{bin,share/{man/man1,vim}}
416 - emake -C src \
417 - installruntime \
418 - installmanlinks \
419 - installmacros \
420 - installtutor \
421 - installtutorbin \
422 - installtools \
423 - install-languages \
424 - DESTDIR="${D}" \
425 - BINDIR="${EPREFIX}"/usr/bin \
426 - MANDIR="${EPREFIX}"/usr/share/man \
427 - DATADIR="${EPREFIX}"/usr/share
428 -
429 - keepdir ${vimfiles}/keymap
430 -
431 - # default vimrc is installed by vim-core since it applies to
432 - # both vim and gvim
433 - insinto /etc/vim/
434 - newins "${FILESDIR}"/vimrc-r5 vimrc
435 - eprefixify "${ED}"/etc/vim/vimrc
436 -
437 - if use minimal; then
438 - # To save space, install only a subset of the files.
439 - # Helps minimalize the livecd, bug 65144.
440 - eshopts_push -s extglob
441 -
442 - rm -rv "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} || die "rm failed"
443 - rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
444 - rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
445 -
446 - local keep_colors="default"
447 - ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
448 -
449 - local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
450 - # tinkering with the next line might make bad things happen ...
451 - keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
452 - ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
453 -
454 - eshopts_pop
455 - fi
456 -
457 - newbashcomp "${FILESDIR}"/xxd-completion xxd
458 -}
459 -
460 -pkg_postinst() {
461 - # Update documentation tags (from vim-doc.eclass)
462 - update_vim_helptags
463 -}
464 -
465 -pkg_postrm() {
466 - # Update documentation tags (from vim-doc.eclass)
467 - update_vim_helptags
468 -}