diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-06-23 22:50:34 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-06-23 22:50:34 +0000 |
commit | bc5f1b3848a1e885fcfb54f9c9624e2f61c37a3e (patch) | |
tree | c327254c04988c52074e2e74ff708146ce3d6c4c /dev-python | |
parent | Drop old (diff) | |
download | gentoo-2-bc5f1b3848a1e885fcfb54f9c9624e2f61c37a3e.tar.gz gentoo-2-bc5f1b3848a1e885fcfb54f9c9624e2f61c37a3e.tar.bz2 gentoo-2-bc5f1b3848a1e885fcfb54f9c9624e2f61c37a3e.zip |
Tests should now work for python-3 and remove obsolete workarounds for tests (thanks to Arfrever).
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/netaddr/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/netaddr/netaddr-0.7.7.ebuild | 11 |
2 files changed, 7 insertions, 10 deletions
diff --git a/dev-python/netaddr/ChangeLog b/dev-python/netaddr/ChangeLog index e75a09e6feb8..ed54c7d64f9a 100644 --- a/dev-python/netaddr/ChangeLog +++ b/dev-python/netaddr/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/netaddr # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/netaddr/ChangeLog,v 1.9 2012/06/22 08:20:12 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/netaddr/ChangeLog,v 1.10 2012/06/23 22:50:34 radhermit Exp $ + + 23 Jun 2012; Tim Harder <radhermit@gentoo.org> netaddr-0.7.7.ebuild: + Tests should now work for python-3 and remove obsolete workarounds for tests + (thanks to Arfrever). *netaddr-0.7.7 (22 Jun 2012) diff --git a/dev-python/netaddr/netaddr-0.7.7.ebuild b/dev-python/netaddr/netaddr-0.7.7.ebuild index 00f97e3b8474..a986a0e6681f 100644 --- a/dev-python/netaddr/netaddr-0.7.7.ebuild +++ b/dev-python/netaddr/netaddr-0.7.7.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/netaddr/netaddr-0.7.7.ebuild,v 1.1 2012/06/22 08:20:11 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/netaddr/netaddr-0.7.7.ebuild,v 1.2 2012/06/23 22:50:34 radhermit Exp $ EAPI="4" SUPPORT_PYTHON_ABIS="1" -PYTHON_TESTS_FAILURES_TOLERANT_ABIS="3.* *-jython" +PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython" inherit distutils @@ -20,13 +20,6 @@ IUSE="cli" DEPEND="" RDEPEND="cli? ( dev-python/ipython )" -src_prepare() { - distutils_src_prepare - - # https://github.com/drkjam/netaddr/issues/20 - sed -e "s/AddrFormatError/netaddr.core.AddrFormatError/" -i netaddr/tests/3.x/ip/{platform_linux2.txt,platform_win32.txt} -} - src_test() { testing() { PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" netaddr/tests/__init__.py |