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-remote-hg/git-remote-hg-1.0.0-r1.ebuild

43 lines
781 B

# 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
"
DEPEND="${PYTHON_DEPEND}"
RDEPEND="
${DEPEND}
dev-vcs/git
dev-vcs/mercurial
"
PATCHES=(
"${FILESDIR}/${PN}-1.0.0-get_version_from_release.patch"
)
# 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
}