package/python3-pip: add python3 host variant
authorChan, Donald <hoiho@lab126.com>
Thu, 20 May 2021 01:48:00 +0000 (01:48 +0000)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 6 Jun 2021 20:42:00 +0000 (22:42 +0200)
Add a python3 host variant since we are adding a python3 host variant of
python-cryptography and it is dependent on this.

Signed-off-by: Donald Chan <hoiho@lab126.com>
[yann.morin.1998@free.fr:
  - add CPE variables
  - also add sync comment for python-pip
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/python-pip/python-pip.mk
package/python3-pip/python3-pip.hash [new symlink]
package/python3-pip/python3-pip.mk [new file with mode: 0644]

index f881a3ce55e3e4fa4d2fa5834994cb6d21df9db9..71f76e28422d7c40c94bbf2222bca7f745b1f574 100644 (file)
@@ -4,6 +4,7 @@
 #
 ################################################################################
 
+# Please keep in sync with package/python3-pip/python3-pip.mk
 PYTHON_PIP_VERSION = 20.0.2
 PYTHON_PIP_SOURCE = pip-$(PYTHON_PIP_VERSION).tar.gz
 PYTHON_PIP_SITE = https://files.pythonhosted.org/packages/8e/76/66066b7bc71817238924c7e4b448abdb17eb0c92d645769c223f9ace478f
diff --git a/package/python3-pip/python3-pip.hash b/package/python3-pip/python3-pip.hash
new file mode 120000 (symlink)
index 0000000..d90fb3d
--- /dev/null
@@ -0,0 +1 @@
+../python-pip/python-pip.hash
\ No newline at end of file
diff --git a/package/python3-pip/python3-pip.mk b/package/python3-pip/python3-pip.mk
new file mode 100644 (file)
index 0000000..58e3c06
--- /dev/null
@@ -0,0 +1,19 @@
+################################################################################
+#
+# python3-pip
+#
+################################################################################
+
+# Please keep in sync with package/python-pip/python-pip.mk
+PYTHON3_PIP_VERSION = 20.0.2
+PYTHON3_PIP_SOURCE = pip-$(PYTHON_PIP_VERSION).tar.gz
+PYTHON3_PIP_SITE = https://files.pythonhosted.org/packages/8e/76/66066b7bc71817238924c7e4b448abdb17eb0c92d645769c223f9ace478f
+PYTHON3_PIP_SETUP_TYPE = setuptools
+PYTHON3_PIP_LICENSE = MIT
+PYTHON3_PIP_LICENSE_FILES = LICENSE.txt
+PYTHON3_PIP_CPE_ID_VENDOR = pypa
+PYTHON3_PIP_CPE_ID_PRODUCT = pip
+HOST_PYTHON3_PIP_DL_SUBDIR = python-pip
+HOST_PYTHON3_PIP_NEEDS_HOST_PYTHON = python3
+
+$(eval $(host-python-package))