summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-10-05 22:23:09 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-10-05 22:23:09 +0000
commit1834b7c18adcec6e186dfbec6992e35bc5d878ac (patch)
treeb46a2312a88b4eb1124431568c675bacbdebcdf7 /dev-python/pygtkglext
parentFix obvious typo in DEPEND. (diff)
downloadgentoo-2-1834b7c18adcec6e186dfbec6992e35bc5d878ac.tar.gz
gentoo-2-1834b7c18adcec6e186dfbec6992e35bc5d878ac.tar.bz2
gentoo-2-1834b7c18adcec6e186dfbec6992e35bc5d878ac.zip
Make examples optional, fix bug #111508.
(Portage version: 2.2_rc11/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
Diffstat (limited to 'dev-python/pygtkglext')
-rw-r--r--dev-python/pygtkglext/ChangeLog6
-rw-r--r--dev-python/pygtkglext/pygtkglext-1.1.0.ebuild10
2 files changed, 11 insertions, 5 deletions
diff --git a/dev-python/pygtkglext/ChangeLog b/dev-python/pygtkglext/ChangeLog
index 6436f9134e6e..ab443e91f66a 100644
--- a/dev-python/pygtkglext/ChangeLog
+++ b/dev-python/pygtkglext/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pygtkglext
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/ChangeLog,v 1.38 2008/10/05 13:17:31 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/ChangeLog,v 1.39 2008/10/05 22:23:09 eva Exp $
+
+ 05 Oct 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ pygtkglext-1.1.0.ebuild:
+ Make examples optional, fix bug #111508.
05 Oct 2008; Thomas Anderson <gentoofan23@gentoo.org>
pygtkglext-1.1.0.ebuild:
diff --git a/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild b/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild
index 368a3c32555a..8d5bfae01b57 100644
--- a/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild
+++ b/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild,v 1.19 2008/10/05 13:17:31 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkglext/pygtkglext-1.1.0.ebuild,v 1.20 2008/10/05 22:23:09 eva Exp $
NEED_PYTHON="2.3"
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/gtkglext/${P}.tar.bz2"
LICENSE="LGPL-2.1 GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE=""
+IUSE="examples"
RDEPEND=">=dev-python/pygtk-2.8
>=dev-libs/glib-2.0
@@ -37,8 +37,10 @@ src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README AUTHORS ChangeLog
- insinto /usr/share/doc/${PF}/examples
- doins examples/*.{py,png}
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.{py,png}
+ fi
}
pkg_postinst() {