easyblock = 'PythonPackage'

name = 'netaddr'
version = '0.7.14'

homepage = 'https://pypi.python.org/pypi/netaddr'
description = """Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses"""

toolchain = {'name': 'intel', 'version': '2015a'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

python = 'Python'
pythonver = '2.7.9'
pythonshortver = '.'.join(pythonver.split('.')[0:2])
versionsuffix = '-%s-%s' % (python, pythonver)

dependencies = [
    (python, pythonver),
]

options = {'modulename': 'netaddr'}

moduleclass = 'tools'
