diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-02-07 19:12:59 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-02-07 19:12:59 +0000 |
commit | 5df334eb4e40fcd8dda862d20ecf9bc4216d6ec6 (patch) | |
tree | 897fc102491a5a83e2705ee18e91419020e25c12 /dev-python/ipaddr | |
parent | Version bump, new homepage, updated dependencies (diff) | |
download | gentoo-2-5df334eb4e40fcd8dda862d20ecf9bc4216d6ec6.tar.gz gentoo-2-5df334eb4e40fcd8dda862d20ecf9bc4216d6ec6.tar.bz2 gentoo-2-5df334eb4e40fcd8dda862d20ecf9bc4216d6ec6.zip |
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-python/ipaddr')
-rw-r--r-- | dev-python/ipaddr/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/ipaddr/ipaddr-2.1.11.ebuild | 32 |
2 files changed, 39 insertions, 2 deletions
diff --git a/dev-python/ipaddr/ChangeLog b/dev-python/ipaddr/ChangeLog index ae0c9c98a184..d641bdb584f8 100644 --- a/dev-python/ipaddr/ChangeLog +++ b/dev-python/ipaddr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/ipaddr -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ipaddr/ChangeLog,v 1.13 2013/09/05 18:46:03 mgorny Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipaddr/ChangeLog,v 1.14 2014/02/07 19:12:59 radhermit Exp $ + +*ipaddr-2.1.11 (07 Feb 2014) + + 07 Feb 2014; Tim Harder <radhermit@gentoo.org> +ipaddr-2.1.11.ebuild: + Version bump. 05 Sep 2013; Michał Górny <mgorny@gentoo.org> ipaddr-2.1.10-r1.ebuild: Clean up PYTHON_COMPAT from old implementations. diff --git a/dev-python/ipaddr/ipaddr-2.1.11.ebuild b/dev-python/ipaddr/ipaddr-2.1.11.ebuild new file mode 100644 index 000000000000..48279635ea2c --- /dev/null +++ b/dev-python/ipaddr/ipaddr-2.1.11.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipaddr/ipaddr-2.1.11.ebuild,v 1.1 2014/02/07 19:12:59 radhermit Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) + +inherit distutils-r1 + +DESCRIPTION="Python IP address manipulation library" +HOMEPAGE="http://code.google.com/p/ipaddr-py/ http://pypi.python.org/pypi/ipaddr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DOCS=( README RELEASENOTES ) + +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare() { + if [[ ${EPYTHON} == python3* ]]; then + 2to3 -n -w --no-diffs *.py || die + fi +} + +python_test() { + PYTHONPATH=build/lib \ + "${PYTHON}" ipaddr_test.py || die "Tests fail with ${EPYTHON}" +} |