mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
39 lines
963 B
Bash
39 lines
963 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python2_7 python3_4 )
|
|
|
|
inherit bash-completion-r1 python-r1
|
|
|
|
DESCRIPTION="Incremental merge for git"
|
|
HOMEPAGE="https://github.com/mhagger/git-imerge"
|
|
SRC_URI="https://github.com/mhagger/git-imerge/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
dev-vcs/git"
|
|
DEPEND="dev-python/docutils"
|
|
|
|
src_compile() {
|
|
rst2html.py README.rst > README.html || die
|
|
rst2s5.py \
|
|
--theme=small-white \
|
|
--current-slide \
|
|
doc/presentations/GitMerge-2013/talk.rst doc/presentations/GitMerge-2013/talk.html || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${PN}
|
|
python_replicate_script "${D}"/usr/bin/${PN}
|
|
newbashcomp "${FILESDIR}"/git-imerge.bashcomplete git-imerge
|
|
dodoc README.rst
|
|
dohtml README.html doc/presentations/GitMerge-2013/talk.html
|
|
}
|