summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-10-06 11:33:01 +0000
committerJustin Lecher <jlec@gentoo.org>2011-10-06 11:33:01 +0000
commit7052fb8f939b7fc9ede7b0f6971d07c1f256ce09 (patch)
treec511cb16527cdd6965970eb5d575395523f37ffd /sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild
parentMarked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo, Elija... (diff)
downloadgentoo-2-7052fb8f939b7fc9ede7b0f6971d07c1f256ce09.tar.gz
gentoo-2-7052fb8f939b7fc9ede7b0f6971d07c1f256ce09.tar.bz2
gentoo-2-7052fb8f939b7fc9ede7b0f6971d07c1f256ce09.zip
Only run python_mod function with USE=python, #385847
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild')
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild
index 6d84927fa5ca..d3fa66ef6864 100644
--- a/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild
+++ b/sci-visualization/qtiplot/qtiplot-0.9.8.3.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/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild,v 1.4 2011/07/16 16:44:27 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild,v 1.5 2011/10/06 11:33:01 jlec Exp $
EAPI=3
@@ -208,10 +208,10 @@ pkg_postinst() {
fi
fdo-mime_desktop_database_update
- python_mod_optimize ${PN}
+ use python && python_mod_optimize ${PN}
}
pkg_postrm() {
fdo-mime_desktop_database_update
- python_mod_cleanup ${PN}
+ use python && python_mod_cleanup ${PN}
}