Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208186 - dev-python/ipython-0.8.2: fix Emacs dependency
Summary: dev-python/ipython-0.8.2: fix Emacs dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-01-30 16:39 UTC by Rodrigo Lazo
Modified: 2008-02-23 13: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 Rodrigo Lazo 2008-01-30 16:39:19 UTC
ipython.el depends on python-mode.el and is not compatible with python.el included with emacs-22. ipython.el header says "Adds support for IPython to python-mode.el". Both python-mode.el and python.el brings support for python into emacs, but are very different on its internals. http://www.emacswiki.org/cgi-bin/wiki/PythonMode
Comment 1 Ulrich Müller gentoo-dev 2008-01-30 16:49:54 UTC
Looks like the dependency from 0.8.1-r1 should be restored, i.e.:

-       emacs? ( || ( app-emacs/python-mode
-               >=virtual/emacs-22 ) )
+       emacs? ( virtual/emacs
+               app-emacs/python-mode )
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2008-01-30 17:30:07 UTC
> +       emacs? ( virtual/emacs
> +               app-emacs/python-mode )

In this case, could it be possible on python-mode not to force dependency on pymacs?


Comment 3 Ulrich Müller gentoo-dev 2008-01-30 18:03:30 UTC
(In reply to comment #2)
> In this case, could it be possible on python-mode not to force dependency
> on pymacs?

Pymacs is needed for pycomplete.{py,el}, so we would have to make installation of pycomplete in app-emacs/python-mode optional. For example, enable it only for USE="python".
Comment 4 Ulrich Müller gentoo-dev 2008-02-08 10:15:10 UTC
I've added a "pymacs" local USE flag in app-emacs/python-mode-1.0-r1, making the dependency on app-emacs/pymacs optional.
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2008-02-23 13:49:48 UTC
Done. Thanks.