diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-01-22 20:17:31 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-01-22 20:17:31 +0000 |
commit | e53ec6785366aa9227e780ee190b994040516eea (patch) | |
tree | ba7d25f65b14ce5d4e4e059904e7889c8a125754 /dev-python/ipaddr | |
parent | old (diff) | |
download | gentoo-2-e53ec6785366aa9227e780ee190b994040516eea.tar.gz gentoo-2-e53ec6785366aa9227e780ee190b994040516eea.tar.bz2 gentoo-2-e53ec6785366aa9227e780ee190b994040516eea.zip |
Migrate to distutils-r1.
(Portage version: 2.2.0_alpha159/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/ipaddr')
-rw-r--r-- | dev-python/ipaddr/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/ipaddr/ipaddr-2.1.10-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-python/ipaddr/metadata.xml | 1 |
3 files changed, 45 insertions, 3 deletions
diff --git a/dev-python/ipaddr/ChangeLog b/dev-python/ipaddr/ChangeLog index 0c82d5f40110..aa157172269d 100644 --- a/dev-python/ipaddr/ChangeLog +++ b/dev-python/ipaddr/ChangeLog @@ -1,6 +1,12 @@ # 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.6 2012/03/07 21:32:28 maksbotan Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipaddr/ChangeLog,v 1.7 2013/01/22 20:17:31 mgorny Exp $ + +*ipaddr-2.1.10-r1 (22 Jan 2013) + + 22 Jan 2013; Michał Górny <mgorny@gentoo.org> +ipaddr-2.1.10-r1.ebuild, + metadata.xml: + Migrate to distutils-r1. *ipaddr-2.1.10 (07 Mar 2012) @@ -15,4 +21,3 @@ 04 Nov 2011; Maxim Koltsov <maksbotan@gentoo.org> +ipaddr-2.1.9.ebuild, +metadata.xml: Added dev-python/ipaddr-2.1.9, bug #388967. Thanks to slepnoga - diff --git a/dev-python/ipaddr/ipaddr-2.1.10-r1.ebuild b/dev-python/ipaddr/ipaddr-2.1.10-r1.ebuild new file mode 100644 index 000000000000..2759839bf554 --- /dev/null +++ b/dev-python/ipaddr/ipaddr-2.1.10-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 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-r1.ebuild,v 1.1 2013/01/22 20:17:31 mgorny Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_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="http://ipaddr-py.googlecode.com/files/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +DOCS=( README RELEASENOTES ) + +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare() { + if [[ ${EPYTHON} == python3* ]]; then + 2to3 -n -w --no-diffs *.py || die + fi +} + +python_test() { + cd "${BUILD_DIR}" || die + PYTHONPATH=build/lib \ + "${PYTHON}" ipaddr_test.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/ipaddr/metadata.xml b/dev-python/ipaddr/metadata.xml index 7a56d8b6dc84..899c56c58abb 100644 --- a/dev-python/ipaddr/metadata.xml +++ b/dev-python/ipaddr/metadata.xml @@ -2,6 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>proxy-maintainers</herd> + <herd>python</herd> <maintainer> <email>andreis.vinogradovs@gmail.com</email> </maintainer> |