From fac74b11ffb21dca32d2d1150a6c8f01b783acfc Mon Sep 17 00:00:00 2001 From: Maxim Koltsov Date: Sat, 22 Sep 2012 18:49:38 +0000 Subject: Bump to 0.7.10, thanks to slepnoga (Portage version: 2.1.11.17/cvs/Linux i686) --- dev-python/netaddr/ChangeLog | 8 ++++++-- dev-python/netaddr/netaddr-0.7.10.ebuild | 35 ++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 dev-python/netaddr/netaddr-0.7.10.ebuild (limited to 'dev-python/netaddr') diff --git a/dev-python/netaddr/ChangeLog b/dev-python/netaddr/ChangeLog index ed54c7d64f9a..9343bbc7b02b 100644 --- a/dev-python/netaddr/ChangeLog +++ b/dev-python/netaddr/ChangeLog @@ -1,6 +1,11 @@ # 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.10 2012/06/23 22:50:34 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/netaddr/ChangeLog,v 1.11 2012/09/22 18:49:38 maksbotan Exp $ + +*netaddr-0.7.10 (22 Sep 2012) + + 22 Sep 2012; Maxim Koltsov +netaddr-0.7.10.ebuild: + Bump to 0.7.10, thanks to slepnoga 23 Jun 2012; Tim Harder netaddr-0.7.7.ebuild: Tests should now work for python-3 and remove obsolete workarounds for tests @@ -42,4 +47,3 @@ 04 Nov 2011; Maxim Koltsov +netaddr-0.7.6.ebuild, +metadata.xml: Added dev-python/netaddr-0.7.6, bug #388969. Thanks to slepnoga - diff --git a/dev-python/netaddr/netaddr-0.7.10.ebuild b/dev-python/netaddr/netaddr-0.7.10.ebuild new file mode 100644 index 000000000000..cd8df2e70b59 --- /dev/null +++ b/dev-python/netaddr/netaddr-0.7.10.ebuild @@ -0,0 +1,35 @@ +# 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.10.ebuild,v 1.1 2012/09/22 18:49:38 maksbotan Exp $ + +EAPI="4" +SUPPORT_PYTHON_ABIS="1" +PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython" + +inherit distutils + +DESCRIPTION="Network address representation and manipulation library" +HOMEPAGE="https://github.com/drkjam/netaddr http://pypi.python.org/pypi/netaddr" +SRC_URI="mirror://github/drkjam/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli" + +DEPEND="" +RDEPEND="cli? ( dev-python/ipython )" + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" netaddr/tests/__init__.py + } + python_execute_function testing +} + +pkg_postinst() { + distutils_pkg_postinst + if ! use cli; then + ewarn "If you intend to use netaddr shell in terminal, enable cli USE flag" + fi +} -- cgit v1.2.3-65-gdbad