summaryrefslogtreecommitdiff
blob: fe01c186a7c0a091cb2f919e3857040a28e58cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/cheetah-0.9.16_alpha2.ebuild,v 1.2 2005/02/19 06:20:31 gongloo Exp $

inherit distutils

MY_P=${P/ch/Ch}
MY_P=${MY_P/_alpha/a}

S=${WORKDIR}/${MY_P}
DESCRIPTION="Python-powered template engine and code generator."
HOMEPAGE="http://www.cheetahtemplate.org/"
SRC_URI="mirror://sourceforge/cheetahtemplate/${MY_P}.tar.gz"

LICENSE="PSF-2.2"
IUSE=""
KEYWORDS="~x86 ~sparc ~alpha ~ppc ppc-macos"
SLOT="0"

DEPEND=">=dev-lang/python-2.2"

PYTHON_MODNAME="Cheetah"

src_install() {
	DOCS="README CHANGES LICENSE TODO"
	distutils_src_install

	insinto /usr/share/doc/${PF}/examples
	doins examples/webware_examples/cheetahSite/*
}