dev-vcs/git-pimp: cram needed for tests (#631054 by toralf)
authorPacho Ramos <pacho@gentoo.org>
Wed, 20 Jun 2018 17:49:30 +0000 (19:49 +0200)
committerPacho Ramos <pacho@gentoo.org>
Wed, 20 Jun 2018 18:31:50 +0000 (20:31 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-vcs/git-pimp/git-pimp-0.8.ebuild

index 26c6c470830e4acdca180cf01b9cc44d1f8cc6f5..900a55ad38e04d21276ec39ef08094c8c060e0dc 100644 (file)
@@ -1,8 +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=6
 
 DESCRIPTION="Code review or pull requests as patch email series"
 HOMEPAGE="https://github.com/roman-neuhauser/git-mailz/"
@@ -11,11 +10,11 @@ SRC_URI="http://codex.sigpipe.cz/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
+IUSE="test"
 
-KEYWORDS="~x86 ~amd64"
-
-DEPEND=""
+KEYWORDS="~amd64 ~x86"
 
+DEPEND="test? ( dev-util/cram )"
 RDEPEND="
        dev-vcs/git
        app-shells/zsh
@@ -24,5 +23,7 @@ RDEPEND="
 "
 
 src_install(){
+       # Do not install in /usr/local
        emake PREFIX="${ED}/usr" install
+       einstalldocs
 }