boto3: satisfy runtime dependencies

Currently boto3 can be built into an image but it won't work without
additional dependencies. First: botocore is needed at run-time, second:
there are other packages available in meta-python that need adding.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bartosz Golaszewski 2021-03-29 20:59:55 +02:00 committed by Bruce Ashfield
parent 2e5f311548
commit 5be55ac5cf
2 changed files with 14 additions and 0 deletions

View File

@ -13,3 +13,5 @@ SRC_URI[md5sum] = "fb8b77d4ac10a971570419dd3613196e"
SRC_URI[sha256sum] = "4856c8cb4150b900cc7dccbdf16f542fb8c12e97b17639979e58760847f7cf35"
inherit pypi setuptools3
RDEPENDS_${PN} += "python3-botocore python3-urllib3 python3-unixadmin"

View File

@ -0,0 +1,12 @@
SUMMARY = "The low-level, core functionality of boto 3."
HOMEPAGE = "https://github.com/boto/botocore"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93"
SRC_URI = "git://github.com/boto/botocore.git;protocol=https"
SRCREV = "8c7123bd4683049dcac62bf3e11662e6a72c5eec"
S = "${WORKDIR}/git"
inherit setuptools3
RDEPENDS_${PN} += "python3-jmespath python3-dateutil python3-logging"