From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 700EB13888F for ; Thu, 22 Oct 2015 05:42:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2E1CE0869; Thu, 22 Oct 2015 05:42:05 +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 35980E0867 for ; Thu, 22 Oct 2015 05:42:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26002340998 for ; Thu, 22 Oct 2015 05:42:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CFE7315D8 for ; Thu, 22 Oct 2015 05:42:01 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1445492515.67544db09045e37ef5f44a7e29f71869355cdce0.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/magit/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/magit/Manifest app-emacs/magit/magit-2.2.2.ebuild X-VCS-Directories: app-emacs/magit/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 67544db09045e37ef5f44a7e29f71869355cdce0 X-VCS-Branch: master Date: Thu, 22 Oct 2015 05:42:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f74a169d-9946-4aba-99bd-befc9af36b1b X-Archives-Hash: 2c10f59a195a0e01fe0b502c1a5001e2 commit: 67544db09045e37ef5f44a7e29f71869355cdce0 Author: Hans de Graaff gentoo org> AuthorDate: Thu Oct 22 05:41:03 2015 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Oct 22 05:41:55 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67544db0 app-emacs/magit: add 2.2.2 Drop x86 keyword due to new dependency on app-emacs/dash, bug 563748. Package-Manager: portage-2.2.20.1 app-emacs/magit/Manifest | 1 + app-emacs/magit/magit-2.2.2.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/app-emacs/magit/Manifest b/app-emacs/magit/Manifest index 1e3dd27..a3f0242 100644 --- a/app-emacs/magit/Manifest +++ b/app-emacs/magit/Manifest @@ -1,2 +1,3 @@ DIST magit-1.2.0.tar.gz 163318 SHA256 ef535819b8ee32c53ad38efabc82028f62422f2629407d69ddc5970669dc1ba9 SHA512 3f673d38d9f73cdf653108184ed97c1d499492224be3925949ffadb3bb6900a9be664c773dae49da696c6e1daa8bbb70d7446a9f9d7f9a7f8714ca254ed02c3d WHIRLPOOL 0462ea59ae75c01992d6d7dd17783ab4c60c335c17e03a8791be0771caf54d6a546a84c0622f2c1d45d1231a8d2638fb936bff31c94aa08a10d2c98e5986e4a4 DIST magit-1.2.2.tar.gz 111245 SHA256 8ed300887909d0990cf17b1f4a3b902944db2471ca93dbf0202724b3f44e5d0c SHA512 c7817a5231485e593e8f7aab8c01db19f433ff9b77d6635c95eec6beabb45901f1dbd9d02fad718436f9e25516df14714e7ca1b05b53244e8465dcc14a8cee7a WHIRLPOOL 4b7116bf2568f786a859299ed8039bee32fda51322e29f7ddd139a9ee5e3f3a3caa9d245fffed3e6c28f11b0e068c398f424450275de94a4559a9812634639a0 +DIST magit-2.2.2.tar.gz 244326 SHA256 08e61898e23dbeb3a152d82e58fc9f6c769fe36d35d87617dcd1e69b2f91b3c6 SHA512 fcb8a27597988fd29b824be58b145f483a492a0d199e505478cf7cab09068a608e5e9d314abda7e8954712c2db3012ee578c8a5bbdfd79e909a8b9d1ef45e0d4 WHIRLPOOL f45d4bfe3942d4203918b8c5309b640efcb9204d7a05f74df746349d9a49ae40df34d744d91388db23e718fc7579e303ea0a704d7f30235efbf63b9da360082a diff --git a/app-emacs/magit/magit-2.2.2.ebuild b/app-emacs/magit/magit-2.2.2.ebuild new file mode 100644 index 0000000..6fc2267 --- /dev/null +++ b/app-emacs/magit/magit-2.2.2.ebuild @@ -0,0 +1,52 @@ +# 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="mirror://github/magit/magit/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-3+ FDL-1.2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="contrib" +RESTRICT="test" + +SITEFILE="50${PN}-gentoo.el" + +CDEPEND=">=app-emacs/dash-2.12.0" + +DEPEND="${CDEPEND}" +RDEPEND="${CDEPEND} >=dev-vcs/git-1.9.4" + +src_prepare() { + # Makefile expects this to be present at the current directory + ln -s lisp/magit-version.el magit-version.el || die +} + +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. + pushd lisp || die + elisp-compile *.el + popd || die + emake docs + use contrib && emake contrib +} + +src_install() { + elisp-install ${PN} lisp/*.{el,elc} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + doinfo Documentation/*.info + dodoc README.md + + if use contrib; then + elisp-install ${PN} contrib/*.{el,elc} + dobin contrib/magit + fi +}