summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-04-03 17:40:59 +0000
committerPacho Ramos <pacho@gentoo.org>2011-04-03 17:40:59 +0000
commit906ea765195359fcd96dbf716b00539789e53911 (patch)
treefdfb008227529095831a69c6a2a548fba56da4cb /dev-python/pygtk
parentRemoved older versions (diff)
downloadgentoo-2-906ea765195359fcd96dbf716b00539789e53911.tar.gz
gentoo-2-906ea765195359fcd96dbf716b00539789e53911.tar.bz2
gentoo-2-906ea765195359fcd96dbf716b00539789e53911.zip
Always enable glade support as talked on IRC since most pygtk apps won't ever be ported away from glade.
(Portage version: 2.1.9.45/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pygtk')
-rw-r--r--dev-python/pygtk/ChangeLog9
-rw-r--r--dev-python/pygtk/metadata.xml4
-rw-r--r--dev-python/pygtk/pygtk-2.24.0-r1.ebuild (renamed from dev-python/pygtk/pygtk-2.24.0.ebuild)20
3 files changed, 13 insertions, 20 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog
index b5e3e83863fd..d5512d9016e8 100644
--- a/dev-python/pygtk/ChangeLog
+++ b/dev-python/pygtk/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/pygtk
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.255 2011/04/02 17:47:17 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.256 2011/04/03 17:40:59 pacho Exp $
+
+*pygtk-2.24.0-r1 (03 Apr 2011)
+
+ 03 Apr 2011; Pacho Ramos <pacho@gentoo.org> -pygtk-2.24.0.ebuild,
+ +pygtk-2.24.0-r1.ebuild:
+ Always enable glade support as talked on IRC since most pygtk apps won't ever
+ be ported away from glade.
*pygtk-2.24.0 (02 Apr 2011)
diff --git a/dev-python/pygtk/metadata.xml b/dev-python/pygtk/metadata.xml
index 03a86cbdfe25..6d9588ff59c9 100644
--- a/dev-python/pygtk/metadata.xml
+++ b/dev-python/pygtk/metadata.xml
@@ -3,10 +3,6 @@
<pkgmetadata>
<herd>gnome</herd>
<herd>python</herd>
-<use>
- <flag name='glade'>Enable <pkg>gnome-base/libglade</pkg> bindings
- compilation</flag>
-</use>
<longdescription>
PyGTK provides a convenient wrapper for the GTK+ library for use in
Python programs, taking care of many of the boring details such as
diff --git a/dev-python/pygtk/pygtk-2.24.0.ebuild b/dev-python/pygtk/pygtk-2.24.0-r1.ebuild
index 708512a92906..12998a8749f0 100644
--- a/dev-python/pygtk/pygtk-2.24.0.ebuild
+++ b/dev-python/pygtk/pygtk-2.24.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.24.0.ebuild,v 1.1 2011/04/02 17:47:17 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r1.ebuild,v 1.1 2011/04/03 17:40:59 pacho Exp $
EAPI="3"
GCONF_DEBUG="no"
@@ -18,7 +18,7 @@ HOMEPAGE="http://www.pygtk.org/"
LICENSE="LGPL-2.1"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc examples +glade test"
+IUSE="doc examples test"
RDEPEND=">=dev-libs/glib-2.8:2
>=x11-libs/pango-1.16
@@ -27,8 +27,7 @@ RDEPEND=">=dev-libs/glib-2.8:2
>=dev-python/pycairo-1.0.2
>=dev-python/pygobject-2.21.3:2
dev-python/numpy
- glade? ( >=gnome-base/libglade-2.5:2.0 )
- test? ( >=gnome-base/libglade-2.5:2.0 )
+ >=gnome-base/libglade-2.5:2.0
"
DEPEND="${RDEPEND}
doc? (
@@ -51,19 +50,10 @@ src_prepare() {
src_configure() {
use hppa && append-flags -ffunction-sections
-
- local myconf
-
- if use test; then
- ! use glade && einfo "Enabling glade support as it's needed for running tests."
- myconf="--with-glade"
- fi
-
python_src_configure \
$(use_enable doc docs) \
- $(use_with glade) \
- --enable-thread \
- ${myconf}
+ --with-glade \
+ --enable-thread
}
src_test() {