[oe] [meta-python][PATCH v2 4/5] python-parse-type: Add Python 3 recipe

Khem Raj raj.khem at gmail.com
Thu Aug 2 18:11:49 UTC 2018


On Mon, Jul 30, 2018 at 8:11 PM Robert Joslyn
<robert.joslyn at redrectangle.org> wrote:
>
> Clarify license from BSD to BSD-3-Clause.
> ---
>  meta-python/recipes-devtools/python/python-parse-type.inc   | 12 ++++++++++++
>  .../recipes-devtools/python/python-parse-type_0.4.2.bb      | 13 ++-----------
>  .../recipes-devtools/python/python3-parse-type_0.4.2.bb     |  2 ++
>  3 files changed, 16 insertions(+), 11 deletions(-)
>  create mode 100644 meta-python/recipes-devtools/python/python-parse-type.inc
>  create mode 100644 meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-parse-type.inc b/meta-python/recipes-devtools/python/python-parse-type.inc
> new file mode 100644
> index 000000000..4549ec98b
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-parse-type.inc
> @@ -0,0 +1,12 @@
> +SUMMARY = "Simplifies building parse types based on the parse module"
> +HOMEPAGE = "https://github.com/jenisys/parse_type"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95"
> +
> +SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707"
> +SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c"
> +
> +PYPI_PACKAGE = "parse_type"
> +inherit pypi
> +
> +RDEPENDS_${PN} += "${PYTHON_PN}-parse"

there is no recipe for python3-parse but this does mean that
python3-parse-type will rdep on it and fail the dep check like below

ERROR: Nothing RPROVIDES 'python3-parse' (but
/mnt/a/oe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python3-parse' is unbuildable, removing...

> diff --git a/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb b/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
> index b516c5912..8e10e801c 100644
> --- a/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
> +++ b/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
> @@ -1,11 +1,2 @@
> -SUMMARY = "Simplifies building parse types based on the parse module"
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95"
> -PYPI_PACKAGE = "parse_type"
> -
> -SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707"
> -SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c"
> -
> -RDEPENDS_${PN} += "python-parse"
> -
> -inherit pypi setuptools
> +inherit setuptools
> +require python-parse-type.inc
> diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
> new file mode 100644
> index 000000000..91d9ce2d4
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-parse-type.inc
> --
> 2.16.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list