summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2011-11-26 17:23:22 +0000
committerMike Gilbert <floppym@gentoo.org>2011-11-26 17:23:22 +0000
commite647cabaca5a5df181898b4de6ee96044bd7ef0f (patch)
tree02df51a396a621c6f817ce5fe2d24a363671eca0 /dev-util/ghh
parentRequire dev-lang/perl at runtime. (diff)
downloadhistorical-e647cabaca5a5df181898b4de6ee96044bd7ef0f.tar.gz
historical-e647cabaca5a5df181898b4de6ee96044bd7ef0f.tar.bz2
historical-e647cabaca5a5df181898b4de6ee96044bd7ef0f.zip
Python-related improvements by Ian Delaney. Bug 324399.
Package-Manager: portage-2.2.0_alpha78/cvs/Linux x86_64
Diffstat (limited to 'dev-util/ghh')
-rw-r--r--dev-util/ghh/ChangeLog5
-rw-r--r--dev-util/ghh/Manifest14
-rw-r--r--dev-util/ghh/ghh-9999.ebuild18
3 files changed, 23 insertions, 14 deletions
diff --git a/dev-util/ghh/ChangeLog b/dev-util/ghh/ChangeLog
index 5e71d5e580ee..4a427a123aca 100644
--- a/dev-util/ghh/ChangeLog
+++ b/dev-util/ghh/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/ghh
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ghh/ChangeLog,v 1.5 2011/09/20 22:37:13 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ghh/ChangeLog,v 1.6 2011/11/26 17:23:22 floppym Exp $
+
+ 26 Nov 2011; Mike Gilbert <floppym@gentoo.org> ghh-9999.ebuild:
+ Python-related improvements by Ian Delaney. Bug 324399.
20 Sep 2011; Michał Górny <mgorny@gentoo.org> ghh-9999.ebuild:
Migrate to git-2, update EGIT_REPO_URI.
diff --git a/dev-util/ghh/Manifest b/dev-util/ghh/Manifest
index ebad6d97dc6b..d0d5fbe5ae69 100644
--- a/dev-util/ghh/Manifest
+++ b/dev-util/ghh/Manifest
@@ -1,15 +1,13 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-EBUILD ghh-9999.ebuild 958 RMD160 05d35ef732c8ec584820801310ac339e3b33ae71 SHA1 b9da306b8a2dfe15d297e1aa61d1ae87fae308e9 SHA256 4a7dc60b4e300a265073bf23af5281954a479e3f7bae92c11847b89d45f76590
-MISC ChangeLog 781 RMD160 a3f0f5e35968a8a355e5deba942b1a1b24d3adf9 SHA1 40da4b60b7ccea359930676c9a27a0970e0a7d78 SHA256 deb2a3fe70193b92793e5d316a5a07f450d0be8091c8674af09fe0f569c48903
+EBUILD ghh-9999.ebuild 1113 RMD160 7792a0554e8d2d43cd0ebfe2d0024252f5d5d261 SHA1 10a7de30059912081c441d5fde8697a18c218578 SHA256 5faacb8d831d32b70dca4df027092231197a7b4f9863fb0d63f37fae8abcc6b5
+MISC ChangeLog 907 RMD160 18c5d7827bed439d3820a8bc801b1ff7f08203af SHA1 2ae5d514b7ed94e74e1726c9711a3091ef516519 SHA256 cd8906c228eecca5502bc3e29c2e4f9cb5bb7377e5cc4030805e3691ab7b8def
MISC metadata.xml 211 RMD160 f0c4ad6ccb0152d62a300bc77956ea3bf7c170a2 SHA1 6f46be7ecc51754f0679bc5a779c151e1b701016 SHA256 84ff2341253cdd21a6782e14ebc076a8bcae11428aacfe2454f4b32165504727
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iJwEAQEIAAYFAk59m4QACgkQfXuS5UK5QB224QP+JMiNIAitjlVxcQR2jckAdqyD
-Zg9sdm9CvX7LJK9IJeU75hWbwU3m0/CmWNFpsF5hXtBHeEYHmpJPwFcRMLBf/VZJ
-ky2HiHymbW/8RCbJXg9GDV8kzRlAZFOb6cGkBp/X6HsX4nvZAEp4sAQbPbj/HDp8
-wKFjgIl7cnuA8MBLh9s=
-=4sU4
+iF4EAREIAAYFAk7RII8ACgkQC77qH+pIQ6QP0wEApXR//9E6Sn+RPq/Kth8aKC3Z
+zF0nVCETAkVa4fgXbNIA/Rz/zcIEBrt/hEKiERSA6O68cPMSUUISTH3DUlIBCetB
+=+TVL
-----END PGP SIGNATURE-----
diff --git a/dev-util/ghh/ghh-9999.ebuild b/dev-util/ghh/ghh-9999.ebuild
index d3041e0bbb1d..f5bfc4f51c32 100644
--- a/dev-util/ghh/ghh-9999.ebuild
+++ b/dev-util/ghh/ghh-9999.ebuild
@@ -1,9 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ghh/ghh-9999.ebuild,v 1.6 2011/09/20 22:37:13 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ghh/ghh-9999.ebuild,v 1.7 2011/11/26 17:23:22 floppym Exp $
EAPI=3
-inherit autotools git-2
+PYTHON_DEPEND="2:2.6"
+inherit autotools git-2 python
DESCRIPTION="a tool to track the history and make backups of your home directory"
HOMEPAGE="http://jean-francois.richard.name/ghh/"
@@ -15,6 +16,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""
+DOCS=( AUTHORS ChangeLog MAINTAINERS NEWS README TODO )
# probably needs more/less crap listed here ...
RDEPEND="x11-libs/gtk+:2
@@ -22,16 +24,22 @@ RDEPEND="x11-libs/gtk+:2
gnome-base/libgnome
app-text/gnome-doc-utils
>=app-text/asciidoc-8
- dev-vcs/git
- dev-lang/python"
+ dev-python/pygtk:2
+ dev-vcs/git"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
NOCONFIGURE=yes git_src_prepare
}
src_install() {
emake install DESTDIR="${D}" || die
- dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TODO
+ dodoc ${DOCS[@]}
+ python_convert_shebangs -r 2 "${ED}"
}