summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2005-01-08 19:43:20 +0000
committerBryan Østergaard <kloeri@gentoo.org>2005-01-08 19:43:20 +0000
commitf81b26670b9d81d2e4a8f7125b48cab9e6625bfa (patch)
tree6de1048c7d749f8d7c510a13ba5a84503439077a /dev-python/pygtk
parentStable on alpha, bug 76862. (Manifest recommit) (diff)
downloadgentoo-2-f81b26670b9d81d2e4a8f7125b48cab9e6625bfa.tar.gz
gentoo-2-f81b26670b9d81d2e4a8f7125b48cab9e6625bfa.tar.bz2
gentoo-2-f81b26670b9d81d2e4a8f7125b48cab9e6625bfa.zip
Add doc USE flag, patch by Fernando Serboncini in bug 75308.
Diffstat (limited to 'dev-python/pygtk')
-rw-r--r--dev-python/pygtk/ChangeLog5
-rw-r--r--dev-python/pygtk/pygtk-2.4.1.ebuild15
2 files changed, 16 insertions, 4 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog
index 46d8e5098ac6..3633f3f69de3 100644
--- a/dev-python/pygtk/ChangeLog
+++ b/dev-python/pygtk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pygtk
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.68 2005/01/03 11:33:40 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.69 2005/01/08 19:43:20 kloeri Exp $
+
+ 08 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> pygtk-2.4.1.ebuild:
+ Add doc USE flag, patch by Fernando Serboncini in bug 75308.
03 Jan 2005; Joseph Jezak <josejx@gentoo.org> pygtk-2.4.1.ebuild:
Marked ppc stable for bug #74333.
diff --git a/dev-python/pygtk/pygtk-2.4.1.ebuild b/dev-python/pygtk/pygtk-2.4.1.ebuild
index 320c33da1548..6b31a108c405 100644
--- a/dev-python/pygtk/pygtk-2.4.1.ebuild
+++ b/dev-python/pygtk/pygtk-2.4.1.ebuild
@@ -1,17 +1,18 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.4.1.ebuild,v 1.7 2005/01/03 11:33:40 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.4.1.ebuild,v 1.8 2005/01/08 19:43:20 kloeri Exp $
inherit gnome.org python flag-o-matic
DESCRIPTION="GTK+2 bindings for Python"
HOMEPAGE="http://www.pygtk.org/"
-SRC_URI="ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.4/${P}.tar.bz2"
+SRC_URI="ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.4/${P}.tar.bz2
+ doc? http://www.pygtk.org/dist/pygtk2reference.tbz2"
LICENSE="LGPL-2.1"
SLOT="2"
KEYWORDS="~alpha amd64 arm hppa ppc sparc x86"
-IUSE="gnome opengl"
+IUSE="gnome opengl doc"
RDEPEND=">=dev-lang/python-2.3
>=x11-libs/gtk+-2.4.0
@@ -25,6 +26,9 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
+ if use doc; then
+ unpack pygtk2reference.tbz2
+ fi
# disable pyc compiling
mv ${S}/py-compile ${S}/py-compile.orig
ln -s /bin/true ${S}/py-compile
@@ -48,6 +52,11 @@ src_install() {
${D}/usr/lib/python${PYVER}/site-packages/pygtk.py-2.0
mv ${D}/usr/lib/python${PYVER}/site-packages/pygtk.pth \
${D}/usr/lib/python${PYVER}/site-packages/pygtk.pth-2.0
+
+ if use doc; then
+ cd ${S}/../pygtk2reference
+ dohtml -r *
+ fi
}
src_test() {