summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-07-06 14:20:27 +0000
committerJustin Lecher <jlec@gentoo.org>2010-07-06 14:20:27 +0000
commit5b0c15b7f79a94b803beffbd3cb80ac1412f4d80 (patch)
treeb240e540c518643996f70335977b37755dccedac /media-gfx/graphviz
parentUnset NEED_PYTHON. (diff)
downloadgentoo-2-5b0c15b7f79a94b803beffbd3cb80ac1412f4d80.tar.gz
gentoo-2-5b0c15b7f79a94b803beffbd3cb80ac1412f4d80.tar.bz2
gentoo-2-5b0c15b7f79a94b803beffbd3cb80ac1412f4d80.zip
Fix python_mod_* for EAPI=3, thanks galtgendo for reporting bug 327103
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/graphviz')
-rw-r--r--media-gfx/graphviz/ChangeLog5
-rw-r--r--media-gfx/graphviz/graphviz-2.26.3-r1.ebuild10
2 files changed, 7 insertions, 8 deletions
diff --git a/media-gfx/graphviz/ChangeLog b/media-gfx/graphviz/ChangeLog
index 402ced40e1b5..5489a5eacc65 100644
--- a/media-gfx/graphviz/ChangeLog
+++ b/media-gfx/graphviz/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/graphviz
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.221 2010/02/14 12:23:59 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.222 2010/07/06 14:20:27 jlec Exp $
+
+ 06 Jul 2010; Justin Lecher <jlec@gentoo.org> graphviz-2.26.3-r1.ebuild:
+ Fix python_mod_* for EAPI=3
*graphviz-2.26.3-r1 (14 Feb 2010)
diff --git a/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild b/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild
index baf9b12bbaf4..3fdbf719cc04 100644
--- a/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild
+++ b/media-gfx/graphviz/graphviz-2.26.3-r1.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-gfx/graphviz/graphviz-2.26.3-r1.ebuild,v 1.3 2010/06/15 16:12:46 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild,v 1.4 2010/07/06 14:20:27 jlec Exp $
EAPI=3
inherit eutils autotools multilib python
@@ -206,13 +206,9 @@ pkg_postinst() {
# This actually works if --enable-ltdl is passed
# to configure
dot -c
- if use python ; then
- python_mod_optimize $(python_get_sitedir)/gv.py
- fi
+ use python && python_mod_optimize gv.py
}
pkg_postrm() {
- if use python ; then
- python_mod_cleanup $(python_get_sitedir)/gv.py
- fi
+ use python && python_mod_cleanup gv.py
}