summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-vcs/hg-evolve/Manifest1
-rw-r--r--dev-vcs/hg-evolve/hg-evolve-8.4.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-vcs/hg-evolve/Manifest b/dev-vcs/hg-evolve/Manifest
index 6eb802b08028..bb3be62b6fba 100644
--- a/dev-vcs/hg-evolve/Manifest
+++ b/dev-vcs/hg-evolve/Manifest
@@ -1 +1,2 @@
DIST hg-evolve-8.3.3.tar.gz 733641 BLAKE2B a2dff8061df3fbb31389be06bcba68d69b56bbb0037ce0dcb98c9d2852f060811fb72155a004161ebe7e4be0fc232fc356938629e24943c87649bd11a9f12e60 SHA512 bdd301c44156a38e6f4a216d4813acc9a85de3358172b42ed74107117811c40333d1676f1380667ca060815d5004e81629588691d969b31f75a8a93e16745973
+DIST hg-evolve-8.4.0.tar.gz 738359 BLAKE2B f7334bfa55e303c1e557f0e7aef4b9f23998d3f99f6ca74892cad9d77fb443a4a5cde69a4479e8a2eac866c49220640756f428001c1257d7f8527418fea27361 SHA512 fa3769ff6d884c5733024d5e8f4474c41b72ad811f4176216f60834cec65d831e78b78ebf15568113953da691c4075b1cf136e0f3531aab90b1afdf5e638b5e1
diff --git a/dev-vcs/hg-evolve/hg-evolve-8.4.0.ebuild b/dev-vcs/hg-evolve/hg-evolve-8.4.0.ebuild
new file mode 100644
index 000000000000..a89ef7e4eea3
--- /dev/null
+++ b/dev-vcs/hg-evolve/hg-evolve-8.4.0.ebuild
@@ -0,0 +1,39 @@
+# 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="enables the changeset evolution feature of Mercurial"
+HOMEPAGE="https://www.mercurial-scm.org/doc/evolution/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+ >=dev-vcs/mercurial-4.4[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )"
+
+python_prepare_all() {
+ rm hgext3rd/__init__.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C docs all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ if use doc; then
+ dodoc -r html/
+ fi
+}