summaryrefslogtreecommitdiff
path: root/dev-vcs/hgview
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-vcs/hgview
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-vcs/hgview')
-rw-r--r--dev-vcs/hgview/Manifest5
-rw-r--r--dev-vcs/hgview/hgview-1.9.0.ebuild60
-rw-r--r--dev-vcs/hgview/metadata.xml15
3 files changed, 80 insertions, 0 deletions
diff --git a/dev-vcs/hgview/Manifest b/dev-vcs/hgview/Manifest
new file mode 100644
index 000000000000..c7e4e6ccbfe2
--- /dev/null
+++ b/dev-vcs/hgview/Manifest
@@ -0,0 +1,5 @@
+DIST hgview-1.9.0.tar.gz 181130 SHA256 8b2e5e10544deaa79ba9ef3f6339e103af357edbeb4b2594be079fddf7b8e6ed SHA512 604631776e096daf27241e8387d6fddfb9b3f2c54dbfccc95e770ebf2d5d27f64009c3698cf0d427f9a89e073db0d8d7623d57969ca6fcf036d5cb1dbd74eece WHIRLPOOL 01d29625a136664f35f2241c546b4af52853ea78fff31089d83ebb4a1718e4d64571df6a61f217aec6919b6bb27c35cf092195fa56efcffb3ad16e1bb714a397
+EBUILD hgview-1.9.0.ebuild 1430 SHA256 ad29fdd9262fdf63e7480e149c11f4d899926711a6f4d67b058bc2b325ec6610 SHA512 4837e2aab22757cace7c3e7dd3d73dd1afa434802f60f9d3dc66d4e74018be2c3bdbc484ce7f24dbe0019687e9890a4a69ac9efc84f38097205b4fbec25fa7c4 WHIRLPOOL 3a62b8a4010007d02b1b0906f4cd0387866115c271f84b5a61892e00970e23d14f0eb47b620b42f2b226d8f2b317506a28402bcb36009599bcd0425e9a05cd06
+MISC ChangeLog 2967 SHA256 cf4b08690d2f2f3d8a69ec171cd57653676d153295d54490ba94828b1d04fccf SHA512 c98aee2ca4ecf423c47b7c66dd362fbe89a79cb863c592e6344607f99466f596603798c3996677d2f13aaba2c94f28b341ee5ae4d9130234d8b4ebb37c5b771c WHIRLPOOL c865739488386fad0f46c7a77a83bf45047f8885b250e68ced8acddf9343ea9653751e8aab52331cc13cb29c04d65f8c5f3d2509c232c708414ac60192996200
+MISC ChangeLog-2015 3630 SHA256 944a30283534e6acde143410e057fa3c8292c9069bc267e0a6058fde0ee49c9f SHA512 a27bf17458ece0951b6cb0d89b781c43a119a7a39e61ee64c2af5580e863ccacfed0dc7085e787433d0acaa3fe996bf2f1017dbf7763c71d42ad3f5d7b28169c WHIRLPOOL 7785970d54760845f6d6a14f5608ee8961d027f457bd6cd410757c4508011136dbd73ddff79c45792195fc6c524adccc715dc6e64e722cafe85716ae1465ef96
+MISC metadata.xml 439 SHA256 6f7a51687487e80f329b7c26c258a75b7abc737a71700ffc45f215d7134076b9 SHA512 87592bfa0635fa86d65a414c7061bb6a3e66e3f625fcc91eb5e3f3f8861d4a3a7ebced02f7383d7683ad5953bf0661b62128fa4c88461085c2df4f5b1e7b5607 WHIRLPOOL 19a136e01b7a8f97bd9b19a17c1d1b9f1866e1dcc31e22a859c8f3d083b609a348f4d528193e6b5e1e90a75f41e6a1e5d7d8d6f2061a0e62965e54407644c831
diff --git a/dev-vcs/hgview/hgview-1.9.0.ebuild b/dev-vcs/hgview/hgview-1.9.0.ebuild
new file mode 100644
index 000000000000..2fb8088d6207
--- /dev/null
+++ b/dev-vcs/hgview/hgview-1.9.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit distutils-r1
+
+DESCRIPTION="A Mercurial interactive history viewer"
+HOMEPAGE="https://www.logilab.org/project/hgview/ https://pypi.python.org/pypi/hgview/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc ncurses +qt4"
+REQUIRED_USE="|| ( ncurses qt4 )"
+
+RDEPEND="dev-vcs/mercurial[${PYTHON_USEDEP}]
+ ncurses? (
+ >=dev-python/urwid-1.0.0[${PYTHON_USEDEP}]
+ dev-python/pyinotify[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ )
+ qt4? (
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/PyQt4[X,${PYTHON_USEDEP}]
+ dev-python/qscintilla-python[qt4(+),${PYTHON_USEDEP}]
+ )"
+DEPEND="${RDEPEND}
+ doc? (
+ app-text/asciidoc
+ app-text/xmlto
+ )"
+
+python_configure_all() {
+ mydistutilsargs=(
+ build $(use doc || echo --no-doc)
+ build $(use ncurses || echo --no-curses)
+ build $(use qt4 || echo --no-qt)
+ )
+}
+
+src_prepare() {
+ # https://www.logilab.org/ticket/103668
+ sed -i \
+ -e 's:MANDIR=$(PREFIX)/man:MANDIR=$(PREFIX)/share/man:' \
+ -e 's:$(INSTALL) $$i:$(INSTALL) -m 644 $$i:' \
+ doc/Makefile || die
+
+ distutils-r1_src_prepare
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ # Install Mercurial extension config file
+ insinto /etc/mercurial/hgrc.d
+ doins hgext/hgview.rc
+}
diff --git a/dev-vcs/hgview/metadata.xml b/dev-vcs/hgview/metadata.xml
new file mode 100644
index 000000000000..d30d92786463
--- /dev/null
+++ b/dev-vcs/hgview/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">hgview</remote-id>
+ </upstream>
+</pkgmetadata>