gentoo/dev-vcs/git-mailz/git-mailz-0.14.ebuild
Sam James 89cc1d6ef9
dev-vcs/git-mailz: add missing test dependency on cram
Closes: https://bugs.gentoo.org/825010
Signed-off-by: Sam James <sam@gentoo.org>
2021-11-19 16:52:01 +00:00

32 lines
601 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Send a collection of patches as emails"
HOMEPAGE="https://github.com/roman-neuhauser/git-mailz/"
SRC_URI="http://codex.sigpipe.cz/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
app-shells/zsh
dev-vcs/git
virtual/mta
"
BDEPEND="test? ( dev-util/cram )"
src_compile() {
emake GZIPCMD="true"
}
src_install() {
emake PREFIX="${ED}/usr" install
mv "${ED}"/usr/share/man/man1/git-mailz.1{.gz,} || die
}