All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [oe] [meta-python][PATCH] python3-dacite: Add recipe
       [not found] <20211221093822.10169-1-kasper@krinvent.dk>
@ 2022-01-17 10:11 ` Sean Nyekjaer
  2022-01-17 12:52 ` Esben Haabendal
  1 sibling, 0 replies; 2+ messages in thread
From: Sean Nyekjaer @ 2022-01-17 10:11 UTC (permalink / raw)
  To: Kasper, Khem Raj; +Cc: openembedded-devel, Kasper Revsbech

On Tue, Dec 21, 2021 at 10:38:22AM +0100, Kasper wrote:
> From: Kasper Revsbech <kasper.revsbech.ext@siemensgamesa.com>
> 
> Signed-off-by: Kasper Revsbech <kasper.revsbech.ext@siemensgamesa.com>
> ---
>  .../python/python3-dacite_1.6.0.bb                | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python3-dacite_1.6.0.bb
> 
> diff --git a/meta-python/recipes-devtools/python/python3-dacite_1.6.0.bb b/meta-python/recipes-devtools/python/python3-dacite_1.6.0.bb
> new file mode 100644
> index 000000000..8161370e1
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-dacite_1.6.0.bb
> @@ -0,0 +1,15 @@
> +SUMMARY = "Simple creation of data classes from dictionaries."
> +HOMEPAGE = "https://github.com/konradhalas/dacite"
> +AUTHOR = "Konrad Hałas <halas.konrad@gmail.com>"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://setup.py;md5=04d9af9bd5749a02eff535dac0b254d3"
> +
> +SRC_URI = "https://files.pythonhosted.org/packages/f9/bf/3f0912b4cfd861cd0fb7278c2b8d5bfb0c613ec1b7922e25e4115287b73a/dacite-1.6.0.tar.gz"
> +SRC_URI[md5sum] = "0a471b3df66e3923ce0ce544dc4ac66c"
> +SRC_URI[sha256sum] = "d48125ed0a0352d3de9f493bf980038088f45f3f9d7498f090b50a847daaa6df"
> +
> +S = "${WORKDIR}/dacite-1.6.0"
> +
> +RDEPENDS_${PN} = ""
> +
> +inherit setuptools3
> -- 
> 2.27.0
> 

Hi Khem,

Did you have a look at this one?

/Sean


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [oe] [meta-python][PATCH] python3-dacite: Add recipe
       [not found] <20211221093822.10169-1-kasper@krinvent.dk>
  2022-01-17 10:11 ` [oe] [meta-python][PATCH] python3-dacite: Add recipe Sean Nyekjaer
@ 2022-01-17 12:52 ` Esben Haabendal
  1 sibling, 0 replies; 2+ messages in thread
From: Esben Haabendal @ 2022-01-17 12:52 UTC (permalink / raw)
  To: Kasper; +Cc: openembedded-devel, Kasper Revsbech

"Kasper" <kasper@krinvent.dk> writes:

> From: Kasper Revsbech <kasper.revsbech.ext@siemensgamesa.com>
>
> Signed-off-by: Kasper Revsbech <kasper.revsbech.ext@siemensgamesa.com>
> ---
>  .../python/python3-dacite_1.6.0.bb                | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python3-dacite_1.6.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-dacite_1.6.0.bb b/meta-python/recipes-devtools/python/python3-dacite_1.6.0.bb
> new file mode 100644
> index 000000000..8161370e1
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-dacite_1.6.0.bb
> @@ -0,0 +1,15 @@
> +SUMMARY = "Simple creation of data classes from dictionaries."
> +HOMEPAGE = "https://github.com/konradhalas/dacite"
> +AUTHOR = "Konrad Hałas <halas.konrad@gmail.com>"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://setup.py;md5=04d9af9bd5749a02eff535dac0b254d3"
> +
> +SRC_URI = "https://files.pythonhosted.org/packages/f9/bf/3f0912b4cfd861cd0fb7278c2b8d5bfb0c613ec1b7922e25e4115287b73a/dacite-1.6.0.tar.gz"
> +SRC_URI[md5sum] = "0a471b3df66e3923ce0ce544dc4ac66c"
> +SRC_URI[sha256sum] = "d48125ed0a0352d3de9f493bf980038088f45f3f9d7498f090b50a847daaa6df"
> +
> +S = "${WORKDIR}/dacite-1.6.0"
> +
> +RDEPENDS_${PN} = ""
> +
> +inherit setuptools3

Did you try using pypi.bbclass instead of manually setting SRC_URI, S
and HOMEPAGE variables?

/Esben


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-17 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211221093822.10169-1-kasper@krinvent.dk>
2022-01-17 10:11 ` [oe] [meta-python][PATCH] python3-dacite: Add recipe Sean Nyekjaer
2022-01-17 12:52 ` Esben Haabendal

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.