diff options
Diffstat (limited to 'dev-python/ipaddr')
-rw-r--r-- | dev-python/ipaddr/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/ipaddr/ipaddr-2.1.10.ebuild | 42 |
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-python/ipaddr/ChangeLog b/dev-python/ipaddr/ChangeLog index 05aba0a2fb40..0c82d5f40110 100644 --- a/dev-python/ipaddr/ChangeLog +++ b/dev-python/ipaddr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/ipaddr # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ipaddr/ChangeLog,v 1.5 2012/02/04 15:26:40 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipaddr/ChangeLog,v 1.6 2012/03/07 21:32:28 maksbotan Exp $ + +*ipaddr-2.1.10 (07 Mar 2012) + + 07 Mar 2012; Maxim Koltsov <maksbotan@gentoo.org> +ipaddr-2.1.10.ebuild: + Bump to 2.1.10, thanks to slepnoga 06 Nov 2011; Maxim Koltsov <maksbotan@gentoo.org> ipaddr-2.1.9.ebuild: Fix various errors in ebuild, thanks to Arfrever. diff --git a/dev-python/ipaddr/ipaddr-2.1.10.ebuild b/dev-python/ipaddr/ipaddr-2.1.10.ebuild new file mode 100644 index 000000000000..378774accb9f --- /dev/null +++ b/dev-python/ipaddr/ipaddr-2.1.10.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipaddr/ipaddr-2.1.10.ebuild,v 1.1 2012/03/07 21:32:28 maksbotan Exp $ + +EAPI="4" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="Python IP address manipulation library" +HOMEPAGE="http://code.google.com/p/ipaddr-py/ http://pypi.python.org/pypi/ipaddr" +SRC_URI="http://ipaddr-py.googlecode.com/files/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" +DOCS="README RELEASENOTES" +PYTHON_MODNAME="ipaddr.py" + +src_prepare() { + distutils_src_prepare + + preparation() { + if [[ "$(python_get_version -l --major)" == "3" ]]; then + 2to3-${PYTHON_ABI} -nw --no-diffs ipaddr.py ipaddr_test.py + fi + } + python_execute_function -s preparation +} + +src_test() { + testing() { + PYTHONPATH="build/lib" "$(PYTHON)" ipaddr_test.py + } + python_execute_function -s testing +} |