All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: Justin Bronder <jsbronder@cold-front.org>,
	"openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Subject: RE: [oe] [meta-python][PATCH] python3-pyscaffold: fix wheel build and license
Date: Wed, 2 Mar 2022 14:49:30 +0000	[thread overview]
Message-ID: <2889da1e5fda4609aec7aa8d4a1651b0@axis.com> (raw)
In-Reply-To: <20220301221548.30730-1-jsbronder@cold-front.org>

> -----Original Message-----
> From: openembedded-devel@lists.openembedded.org <openembedded-
> devel@lists.openembedded.org> On Behalf Of Justin Bronder
> Sent: den 1 mars 2022 23:16
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [meta-python][PATCH] python3-pyscaffold: fix wheel build and
> license
> 
> Without python3-setuptools-scm-native, the version on the generated
> wheel is 0.0.0, not ${PV} as expected which causes
> pip_install_wheel_do_install to fail to find the wheel.
> 
> Consulting the LICENSE.txt distributed with the source, the template
> files under pyscaffold.templates, which are installed as part of this
> recipe, are licensed as BSD-0-Clause
> 
> Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
> ---
>  .../recipes-devtools/python/python3-pyscaffold_4.1.4.bb     | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-python/recipes-devtools/python/python3-
> pyscaffold_4.1.4.bb b/meta-python/recipes-devtools/python/python3-
> pyscaffold_4.1.4.bb
> index 7e5599e4aa..f58fc5e9aa 100644
> --- a/meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb
> +++ b/meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb
> @@ -5,8 +5,8 @@ used to create template Projects."
> 
>  HOMEPAGE = "https://github.com/pyscaffold/pyscaffold"
>  SECTION = "devel/python"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
> +LICENSE = "BSD-0-Clause & MIT"

The official SPDX identifier is (weirdly enough) "0BSD".

> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=14a49c74a1d91829908ac756c07e6b91"
> 
>  inherit pypi setuptools3
> 
> @@ -16,6 +16,8 @@ SRC_URI[sha256sum] = "46a2bbdf255ba2efc6c56ae1428249b61d56c4a3e54ef3db0d05fa9779
> 
>  BBCLASSEXTEND = "native nativesdk"
> 
> +DEPENDS += "python3-setuptools-scm-native"

Build dependencies typically go near the start of the recipe, 
i.e., between LIC_FILES_CHKSUM and inherit.

> +
>  RDEPENDS:${PN} += " \
>  	python3-email \
>  	python3-compression \
> --
> 2.35.1

//Peter



  reply	other threads:[~2022-03-02 14:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 22:15 [meta-python][PATCH] python3-pyscaffold: fix wheel build and license Justin Bronder
2022-03-02 14:49 ` Peter Kjellerstedt [this message]
2022-03-02 17:12   ` [oe] " Khem Raj

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=2889da1e5fda4609aec7aa8d4a1651b0@axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=jsbronder@cold-front.org \
    --cc=openembedded-devel@lists.openembedded.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.