python-pip: new package
authorAdam Duskett <aduskett@gmail.com>
Mon, 6 Aug 2018 22:46:15 +0000 (18:46 -0400)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 9 Aug 2018 20:40:12 +0000 (22:40 +0200)
A useful tool for managing and installing python packages.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-pip/Config.in [new file with mode: 0644]
package/python-pip/python-pip.hash [new file with mode: 0644]
package/python-pip/python-pip.mk [new file with mode: 0644]

index 67adc08b9a5b4ba69f4f4f4a58d2978ad0942d28..e0e37a031a32a9501f75d61415639c5dfe16ee58 100644 (file)
@@ -53,6 +53,7 @@ F:    package/nginx-naxsi/
 F:     package/policycoreutils/
 F:     package/python-flask-sqlalchemy/
 F:     package/python-mutagen/
+F:     package/python-pip/
 F:     package/python-psycopg2/
 F:     package/python-sqlalchemy/
 F:     package/python-visitor/
index 18813b3965bd2f5a4014b975e3884c4c0d2f449d..bc6df3a3b013dba6cd77c298091fdec9762cdc38 100644 (file)
@@ -874,6 +874,7 @@ menu "External python modules"
        source "package/python-pexpect/Config.in"
        source "package/python-pickleshare/Config.in"
        source "package/python-pillow/Config.in"
+       source "package/python-pip/Config.in"
        source "package/python-portend/Config.in"
        source "package/python-posix-ipc/Config.in"
        source "package/python-priority/Config.in"
diff --git a/package/python-pip/Config.in b/package/python-pip/Config.in
new file mode 100644 (file)
index 0000000..4fcd55e
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PIP
+       bool "python-pip"
+       help
+         The PyPA recommended tool for installing Python packages.
+
+         https://pip.pypa.io/
diff --git a/package/python-pip/python-pip.hash b/package/python-pip/python-pip.hash
new file mode 100644 (file)
index 0000000..c9b574a
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pip/json
+md5    52f75ceb21e96c258f289859a2996b60  pip-18.0.tar.gz
+sha256 a0e11645ee37c90b40c46d607070c4fd583e2cd46231b1c06e389c5e814eed76  pip-18.0.tar.gz
+# Locally computed sha256 checksums
+sha256 391a8784e319dae5431477d4cc9bc504fc5d71fd9e89e1c80f1cd3855f5d7cfa  LICENSE.txt
diff --git a/package/python-pip/python-pip.mk b/package/python-pip/python-pip.mk
new file mode 100644 (file)
index 0000000..0a0dce5
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pip
+#
+################################################################################
+
+PYTHON_PIP_VERSION = 18.0
+PYTHON_PIP_SOURCE = pip-$(PYTHON_PIP_VERSION).tar.gz
+PYTHON_PIP_SITE = https://files.pythonhosted.org/packages/69/81/52b68d0a4de760a2f1979b0931ba7889202f302072cc7a0d614211bc7579
+PYTHON_PIP_SETUP_TYPE = setuptools
+PYTHON_PIP_LICENSE = MIT
+PYTHON_PIP_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))