diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-11-04 14:45:27 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-11-04 14:45:27 +0000 |
commit | 37ced1d6f2fd0fd7a98c96544376cb70896651f5 (patch) | |
tree | 7847bd9fb18a61ddf7cb39d54dcfc0f23d7a995d /dev-python | |
parent | added rc5_p2, rc6_p1 and 9999 ebuilds (diff) | |
download | gentoo-2-37ced1d6f2fd0fd7a98c96544376cb70896651f5.tar.gz gentoo-2-37ced1d6f2fd0fd7a98c96544376cb70896651f5.tar.bz2 gentoo-2-37ced1d6f2fd0fd7a98c96544376cb70896651f5.zip |
Removed some bad tests (bug #277921)
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/configobj/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/configobj/configobj-4.6.0.ebuild | 8 | ||||
-rw-r--r-- | dev-python/configobj/files/configobj-4.6.0-bad-tests.patch | 13 |
3 files changed, 24 insertions, 3 deletions
diff --git a/dev-python/configobj/ChangeLog b/dev-python/configobj/ChangeLog index c9229b3fd289..6f78cfb2df9e 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.13 2009/10/10 12:42:47 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/ChangeLog,v 1.14 2009/11/04 14:45:26 bicatali Exp $ + + 04 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org> + configobj-4.6.0.ebuild, +files/configobj-4.6.0-bad-tests.patch: + Removed some bad tests (bug #277921) 10 Oct 2009; Fabian Groffen <grobian@gentoo.org> configobj-4.6.0.ebuild: Merge from Prefix diff --git a/dev-python/configobj/configobj-4.6.0.ebuild b/dev-python/configobj/configobj-4.6.0.ebuild index cf261372f791..781bedabfd73 100644 --- a/dev-python/configobj/configobj-4.6.0.ebuild +++ b/dev-python/configobj/configobj-4.6.0.ebuild @@ -1,13 +1,13 @@ # 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.4 2009/10/10 12:42:47 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/configobj-4.6.0.ebuild,v 1.5 2009/11/04 14:45:26 bicatali Exp $ EAPI="2" NEED_PYTHON="2.4" SUPPORT_PYTHON_ABIS="1" -inherit distutils +inherit eutils distutils DESCRIPTION="Simple config file reader and writer" HOMEPAGE="http://www.voidspace.org.uk/python/configobj.html" @@ -23,6 +23,10 @@ RDEPEND="" RESTRICT_PYTHON_ABIS="3*" +src_prepare() { + epatch "${FILESDIR}"/${P}-bad-tests.patch +} + src_test() { sed -i \ -e 's/ \(doctest\.testmod(.*\)/ sys.exit(\1[0] != 0)/' \ diff --git a/dev-python/configobj/files/configobj-4.6.0-bad-tests.patch b/dev-python/configobj/files/configobj-4.6.0-bad-tests.patch new file mode 100644 index 000000000000..6b5113d9edba --- /dev/null +++ b/dev-python/configobj/files/configobj-4.6.0-bad-tests.patch @@ -0,0 +1,13 @@ +--- validate.py.orig 2009-11-04 15:22:22.000000000 +0000 ++++ validate.py 2009-11-04 15:23:26.000000000 +0000 +@@ -271,10 +271,6 @@ + 16908291 + >>> int(dottedQuadToNum('1.2.3.4')) + 16909060 +- >>> dottedQuadToNum('1.2.3. 4') +- 16909060 +- >>> dottedQuadToNum('255.255.255.255') +- 4294967295L + >>> dottedQuadToNum('255.255.255.256') + Traceback (most recent call last): + ValueError: Not a good dotted-quad IP: 255.255.255.256 |