diff options
| author | Michał Górny <mgorny@gentoo.org> | 2017-08-23 17:50:57 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2017-08-23 18:07:07 +0200 |
| commit | aeb38fbfaa9353b19bb197dd777646c4134632d7 (patch) | |
| tree | 8f6024a873aafad8344e28c49ba054859e46b64c /dev-python/ipython/ipython-6.1.0.ebuild | |
| parent | 246106225d9b9f2a294a0da9ada3ec16e823e0d9 (diff) | |
| download | gentoo-aeb38fbfaa9353b19bb197dd777646c4134632d7.tar.gz gentoo-aeb38fbfaa9353b19bb197dd777646c4134632d7.tar.bz2 gentoo-aeb38fbfaa9353b19bb197dd777646c4134632d7.zip | |
dev-python/ipython: Restore ipythonX.Y symlinks, #624834
Diffstat (limited to 'dev-python/ipython/ipython-6.1.0.ebuild')
| -rw-r--r-- | dev-python/ipython/ipython-6.1.0.ebuild | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/ipython/ipython-6.1.0.ebuild b/dev-python/ipython/ipython-6.1.0.ebuild index 196f37a3dd75..92c5eab5d507 100644 --- a/dev-python/ipython/ipython-6.1.0.ebuild +++ b/dev-python/ipython/ipython-6.1.0.ebuild @@ -91,6 +91,18 @@ python_test() { popd >/dev/null || die } +python_install() { + distutils-r1_python_install + + # Create ipythonX.Y symlinks. + # TODO: + # 1. do we want them for pypy? No. pypy has no numpy + # 2. handle it in the eclass instead (use _python_ln_rel). + # With pypy not an option the dosym becomes unconditional + dosym ../lib/python-exec/${EPYTHON}/ipython \ + /usr/bin/ipython${EPYTHON#python} +} + python_install_all() { distutils-r1_python_install_all if use examples; then |
