From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-vcs/hgview/Manifest | 3 ++ dev-vcs/hgview/hgview-1.9.0-r1.ebuild | 52 +++++++++++++++++++++++++++++++++++ dev-vcs/hgview/metadata.xml | 11 ++++++++ 3 files changed, 66 insertions(+) create mode 100644 dev-vcs/hgview/Manifest create mode 100644 dev-vcs/hgview/hgview-1.9.0-r1.ebuild create mode 100644 dev-vcs/hgview/metadata.xml (limited to 'dev-vcs/hgview') diff --git a/dev-vcs/hgview/Manifest b/dev-vcs/hgview/Manifest new file mode 100644 index 000000000000..23695d7f60c8 --- /dev/null +++ b/dev-vcs/hgview/Manifest @@ -0,0 +1,3 @@ +DIST hgview-1.9.0.tar.gz 181130 BLAKE2B 55b9a161d5a650e802e959c68b0b59d33679790a57067d96b58d93868de8f99fd4323a18493829b94f2e72d7f1973b1558250989787bdf682cc784896fb36e90 SHA512 604631776e096daf27241e8387d6fddfb9b3f2c54dbfccc95e770ebf2d5d27f64009c3698cf0d427f9a89e073db0d8d7623d57969ca6fcf036d5cb1dbd74eece +EBUILD hgview-1.9.0-r1.ebuild 1155 BLAKE2B a5f5c405e136bce114fc6b1458db5def89beaff7628cab74ad4d9fad103bb623d96b595e9d2f64a84c05dedc57fd702f89f503bd98cd63ef16189835a532f002 SHA512 669caf87f8304eb4cbafa8ee67454b2d4c06dcd1d2eb456f20a615d9952b894c498c3ab1b15366e81fea32896d0c99c72a79a1b9cb41c0c1e17931f5565fc690 +MISC metadata.xml 325 BLAKE2B 6e8ffb4a8dd14475279406140e9b2f1997773fdf290950fc00ed1948bfdfe04adc2644529b551d0af3d468af16b7be59b8b4bdf6526e7aabf659bc1483a41555 SHA512 c77434a8a447b17a0a0759e0f55ed41617fd524eacb3cfed869b6d010f6062a3bfc914c690cb11c2406f9910d30660b44cbc2ac8b4ee8b600629a3a560989c7e diff --git a/dev-vcs/hgview/hgview-1.9.0-r1.ebuild b/dev-vcs/hgview/hgview-1.9.0-r1.ebuild new file mode 100644 index 000000000000..8dddd30bab7f --- /dev/null +++ b/dev-vcs/hgview/hgview-1.9.0-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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.org/project/hgview/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + dev-python/pyinotify[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/urwid-1.0.0[${PYTHON_USEDEP}] + dev-vcs/mercurial[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + doc? ( + app-text/asciidoc + app-text/xmlto + )" + +python_configure_all() { + mydistutilsargs=( + build $(use doc || echo --no-doc) + build --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..e6f47dd730bd --- /dev/null +++ b/dev-vcs/hgview/metadata.xml @@ -0,0 +1,11 @@ + + + + + radhermit@gentoo.org + Tim Harder + + + hgview + + -- cgit v1.2.3