def url_for_version(self, version):
    return ('http://www.open-mpi.org/software/hwloc/v%s/downloads/hwloc-%s.tar.gz' % (version.up_to(2), version))
def url_for_version(self, version):
    return ('http://www.open-mpi.org/software/hwloc/v%s/downloads/hwloc-%s.tar.gz' % (version.up_to(2), version))