# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) inherit distutils-r1 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/${P}.tar.gz" HOMEPAGE="http://www.owlfish.com/software/simpleTAL/" LICENSE="BSD" SLOT="0" IUSE="" KEYWORDS="x86 amd64 ~ppc sparc ~alpha" src_compile() { distutils-r1_src_compile || die } src_install() { distutils-r1_src_install 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 } pkg_postinst() { cd ${S} python ./runtests.py }