def _ips_get_pkgversion(line):
 return line.split()[0].split('@')[1].strip()

def _ips_get_pkgversion ( line ) : return line . split ( ) [ 0 ] . split ( '@' ) [ 1 ] . strip ( )
extracts package version from "pkg list -v" output .