[oe] [meta-python][PATCH] Add python-jsonpatch and python-jsonpointer recipes

Tim Orling ticotimo at gmail.com
Tue Jan 5 14:26:36 UTC 2016


python-jsonpointer has unmet dependencies (a quick look at setup.py shows
that you will need to add python-re to RDEPENDS).

Also, I would prefer to see two separate patches, one for each new recipe.

Regards,
Tim

On Sun, Jan 3, 2016 at 1:15 PM, Derek Straka <derek at asterius.io> wrote:

> Signed-off-by: Derek Straka <derek at asterius.io>
> ---
>  .../python/python-jsonpatch_1.12.bb                 | 21
> +++++++++++++++++++++
>  .../python/python-jsonpointer_1.10.bb               | 19
> +++++++++++++++++++
>  2 files changed, 40 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python-jsonpatch_1.12.bb
>  create mode 100644 meta-python/recipes-devtools/python/
> python-jsonpointer_1.10.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb
> b/meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb
> new file mode 100644
> index 0000000..4dc3bee
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-jsonpatch_1.12.bb
> @@ -0,0 +1,21 @@
> +SUMMARY  = "Appling JSON patches in Python 2.6+ and 3.x"
> +HOMEPAGE = "https://github.com/stefankoegl/python-json-patch"
> +SECTION = "devel/python"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
> +
> +SRCNAME = "jsonpatch"
> +
> +SRC_URI = " \
> +
> https://pypi.python.org/packages/source/j/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
> \
> +"
> +
> +inherit setuptools
> +
> +SRC_URI[md5sum] = "76ae3183db5f2a8f85dd7705e9b6f278"
> +SRC_URI[sha256sum] =
> "2e1eb457f9c8dd5dae837ca93c0fe5bd2522c9d44b9b380fb1aab2ab4dec04b1"
> +
> +RDEPENDS_${PN} += "python-jsonpointer"
> +
> +S = "${WORKDIR}/${SRCNAME}-${PV}"
> +
> diff --git a/meta-python/recipes-devtools/python/
> python-jsonpointer_1.10.bb b/meta-python/recipes-devtools/python/
> python-jsonpointer_1.10.bb
> new file mode 100644
> index 0000000..9c69688
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-jsonpointer_1.10.bb
> @@ -0,0 +1,19 @@
> +DESCRIPTION = "Resolve JSON Pointers in Python"
> +HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer"
> +SECTION = "devel/python"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
> +
> +SRCNAME = "jsonpointer"
> +
> +SRC_URI = " \
> +
> https://pypi.python.org/packages/source/j/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
> \
> +"
> +
> +inherit setuptools
> +
> +SRC_URI[md5sum] = "d68c0c6ad6889e9c94ec0feba719e45e"
> +SRC_URI[sha256sum] =
> "9fa5dcac35eefd53e25d6cd4c310d963c9f0b897641772cd6e5e7b89df7ee0b1"
> +
> +S = "${WORKDIR}/${SRCNAME}-${PV}"
> +
> --
> 1.9.1
>
> --
> _______________________________________________
> 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