All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bruce Ashfield" <bruce.ashfield@gmail.com>
To: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization][PATCH] boto3: satisfy runtime dependencies
Date: Tue, 30 Mar 2021 16:44:40 -0400	[thread overview]
Message-ID: <20210330204440.GC12428@gmail.com> (raw)
In-Reply-To: <20210329185955.11706-1-brgl@bgdev.pl>

Thanks for the change.

This is now merged (and I appreciate the submission here, since it is nice
to keep the dependency close to what is using it .. until it becomes more
common and then we can move it if required).

Bruce


In message: [meta-virtualization][PATCH] boto3: satisfy runtime dependencies
on 29/03/2021 Bartosz Golaszewski wrote:

> 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>
> ---
>  recipes-devtools/python/python3-boto3_1.14.7.bb     |  2 ++
>  recipes-devtools/python/python3-botocore_1.20.36.bb | 12 ++++++++++++
>  2 files changed, 14 insertions(+)
>  create mode 100644 recipes-devtools/python/python3-botocore_1.20.36.bb
> 
> diff --git a/recipes-devtools/python/python3-boto3_1.14.7.bb b/recipes-devtools/python/python3-boto3_1.14.7.bb
> index f9e979e..0e9611c 100644
> --- a/recipes-devtools/python/python3-boto3_1.14.7.bb
> +++ b/recipes-devtools/python/python3-boto3_1.14.7.bb
> @@ -13,3 +13,5 @@ SRC_URI[md5sum] = "fb8b77d4ac10a971570419dd3613196e"
>  SRC_URI[sha256sum] = "4856c8cb4150b900cc7dccbdf16f542fb8c12e97b17639979e58760847f7cf35"
>  
>  inherit pypi setuptools3
> +
> +RDEPENDS_${PN} += "python3-botocore python3-urllib3 python3-unixadmin"
> diff --git a/recipes-devtools/python/python3-botocore_1.20.36.bb b/recipes-devtools/python/python3-botocore_1.20.36.bb
> new file mode 100644
> index 0000000..4c4a825
> --- /dev/null
> +++ b/recipes-devtools/python/python3-botocore_1.20.36.bb
> @@ -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"
> -- 
> 2.30.1
> 

           reply	other threads:[~2021-03-30 20:44 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20210329185955.11706-1-brgl@bgdev.pl>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210330204440.GC12428@gmail.com \
    --to=bruce.ashfield@gmail.com \
    --cc=brgl@bgdev.pl \
    --cc=meta-virtualization@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.