summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-10-27 09:27:34 +0100
committerUlrich Müller <ulm@gentoo.org>2015-10-27 09:28:59 +0100
commitc60fc965caf134b046403fae7ff511bdd4928d9d (patch)
treef7840bccd5bc0a090b7052839dda47c61979022a /app-emacs
parentapp-emacs/dash: Version bump. Specify LICENSE more precisely. (diff)
downloadgentoo-c60fc965caf134b046403fae7ff511bdd4928d9d.tar.gz
gentoo-c60fc965caf134b046403fae7ff511bdd4928d9d.tar.bz2
gentoo-c60fc965caf134b046403fae7ff511bdd4928d9d.zip
app-emacs/magit: Use eclass defaults for all phases, and other fixes.
Update HOMEPAGE and LICENSE. Depend on >=app-emacs/dash-2.12.1, see <https://github.com/magnars/dash.el/issues/130>. Thanks to Jonas Bernoulli for pointing this out. Use defaults of elisp.eclass for all phase functions. Require Emacs 24 at least (should really be 24.4). Package-Manager: portage-2.2.23
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/magit/magit-2.2.2-r1.ebuild36
-rw-r--r--app-emacs/magit/magit-2.2.2-r2.ebuild24
2 files changed, 24 insertions, 36 deletions
diff --git a/app-emacs/magit/magit-2.2.2-r1.ebuild b/app-emacs/magit/magit-2.2.2-r1.ebuild
deleted file mode 100644
index bb0b51abe36..00000000000
--- a/app-emacs/magit/magit-2.2.2-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit elisp
-
-DESCRIPTION="An Emacs mode for GIT"
-HOMEPAGE="http://magit.github.io/"
-SRC_URI="https://github.com/magit/magit/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-3+ FDL-1.2+"
-SLOT="0"
-KEYWORDS="~amd64"
-RESTRICT="test"
-
-SITEFILE="50${PN}-gentoo.el"
-
-DEPEND=">=app-emacs/dash-2.12.0"
-RDEPEND="${DEPEND} >=dev-vcs/git-1.9.4"
-
-src_compile() {
- # The upstream build system ignores errors during byte-compilation
- # and happily installs broken files, causing errors at runtime.
- # Call elisp-compile, in order to catch them here already.
- elisp-compile lisp/*.el
- makeinfo Documentation/*.texi || die
-}
-
-src_install() {
- elisp-install ${PN} lisp/*.{el,elc}
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- doinfo *.info
- dodoc README.md Documentation/AUTHORS.md Documentation/${PV}.txt
-}
diff --git a/app-emacs/magit/magit-2.2.2-r2.ebuild b/app-emacs/magit/magit-2.2.2-r2.ebuild
new file mode 100644
index 00000000000..acb718137f8
--- /dev/null
+++ b/app-emacs/magit/magit-2.2.2-r2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="A Git porcelain inside Emacs"
+HOMEPAGE="http://magit.vc/"
+SRC_URI="https://github.com/magit/magit/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}/${P}/lisp"
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="../Documentation/*.texi"
+DOCS="../README.md ../Documentation/AUTHORS.md ../Documentation/${PV}.txt"
+
+DEPEND=">=app-emacs/dash-2.12.1"
+RDEPEND="${DEPEND} >=dev-vcs/git-1.9.4"