def url_for_version(self, version):
    url = 'http://meme-suite.org/meme-software/{0}/meme{1}{2}.tar.gz'
    sep = ('-' if (version >= Version('5.0.2')) else '_')
    return url.format(version.up_to(3), sep, version)
def url_for_version(self, version):
    url = 'http://meme-suite.org/meme-software/{0}/meme{1}{2}.tar.gz'
    sep = ('-' if (version >= Version('5.0.2')) else '_')
    return url.format(version.up_to(3), sep, version)