summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-docker.inc
diff options
context:
space:
mode:
authorTing Yu <tyu@cisco.com>2018-12-13 20:41:04 +0000
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-12-21 08:46:14 -0500
commitcbefd4d88c0878c259c53c02a61b713679379124 (patch)
tree4383abbb477ac2fbe9dee454094c4855bccbc829 /recipes-devtools/python/python-docker.inc
parent21d8bcdb791a1ea766a3e7e7663c7b6d49bc861a (diff)
downloadmeta-virtualization-cbefd4d88c0878c259c53c02a61b713679379124.tar.gz
add the py2 version for python-docker and python-docker-pycreds packages
add the py2 version for python-docker and python-docker-pycreds packages. add python-six and python-backport_ssl (for ph2 only) as python-docker dependencies. verify the connection to docker engine at run time - >>> import docker >>> client = docker.from_env() >>> client.images.list() [<Image: 'hello-world:latest'>] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools/python/python-docker.inc')
-rw-r--r--recipes-devtools/python/python-docker.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-docker.inc b/recipes-devtools/python/python-docker.inc
new file mode 100644
index 00000000..eec7cda0
--- /dev/null
+++ b/recipes-devtools/python/python-docker.inc
@@ -0,0 +1,14 @@
1SUMMARY = "A Python library for the Docker Engine API."
2HOMEPAGE = "https://github.com/docker/docker-py"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=34f3846f940453127309b920eeb89660"
5
6SRC_URI[md5sum] = "02491d168c048cdb99cc20d0b352ea0f"
7SRC_URI[sha256sum] = "e9cc39e24905e67ba9e2df14c94488f5cf030fb72ae1c60de505ce5ea90503f7"
8
9RDEPENDS_${PN} += " \
10 ${PYTHON_PN}-six \
11 ${PYTHON_PN}-docker-pycreds \
12 ${PYTHON_PN}-requests \
13 ${PYTHON_PN}-websocket-client \
14"