diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2007-07-08 21:14:15 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2007-07-08 21:14:15 +0000 |
commit | 9d028a16a8c2b729da917a03861e396832ec286c (patch) | |
tree | e0568d19988cc1446adbcabb99e8047ee83cf95e /dev-python/elementtree/elementtree-1.2.6-r2.ebuild | |
parent | Now also apply the patch :) (diff) | |
download | historical-9d028a16a8c2b729da917a03861e396832ec286c.tar.gz historical-9d028a16a8c2b729da917a03861e396832ec286c.tar.bz2 historical-9d028a16a8c2b729da917a03861e396832ec286c.zip |
Use setuptools to install so Turbogears apps can require it.
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'dev-python/elementtree/elementtree-1.2.6-r2.ebuild')
-rw-r--r-- | dev-python/elementtree/elementtree-1.2.6-r2.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/elementtree/elementtree-1.2.6-r2.ebuild b/dev-python/elementtree/elementtree-1.2.6-r2.ebuild new file mode 100644 index 000000000000..b548bf58d890 --- /dev/null +++ b/dev-python/elementtree/elementtree-1.2.6-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/elementtree/elementtree-1.2.6-r2.ebuild,v 1.1 2007/07/08 21:14:15 pythonhead Exp $ + +inherit distutils + +MY_P="${PN}-${PV}-20050316" +DESCRIPTION="A light-weight XML object model for Python" +HOMEPAGE="http://effbot.org/zone/element-index.htm" +SRC_URI="http://effbot.org/downloads/${MY_P}.tar.gz" + +LICENSE="ElementTree" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-fbsd" +IUSE="" +DEPEND="dev-python/setuptools" +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e 's/distutils.core/setuptools/' setup.py || die 'sed failed' +} + +src_test() { + python selftest.py || die "selftest.py failed" +} + +src_install() { + distutils_src_install + dodoc CHANGES + dohtml docs/* +} |