Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ed/
Date: Mon, 07 Feb 2022 01:22:33
Message-Id: 1644196903.3e846fa4b82dbcba6025faffcde18ee6bdea4b3c.sam@gentoo
1 commit: 3e846fa4b82dbcba6025faffcde18ee6bdea4b3c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 7 01:17:48 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 01:21:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e846fa4
7
8 sys-apps/ed: add 1.18
9
10 Go back to using lzip. Upstream only provide lzip archives (and
11 indeed the maintainer of ed is the maintainer of lzip) and repacking
12 to avoid a BDEPEND for a relatively unpopular package is overkill.
13
14 Bug: https://bugs.gentoo.org/545344
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 sys-apps/ed/Manifest | 1 +
18 sys-apps/ed/ed-1.18.ebuild | 32 ++++++++++++++++++++++++++++++++
19 2 files changed, 33 insertions(+)
20
21 diff --git a/sys-apps/ed/Manifest b/sys-apps/ed/Manifest
22 index 7d34d8566af4..f23f3129b7e6 100644
23 --- a/sys-apps/ed/Manifest
24 +++ b/sys-apps/ed/Manifest
25 @@ -1 +1,2 @@
26 DIST ed-1.17.tar.xz 68516 BLAKE2B 975e6547f0062dc980bf4490bbbc98e0ac77fc18b2960e18a4c86a6c9190dbd6e1afb155678a1b7d891dc6cb1c5f5c07612365bbf3ffae15bf7575989e4b67d7 SHA512 ebe755ea7d12a7f54379ad8e03b703e9c0dd9aec26b4a79e5014db4368ab2d2926ae094f2ef1aef90cc9b2d541746a81af472578fa44cdf5bfe78aff5882451d
27 +DIST ed-1.18.tar.lz 66019 BLAKE2B 9f2b6f00e65dc8a13dd9eba4dfae5ad1e6e3c3ffe623c8b2cc2db78e221ba140595658fd710e4651165a2475a9ed673c9f230fab64f22a7a9488973b5e227198 SHA512 e5dac94697d63fb90cc17e3e653fa56309e9652cc25b2e98a0e21f1ed41e38c48bc33b5fc746275a59e702d1644d3af88f3d82598b482f7309f4e68aab783286
28
29 diff --git a/sys-apps/ed/ed-1.18.ebuild b/sys-apps/ed/ed-1.18.ebuild
30 new file mode 100644
31 index 000000000000..701bffec7605
32 --- /dev/null
33 +++ b/sys-apps/ed/ed-1.18.ebuild
34 @@ -0,0 +1,32 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI="7"
39 +
40 +inherit toolchain-funcs unpacker
41 +
42 +MY_P="${PN}-${PV/_/-}"
43 +
44 +DESCRIPTION="Your basic line editor"
45 +HOMEPAGE="https://www.gnu.org/software/ed/"
46 +SRC_URI="mirror://gnu/ed/${P}.tar.lz"
47 +S="${WORKDIR}"/${MY_P}
48 +
49 +LICENSE="GPL-2+"
50 +SLOT="0"
51 +if [[ "${PV}" != *_rc* ]] ; then
52 + 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"
53 +fi
54 +
55 +BDEPEND="sys-apps/texinfo
56 + $(unpacker_src_uri_depends)"
57 +
58 +src_configure() {
59 + ./configure \
60 + CC="$(tc-getCC)" \
61 + CFLAGS="${CFLAGS}" \
62 + LDFLAGS="${LDFLAGS}" \
63 + CPPFLAGS="${CPPFLAGS}" \
64 + --bindir="${EPREFIX}/bin" \
65 + --prefix="${EPREFIX}/usr" || die
66 +}