blob: 4cac28003edc335a8eafb4ebaf9f4b0165cc5260 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/simpletal/simpletal-4.0.ebuild,v 1.1 2006/02/08 12:37:33 marienz Exp $
IUSE=""
MY_P=SimpleTAL
inherit distutils
DESCRIPTION="SimpleTAL is a stand alone Python implementation of the TAL, TALES and METAL specifications used in Zope to power HTML and XML templates."
SRC_URI="http://www.owlfish.com/software/simpleTAL/downloads/${MY_P}-${PV}.tar.gz"
HOMEPAGE="http://www.owlfish.com/software/simpleTAL/"
DEPEND="virtual/python"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~ia64 ~ppc ~sparc ~x86"
S=${WORKDIR}/${MY_P}-${PV}
src_install() {
distutils_src_install
dohtml documentation/html/*
docinto examples/basic
dodoc examples/basic/basic-example.py
dodoc examples/basic/basic.html
docinto examples/cgi-example
dodoc examples/cgi-example/simple-cgi.py
dodoc examples/cgi-example/fields.html
dodoc examples/cgi-example/results.html
docinto examples/metal-example
dodoc examples/metal-example/metal-example.py
dodoc examples/metal-example/macro.html
dodoc examples/metal-example/page.html
docinto examples/structure-example
dodoc examples/structure-example/structure-example.py
dodoc examples/structure-example/structure.html
}
src_test() {
${python} runtests.py || die "tests failed"
}
|