summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-04-09 23:05:17 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-04-09 23:05:17 +0000
commit618102d792f953580e4d49d2955cd46f622c2d3e (patch)
treee76ba6d8de3869fdd046a422de05022df2df56a1 /net-www
parentPATCH_VER 0.3. Add 9110_all_xorg-6.7.0-pci-domains.patch to close #43630. Thi... (diff)
downloadgentoo-2-618102d792f953580e4d49d2955cd46f622c2d3e.tar.gz
gentoo-2-618102d792f953580e4d49d2955cd46f622c2d3e.tar.bz2
gentoo-2-618102d792f953580e4d49d2955cd46f622c2d3e.zip
added gtkhtml check (#45485)
Diffstat (limited to 'net-www')
-rw-r--r--net-www/straw/ChangeLog5
-rw-r--r--net-www/straw/straw-0.22.1.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/net-www/straw/ChangeLog b/net-www/straw/ChangeLog
index 535ae8450837..38f179c6c7b2 100644
--- a/net-www/straw/ChangeLog
+++ b/net-www/straw/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-www/straw
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/straw/ChangeLog,v 1.23 2004/03/30 09:16:58 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/straw/ChangeLog,v 1.24 2004/04/09 23:05:17 liquidx Exp $
+
+ 10 Apr 2004; Alastair Tse <liquidx@gentoo.org> straw-0.22.1.ebuild:
+ added gtkhtml check (#45485)
30 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> straw-0.22.1.ebuild:
Adding amd64 keyword. Closing #43595.
diff --git a/net-www/straw/straw-0.22.1.ebuild b/net-www/straw/straw-0.22.1.ebuild
index 74fd50758f25..aa44ec2a6ed0 100644
--- a/net-www/straw/straw-0.22.1.ebuild
+++ b/net-www/straw/straw-0.22.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/straw/straw-0.22.1.ebuild,v 1.3 2004/03/30 09:16:58 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/straw/straw-0.22.1.ebuild,v 1.4 2004/04/09 23:05:17 liquidx Exp $
inherit gnome2 python distutils
@@ -27,6 +27,14 @@ RDEPEND="${DEPEND}
# pre 0.22 straw databases. It should be removed at some point.
# foser <foser@gentoo.org> 18 Feb 2004
+pkg_setup() {
+ if ! python -c 'import gtk; import gtkhtml2'; then
+ eerror "The gnome-python gtkhtml2 module was not found."
+ eerror "Rebuild gnome-python using:"
+ eerror " USE=\"gtkhtml\" emerge gnome-python"
+ die "missing gtkhtml2 python module"
+ fi
+}
src_install() {