python3: symlink 'python' to '/usr/bin/python3'
authorAlexandru Ardelean <redacted>
Tue, 7 Apr 2020 08:08:02 +0000 (11:08 +0300)
committerAlexandru Ardelean <redacted>
Wed, 8 Apr 2020 11:40:26 +0000 (14:40 +0300)
Time to make it more official.
Running 'python' should get you an interpreter running, and that one is now
Python3.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python3/Makefile

index b47530bf6222075259077118f2ad19ea6229f8ca..989cf029d618dda3424c9bb69c9493fdc7ffb326 100644 (file)
@@ -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
 
git clone https://git.99rst.org/PROJECT