diff options
Diffstat (limited to 'dev-vcs/git-bz/git-bz-0.2015.09.08.ebuild')
-rw-r--r-- | dev-vcs/git-bz/git-bz-0.2015.09.08.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-vcs/git-bz/git-bz-0.2015.09.08.ebuild b/dev-vcs/git-bz/git-bz-0.2015.09.08.ebuild new file mode 100644 index 000000000000..44eacb2a7a3e --- /dev/null +++ b/dev-vcs/git-bz/git-bz-0.2015.09.08.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 pypy ) +PYTHON_REQ_USE='sqlite' + +inherit python-single-r1 + +DESCRIPTION="Bugzilla subcommand for git" +HOMEPAGE="http://www.fishsoup.net/software/git-bz/" +SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + dev-vcs/git + ${PYTHON_DEPS}" + +src_configure() { + # custom script + ./configure --prefix="${EPREFIX}/usr" || die +} + +src_install() { + default + python_fix_shebang "${ED%/}"/usr/bin/${PN} +} + +pkg_postinst() { + if ! has_version dev-python/pycrypto; then + elog "For Chrome/-ium cookie decryption support, please install:" + elog " dev-python/pycrypto" + fi +} |