diff options
Diffstat (limited to 'dev-python/kid/kid-0.9.4.ebuild')
-rw-r--r-- | dev-python/kid/kid-0.9.4.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/kid/kid-0.9.4.ebuild b/dev-python/kid/kid-0.9.4.ebuild new file mode 100644 index 000000000000..6a703996f0d9 --- /dev/null +++ b/dev-python/kid/kid-0.9.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/kid/kid-0.9.4.ebuild,v 1.1 2006/12/23 11:06:17 lucass Exp $ + +inherit distutils eutils + +DESCRIPTION="A simple and Pythonic XML template language" +SRC_URI="http://www.kid-templating.org/dist/${PV}/${P}.tar.gz" +HOMEPAGE="http://www.kid-templating.org/" + +KEYWORDS="~amd64 ~ia64 ~x86" +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND=">=dev-lang/python-2.3 + >=dev-python/elementtree-1.2.6" + + +src_unpack() { + unpack ${A} + cd ${S} + + # use distutils instead of egg + epatch ${FILESDIR}/kid-0.9.4-ezsetup-gentoo.patch +} + +src_test() { + ${python} run_tests.py -x || die "run_tests.py failed" +} + +src_install() { + distutils_src_install + + dobin bin/* + + dodoc doc/*.txt COPYING HISTORY RELEASING + dohtml -r doc/html/* + + insinto /usr/share/doc/${PF} + doins -r examples +} + +pkg_postinst() { + einfo "Installing dev-python/celementtree may enhance performance." +} + |