summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-09-22 18:49:38 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-09-22 18:49:38 +0000
commitfac74b11ffb21dca32d2d1150a6c8f01b783acfc (patch)
tree7ad87960d46875397e1253c0eb50849868adefa8 /dev-python/netaddr
parentExport BUILD_CFLAGS and friends #435708 by Ambroz Bizjak. (diff)
downloadgentoo-2-fac74b11ffb21dca32d2d1150a6c8f01b783acfc.tar.gz
gentoo-2-fac74b11ffb21dca32d2d1150a6c8f01b783acfc.tar.bz2
gentoo-2-fac74b11ffb21dca32d2d1150a6c8f01b783acfc.zip
Bump to 0.7.10, thanks to slepnoga
(Portage version: 2.1.11.17/cvs/Linux i686)
Diffstat (limited to 'dev-python/netaddr')
-rw-r--r--dev-python/netaddr/ChangeLog8
-rw-r--r--dev-python/netaddr/netaddr-0.7.10.ebuild35
2 files changed, 41 insertions, 2 deletions
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 <maksbotan@gentoo.org> +netaddr-0.7.10.ebuild:
+ Bump to 0.7.10, thanks to slepnoga
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
@@ -42,4 +47,3 @@
04 Nov 2011; Maxim Koltsov <maksbotan@gentoo.org> +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
+}