Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496010 - dev-python/ipython - add symlinks for all activated targets
Summary: dev-python/ipython - add symlinks for all activated targets
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-25 16:34 UTC by cel.gentoo
Modified: 2014-04-11 07:55 UTC (History)
0 users

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 cel.gentoo 2013-12-25 16:34:41 UTC
I would suggest adding symlinks for ipython pointing to the specific ipython implementation.

e.g. for PYTHON_TARGETS="python2_7 python3_2 python3_3":
/usr/bin/ipython2.7 -> /usr/lib/python-exec/python2.7/ipython
/usr/bin/ipython3.2 -> /usr/lib/python-exec/python3.2/ipython
/usr/bin/ipython3.3 -> /usr/lib/python-exec/python3.3/ipython

I think a symlink useflag might come in handy.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-12-29 13:57:10 UTC
That's what Debian is doing as well [1]. Not sure if we should do some extra symlinks for pypy as well then.

[1]:http://packages.debian.org/wheezy/all/ipython/filelist
Comment 2 SpanKY gentoo-dev 2014-02-12 04:05:08 UTC
it is super handy.  funny enough we already have python-exec links for them.  they just aren't in /usr/bin/.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-02-12 08:55:19 UTC
+*ipython-1.1.0-r2 (12 Feb 2014)
+
+  12 Feb 2014; Michał Górny <mgorny@gentoo.org> +ipython-1.1.0-r2.ebuild:
+  Create versioned IPython symlinks alike Debian, bug #496010.