Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167305 - dev-python/ipython-0.7.3-r2 does not rebuild emacs site-init file
Summary: dev-python/ipython-0.7.3-r2 does not rebuild emacs site-init file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 184166
  Show dependency tree
 
Reported: 2007-02-17 07:21 UTC by Ulrich Müller
Modified: 2007-02-22 06:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2007-02-17 07:21:05 UTC
dev-python/ipython-0.7.3-r2 installs /usr/share/emacs/site-lisp/50ipython-mode-gentoo.el, but does not regenerate the site-gentoo.el file in the same directory. (This should be done by calling elisp-site-regen in pkg_postinst and pkg_postrm.)

Proposed bugfix:
Inherit elisp.eclass instead of elisp-common.eclass.
Comment 1 Lukasz Strzygowski (RETIRED) gentoo-dev 2007-02-17 10:04:28 UTC
Fixed in -r3. Thank you for reporting.
Comment 2 Ulrich Müller gentoo-dev 2007-02-17 10:10:35 UTC
On a different issue (I am mentioning it here instead of filing a new bug for it):

ipython.el requires python-mode. However, at the point when ipython.el gets loaded in site-gentoo.el, emacs' load-path has not been configured for python-mode yet.

So the ipython site configuration should be moved behind the one for python-mode (which is called 60python-mode-gentoo.el). Renaming the site-init file from 50ipython-mode-gentoo.el (why is it called *-mode*, BTW?) to something like 62ipython-gentoo.el should do the job.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-20 22:39:00 UTC
Python team, I changed the name of the Emacs site file for dev-python/ipython, just for your information.
Comment 4 Ulrich Müller gentoo-dev 2007-02-21 22:00:06 UTC
(In reply to comment #3)
> Python team, I changed the name of the Emacs site file for dev-python/ipython,
> just for your information.

Huh? Where did you change it?
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-22 06:49:13 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Python team, I changed the name of the Emacs site file for dev-python/ipython,
> > just for your information.
> Huh? Where did you change it?

 Argh, I just forgot to do the commit.  Everything was prepared...just not committed.  Thanks.