mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 13:25:22 +02:00
python3-docker-compose: add version 1.16.1 + dependencies
This requires some packages as well as the pypi.bbclass from meta-python. It uses Python 3 as I don't think it makes sense to use Python 2 anymore. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
e83556a3f4
commit
d16d4acc60
|
@ -0,0 +1,32 @@
|
||||||
|
From 15cf1a31f5af8f09531bb837b92bd6ea49bd1744 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Pascal Bach <pascal.bach@siemens.com>
|
||||||
|
Date: Wed, 13 Sep 2017 08:41:21 +0200
|
||||||
|
Subject: [PATCH] Allow newer versions of requests
|
||||||
|
|
||||||
|
docker compose has strict requirements to use requests < 2.12
|
||||||
|
|
||||||
|
However it works without issues with newer versions, so this patch removes the check.
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
|
||||||
|
---
|
||||||
|
setup.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index 192a0f6..f444757 100644
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -33,7 +33,7 @@ install_requires = [
|
||||||
|
'cached-property >= 1.2.0, < 2',
|
||||||
|
'docopt >= 0.6.1, < 0.7',
|
||||||
|
'PyYAML >= 3.10, < 4',
|
||||||
|
- 'requests >= 2.6.1, != 2.11.0, < 2.12',
|
||||||
|
+ 'requests >= 2.6.1, != 2.11.0',
|
||||||
|
'texttable >= 0.9.0, < 0.10',
|
||||||
|
'websocket-client >= 0.32.0, < 1.0',
|
||||||
|
'docker >= 2.5.1, < 3.0',
|
||||||
|
--
|
||||||
|
2.1.4
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
SUMMARY = "Multi-container orchestration for Docker"
|
||||||
|
HOMEPAGE = "https://www.docker.com/"
|
||||||
|
LICENSE = "Apache-2.0"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=435b266b3899aa8a959f17d41c56def8"
|
||||||
|
|
||||||
|
SRC_URI += "file://0001-Allow-newer-versions-of-requests.patch"
|
||||||
|
|
||||||
|
inherit pypi setuptools3
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "8dcadf09143600fcb573b43f446c8f9a"
|
||||||
|
SRC_URI[sha256sum] = "fb46a6a2c4d193a3ff1e4d7208eea920b629c81dc92257c87f3f93095cfb0bdf"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} = "\
|
||||||
|
${PYTHON_PN}-cached-property \
|
||||||
|
${PYTHON_PN}-certifi \
|
||||||
|
${PYTHON_PN}-chardet \
|
||||||
|
${PYTHON_PN}-colorama \
|
||||||
|
${PYTHON_PN}-docker \
|
||||||
|
${PYTHON_PN}-docker-pycreds \
|
||||||
|
${PYTHON_PN}-dockerpty \
|
||||||
|
${PYTHON_PN}-docopt \
|
||||||
|
${PYTHON_PN}-enum \
|
||||||
|
${PYTHON_PN}-idna \
|
||||||
|
${PYTHON_PN}-jsonschema \
|
||||||
|
${PYTHON_PN}-pyyaml \
|
||||||
|
${PYTHON_PN}-requests \
|
||||||
|
${PYTHON_PN}-six \
|
||||||
|
${PYTHON_PN}-texttable \
|
||||||
|
${PYTHON_PN}-urllib3 \
|
||||||
|
${PYTHON_PN}-websocket-client \
|
||||||
|
"
|
9
recipes-devtools/python/python-docopt.inc
Normal file
9
recipes-devtools/python/python-docopt.inc
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
SUMMARY = "Pythonic argument parser, that will make you smile"
|
||||||
|
HOMEPAGE = "http://docopt.org/"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=09b77fb74986791a3d4a0e746a37d88f"
|
||||||
|
|
||||||
|
inherit pypi
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "4bc74561b37fad5d3e7d037f82a4c3b1"
|
||||||
|
SRC_URI[sha256sum] = "49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"
|
9
recipes-devtools/python/python3-cached-property_1.3.0.bb
Normal file
9
recipes-devtools/python/python3-cached-property_1.3.0.bb
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
SUMMARY = "A decorator for caching properties in classes."
|
||||||
|
HOMEPAGE = "https://github.com/pydanny/cached-property"
|
||||||
|
LICENSE = "BSD-3-Clause"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc"
|
||||||
|
|
||||||
|
inherit pypi setuptools3
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "4a6039f7418007275505e355359396a8"
|
||||||
|
SRC_URI[sha256sum] = "458e78b1c7286ece887d92c9bee829da85717994c5e3ddd253a40467f488bc81"
|
9
recipes-devtools/python/python3-colorama_0.3.9.bb
Normal file
9
recipes-devtools/python/python3-colorama_0.3.9.bb
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
SUMMARY = "Cross-platform colored terminal text."
|
||||||
|
HOMEPAGE = "https://github.com/tartley/colorama"
|
||||||
|
LICENSE = "BSD-2-Clause"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=14d0b64047ed8f510b51ce0495995358"
|
||||||
|
|
||||||
|
inherit pypi setuptools3
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "3a0e415259690f4dd7455c2683ee5850"
|
||||||
|
SRC_URI[sha256sum] = "48eb22f4f8461b1df5734a074b57042430fb06e1d61bd1e11b078c0fe6d7a1f1"
|
9
recipes-devtools/python/python3-docker-pycreds_0.2.1.bb
Normal file
9
recipes-devtools/python/python3-docker-pycreds_0.2.1.bb
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
SUMMARY = "Python bindings for the docker credentials store API"
|
||||||
|
HOMEPAGE = "https://github.com/shin-/dockerpy-creds"
|
||||||
|
LICENSE = "Apache-2.0"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||||
|
|
||||||
|
inherit pypi setuptools3
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "0d80d5aebab771faf7e422b759c3055b"
|
||||||
|
SRC_URI[sha256sum] = "93833a2cf280b7d8abbe1b8121530413250c6cd4ffed2c1cf085f335262f7348"
|
11
recipes-devtools/python/python3-docker_2.5.1.bb
Normal file
11
recipes-devtools/python/python3-docker_2.5.1.bb
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
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 setuptools3
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "7d917152976df075e6e90ee853df641f"
|
||||||
|
SRC_URI[sha256sum] = "b876e6909d8d2360e0540364c3a952a62847137f4674f2439320ede16d6db880"
|
||||||
|
|
||||||
|
DEPENDS += "${PYTHON_PN}-pip-native"
|
9
recipes-devtools/python/python3-dockerpty_0.4.1.bb
Normal file
9
recipes-devtools/python/python3-dockerpty_0.4.1.bb
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
SUMMARY = "Python library to use the pseudo-tty of a docker container"
|
||||||
|
HOMEPAGE = "https://github.com/d11wtq/dockerpty"
|
||||||
|
LICENSE = "Apache-2.0"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=afaf767baa20ac524dc12f1071ca493a"
|
||||||
|
|
||||||
|
inherit pypi setuptools3
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "028bacb34536f3ee6a2ccd668c27e8e4"
|
||||||
|
SRC_URI[sha256sum] = "69a9d69d573a0daa31bcd1c0774eeed5c15c295fe719c61aca550ed1393156ce"
|
2
recipes-devtools/python/python3-docopt_0.6.2.bb
Normal file
2
recipes-devtools/python/python3-docopt_0.6.2.bb
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
inherit setuptools3
|
||||||
|
require python-docopt.inc
|
9
recipes-devtools/python/python3-texttable_0.9.1.bb
Normal file
9
recipes-devtools/python/python3-texttable_0.9.1.bb
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
SUMMARY = "module for creating simple ASCII tables"
|
||||||
|
HOMEPAGE = "https://github.com/foutaise/texttable/"
|
||||||
|
LICENSE = "LGPL-3.0"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=e6a600fd5e1d9cbde2d983680233ad02"
|
||||||
|
|
||||||
|
inherit pypi setuptools3
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "a712b5a5464d51c5fc43c64d9d2cd0de"
|
||||||
|
SRC_URI[sha256sum] = "119041773ff03596b56392532f9315cb3a3116e404fd6f36e76a7dc088d95c79"
|
11
recipes-devtools/python/python3-websocket-client_0.44.0.bb
Normal file
11
recipes-devtools/python/python3-websocket-client_0.44.0.bb
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
SUMMARY = "WebSocket client for python. hybi13 is supported."
|
||||||
|
HOMEPAGE = "https://github.com/websocket-client/websocket-client.git"
|
||||||
|
LICENSE = "LGPL-3.0"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=18b09a20dd186af4fd60f1a08311628c"
|
||||||
|
|
||||||
|
inherit pypi setuptools3
|
||||||
|
|
||||||
|
PYPI_PACKAGE = "websocket_client"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "73d87aa16a2212da448b30aca9c5bf3b"
|
||||||
|
SRC_URI[sha256sum] = "15f585566e2ea7459136a632b9785aa081093064391878a448c382415e948d72"
|
Loading…
Reference in New Issue
Block a user