pydb-1.26 should depend on virtual/emacs instead of app-editors/emacs. Furthermore, the ebuild installs Emacs lisp files directly into /usr/share/emacs/site-lisp/. By our (Emacs team) policy they should go to a subdirectory instead. A possible solution would use elisp-common.eclass which would take care of these issues automatically.
Created attachment 296753 [details, diff] ebuild patch
Created attachment 296785 [details, diff] Proposed patch for pydb-1.26.ebuild (In reply to comment #1) > ebuild patch That doesn't work: There's no elisp-common_src_install function. Also, emacs support should be made optional, otherwise it will be an automagic dependency. Please try attached patch.
Created attachment 296787 [details, diff] Proposed patch for pydb-1.26.ebuild
Many thanks, I've applied your patch. The reason I haven't dealt with this bug much earlier is: the upstream has deprecated pydb in favor of pydbgr (http://code.google.com/p/pydbgr/). I hoped to write an ebuild for pydbgr quickly, and then to lastrite pydb. Unfortunately, pydbgr does not work for me, and I haven't yet understood why. So, for now, let pydb be in the tree - at least, it works.