summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-25 16:37:05 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-25 16:37:05 +0000
commite6438024539453a3e509dca3fb94912f02f7e92f (patch)
tree4ce289b69297163d8d89ebc046af8c88ab0e34fa /media-libs/libiptcdata/libiptcdata-1.0.4.ebuild
parentVersion bump, #321157 (diff)
downloadgentoo-2-e6438024539453a3e509dca3fb94912f02f7e92f.tar.gz
gentoo-2-e6438024539453a3e509dca3fb94912f02f7e92f.tar.bz2
gentoo-2-e6438024539453a3e509dca3fb94912f02f7e92f.zip
Use 'python_pkg_setup' instead of 'python_execute_function -f -q'.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libiptcdata/libiptcdata-1.0.4.ebuild')
-rw-r--r--media-libs/libiptcdata/libiptcdata-1.0.4.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/media-libs/libiptcdata/libiptcdata-1.0.4.ebuild b/media-libs/libiptcdata/libiptcdata-1.0.4.ebuild
index 87cd2aeb4cdc..b044cb467a93 100644
--- a/media-libs/libiptcdata/libiptcdata-1.0.4.ebuild
+++ b/media-libs/libiptcdata/libiptcdata-1.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libiptcdata/libiptcdata-1.0.4.ebuild,v 1.4 2010/05/17 18:28:43 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libiptcdata/libiptcdata-1.0.4.ebuild,v 1.5 2010/05/25 16:37:05 arfrever Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@@ -24,13 +24,19 @@ DEPEND="${RDEPEND}
nls? ( >=sys-devel/gettext-0.13.1 )
doc? ( >=dev-util/gtk-doc-1 )"
+pkg_setup() {
+ if use python; then
+ python_pkg_setup
+ fi
+}
+
src_prepare() {
# Python bindings are built/tested/installed manually.
sed -e '/SUBDIRS =/s/$(MAYBE_PYTHONLIB)//' -i Makefile.in || die "sed failed"
}
src_configure () {
- python_execute_function -f -q econf \
+ econf \
$(use_enable nls) \
$(use_enable python) \
$(use_enable doc gtk-doc)