I've successfully emerged asymptote-1.41. I used the existing asymptote-1.36.ebuild, and added one more patch: now the default viewer for all pdf, ps, and image files is xdg-open (and the package now depends on xdg-utils). xdg-utils is supposed to be *the* desktop standard, so let's use it as such. The old patches did not apply smoothly, I had to re-create them, without changing their meaning. With one exception: the patched doc/Makefile contained the line man: $(MANFILES) asy.1 but $(MANFILES) already contains asy.1, so why mention it again? I removed asy.1 from this line. I temporarily committed the whole bunch to the science overlay; hope it will be moved to the main tree. Reproducible: Always
Thanks for updating the patches! I have added the latest version to portage. Please remove the version from science Overlay as I have no write access there.