Gentoo Archives: gentoo-commits

From: "Cédric Krier" <cedk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/hg-evolve/
Date: Thu, 08 Nov 2018 22:13:57
Message-Id: 1541715223.01b9fea6d4eb79f9dcf0e4062851bbee88306d37.cedk@gentoo
commit:     01b9fea6d4eb79f9dcf0e4062851bbee88306d37
Author:     Cédric Krier <cedk <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  8 22:11:20 2018 +0000
Commit:     Cédric Krier <cedk <AT> gentoo <DOT> org>
CommitDate: Thu Nov  8 22:13:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b9fea6

dev-vcs/hg-evolve: New ebuild

Signed-off-by: Cédric Krier <cedk <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-vcs/hg-evolve/Manifest               |  1 +
 dev-vcs/hg-evolve/hg-evolve-8.3.1.ebuild | 39 ++++++++++++++++++++++++++++++++
 dev-vcs/hg-evolve/metadata.xml           | 10 ++++++++
 3 files changed, 50 insertions(+)

diff --git a/dev-vcs/hg-evolve/Manifest b/dev-vcs/hg-evolve/Manifest
new file mode 100644
index 00000000000..8435966dbf4
--- /dev/null
+++ b/dev-vcs/hg-evolve/Manifest
@@ -0,0 +1 @@
+DIST hg-evolve-8.3.1.tar.gz 732554 BLAKE2B 8b93609dab6d2cefd450064e2eb50109cc6184cd5c72452c1eaf3027649b40add283109ede9ba05bd0e7710a53ec7424335147c01fae9384445360bec8bbdf89 SHA512 05fe8dffe624fa32d913f02a801e4abbffe83a6d1fe7589e9fc76c62d504c23942080dea278024eafccbfcfdb17e59ae75f4ebd5afb7838676015fa99deb894c

diff --git a/dev-vcs/hg-evolve/hg-evolve-8.3.1.ebuild b/dev-vcs/hg-evolve/hg-evolve-8.3.1.ebuild
new file mode 100644
index 00000000000..01809401108
--- /dev/null
+++ b/dev-vcs/hg-evolve/hg-evolve-8.3.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 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.3[${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
+}

diff --git a/dev-vcs/hg-evolve/metadata.xml b/dev-vcs/hg-evolve/metadata.xml
new file mode 100644
index 00000000000..b5f8063588b
--- /dev/null
+++ b/dev-vcs/hg-evolve/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>cedk@g.o</email>
+	</maintainer>
+	<longdescription lang="en">
+		This package supplies the evolve extension for Mercurial
+	</longdescription>
+</pkgmetadata>