summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2007-07-08 21:14:15 +0000
committerRob Cakebread <pythonhead@gentoo.org>2007-07-08 21:14:15 +0000
commit6235c7506c363a3d16d0841375a77f1192dc5fe6 (patch)
tree760e17663821680cb9a8b3b7c5dc7c21d180ba87 /dev-python
parentNow also apply the patch :) (diff)
downloadgentoo-2-6235c7506c363a3d16d0841375a77f1192dc5fe6.tar.gz
gentoo-2-6235c7506c363a3d16d0841375a77f1192dc5fe6.tar.bz2
gentoo-2-6235c7506c363a3d16d0841375a77f1192dc5fe6.zip
Use setuptools to install so Turbogears apps can require it.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/elementtree/ChangeLog8
-rw-r--r--dev-python/elementtree/elementtree-1.2.6-r2.ebuild33
-rw-r--r--dev-python/elementtree/files/digest-elementtree-1.2.6-r23
3 files changed, 43 insertions, 1 deletions
diff --git a/dev-python/elementtree/ChangeLog b/dev-python/elementtree/ChangeLog
index d59a4a4deaeb..5c733e1b28c3 100644
--- a/dev-python/elementtree/ChangeLog
+++ b/dev-python/elementtree/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/elementtree
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/elementtree/ChangeLog,v 1.26 2007/07/05 09:04:24 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/elementtree/ChangeLog,v 1.27 2007/07/08 21:14:15 pythonhead Exp $
+
+*elementtree-1.2.6-r2 (08 Jul 2007)
+
+ 08 Jul 2007; Rob Cakebread <pythonhead@gentoo.org>
+ +elementtree-1.2.6-r2.ebuild:
+ Use setuptools to install so Turbogears apps can require it.
05 Jul 2007; Ali Polatel <hawking@gentoo.org> Manifest:
Removed 1.2.6-r1
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/*
+}
diff --git a/dev-python/elementtree/files/digest-elementtree-1.2.6-r2 b/dev-python/elementtree/files/digest-elementtree-1.2.6-r2
new file mode 100644
index 000000000000..5f5974d53077
--- /dev/null
+++ b/dev-python/elementtree/files/digest-elementtree-1.2.6-r2
@@ -0,0 +1,3 @@
+MD5 e1b21716be8bfff8bf192fc3880ad008 elementtree-1.2.6-20050316.tar.gz 41752
+RMD160 887cb1c4a3b62874b76841ae5109d0153d61a548 elementtree-1.2.6-20050316.tar.gz 41752
+SHA256 b29d5f2417cb331562c8c5f8ebef2a895ba540261c4245f526143c6a31bccb04 elementtree-1.2.6-20050316.tar.gz 41752