def METHOD_NAME(appname):
    """Provide a list of the available Gaudi application versions"""
    s = Shell()
    tmp = tempfile.NamedTemporaryFile(suffix='.log')
    command = 'SetupProject.sh --ask %s' % appname
    rc, output, m = s.cmd1("echo 'q\n' | %s >& %s; echo" % (command, tmp.name))
    output = tmp.read()
    tmp.close()
    versions = output[output.rfind('(') + 1:output.rfind('q[uit]')].split()
    return versions.decode()