commit:     95ef7b89c923dc8afff676bc0d2d983e258b62b2
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 20 17:45:36 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jun 20 18:31:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ef7b89

dev-vcs/git-mantle: cram needed for tests (#631042 by toralf)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-vcs/git-mantle/git-mantle-0.6.ebuild | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/dev-vcs/git-mantle/git-mantle-0.6.ebuild 
b/dev-vcs/git-mantle/git-mantle-0.6.ebuild
index ac478023a9c..08268e57216 100644
--- a/dev-vcs/git-mantle/git-mantle-0.6.ebuild
+++ b/dev-vcs/git-mantle/git-mantle-0.6.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="Generate an overview of changes on a branch"
 HOMEPAGE="https://github.com/roman-neuhauser/git-mantle";
@@ -12,15 +10,18 @@ SRC_URI="http://codex.sigpipe.cz/${PN}/${P}.tar.gz";
 
 LICENSE="MIT"
 SLOT="0"
+IUSE="test"
 
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
 
-DEPEND=""
+DEPEND="test? ( dev-util/cram )"
 RDEPEND="
        dev-vcs/git
        app-shells/zsh
 "
 
-src_install(){
+src_install() {
+       # Don't install in /usr/local
        emake PREFIX="${ED}/usr" install
+       einstalldocs
 }

Reply via email to