summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-31 23:52:08 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-31 23:52:08 +0000
commitd26f1df856de263a29fb8397db33e5d3f053cb25 (patch)
tree21c8e53c08d049eaf70bd937bd6ebaa40fddf352 /dev-python/configobj
parentVersion bump. Set SUPPORT_PYTHON_ABIS. (diff)
downloadhistorical-d26f1df856de263a29fb8397db33e5d3f053cb25.tar.gz
historical-d26f1df856de263a29fb8397db33e5d3f053cb25.tar.bz2
historical-d26f1df856de263a29fb8397db33e5d3f053cb25.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14174-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/configobj')
-rw-r--r--dev-python/configobj/ChangeLog6
-rw-r--r--dev-python/configobj/Manifest4
-rw-r--r--dev-python/configobj/configobj-4.6.0.ebuild31
3 files changed, 30 insertions, 11 deletions
diff --git a/dev-python/configobj/ChangeLog b/dev-python/configobj/ChangeLog
index a8a116ae0dce..97333b11f595 100644
--- a/dev-python/configobj/ChangeLog
+++ b/dev-python/configobj/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/configobj
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/ChangeLog,v 1.8 2009/07/04 15:43:46 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/ChangeLog,v 1.9 2009/08/31 23:52:08 arfrever Exp $
+
+ 31 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ ChangeLog:
+ Set SUPPORT_PYTHON_ABIS.
*configobj-4.6.0 (04 Jul 2009)
diff --git a/dev-python/configobj/Manifest b/dev-python/configobj/Manifest
index 5e0e5197abf9..91916779c358 100644
--- a/dev-python/configobj/Manifest
+++ b/dev-python/configobj/Manifest
@@ -1,6 +1,6 @@
DIST configobj-4.5.3.zip 168527 RMD160 4b974a66352ba4af00a7c17d11f450107429e90f SHA1 3e96c99f305c6688de628221d0062a9638d6cc32 SHA256 a9e9f3294639a9a88f0e1cae0556b26a84a6ef30909c089be330ec4888936ee2
DIST configobj-4.6.0.zip 169617 RMD160 d2b102a6642237ef3780c5efc9de48356ed472fc SHA1 b6f2863c67c461702188f3eae0d57fa7dc4ceac6 SHA256 2228a3b6779c56e867db63fd76da4358640724cc80f34df3efb845f8db8fcfac
EBUILD configobj-4.5.3.ebuild 929 RMD160 6584cc64497e7a79a868430e24fd8df5d0924cc0 SHA1 d74d5435fa34a1e30d3900fa5d2d0e511acd55d8 SHA256 088808172e34b43b0f3c2e505d59068269abafc965a9c0e345dd87df0a543699
-EBUILD configobj-4.6.0.ebuild 873 RMD160 f4a0345c89063f688c24f66498cc2de029bb20e6 SHA1 3fb4726c14b778a729da46b38bfb423a49bd52d0 SHA256 1e1b5010c5a69de4cc48281e6b67ab45c887d36359eaf40c23c7f7b8e3d71db5
-MISC ChangeLog 1484 RMD160 f078d307165421c486b6e3a20ac0b548eaed9490 SHA1 67ad4e077e56949092ac8d4ff8cdea9fba8e87a6 SHA256 47cea0b7b4beb353c920d1eac70673b1bbefc9b7a6bbe3a42ea8ed1e9cc1336a
+EBUILD configobj-4.6.0.ebuild 1041 RMD160 0b3518874580f8b9e010770c1009a0b1400754b8 SHA1 79a6cdf72ebe5775a5613ea5c1651c8d55f3a478 SHA256 aaa2ffa66e184a2c2ac88f2f70a1e8c34b034061ae179dbe9936b0b70351099d
+MISC ChangeLog 1598 RMD160 9c0ab7c680598f616bc0706aa89deabf458d107f SHA1 acc9ed73487f932a875f86576224d6b190384157 SHA256 d4b714200a85b6c5add19f22382567aa82a89631aaff432b36226ea1cdd7fd5d
MISC metadata.xml 440 RMD160 c766264bc7340d85866a917c0767c0ee26f110c1 SHA1 70dd7baa179413af9d1e596d3c7c94f91b8a34ef SHA256 f43fb6490d8f4b502cb5b9e9a6756ba8263367f2d2aff50e4961c2b7aa6aab33
diff --git a/dev-python/configobj/configobj-4.6.0.ebuild b/dev-python/configobj/configobj-4.6.0.ebuild
index 4c4ed79662f2..0dddc02183a0 100644
--- a/dev-python/configobj/configobj-4.6.0.ebuild
+++ b/dev-python/configobj/configobj-4.6.0.ebuild
@@ -1,8 +1,11 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/configobj-4.6.0.ebuild,v 1.1 2009/07/04 15:43:46 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/configobj-4.6.0.ebuild,v 1.2 2009/08/31 23:52:08 arfrever Exp $
+
+EAPI="2"
NEED_PYTHON="2.4"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils
@@ -18,6 +21,19 @@ IUSE="doc"
DEPEND="app-arch/unzip"
RDEPEND=""
+RESTRICT_PYTHON_ABIS="3*"
+
+src_test() {
+ sed -i \
+ -e 's/ \(doctest\.testmod(.*\)/ sys.exit(\1[0] != 0)/' \
+ validate.py
+
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" validate.py -v
+ }
+ python_execute_function testing
+}
+
src_install() {
distutils_src_install
if use doc; then
@@ -27,11 +43,10 @@ src_install() {
fi
}
-src_test() {
- distutils_python_version
- sed -i \
- -e 's/ \(doctest\.testmod(.*\)/ sys.exit(\1[0] != 0)/' \
- validate.py
- PYTHONPATH=build/lib "${python}" validate.py -v \
- || die "configobj_test.py failed"
+pkg_postinst() {
+ python_mod_optimize configobj.py validate.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup
}