# ChangeLog for media-gfx/k3d
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.1 2003/11/10 10:57:10 brandy Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.2 2004/03/10 02:04:46 kloeri Exp $
+
+ 10 Mar 2004; Bryan Østergaard,,, <kloeri@gentoo.org> k3d-0.2.5.4.ebuild:
+ Fix python compilation, bug #42822.
*k3d-0.2.5.4 (10 Nov 2003)
-MD5 ac84a5a7f2f44327841600ea67d4c16f k3d-0.2.5.4.ebuild 1469
-MD5 e1845158f06b77d7116ea7d5a5b3434f ChangeLog 451
+MD5 bdc4a7b88d31ec82a0a03e137aeae376 ChangeLog 565
+MD5 632ecdded9644a14f23fb81b7139432f k3d-0.2.5.4.ebuild 1580
MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161
MD5 e0baf5403904a6b909361f0fdd20271a files/k3d-0.2.5.4-gentoo.patch.tar.bz2 7497
MD5 86d41f87f2689037989cc31b5d19d700 files/digest-k3d-0.2.5.4 69
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.2.5.4.ebuild,v 1.1 2003/11/10 10:57:10 brandy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.2.5.4.ebuild,v 1.2 2004/03/10 02:04:46 kloeri Exp $
+
+inherit python
IUSE="truetype doc python ruby"
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.patch.tar.bz2
+ # fix python compilation
+ python_version
+ sed -i -e "s:python2.2:python${PYVER}:g" configure
+
}
src_compile() {