# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Python binding for TENG templating engine" HOMEPAGE="http://teng.sf.net/" SRC_URI="http://switch.dl.sourceforge.net/sourceforge/teng/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="dev-cpp/teng" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} epatch "${FILESDIR}"/python-teng.patch } src_compile() { python setup.py build } src_install() { python setup.py install --root=${D} }