summaryrefslogtreecommitdiff
path: root/lang/python/python3/Makefile
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-04-08 18:03:39 +0300
committerGitHub <noreply@github.com>2020-04-08 18:03:39 +0300
commite086343cb5d0bcda2f85486e56f478987d2ea171 (patch)
treef12e797cc3a252cc9624b92d6cca0fdaa5d8d025 /lang/python/python3/Makefile
parentdbe11776ed820505d65d2572d372e5c1cfa1ff48 (diff)
parenteeda0f939ba58810e071c3cb57b4e46ed83f10f3 (diff)
Merge pull request #11793 from commodo/python3-default-bin
python3: symlink 'python' to '/usr/bin/python3'
Diffstat (limited to 'lang/python/python3/Makefile')
-rw-r--r--lang/python/python3/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile
index b47530bf6..989cf029d 100644
--- a/lang/python/python3/Makefile
+++ b/lang/python/python3/Makefile
@@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION)
PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO)
PKG_NAME:=python3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
@@ -282,6 +282,7 @@ define Py3Package/python3-base/install
$(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/lib-dynload/
$(INSTALL_DIR) $(1)/usr/bin
$(LN) python$(PYTHON_VERSION) $(1)/usr/bin/python3
+ $(LN) python$(PYTHON_VERSION) $(1)/usr/bin/python
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib/
endef