meta-virtualization/recipes-devtools/python/python-docker.inc
Ting Yu cbefd4d88c 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>
2018-12-21 08:46:14 -05:00

15 lines
477 B
PHP

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"
SRC_URI[md5sum] = "02491d168c048cdb99cc20d0b352ea0f"
SRC_URI[sha256sum] = "e9cc39e24905e67ba9e2df14c94488f5cf030fb72ae1c60de505ce5ea90503f7"
RDEPENDS_${PN} += " \
${PYTHON_PN}-six \
${PYTHON_PN}-docker-pycreds \
${PYTHON_PN}-requests \
${PYTHON_PN}-websocket-client \
"