commit: aeb38fbfaa9353b19bb197dd777646c4134632d7 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Aug 23 15:50:57 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Aug 23 16:07:07 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb38fbf
dev-python/ipython: Restore ipythonX.Y symlinks, #624834 dev-python/ipython/ipython-5.4.1.ebuild | 12 ++++++++++++ dev-python/ipython/ipython-6.1.0.ebuild | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/dev-python/ipython/ipython-5.4.1.ebuild b/dev-python/ipython/ipython-5.4.1.ebuild index 5dedf5e9ea2..656cfeab870 100644 --- a/dev-python/ipython/ipython-5.4.1.ebuild +++ b/dev-python/ipython/ipython-5.4.1.ebuild @@ -92,6 +92,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 diff --git a/dev-python/ipython/ipython-6.1.0.ebuild b/dev-python/ipython/ipython-6.1.0.ebuild index 196f37a3dd7..92c5eab5d50 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