[meta-virtualization] [PATCH 1/2] python-docker: Add recipe for python2

David Bensoussan minipada at gmail.com
Wed Nov 21 04:55:12 PST 2018


This has been copied from the python3 recipe
---
 recipes-devtools/python/python-docker_2.5.1.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 recipes-devtools/python/python-docker_2.5.1.bb

diff --git a/recipes-devtools/python/python-docker_2.5.1.bb b/recipes-devtools/python/python-docker_2.5.1.bb
new file mode 100644
index 0000000..c0f3c89
--- /dev/null
+++ b/recipes-devtools/python/python-docker_2.5.1.bb
@@ -0,0 +1,18 @@
+SUMMARY = "A Python library for the Docker Engine API."
+HOMEPAGE = "https://github.com/docker/docker-py"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=34f3846f940453127309b920eeb89660"
+
+inherit pypi setuptools
+
+SRC_URI[md5sum] = "7d917152976df075e6e90ee853df641f"
+SRC_URI[sha256sum] = "b876e6909d8d2360e0540364c3a952a62847137f4674f2439320ede16d6db880"
+
+DEPENDS += "${PYTHON_PN}-pip-native"
+
+RDEPENDS_${PN} += " \
+	python-backports-ssl \
+	python-docker-pycreds \
+	python-requests \
+	python-websocket-client \
+"
-- 
2.7.4



More information about the meta-virtualization mailing list