# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ # (C) 2004 by Christian Korff DESCRIPTION="This is extension for PHP that allow using Python in PHP" HOMEPAGE="http://www.csh.rit.edu/~jon/projects/pip/" SRC_URI="http://www.csh.rit.edu/~jon/projects/pip/dist/python-${PV}.tgz" RESTRICT="nomirror" PHP_EXT_INI="yes" LICENSE="PHP" inherit php-ext-pecl SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=" =dev-lang/python-2.2*" S=${WORKDIR}/python-${PV} src_unpack() { unpack ${A} cd ${S} # This patch fixes an issue with -lpython2.2 # It's based on 0.7.0 there this issue is fixed in config.m4 epatch ${FILESDIR}/php-python-0.6.0-libdl.patch } src_install() { php-ext-pecl_src_install dodoc INSTALL }