[oe] [meta-python][PATCH 3/4] python-msgpack: add recipe

Martin Jansa martin.jansa at gmail.com
Thu Feb 19 17:21:41 UTC 2015


On Thu, Feb 19, 2015 at 12:09:09PM -0500, Bruce Ashfield wrote:
> On Wed, Feb 18, 2015 at 6:03 PM, Ben Shelton <ben.shelton at ni.com> wrote:
> > python-msgpack implements the MessagePack binary serialization format
> > for Python.
> >
> > Copied from commit 91ed2353847d4121e3dd8ad10ca0c24194ac9765 in
> > meta-cloud-services/meta-openstack and updated to version 0.4.5.
> 
> Can you elaborate on what is the use case for these recipes being cherry
> picked ?

It was discussed on IRC yesterday, the use case is simple. Some project
needs couple python-* recipes and they happen to be available in
meta-openstack now.. so instead of adding dependency on whole
meta-openstack which has unwanted side-effects and a lot of stuff they
don't care about they move 4 recipes to meta-python.

> If they are simply being moved "because they are python' .. that is annoying,
> and causes pain for dependent layers that have specific version dependencies.

They are moved before different projects need them and meta-python is
best project-agnostic layer for python recipes.

> I'm going to have to pin nearly all versions in the openstack layers and keep
> duplicate recipes around, so since I'm suffering that overhead, it would be nice
> if we could elaborate on the technical gain from doing this.

You don't need to pin it if your layer has higher priority.

> > Signed-off-by: Ben Shelton <ben.shelton at ni.com>
> > ---
> >  .../recipes-devtools/python/python-msgpack_0.4.5.bb     | 17 +++++++++++++++++
> >  1 file changed, 17 insertions(+)
> >  create mode 100644 meta-python/recipes-devtools/python/python-msgpack_0.4.5.bb
> >
> > diff --git a/meta-python/recipes-devtools/python/python-msgpack_0.4.5.bb b/meta-python/recipes-devtools/python/python-msgpack_0.4.5.bb
> > new file mode 100644
> > index 0000000..206b03d
> > --- /dev/null
> > +++ b/meta-python/recipes-devtools/python/python-msgpack_0.4.5.bb
> > @@ -0,0 +1,17 @@
> > +DESCRIPTION = "MessagePack (de)serializer"
> > +HOMEPAGE = "https://pypi.python.org/pypi/msgpack-python/"
> > +SECTION = "devel/python"
> > +LICENSE = "Apache-2.0"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751"
> > +
> > +PR = "r0"
> > +SRCNAME = "msgpack-python"
> > +
> > +SRC_URI = "https://pypi.python.org/packages/source/m/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
> > +
> > +SRC_URI[md5sum] = "3b82bc542d5599896695512e7c32f42d"
> > +SRC_URI[sha256sum] = "a07cd6615a6bf38cfa2f010b121c7e77b74a3e7b971ef3e475c3d33308014cbb"
> > +
> > +S = "${WORKDIR}/${SRCNAME}-${PV}"
> > +
> > +inherit setuptools
> > --
> > 2.3.0
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> 
> 
> -- 
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150219/bca7867f/attachment-0002.sig>


More information about the Openembedded-devel mailing list