Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/ledit/
Date: Wed, 01 Apr 2020 14:38:08
Message-Id: 1585751853.2b68d6d20c7935eb3da1411f04fcbdbb76f761c6.juippis@gentoo
1 commit: 2b68d6d20c7935eb3da1411f04fcbdbb76f761c6
2 Author: Łukasz Zubkowicz <lukasek86 <AT> gmail <DOT> com>
3 AuthorDate: Sun Mar 8 12:29:56 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 1 14:37:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b68d6d2
7
8 app-misc/ledit: version bump to 2.04
9
10 Closes: https://bugs.gentoo.org/705584
11 Package-Manager: Portage-2.3.89, Repoman-2.3.20
12 Signed-off-by: Łukasz Zubkowicz <lukasek86 <AT> gmail.com>
13 Closes: https://github.com/gentoo/gentoo/pull/14865
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 app-misc/ledit/Manifest | 1 +
17 app-misc/ledit/ledit-2.04.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
18 2 files changed, 40 insertions(+)
19
20 diff --git a/app-misc/ledit/Manifest b/app-misc/ledit/Manifest
21 index 1303c66dfbe..f20d2f02f04 100644
22 --- a/app-misc/ledit/Manifest
23 +++ b/app-misc/ledit/Manifest
24 @@ -1 +1,2 @@
25 DIST ledit-2.03.tgz 24319 BLAKE2B d0a9dfbcb21b54075b61db34035291eaf3df4a337ea9fcf24b8b163d8a45c00b667dd311f39765dc904cbae1ec34e8773dea4c7ec6753796e768a8ee4cbbb927 SHA512 94281ea31d02c046db73bed42a1835826f063ff5d1ff4c374356e37fdf6b1a018f95a6372ece0eec53193aaf2e95c234c509ac178541bfe48dbc6f223f34f661
26 +DIST ledit-2.04.tgz 24430 BLAKE2B 782f39606e6151307c30a665cfb6e641647fe861718ae304171db07ac82c27ee5ca9503229a27857723de98c15ac350f60be8df2e4b4fe7dc475ef2271dcf591 SHA512 56fed04fa6306b5550dc6ab4f000553d5b01eddbdeccaafad51160ba9e2c12de5faab08cb8463cad2952501c73dff0e2e214f52a30a74da20f18af153206b807
27
28 diff --git a/app-misc/ledit/ledit-2.04.ebuild b/app-misc/ledit/ledit-2.04.ebuild
29 new file mode 100644
30 index 00000000000..e987e9a7848
31 --- /dev/null
32 +++ b/app-misc/ledit/ledit-2.04.ebuild
33 @@ -0,0 +1,39 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +DESCRIPTION="A line editor to be used with interactive commands"
40 +SRC_URI="http://pauillac.inria.fr/~ddr/ledit/distrib/src/${P}.tgz"
41 +HOMEPAGE="http://pauillac.inria.fr/~ddr/ledit/"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~ppc ~x86"
46 +IUSE="+ocamlopt"
47 +RESTRICT="installsources !ocamlopt? ( strip )"
48 +
49 +DEPEND=">=dev-lang/ocaml-3.09:=[ocamlopt?]
50 + dev-ml/camlp5:="
51 +RDEPEND="${DEPEND}"
52 +
53 +# For explanation please follow the link below.
54 +# https://github.com/gentoo/gentoo/pull/14865#issuecomment-605697524
55 +QA_FLAGS_IGNORED="/usr/bin/ledit"
56 +
57 +src_compile() {
58 + emake -j1 all
59 + if use ocamlopt; then
60 + emake -j1 ledit.opt
61 + fi
62 +}
63 +
64 +src_install() {
65 + if use ocamlopt; then
66 + newbin ledit.opt ledit
67 + else
68 + newbin ledit.out ledit
69 + fi
70 + doman ledit.1
71 + dodoc CHANGES README
72 +}