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/magit/
Date: Tue, 27 Oct 2015 08:30:22
Message-Id: 1445934539.c60fc965caf134b046403fae7ff511bdd4928d9d.ulm@gentoo
1 commit: c60fc965caf134b046403fae7ff511bdd4928d9d
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 27 08:27:34 2015 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 27 08:28:59 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60fc965
7
8 app-emacs/magit: Use eclass defaults for all phases, and other fixes.
9
10 Update HOMEPAGE and LICENSE. Depend on >=app-emacs/dash-2.12.1,
11 see <https://github.com/magnars/dash.el/issues/130>.
12 Thanks to Jonas Bernoulli for pointing this out.
13
14 Use defaults of elisp.eclass for all phase functions.
15 Require Emacs 24 at least (should really be 24.4).
16
17 Package-Manager: portage-2.2.23
18
19 app-emacs/magit/magit-2.2.2-r1.ebuild | 36 -----------------------------------
20 app-emacs/magit/magit-2.2.2-r2.ebuild | 24 +++++++++++++++++++++++
21 2 files changed, 24 insertions(+), 36 deletions(-)
22
23 diff --git a/app-emacs/magit/magit-2.2.2-r1.ebuild b/app-emacs/magit/magit-2.2.2-r1.ebuild
24 deleted file mode 100644
25 index bb0b51a..0000000
26 --- a/app-emacs/magit/magit-2.2.2-r1.ebuild
27 +++ /dev/null
28 @@ -1,36 +0,0 @@
29 -# Copyright 1999-2015 Gentoo Foundation
30 -# Distributed under the terms of the GNU General Public License v2
31 -# $Id$
32 -
33 -EAPI=5
34 -
35 -inherit elisp
36 -
37 -DESCRIPTION="An Emacs mode for GIT"
38 -HOMEPAGE="http://magit.github.io/"
39 -SRC_URI="https://github.com/magit/magit/releases/download/${PV}/${P}.tar.gz"
40 -
41 -LICENSE="GPL-3+ FDL-1.2+"
42 -SLOT="0"
43 -KEYWORDS="~amd64"
44 -RESTRICT="test"
45 -
46 -SITEFILE="50${PN}-gentoo.el"
47 -
48 -DEPEND=">=app-emacs/dash-2.12.0"
49 -RDEPEND="${DEPEND} >=dev-vcs/git-1.9.4"
50 -
51 -src_compile() {
52 - # The upstream build system ignores errors during byte-compilation
53 - # and happily installs broken files, causing errors at runtime.
54 - # Call elisp-compile, in order to catch them here already.
55 - elisp-compile lisp/*.el
56 - makeinfo Documentation/*.texi || die
57 -}
58 -
59 -src_install() {
60 - elisp-install ${PN} lisp/*.{el,elc}
61 - elisp-site-file-install "${FILESDIR}/${SITEFILE}"
62 - doinfo *.info
63 - dodoc README.md Documentation/AUTHORS.md Documentation/${PV}.txt
64 -}
65
66 diff --git a/app-emacs/magit/magit-2.2.2-r2.ebuild b/app-emacs/magit/magit-2.2.2-r2.ebuild
67 new file mode 100644
68 index 0000000..acb7181
69 --- /dev/null
70 +++ b/app-emacs/magit/magit-2.2.2-r2.ebuild
71 @@ -0,0 +1,24 @@
72 +# Copyright 1999-2015 Gentoo Foundation
73 +# Distributed under the terms of the GNU General Public License v2
74 +# $Id$
75 +
76 +EAPI=5
77 +NEED_EMACS=24
78 +
79 +inherit elisp
80 +
81 +DESCRIPTION="A Git porcelain inside Emacs"
82 +HOMEPAGE="http://magit.vc/"
83 +SRC_URI="https://github.com/magit/magit/releases/download/${PV}/${P}.tar.gz"
84 +
85 +LICENSE="GPL-3+"
86 +SLOT="0"
87 +KEYWORDS="~amd64"
88 +
89 +S="${WORKDIR}/${P}/lisp"
90 +SITEFILE="50${PN}-gentoo.el"
91 +ELISP_TEXINFO="../Documentation/*.texi"
92 +DOCS="../README.md ../Documentation/AUTHORS.md ../Documentation/${PV}.txt"
93 +
94 +DEPEND=">=app-emacs/dash-2.12.1"
95 +RDEPEND="${DEPEND} >=dev-vcs/git-1.9.4"