/[gentoo-x86]/dev-python/ipaddr/ipaddr-2.1.11.ebuild
Gentoo

Contents of /dev-python/ipaddr/ipaddr-2.1.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sat Jan 31 11:44:43 2015 UTC (5 years, 6 months ago) by ago
Branch: MAIN
Changes since 1.4: +3 -3 lines
Stable for amd64, wrt bug #530526

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key 7194459F)

1 ago 1.5 # Copyright 1999-2015 Gentoo Foundation
2 radhermit 1.1 # Distributed under the terms of the GNU General Public License v2
3 ago 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-python/ipaddr/ipaddr-2.1.11.ebuild,v 1.4 2014/12/03 00:08:13 idella4 Exp $
4 radhermit 1.1
5     EAPI=5
6 idella4 1.4 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
7 radhermit 1.1
8     inherit distutils-r1
9    
10     DESCRIPTION="Python IP address manipulation library"
11     HOMEPAGE="http://code.google.com/p/ipaddr-py/ http://pypi.python.org/pypi/ipaddr"
12     SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13    
14     LICENSE="Apache-2.0"
15     SLOT="0"
16 ago 1.5 KEYWORDS="amd64 ~x86"
17 radhermit 1.1 IUSE=""
18    
19     DOCS=( README RELEASENOTES )
20    
21     DISTUTILS_IN_SOURCE_BUILD=1
22    
23     python_prepare() {
24 idella4 1.4 if python_is_python3; then
25 radhermit 1.1 2to3 -n -w --no-diffs *.py || die
26     fi
27     }
28    
29     python_test() {
30     PYTHONPATH=build/lib \
31     "${PYTHON}" ipaddr_test.py || die "Tests fail with ${EPYTHON}"
32     }

  ViewVC Help
Powered by ViewVC 1.1.20