Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vim/
Date: Fri, 29 Oct 2021 13:02:55
Message-Id: 1635512556.d89e304ab79ba5080d76cfc2e5013f1f4534c315.sam@gentoo
1 commit: d89e304ab79ba5080d76cfc2e5013f1f4534c315
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 29 12:51:39 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 29 13:02:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89e304a
7
8 app-editors/vim: add 8.2.3567
9
10 Bug: https://bugs.gentoo.org/820692
11 Bug: https://bugs.gentoo.org/819528
12 Bug: https://bugs.gentoo.org/818562
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 app-editors/vim/Manifest | 1 +
16 .../vim/{vim-9999.ebuild => vim-8.2.3567.ebuild} | 32 ++++++++++++----------
17 app-editors/vim/vim-9999.ebuild | 32 ++++++++++++----------
18 3 files changed, 35 insertions(+), 30 deletions(-)
19
20 diff --git a/app-editors/vim/Manifest b/app-editors/vim/Manifest
21 index ba93bb167e0..ae2d02673ba 100644
22 --- a/app-editors/vim/Manifest
23 +++ b/app-editors/vim/Manifest
24 @@ -1,3 +1,4 @@
25 DIST vim-8.2.0360-gentoo-patches.tar.xz 2612 BLAKE2B a9273a686b31dd873b25bfc07f7bc254f11038bde275ae4e6f56513a14e0268fdc1032ae847d1d7f8539f8a657217011770ccb4685998f34722383ec7bfb1a15 SHA512 00bc8eb8b20a4a6f3bbd179bb90d42fa6727c8eaae5b625e95e52c33638d456ef36d06b51c542ecaffb237c0b4f7aa72dc3bae7fe00144d55ab0d2fa51950f3b
26 DIST vim-8.2.0814.tar.gz 14953478 BLAKE2B fd4155ec749bd9a705e8114ff7f8cc321182c9286733ff2f665e265ec0af830f9e70c730b8d0215f6db1f73a8e2f878d22932a72c8dbfe921591be7adcdaab00 SHA512 4ddd9e2d30719f931cadd1a4de5700736f641f4b074378d9ea1462a90b81975ce8e8c3ca2e3a1e15ac0288824eef5b0f0a3e31482f7637c450c6d7e52c8f40d2
27 DIST vim-8.2.3428.tar.gz 15715383 BLAKE2B 865842bae0de25c34f255085f6edfe35b6905e220bdcb76372d7289ef1f6c2b2dee2f88e4a5f849d43fa560db4ade1e8e498d86f5651c5218d9153cde5ecddd3 SHA512 7cb473afa0ad6a9728dfc2f7d8ca19a21de329c4790141c7cb815b71c07e92a1ce04a5fcc2a0381c4beb304670d6c08629dc2ed2cb0842998cca2fd846c8cd6b
28 +DIST vim-8.2.3567.tar.gz 15771981 BLAKE2B 5a10ce998769b73a9c3b30fccb84e90eef8242d04e52b1cf475af777233ac774a6e5ec8c2aa09cadfe2db747b485fcc26d1d953017df4bb459d8a427715a3048 SHA512 f1b5debc77d5392966d168974eab7faae99082509a8148ea212e8e06ae980d9a2652ac77547d77d10953119527f68c633440cf813bb6dec8e259b7628af93af6
29
30 diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-8.2.3567.ebuild
31 similarity index 94%
32 copy from app-editors/vim/vim-9999.ebuild
33 copy to app-editors/vim/vim-8.2.3567.ebuild
34 index 0da72544559..e95a8438fc8 100644
35 --- a/app-editors/vim/vim-9999.ebuild
36 +++ b/app-editors/vim/vim-8.2.3567.ebuild
37 @@ -2,6 +2,9 @@
38 # Distributed under the terms of the GNU General Public License v2
39
40 EAPI=7
41 +
42 +# Please bump with app-editors/vim-core and app-editors/gvim
43 +
44 VIM_VERSION="8.2"
45 LUA_COMPAT=( lua5-1 luajit )
46 PYTHON_COMPAT=( python3_{7..10} )
47 @@ -22,8 +25,8 @@ fi
48 DESCRIPTION="Vim, an improved vi-style text editor"
49 HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
50
51 -SLOT="0"
52 LICENSE="vim"
53 +SLOT="0"
54 IUSE="X acl crypt cscope debug gpm lua minimal nls perl python racket ruby selinux sound tcl terminal vim-pager"
55 REQUIRED_USE="
56 lua? ( ${LUA_REQUIRED_USE} )
57 @@ -53,17 +56,16 @@ RDEPEND="
58 tcl? ( dev-lang/tcl:0= )
59 X? ( x11-libs/libXt )
60 "
61 -
62 -DEPEND="
63 - ${RDEPEND}
64 +DEPEND="${RDEPEND}"
65 +# configure runs the Lua interpreter
66 +BDEPEND="
67 sys-devel/autoconf
68 + lua? ( ${LUA_DEPS} )
69 nls? ( sys-devel/gettext )
70 "
71 -# configure runs the Lua interpreter
72 -BDEPEND="lua? ( ${LUA_DEPS} )"
73
74 pkg_setup() {
75 - # people with broken alphabets run into trouble. bug 82186.
76 + # people with broken alphabets run into trouble. bug #82186.
77 unset LANG LC_ALL
78 export LC_COLLATE="C"
79
80 @@ -94,7 +96,7 @@ src_prepare() {
81
82 # Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
83 # Hopefully this pattern won't break for a while at least.
84 - # This fixes bug 29398 (27 Sep 2003 agriffis)
85 + # This fixes bug #29398 (27 Sep 2003 agriffis)
86 sed -i -e \
87 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
88 "${S}"/runtime/doc/syntax.txt \
89 @@ -105,7 +107,7 @@ src_prepare() {
90
91 # Don't be fooled by /usr/include/libc.h. When found, vim thinks
92 # this is NeXT, but it's actually just a file in dev-libs/9libs
93 - # This fixes bug 43885 (20 Mar 2004 agriffis)
94 + # This fixes bug #43885 (20 Mar 2004 agriffis)
95 sed -i -e \
96 's/ libc\.h / /' \
97 "${S}"/src/configure.ac || die 'sed failed'
98 @@ -150,8 +152,8 @@ src_prepare() {
99 src_configure() {
100 local myconf=()
101
102 - # Fix bug 37354: Disallow -funroll-all-loops on amd64
103 - # Bug 57859 suggests that we want to do this for all archs
104 + # Fix bug #37354: Disallow -funroll-all-loops on amd64
105 + # Bug #57859 suggests that we want to do this for all archs
106 filter-flags -funroll-all-loops
107
108 # Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
109 @@ -168,11 +170,11 @@ src_configure() {
110 rm src/auto/configure || die "rm failed"
111 emake -j1 -C src autoconf
112
113 - # This should fix a sandbox violation (see bug 24447). The hvc
114 - # things are for ppc64, see bug 86433.
115 + # This should fix a sandbox violation (see bug #24447). The hvc
116 + # things are for ppc64, see bug #86433.
117 for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
118 if [[ -e "${file}" ]]; then
119 - addwrite $file
120 + addwrite ${file}
121 fi
122 done
123
124 @@ -288,7 +290,7 @@ src_test() {
125 }
126
127 # Call eselect vi update with --if-unset
128 -# to respect user's choice (bug 187449)
129 +# to respect user's choice (bug #187449)
130 eselect_vi_update() {
131 einfo "Calling eselect vi update..."
132 eselect vi update --if-unset
133
134 diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-9999.ebuild
135 index 0da72544559..e95a8438fc8 100644
136 --- a/app-editors/vim/vim-9999.ebuild
137 +++ b/app-editors/vim/vim-9999.ebuild
138 @@ -2,6 +2,9 @@
139 # Distributed under the terms of the GNU General Public License v2
140
141 EAPI=7
142 +
143 +# Please bump with app-editors/vim-core and app-editors/gvim
144 +
145 VIM_VERSION="8.2"
146 LUA_COMPAT=( lua5-1 luajit )
147 PYTHON_COMPAT=( python3_{7..10} )
148 @@ -22,8 +25,8 @@ fi
149 DESCRIPTION="Vim, an improved vi-style text editor"
150 HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
151
152 -SLOT="0"
153 LICENSE="vim"
154 +SLOT="0"
155 IUSE="X acl crypt cscope debug gpm lua minimal nls perl python racket ruby selinux sound tcl terminal vim-pager"
156 REQUIRED_USE="
157 lua? ( ${LUA_REQUIRED_USE} )
158 @@ -53,17 +56,16 @@ RDEPEND="
159 tcl? ( dev-lang/tcl:0= )
160 X? ( x11-libs/libXt )
161 "
162 -
163 -DEPEND="
164 - ${RDEPEND}
165 +DEPEND="${RDEPEND}"
166 +# configure runs the Lua interpreter
167 +BDEPEND="
168 sys-devel/autoconf
169 + lua? ( ${LUA_DEPS} )
170 nls? ( sys-devel/gettext )
171 "
172 -# configure runs the Lua interpreter
173 -BDEPEND="lua? ( ${LUA_DEPS} )"
174
175 pkg_setup() {
176 - # people with broken alphabets run into trouble. bug 82186.
177 + # people with broken alphabets run into trouble. bug #82186.
178 unset LANG LC_ALL
179 export LC_COLLATE="C"
180
181 @@ -94,7 +96,7 @@ src_prepare() {
182
183 # Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
184 # Hopefully this pattern won't break for a while at least.
185 - # This fixes bug 29398 (27 Sep 2003 agriffis)
186 + # This fixes bug #29398 (27 Sep 2003 agriffis)
187 sed -i -e \
188 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
189 "${S}"/runtime/doc/syntax.txt \
190 @@ -105,7 +107,7 @@ src_prepare() {
191
192 # Don't be fooled by /usr/include/libc.h. When found, vim thinks
193 # this is NeXT, but it's actually just a file in dev-libs/9libs
194 - # This fixes bug 43885 (20 Mar 2004 agriffis)
195 + # This fixes bug #43885 (20 Mar 2004 agriffis)
196 sed -i -e \
197 's/ libc\.h / /' \
198 "${S}"/src/configure.ac || die 'sed failed'
199 @@ -150,8 +152,8 @@ src_prepare() {
200 src_configure() {
201 local myconf=()
202
203 - # Fix bug 37354: Disallow -funroll-all-loops on amd64
204 - # Bug 57859 suggests that we want to do this for all archs
205 + # Fix bug #37354: Disallow -funroll-all-loops on amd64
206 + # Bug #57859 suggests that we want to do this for all archs
207 filter-flags -funroll-all-loops
208
209 # Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
210 @@ -168,11 +170,11 @@ src_configure() {
211 rm src/auto/configure || die "rm failed"
212 emake -j1 -C src autoconf
213
214 - # This should fix a sandbox violation (see bug 24447). The hvc
215 - # things are for ppc64, see bug 86433.
216 + # This should fix a sandbox violation (see bug #24447). The hvc
217 + # things are for ppc64, see bug #86433.
218 for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
219 if [[ -e "${file}" ]]; then
220 - addwrite $file
221 + addwrite ${file}
222 fi
223 done
224
225 @@ -288,7 +290,7 @@ src_test() {
226 }
227
228 # Call eselect vi update with --if-unset
229 -# to respect user's choice (bug 187449)
230 +# to respect user's choice (bug #187449)
231 eselect_vi_update() {
232 einfo "Calling eselect vi update..."
233 eselect vi update --if-unset