summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-23 17:47:04 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-23 17:47:04 +0000
commitfc2068668118cc23bb5dde2d6bc739f35a8f3855 (patch)
tree76367f37fed744f9cfd983f91e85cc2c8e91db7f /dev-python/pyxml
parentVersion bump #284727 by Arfrever Frehtes Taifersar Arahesis. (diff)
downloadhistorical-fc2068668118cc23bb5dde2d6bc739f35a8f3855.tar.gz
historical-fc2068668118cc23bb5dde2d6bc739f35a8f3855.tar.bz2
historical-fc2068668118cc23bb5dde2d6bc739f35a8f3855.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14394-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyxml')
-rw-r--r--dev-python/pyxml/ChangeLog6
-rw-r--r--dev-python/pyxml/Manifest4
-rw-r--r--dev-python/pyxml/pyxml-0.8.4-r2.ebuild36
3 files changed, 27 insertions, 19 deletions
diff --git a/dev-python/pyxml/ChangeLog b/dev-python/pyxml/ChangeLog
index b0462821f349..6c4d114dfdb8 100644
--- a/dev-python/pyxml/ChangeLog
+++ b/dev-python/pyxml/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pyxml
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/ChangeLog,v 1.57 2009/07/26 22:30:48 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/ChangeLog,v 1.58 2009/09/23 17:47:04 arfrever Exp $
+
+ 23 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyxml-0.8.4-r2.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
26 Jul 2009; Brent Baude <ranger@gentoo.org> pyxml-0.8.4-r2.ebuild:
stable ppc64, bug 277351
diff --git a/dev-python/pyxml/Manifest b/dev-python/pyxml/Manifest
index bdcf522debda..67aa3832227e 100644
--- a/dev-python/pyxml/Manifest
+++ b/dev-python/pyxml/Manifest
@@ -1,7 +1,7 @@
AUX pyxml-0.8.4-python-2.6.patch 1749 RMD160 f8eb2f581a953e8a2b2968cea9a88fe5a1353243 SHA1 787a92081dd172aa36d5c52344e74ef922073bc0 SHA256 03c4eb073c58e7c28a22ff702a296ba4c4fe11a64d931ada6216d1876c6118e8
DIST PyXML-0.8.4.tar.gz 734954 RMD160 976e618d99fb29840e36eb2c7662c1d0a1f2bca9 SHA1 6f30d5907b75ef76809c19e0103d78f4a5fb027c SHA256 9fab66f9584fb8e67aebd8745a5c97bf1c5a2e2e461adf68862bcec64e448c13
EBUILD pyxml-0.8.4-r1.ebuild 1371 RMD160 fdde2993331618bb2b2eabc579045e01ab96d102 SHA1 bb205a770e9d407c904fa0ce8e4ddbebebb2aed5 SHA256 003afc6727aa492befd5a2e5c113094dfc59e92439db7fd2b82057283e3d005e
-EBUILD pyxml-0.8.4-r2.ebuild 1444 RMD160 406bd4ce6f4a6cb5e59790109e857f61996d7d9c SHA1 8d011bbcd902f29b1f4fb73f81e3cfad12e77a57 SHA256 41e333c2fb1319d5bc37cd2701740640dc0a3becd3f7b4cfc9b6ddc85e2f3574
+EBUILD pyxml-0.8.4-r2.ebuild 1522 RMD160 4e46c4b3f6c2ba472326c629e8609a770cc874e4 SHA1 788a358d53a3661736fa3baa37dec797a51b7a5e SHA256 dc7137bb90f73779e741f7f0b3de7eca04fc3369f385fb6e9ca2b49ba65aeff8
EBUILD pyxml-0.8.4.ebuild 1130 RMD160 194c2df5365f3f1c29f4900f8f5ceb2f4c22dbdc SHA1 374ef58d541f87b12f83f2089c5d0f19ef6a71d5 SHA256 158305cadf34bdbe4123b9f4753bfb64e75bb85de0a2cb7395c57cd3bc8e6987
-MISC ChangeLog 8451 RMD160 253ea18f2b67912f17ba2bdb7b2f81f77a273af3 SHA1 92656c26a79f21cdec9edd8a20192f7282bd8385 SHA256 ee8d4177045c7c6629d2ea000a88f11c12f0180537eee404e18cee3fd0888321
+MISC ChangeLog 8579 RMD160 f390fe9b13c7629fd30c6776bd94b6903da25a20 SHA1 bb378ecba73798084f45f98bb1fe96eb1c9b1e6f SHA256 3599e515c31161ac2426196cad17d982b47304704bb8a8c4f18ff6e0a7aa8cd6
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
diff --git a/dev-python/pyxml/pyxml-0.8.4-r2.ebuild b/dev-python/pyxml/pyxml-0.8.4-r2.ebuild
index d32892c73ee0..3b07f39f0b8d 100644
--- a/dev-python/pyxml/pyxml-0.8.4-r2.ebuild
+++ b/dev-python/pyxml/pyxml-0.8.4-r2.ebuild
@@ -1,6 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/pyxml-0.8.4-r2.ebuild,v 1.9 2009/07/26 22:30:48 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/pyxml-0.8.4-r2.ebuild,v 1.10 2009/09/23 17:47:04 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils
@@ -16,12 +19,17 @@ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="doc examples"
DEPEND=">=dev-libs/expat-1.95.6"
+RDEPEND="${DEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
+
+S="${WORKDIR}/${MY_P}"
-S=${WORKDIR}/${MY_P}
+DOCS="ANNOUNCE CREDITS doc/*.txt"
+PYTHON_MODNAME="_xmlplus"
-src_unpack(){
- distutils_src_unpack
- epatch "${FILESDIR}"/${P}-python-2.6.patch
+src_prepare(){
+ distutils_src_prepare
+ epatch "${FILESDIR}/${P}-python-2.6.patch"
}
src_compile() {
@@ -36,9 +44,15 @@ src_compile() {
# use the already-installed shared copy of libexpat
distutils_src_compile --with-libexpat=/usr ${myconf}
}
+src_test() {
+ cd test
+ testing() {
+ PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" regrtest.py
+ }
+ python_execute_function testing
+}
src_install() {
- DOCS="ANNOUNCE CREDITS doc/*.txt"
distutils_src_install
doman doc/man/*
@@ -48,13 +62,3 @@ src_install() {
fi
use examples && cp -r demo "${D}"/usr/share/doc/${PF}
}
-
-pkg_postinst(){
- python_mod_optimize "$(python_get_sitedir)/_xmlplus"
-}
-
-src_test() {
- cd test
- PYTHONPATH="$(ls -d ../build/lib.*)" "${python}" regrtest.py \
- || die "tests failed"
-}