Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/ecb/
Date: Sat, 13 Oct 2018 09:48:01
Message-Id: 1539424049.6392582bd5d57bb2f28ac82d1ea3028723376b0e.ulm@gentoo
1 commit: 6392582bd5d57bb2f28ac82d1ea3028723376b0e
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 13 09:46:45 2018 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 13 09:47:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6392582b
7
8 app-emacs/ecb: New snapshot.
9
10 Thanks to Joakim Tjernlund in https://bugs.gentoo.org/667672#c4
11 for pointing out the changed location of the upstream repository.
12
13 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
14 Package-Manager: Portage-2.3.51, Repoman-2.3.11
15
16 app-emacs/ecb/Manifest | 1 +
17 app-emacs/ecb/ecb-2.50_pre20170728.ebuild | 49 +++++++++++++++++++++++++++++++
18 2 files changed, 50 insertions(+)
19
20 diff --git a/app-emacs/ecb/Manifest b/app-emacs/ecb/Manifest
21 index 2220bd521f5..fcd9bc97271 100644
22 --- a/app-emacs/ecb/Manifest
23 +++ b/app-emacs/ecb/Manifest
24 @@ -1 +1,2 @@
25 DIST ecb-2.41_pre20140215.tar.xz 565404 BLAKE2B 135aa4a71bb41e78933604c5e549d8a163715061c7946e90a115cf802499f9a78884e554cbf4fd4edc9b5856b1f32b3189eb3e1e2537b16e5dd57cfe3ccd1ee3 SHA512 bf87bdd38e7ddaeec044fc56d56f7c456ef0a1922f50b962f932bf739895f046387bab7a934439e749fd7e838d9f742938408f4f9cb47079440abd8c1ba181b6
26 +DIST ecb-2.50_pre20170728.tar.xz 562144 BLAKE2B 922a1f101d01717c5d078fbb055903c43e91360061b792e96e9aa9421d19df2cd47f7e69aae6dba4f188e26682d2a758ff8aa57ff500e5b6fdeaea6920b21a25 SHA512 074738cc323b595caf3d34d6eaa08d6a1a8d3a53762c9bf48b751ab25a16a26a8c71984996b7e7616f4999a0876c6d03751e1e45b68aad712020778da387a59d
27
28 diff --git a/app-emacs/ecb/ecb-2.50_pre20170728.ebuild b/app-emacs/ecb/ecb-2.50_pre20170728.ebuild
29 new file mode 100644
30 index 00000000000..15d6ed4c6d1
31 --- /dev/null
32 +++ b/app-emacs/ecb/ecb-2.50_pre20170728.ebuild
33 @@ -0,0 +1,49 @@
34 +# Copyright 1999-2018 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit elisp readme.gentoo-r1
40 +
41 +DESCRIPTION="Source code browser for Emacs"
42 +HOMEPAGE="http://ecb.sourceforge.net/"
43 +# snapshot of https://github.com/ecb-home/ecb.git, created with "make distrib"
44 +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
45 +
46 +LICENSE="GPL-2+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
49 +IUSE="java"
50 +
51 +RDEPEND="java? ( app-emacs/jde )"
52 +DEPEND="${RDEPEND}"
53 +
54 +S="${WORKDIR}/${PN}-${PV%_*}"
55 +SITEFILE="70${PN}-gentoo.el"
56 +DOC_CONTENTS="ECB is autoloaded in site-gentoo.el. Add the line
57 + \n\t(require 'ecb)
58 + \nto your ~/.emacs file to enable all features on Emacs startup."
59 +
60 +src_prepare() {
61 + eapply "${FILESDIR}"/${PN}-2.32-gentoo.patch
62 + sed -i -e "s:@PF@:${PF}:" ecb-help.el || die "sed failed"
63 + eapply_user
64 +}
65 +
66 +src_compile() {
67 + local loadpath
68 + use java && loadpath="${EPREFIX}${SITELISP}"/{elib,jde,jde/lisp}
69 + emake LOADPATH="${loadpath}"
70 +}
71 +
72 +src_install() {
73 + elisp_src_install
74 +
75 + insinto "${SITEETC}/${PN}"
76 + doins -r ecb-images
77 +
78 + doinfo info-help/ecb.info*
79 + dodoc NEWS README RELEASE_NOTES
80 + docinto html
81 + dodoc html-help/*.html
82 +}