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/vile/
Date: Thu, 02 Jun 2022 02:36:41
Message-Id: 1654137389.fec19ee9b1f728502c2c78be492f8787d24a95ea.sam@gentoo
1 commit: fec19ee9b1f728502c2c78be492f8787d24a95ea
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 2 02:30:42 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 2 02:36:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec19ee9
7
8 app-editors/vile: add 9.8v
9
10 Still fails w/ Perl 5.36.
11
12 Bug: https://bugs.gentoo.org/848957
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 app-editors/vile/Manifest | 1 +
16 app-editors/vile/vile-9.8v.ebuild | 51 +++++++++++++++++++++++++++++++++++++++
17 2 files changed, 52 insertions(+)
18
19 diff --git a/app-editors/vile/Manifest b/app-editors/vile/Manifest
20 index 16b6f6700ba0..8e487d811dd2 100644
21 --- a/app-editors/vile/Manifest
22 +++ b/app-editors/vile/Manifest
23 @@ -1,2 +1,3 @@
24 DIST vile-9.8t.tgz 2352119 BLAKE2B fc1c75eba09e8be99945ba0d178fd150576d8108f906afb20dba265adaee9e5bea4869415d3ebceabf0b6b56c147add79e9c7e4fe34d7f4744930c3728e4a4a4 SHA512 4be4e37c7231395cae9236796073c2c3e428f1945283785a931c5d4cce94e0f970efa6634b0f9053679a00f4b4577704ea38ded2129e444b26ee9935a1c3d229
25 DIST vile-9.8u.tgz 2375989 BLAKE2B 86e2bb01fab7c429233484493aa33c0b807f7babedf6e69f4c526a6677471ff8e43287114073d22ebb229a801ef003779ab587c9a17474519148e1f64d58460e SHA512 fad06c8e341feec7e9aed1e53cd9a1e7fe79fdeb050aba743ac4edfb6096db88c1ef63377d6ecbeddd0eb8ad46a323bcc55d09b1ff221a75cd74a3f991e3f24d
26 +DIST vile-9.8v.tgz 2405398 BLAKE2B cd8753c57ff95c9b420026128fd19b7c689c99500da7cae91d3160dded46aa101b0cae32daeaf0377d4d72a5e526e8e4f25422bbbff2cc5ecdef10b7f04c8b39 SHA512 b752f26148bd4411ab6b31697459a16d8168f79ffad6b3509d6cf5d40611176b833e56f4bac21fe18ecdd256be467ba96ea98149daceab671002df49508eb8d2
27
28 diff --git a/app-editors/vile/vile-9.8v.ebuild b/app-editors/vile/vile-9.8v.ebuild
29 new file mode 100644
30 index 000000000000..60b94f7129b1
31 --- /dev/null
32 +++ b/app-editors/vile/vile-9.8v.ebuild
33 @@ -0,0 +1,51 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +# Bump with app-editors/xvile
40 +
41 +DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone"
42 +HOMEPAGE="https://invisible-island.net/vile/"
43 +SRC_URI="https://invisible-island.net/archives/vile/current/${P}.tgz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
48 +IUSE="perl iconv"
49 +
50 +RDEPEND=">=sys-libs/ncurses-5.2:=
51 + virtual/libcrypt:=
52 + iconv? ( virtual/libiconv )
53 + perl? ( dev-lang/perl:= )"
54 +DEPEND="${RDEPEND}"
55 +BDEPEND="sys-devel/flex
56 + virtual/pkgconfig"
57 +IDEPEND="app-eselect/eselect-vi"
58 +
59 +src_configure() {
60 + econf \
61 + --disable-stripping \
62 + --with-ncurses \
63 + --with-pkg-config \
64 + $(use_with iconv) \
65 + $(use_with perl)
66 +}
67 +
68 +src_install() {
69 + emake DESTDIR="${D}" install
70 +
71 + dodoc CHANGES* README doc/*.doc
72 + docinto html
73 + dodoc doc/*.html
74 +}
75 +
76 +pkg_postinst() {
77 + einfo "Updating ${EPREFIX}/usr/bin/vi symlink"
78 + eselect vi update --if-unset
79 +}
80 +
81 +pkg_postrm() {
82 + einfo "Updating ${EPREFIX}/usr/bin/vi symlink"
83 + eselect vi update --if-unset
84 +}