summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2018-11-08 23:11:20 +0100
committerCédric Krier <cedk@gentoo.org>2018-11-08 23:13:43 +0100
commit01b9fea6d4eb79f9dcf0e4062851bbee88306d37 (patch)
treeba933bdd6f2357bfb64e474df38c16d7bd5d80b7
parentdev-libs/sway: add maintainer to metadata.xml file. (diff)
downloadgentoo-01b9fea6d4eb79f9dcf0e4062851bbee88306d37.tar.gz
gentoo-01b9fea6d4eb79f9dcf0e4062851bbee88306d37.tar.bz2
gentoo-01b9fea6d4eb79f9dcf0e4062851bbee88306d37.zip
dev-vcs/hg-evolve: New ebuild
Signed-off-by: Cédric Krier <cedk@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
-rw-r--r--dev-vcs/hg-evolve/Manifest1
-rw-r--r--dev-vcs/hg-evolve/hg-evolve-8.3.1.ebuild39
-rw-r--r--dev-vcs/hg-evolve/metadata.xml10
3 files changed, 50 insertions, 0 deletions
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@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ This package supplies the evolve extension for Mercurial
+ </longdescription>
+</pkgmetadata>