easyblock = 'PythonPackage'

name = 'IPy'
version = '0.83'

homepage = 'https://pypi.python.org/pypi/IPy'
description = """Class and tools for handling of IPv4 and IPv6 addresses and networks"""

# purposely built with system compilers & Python
toolchain = {'name': 'dummy', 'version': 'dummy'}

sources = [SOURCE_TAR_GZ]
source_urls = [PYPI_SOURCE]

options = {'modulename': 'IPy'}

shortpyver = '.'.join(SYS_PYTHON_VERSION.split('.')[:2])
sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%s/site-packages/' % shortpyver],
}

moduleclass = 'tools'
