2 # Copyright 1999-2006 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
10 sys.path.insert(0, "/usr/lib/portage/pym")
13 a=portage.pkgsplit(sys.argv[1])
15 print a[0],a[1],a[2][1:]
18 print '!!! Error: package name is invalid.'