def METHOD_NAME(self, version):
    if version >= Version("1.0"):
        url = "https://github.com/pocl/pocl/archive/v{0}.tar.gz"
    else:
        url = "http://portablecl.org/downloads/pocl-{0}.tar.gz"
    return url.format(version.up_to(2))