summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-03-07 21:32:28 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-03-07 21:32:28 +0000
commite7ff7839dc0d8e5f88425732b3bac62596b6f4c3 (patch)
tree2144976213ec7d9d1f713db3218fad4dca124532 /dev-python
parentMask x11-libs/qt-webkit-4.8.0-r1 again. (diff)
downloadgentoo-2-e7ff7839dc0d8e5f88425732b3bac62596b6f4c3.tar.gz
gentoo-2-e7ff7839dc0d8e5f88425732b3bac62596b6f4c3.tar.bz2
gentoo-2-e7ff7839dc0d8e5f88425732b3bac62596b6f4c3.zip
Bump to 2.1.10, thanks to slepnoga
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/ipaddr/ChangeLog7
-rw-r--r--dev-python/ipaddr/ipaddr-2.1.10.ebuild42
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
+}