From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-842717-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 8895C13888F
	for <garchives@archives.gentoo.org>; Tue, 27 Oct 2015 08:30:22 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3D98DE07E2;
	Tue, 27 Oct 2015 08:30:19 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id BE953E07E2
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Oct 2015 08:30:18 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D9B223408C5
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Oct 2015 08:30:17 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4BE911830
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Oct 2015 08:30:15 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1445934539.c60fc965caf134b046403fae7ff511bdd4928d9d.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/magit/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-emacs/magit/magit-2.2.2-r1.ebuild app-emacs/magit/magit-2.2.2-r2.ebuild
X-VCS-Directories: app-emacs/magit/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: c60fc965caf134b046403fae7ff511bdd4928d9d
X-VCS-Branch: master
Date: Tue, 27 Oct 2015 08:30:15 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: baf341b4-0f17-4ebd-ac2a-4d01925dc96a
X-Archives-Hash: ecca26ac088f7c701888e1027765aa2b

commit:     c60fc965caf134b046403fae7ff511bdd4928d9d
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 08:27:34 2015 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 08:28:59 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60fc965

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

 app-emacs/magit/magit-2.2.2-r1.ebuild | 36 -----------------------------------
 app-emacs/magit/magit-2.2.2-r2.ebuild | 24 +++++++++++++++++++++++
 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 bb0b51a..0000000
--- 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 0000000..acb7181
--- /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"