a lot of ebuilds download files that are in a format that are not to be 'unpacked' sometimes SRC_URI has values like: doc? ( grab a pdf/txt/etc... file ) the default src_unpack file would fail on this because it does not end in a recognizable file type ... which in turn leads to imo src_unpack functions in the ebuild that shouldnt have to exist ... src_unpack() { unpack ${P}.tar.gz #unpack ${P}.pdf } i'd suggest adding the ability to run 'file' on files that do not match the default cases (or let file determine from the start which case to run). this way for files that are of type 'ASCII text' or something else, the src_unpack doesnt do anything ... or maybe just remove the die command under the '*)' case altogether and add a big old 'einfo' or 'ewarn' to src_unpack ...
Removed the die case.