New package, resolves bug 277383 by manny15. Thanks also to Arne Babenhauserheide...
authorMike Gilbert <floppym@gentoo.org>
Wed, 7 Sep 2011 02:33:42 +0000 (02:33 +0000)
committerMike Gilbert <floppym@gentoo.org>
Wed, 7 Sep 2011 02:33:42 +0000 (02:33 +0000)
Package-Manager: portage-2.2.0_alpha53/cvs/Linux x86_64

dev-vcs/tortoisehg/ChangeLog [new file with mode: 0644]
dev-vcs/tortoisehg/Manifest [new file with mode: 0644]
dev-vcs/tortoisehg/metadata.xml [new file with mode: 0644]
dev-vcs/tortoisehg/tortoisehg-2.1.3.ebuild [new file with mode: 0644]

diff --git a/dev-vcs/tortoisehg/ChangeLog b/dev-vcs/tortoisehg/ChangeLog
new file mode 100644 (file)
index 0000000..af13d0d
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for dev-vcs/tortoisehg
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/ChangeLog,v 1.1 2011/09/07 02:33:42 floppym Exp $
+
+*tortoisehg-2.1.3 (07 Sep 2011)
+
+  07 Sep 2011; Mike Gilbert <floppym@gentoo.org> +tortoisehg-2.1.3.ebuild,
+  +metadata.xml:
+  New package, resolves bug 277383 by manny15. Thanks also to Arne
+  Babenhauserheide, Denilson Sá, and Alphat-PC.
+
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest
new file mode 100644 (file)
index 0000000..adc57c3
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST tortoisehg-2.1.3.tar.gz 8944697 RMD160 fa76dbbba6eb9868b8c0cd13756aa2c71dd5af60 SHA1 f5869bf46fc937d2a90b3362ee266083617a806f SHA256 2a186bb226da7dc93db4bd0e61cdd783d3d5f8189c76a2a2ad8a04c09f4a2912
+EBUILD tortoisehg-2.1.3.ebuild 1410 RMD160 ad641c26b408d5aec436db14e8e36028782adb3f SHA1 b2d8c817ef939e26e7cadc4bdbfd20fe1114022c SHA256 ea96a2eae21b692ae91c0ac9768fceefdb224f999ba200c440e49e50e6d8a595
+MISC ChangeLog 452 RMD160 dee57a8263c14e6211518da21c581370b5985e7e SHA1 e7f7d2f755f01da6a03308a25e1c65cbf1003b89 SHA256 cf32da7a6ef6389958d7a784ac4cb5ce16f0f997c1f84a4450b204651c78a841
+MISC metadata.xml 359 RMD160 a9cf3aa236d194df0ac29a2635914f730ed3a807 SHA1 25469b02365d0fe558a0c5a14b4b8781b4c7876e SHA256 98f4b7ed3859079fc2d9de49e3303e4dedb62ea4bac39e9854787aeeef957df7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk5m2A8ACgkQC77qH+pIQ6RAjgEAx36b3e2ZeOHvsXafQJUFY297
+2NmiYvO5LzSvk977MrQA/3tWBMzb3ei+yNeFCUHyhxW/mEze2JCmMYlf6mASfWKw
+=T+Ab
+-----END PGP SIGNATURE-----
diff --git a/dev-vcs/tortoisehg/metadata.xml b/dev-vcs/tortoisehg/metadata.xml
new file mode 100644 (file)
index 0000000..79e1633
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>no-herd</herd>
+       <maintainer>
+               <email>floppym@gentoo.org</email>
+               <name>Mike Gilbert</name>
+       </maintainer>
+       <use>
+               <flag name="nautilus">Integrate with <pkg>gnome-base/nautilus</pkg> file manager</flag>
+       </use>
+</pkgmetadata>
diff --git a/dev-vcs/tortoisehg/tortoisehg-2.1.3.ebuild b/dev-vcs/tortoisehg/tortoisehg-2.1.3.ebuild
new file mode 100644 (file)
index 0000000..13fb777
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/tortoisehg-2.1.3.ebuild,v 1.1 2011/09/07 02:33:42 floppym Exp $
+
+EAPI=3
+
+SUPPORT_PYTHON_ABIS=1
+PYTHON_DEPEND="2:2.5"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+inherit distutils eutils multilib
+
+DESCRIPTION="Set of graphical tools for Mercurial"
+HOMEPAGE="http://tortoisehg.bitbucket.org"
+SRC_URI="http://bitbucket.org/${PN}/targz/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc nautilus"
+
+RDEPEND="dev-python/iniparse
+       dev-python/pygments
+       dev-python/PyQt4
+       dev-python/qscintilla-python
+       >=dev-vcs/mercurial-1.9
+       nautilus? ( dev-python/nautilus-python )"
+DEPEND="${RDEPEND}
+       doc? ( >=dev-python/sphinx-1.0.3 )"
+
+src_prepare() {
+       # make the install respect multilib.
+       sed -i -e "s:lib/nautilus:$(get_libdir)/nautilus:" setup.py || die
+       distutils_src_prepare
+}
+
+src_compile() {
+       distutils_src_compile
+
+       if use doc ; then
+               emake -C doc html || die
+       fi
+}
+
+src_install() {
+       distutils_src_install
+       dodoc doc/ReadMe*.txt doc/TODO || die
+
+       if use doc ; then
+               dohtml -r doc/build/html || die
+       fi
+
+       insinto /usr/share/icons/hicolor/scalable/apps
+       newins icons/scalable/apps/thg-logo.svg tortoisehg_logo.svg || die
+       domenu contrib/${PN}.desktop || die
+
+       if ! use nautilus; then
+               rm -rf "${ED}usr/$(get_libdir)/nautilus" || die
+       fi
+}