summaryrefslogtreecommitdiff
path: root/dev-vcs/git-remote-hg/git-remote-hg-1.0.1.ebuild
blob: 6351daeb396a0e4d7da9dbfe90bd100cda42af8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

DESCRIPTION="Semi-official Mercurial bridge from Git project"
HOMEPAGE="https://github.com/mnauw/git-remote-hg"
SRC_URI="https://github.com/mnauw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

BDEPEND="
	app-text/asciidoc
"
RDEPEND="
	dev-vcs/git
	dev-vcs/mercurial
"

# Some tests fail.
RESTRICT="test"

src_compile() {
	distutils-r1_src_compile
	emake doc
}

src_install() {
	distutils-r1_src_install
	emake DESTDIR="${D}" prefix="${EPREFIX}/usr" install-doc
}

src_test() {
	default
}