Relevant part: --------------------- maint_pkg_create() { cd /usr/local/src/net-tools #git-update local stamp=$(git log -n1 --pretty=format:%ai | sed -e 's:[- :]::g' -e 's:+.*::') local pv="${PV/_p*}_p${stamp}" local p="${PN}-${pv}" git-archive --prefix="${p}/" HEAD | lzma > "${T}"/${p}.tar.lzma du -b "${T}"/${p}.tar.lzma } pkg_setup() { [[ -n ${VAPIER_LOVES_YOU} ]] && maint_pkg_create ; } --------------------- This kind of maintainance code belongs to external scripts or ebuilds in maintainers' overlay, and not in-tree ebuilds. While this is not stable (and I don't think it's stable candidate either) and doesn't imply a problem for the end-user, I don't think this is a good practice.
Mike: Can you please provide a reason for why you think this is invalid? It seems to me like it shouldn't be in the ebuild at all.
the notion of a functions to assist in package management has already been discussed and accepted on gentoo-dev ... feel free to browse the archives
(In reply to comment #2) > the notion of a functions to assist in package management has already been > discussed and accepted on gentoo-dev ... feel free to browse the archives That's bug 185567. Obviously the correct solution is to get that properly implemented rather than adding more hacks...
yet there's no valid reason at all to block developers from making their lives easier considering there is no downside