diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-08 15:43:42 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-08 15:43:42 +0000 |
commit | 0b2bc0e89d05ede22fa27ca8daae1bfeefe730e6 (patch) | |
tree | 815c9a96077c3b847ed4c5f7771573ae4104808a /dev-python/elementtree | |
parent | Delete older ebuild. (diff) | |
download | historical-0b2bc0e89d05ede22fa27ca8daae1bfeefe730e6.tar.gz historical-0b2bc0e89d05ede22fa27ca8daae1bfeefe730e6.tar.bz2 historical-0b2bc0e89d05ede22fa27ca8daae1bfeefe730e6.zip |
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/elementtree')
-rw-r--r-- | dev-python/elementtree/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/elementtree/Manifest | 5 | ||||
-rw-r--r-- | dev-python/elementtree/elementtree-1.2.6-r2.ebuild | 32 |
3 files changed, 30 insertions, 15 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/Manifest b/dev-python/elementtree/Manifest index 0f0051071105..f8b3d97f5d08 100644 --- a/dev-python/elementtree/Manifest +++ b/dev-python/elementtree/Manifest @@ -1,5 +1,4 @@ DIST elementtree-1.2.6-20050316.tar.gz 41752 RMD160 887cb1c4a3b62874b76841ae5109d0153d61a548 SHA1 7d1f6fb534f177623a0482ef192a6170fd21fb1c SHA256 b29d5f2417cb331562c8c5f8ebef2a895ba540261c4245f526143c6a31bccb04 -EBUILD elementtree-1.2.6-r2.ebuild 934 RMD160 60a7b4ce93d66a9369e0a11a9ae1dc332c63ca1f SHA1 de5bddd89d67c303162a17e6b786783a0bcc0cf6 SHA256 c62e3091a63d6f7d17a3893164e9a3440cc288d283315cbce72033ac3b018629 -EBUILD elementtree-1.2.6.ebuild 716 RMD160 26625ce0bcd2922c6fe78f5078fe16e1b9563840 SHA1 185bfc744b584ab3ea5559af2c0c3a964906f19b SHA256 096dca8b3ccf9cd88059a75892b971e5eb6919f7ed6b647dff32b1ba9f50075e -MISC ChangeLog 4823 RMD160 3d11f67142eec8d2ab2693aaf97ee0e12680688f SHA1 bb117ac777dedbc7c2675012c5d3757e9f644d62 SHA256 e999df7277fa6abb2a1b3589a527995203a26a75549ba072a69a4b7cd50b5a49 +EBUILD elementtree-1.2.6-r2.ebuild 1088 RMD160 f2f8f43784fee2b2ed52dd897fd144d34b7436af SHA1 ca9857a365865c9638c9fe4e779205036d0caade SHA256 27da6121daf935aaf28f5e7832d752e5485fbd009e76654ba57720e17874e307 +MISC ChangeLog 4956 RMD160 d286ef0b0d5e151a19fb14293f86e970e95ad043 SHA1 4ac39cd4f1400d8d1b520553000d88c155b982ce SHA256 c61acfab965a5904a9039d75b34f20c911e33c0c531761957bc9e12924b8d452 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 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/* } |