summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2007-07-05 06:45:42 +0000
committerRob Cakebread <pythonhead@gentoo.org>2007-07-05 06:45:42 +0000
commit609e55772dfb8e96ffe0ff7ebc3acdfff6c185ab (patch)
tree4d8a3b8c6b18de260a9e2b9a63ec91982a2670fd /dev-python/elementtree
parentDropped old version. (diff)
downloadgentoo-2-609e55772dfb8e96ffe0ff7ebc3acdfff6c185ab.tar.gz
gentoo-2-609e55772dfb8e96ffe0ff7ebc3acdfff6c185ab.tar.bz2
gentoo-2-609e55772dfb8e96ffe0ff7ebc3acdfff6c185ab.zip
Change setup.py to use setuptools setup
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-python/elementtree')
-rw-r--r--dev-python/elementtree/ChangeLog8
-rw-r--r--dev-python/elementtree/elementtree-1.2.6-r1.ebuild33
-rw-r--r--dev-python/elementtree/files/digest-elementtree-1.2.6-r13
3 files changed, 43 insertions, 1 deletions
diff --git a/dev-python/elementtree/ChangeLog b/dev-python/elementtree/ChangeLog
index a12b326cdbaa..1564809daaaf 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.24 2007/03/12 17:27:29 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/elementtree/ChangeLog,v 1.25 2007/07/05 06:45:42 pythonhead Exp $
+
+*elementtree-1.2.6-r1 (05 Jul 2007)
+
+ 05 Jul 2007; Rob Cakebread <pythonhead@gentoo.org>
+ +elementtree-1.2.6-r1.ebuild:
+ Change setup.py to use setuptools setup
12 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org>
elementtree-1.2.6.ebuild:
diff --git a/dev-python/elementtree/elementtree-1.2.6-r1.ebuild b/dev-python/elementtree/elementtree-1.2.6-r1.ebuild
new file mode 100644
index 000000000000..4d60ba185003
--- /dev/null
+++ b/dev-python/elementtree/elementtree-1.2.6-r1.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-r1.ebuild,v 1.1 2007/07/05 06:45:42 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="alpha amd64 arm ia64 mips ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE=""
+
+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-r1 b/dev-python/elementtree/files/digest-elementtree-1.2.6-r1
new file mode 100644
index 000000000000..5f5974d53077
--- /dev/null
+++ b/dev-python/elementtree/files/digest-elementtree-1.2.6-r1
@@ -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