summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-08 15:43:42 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-08 15:43:42 +0000
commit9104c66412c7c78cc6dbf364d7b05a58c99af595 (patch)
tree19f8de2f3fc35a1ada51b7b6c108ceeedba629d0 /dev-python/elementtree
parentDelete older ebuild. (diff)
downloadgentoo-2-9104c66412c7c78cc6dbf364d7b05a58c99af595.tar.gz
gentoo-2-9104c66412c7c78cc6dbf364d7b05a58c99af595.tar.bz2
gentoo-2-9104c66412c7c78cc6dbf364d7b05a58c99af595.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/elementtree')
-rw-r--r--dev-python/elementtree/ChangeLog8
-rw-r--r--dev-python/elementtree/elementtree-1.2.6-r2.ebuild32
2 files changed, 28 insertions, 12 deletions
diff --git a/dev-python/elementtree/ChangeLog b/dev-python/elementtree/ChangeLog
index 1bb1237bdef1..afaf3c70830a 100644
--- a/dev-python/elementtree/ChangeLog
+++ b/dev-python/elementtree/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/elementtree
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/elementtree/ChangeLog,v 1.38 2009/10/10 15:43:29 grobian Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/elementtree/ChangeLog,v 1.39 2010/07/08 15:43:42 arfrever Exp $
+
+ 08 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ elementtree-1.2.6-r2.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
10 Oct 2009; Fabian Groffen <grobian@gentoo.org>
elementtree-1.2.6-r2.ebuild:
diff --git a/dev-python/elementtree/elementtree-1.2.6-r2.ebuild b/dev-python/elementtree/elementtree-1.2.6-r2.ebuild
index 59ef2e0bdaba..58749da6f431 100644
--- a/dev-python/elementtree/elementtree-1.2.6-r2.ebuild
+++ b/dev-python/elementtree/elementtree-1.2.6-r2.ebuild
@@ -1,10 +1,16 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 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.13 2009/10/10 15:43:29 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/elementtree/elementtree-1.2.6-r2.ebuild,v 1.14 2010/07/08 15:43:42 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
-MY_P="${PN}-${PV}-20050316"
+MY_P="${P}-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"
@@ -13,21 +19,27 @@ LICENSE="ElementTree"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE=""
+
DEPEND="dev-python/setuptools"
-S=${WORKDIR}/${MY_P}
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="CHANGES"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -e 's/distutils.core/setuptools/' setup.py || die 'sed failed'
+src_prepare() {
+ distutils_src_prepare
+ sed -e "s/distutils.core/setuptools/" -i setup.py || die "sed failed"
}
src_test() {
- python selftest.py || die "selftest.py failed"
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" selftest.py
+ }
+ python_execute_function testing
}
src_install() {
distutils_src_install
- dodoc CHANGES
dohtml docs/*
}