The following patch (against portage 2.1.9.25) adds the functionality for executing /etc/portage/bin/post_emerge after an emerge run. I was not sure about running it, if vardbapi._pkgs_changed == False Reproducible: Always
Created attachment 262927 [details, diff] patch adding post_emerge hook
Thanks, this is in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=bb87f96b0cd894083a4e878baaf1e94224a969a6
This is fixed in 2.1.9.41 and 2.2.0_alpha25.