diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-16 22:08:19 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-16 22:08:19 +0000 |
commit | 76fb5ad1e386724c3a26c0dcf2d28a496e8f27b2 (patch) | |
tree | 6ad2003cc36b0ee85e4a480ce84f1c3fe551f12f /app-i18n/ibus/ibus-1.3.9-r1.ebuild | |
parent | Regenerate Manifest (diff) | |
download | gentoo-2-76fb5ad1e386724c3a26c0dcf2d28a496e8f27b2.tar.gz gentoo-2-76fb5ad1e386724c3a26c0dcf2d28a496e8f27b2.tar.bz2 gentoo-2-76fb5ad1e386724c3a26c0dcf2d28a496e8f27b2.zip |
Call Python-related functions only with USE="python".
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/ibus/ibus-1.3.9-r1.ebuild')
-rw-r--r-- | app-i18n/ibus/ibus-1.3.9-r1.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app-i18n/ibus/ibus-1.3.9-r1.ebuild b/app-i18n/ibus/ibus-1.3.9-r1.ebuild index 63d876f82467..469e7de0ac35 100644 --- a/app-i18n/ibus/ibus-1.3.9-r1.ebuild +++ b/app-i18n/ibus/ibus-1.3.9-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/app-i18n/ibus/ibus-1.3.9-r1.ebuild,v 1.4 2011/03/30 11:08:00 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.3.9-r1.ebuild,v 1.5 2011/04/16 22:08:19 arfrever Exp $ EAPI="3" PYTHON_DEPEND="python? 2:2.5" @@ -64,7 +64,10 @@ update_gtk_immodules() { pkg_setup() { # bug #342903 confutils_require_any X gtk - python_set_active_version 2 + if use python; then + python_set_active_version 2 + python_pkg_setup + fi } src_prepare() { @@ -85,7 +88,7 @@ src_configure() { $(use_enable nls) \ $(use_enable python) \ $(use_enable vala) \ - $(use_enable X xim) || die + $(use_enable X xim) #$(use_enable gtk gtk3) \ } |