diff options
Diffstat (limited to 'dev-python/celementtree/celementtree-1.0.5.ebuild')
-rw-r--r-- | dev-python/celementtree/celementtree-1.0.5.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/celementtree/celementtree-1.0.5.ebuild b/dev-python/celementtree/celementtree-1.0.5.ebuild new file mode 100644 index 000000000000..0b0a4395a45d --- /dev/null +++ b/dev-python/celementtree/celementtree-1.0.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/celementtree/celementtree-1.0.5.ebuild,v 1.1 2005/12/17 01:22:23 liquidx Exp $ + +inherit eutils distutils + +MY_P="cElementTree-${PV}-20051216" +DESCRIPTION="The cElementTree module is a C implementation of the ElementTree API" +HOMEPAGE="http://effbot.org/zone/celementtree.htm" +SRC_URI="http://effbot.org/downloads/${MY_P}.tar.gz" + +LICENSE="ElementTree" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="doc" +DEPEND=">=dev-lang/python-2.1.3-r1 + >=dev-python/elementtree-1.2" +S=${WORKDIR}/${MY_P} + +src_install() { + distutils_src_install + if use doc; then + insinto /usr/share/doc/${PF}/samples + doins samples/* + doins selftest.py + fi +} |