You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-vcs/git-bz/git-bz-9999.ebuild

50 lines
933 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-bz/git-bz-9999.ebuild,v 1.8 2013/12/03 12:06:21 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
inherit python-single-r1
#if LIVE
EGIT_REPO_URI="git://git.fishsoup.net/${PN}
http://git.fishsoup.net/cgit/${PN}"
inherit git-r3
#endif
DESCRIPTION="Bugzilla subcommand for git"
HOMEPAGE="http://www.fishsoup.net/software/git-bz/"
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-vcs/git"
#if LIVE
DEPEND="app-text/asciidoc
app-text/xmlto"
KEYWORDS=
SRC_URI=
#endif
src_configure() {
# custom script
./configure --prefix="${EPREFIX}/usr" || die
}
#ifdef LIVE
src_compile() {
emake ${PN}.1
}
#endif
src_install() {
default
python_fix_shebang "${ED%/}"/usr/bin/${PN}
}