summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2012-12-27 04:20:42 +0000
committerDavide Pesavento <pesa@gentoo.org>2012-12-27 04:20:42 +0000
commit3a6bf840930e3c304474fde8ad9ac140bb929a83 (patch)
tree8af15c5f6a5403b45dcdb1044cd9f6fec2144399 /dev-python
parentUnmask ibus-1.4.99, should have been unmasked with gnome-shell-3.6 (diff)
downloadgentoo-2-3a6bf840930e3c304474fde8ad9ac140bb929a83.tar.gz
gentoo-2-3a6bf840930e3c304474fde8ad9ac140bb929a83.tar.bz2
gentoo-2-3a6bf840930e3c304474fde8ad9ac140bb929a83.zip
Improve pyqt4_use_enable() as suggested by Arfrever.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/PyQt4/ChangeLog5
-rw-r--r--dev-python/PyQt4/PyQt4-4.9.6-r1.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/dev-python/PyQt4/ChangeLog b/dev-python/PyQt4/ChangeLog
index ba75d9614c11..98dc30a93d72 100644
--- a/dev-python/PyQt4/ChangeLog
+++ b/dev-python/PyQt4/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/PyQt4
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.205 2012/12/26 03:14:58 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.206 2012/12/27 04:20:42 pesa Exp $
+
+ 27 Dec 2012; Davide Pesavento <pesa@gentoo.org> PyQt4-4.9.6-r1.ebuild:
+ Improve pyqt4_use_enable() as suggested by Arfrever.
26 Dec 2012; Davide Pesavento <pesa@gentoo.org> -PyQt4-4.9.5.ebuild:
old
diff --git a/dev-python/PyQt4/PyQt4-4.9.6-r1.ebuild b/dev-python/PyQt4/PyQt4-4.9.6-r1.ebuild
index 194d4448b316..cd8356e55fc7 100644
--- a/dev-python/PyQt4/PyQt4-4.9.6-r1.ebuild
+++ b/dev-python/PyQt4/PyQt4-4.9.6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.9.6-r1.ebuild,v 1.1 2012/12/26 03:11:43 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.9.6-r1.ebuild,v 1.2 2012/12/27 04:20:42 pesa Exp $
EAPI=5
@@ -27,7 +27,6 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="X dbus debug declarative doc examples help kde multimedia opengl phonon script scripttools sql svg webkit xmlpatterns"
-
REQUIRED_USE="
declarative? ( X )
help? ( X )
@@ -103,7 +102,7 @@ src_prepare() {
}
pyqt4_use_enable() {
- use $1 && echo --enable=${2:-Qt$(echo ${1:0:1} | tr '[:lower:]' '[:upper:]')${1:1}}
+ use $1 && echo --enable=${2:-Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1}}
}
src_configure() {