From aeb38fbfaa9353b19bb197dd777646c4134632d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 23 Aug 2017 17:50:57 +0200 Subject: 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(+) (limited to 'dev-python/ipython') diff --git a/dev-python/ipython/ipython-5.4.1.ebuild b/dev-python/ipython/ipython-5.4.1.ebuild index 5dedf5e9ea25..656cfeab870f 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 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 -- cgit v1.2.3