Patches to follow
Created attachment 131583 [details, diff] patch for the ebuild This fixes Emacs support: - byte-compilation of Elisp files in src_compile - correct usage of elisp-common functions to install Elisp files - regeneration of site-gentoo.el so Emacs has support for .asy files from the start (attached to this bug) This fixes Vim support (see bug 191008): - correct dependencies on vim and gvim - installation of support file so vim chooses correct mode when started with .asy file (attached to this bug) This fixes some minor QA issues: - quotes around variables that may contain spaces - inherit latex-package.eclass so latex-package_rehash can be used instead of own texhash call - make -> emake - add a traling slash to HOMEPAGE URI
Created attachment 131584 [details] 64asymptote-gentoo.el, site-file for GNU Emacs, to go to ${FILESDIR} This file will activate support for .asy files in GNU Emacs just automagically
Created attachment 131586 [details] asy-ftd.vim, activates support for .asy files in Vim/gVim, goes to ${FILESDIR}
Created attachment 131595 [details] 64asymptote-gentoo.el, site-file for GNU Emacs, to go to ${FILESDIR} Probably you should autoload "asy-mode" instead of "asy-mode.el" so that you get the byte-compiled file. I've also added two more autoload commands, mentioned in the documentation of asy-mode.el.
Done.