summaryrefslogtreecommitdiff
path: root/lang/python/python3/files/python3-package-pip.mk
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-04-04 08:51:44 +0300
committerGitHub <noreply@github.com>2020-04-04 08:51:44 +0300
commiteee8b7b51a79d71b4e28dc71060505c6a6090431 (patch)
treec576b16149ea21dcb9a865bd5f2039082f284fd6 /lang/python/python3/files/python3-package-pip.mk
parentdce0dce227ad8de090d949e909bf9700cff3d206 (diff)
parent932bfe4cf3bc5087f4fdf00b2b2f140ebcf9b7e1 (diff)
Merge pull request #11760 from jefferyto/python3-pip-symlink
python3-pip: Symlink pip3 to pip3.8
Diffstat (limited to 'lang/python/python3/files/python3-package-pip.mk')
-rw-r--r--lang/python/python3/files/python3-package-pip.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/python3/files/python3-package-pip.mk b/lang/python/python3/files/python3-package-pip.mk
index a27d40a4e..0182c99d8 100644
--- a/lang/python/python3/files/python3-package-pip.mk
+++ b/lang/python/python3/files/python3-package-pip.mk
@@ -17,7 +17,8 @@ endef
define Py3Package/python3-pip/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/python$(PYTHON3_VERSION)/site-packages
- $(CP) $(PKG_BUILD_DIR)/install-pip/usr/bin/pip3* $(1)/usr/bin
+ $(CP) $(PKG_BUILD_DIR)/install-pip/usr/bin/pip$(PYTHON3_VERSION) $(1)/usr/bin
+ $(LN) pip$(PYTHON3_VERSION) $(1)/usr/bin/pip3
$(CP) \
$(PKG_BUILD_DIR)/install-pip/usr/lib/python$(PYTHON3_VERSION)/site-packages/pip \
$(PKG_BUILD_DIR)/install-pip/usr/lib/python$(PYTHON3_VERSION)/site-packages/pip-$(PYTHON3_PIP_VERSION).dist-info \