[oe] [PATCH v2][meta-python] python-slip-dbus: add recipe

Martin Jansa martin.jansa at gmail.com
Wed Jul 30 10:52:52 UTC 2014


On Wed, Jul 30, 2014 at 03:44:13PM +0800, rongqing.li at windriver.com wrote:
> From: Roy Li <rongqing.li at windriver.com>
> 
> Signed-off-by: Roy Li <rongqing.li at windriver.com>
> ---
>  .../python/python-slip-dbus_0.6.0.bb               |   27 ++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 meta-python/recipes-python/python/python-slip-dbus_0.6.0.bb
> 
> diff --git a/meta-python/recipes-python/python/python-slip-dbus_0.6.0.bb b/meta-python/recipes-python/python/python-slip-dbus_0.6.0.bb
> new file mode 100644
> index 0000000..d091336
> --- /dev/null
> +++ b/meta-python/recipes-python/python/python-slip-dbus_0.6.0.bb
> @@ -0,0 +1,27 @@
> +SUMMARY = "Convenience functions for dbus services in Python 2.x"
> +HOMEPAGE = "http://nphilipp.fedorapeople.org/python-slip/"
> +DESCRIPTION = "\
> +The Simple Library for Python 2.x packages contain miscellaneous code for \
> +convenience, extension and workaround purposes. \
> +\
> +This package provides slip.dbus.service.Object, which is a dbus.service.Object \
> +derivative that ends itself after a certain time without being used and/or if \
> +there are no clients anymore on the message bus, as well as convenience \
> +functions and decorators for integrating a dbus service with PolicyKit."
> +
> +SECTION = "devel/python"
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
> +SRCNAME = "python-slip"
> +
> +SRC_URI = "https://fedorahosted.org/released/python-slip/${SRCNAME}-${PV}.tar.bz2"

I've replaced also 2nd "python-slip" with ${SRCNAME} and I've moved both
new recipes to recipes-devtools when cherry-picking this to master-next.

> +S = "${WORKDIR}/${SRCNAME}-${PV}"
> +
> +inherit setuptools
> +
> +SRC_URI[md5sum] = "fb3299d75af1a67ca6679d96ce839da6"
> +SRC_URI[sha256sum] = "f47361ec52b608309b83c71905e692b6b363eaf3b8a7afdeff866cd94463ad5c"
> +
> +do_compile_prepend() {
> +    sed -e 's/@VERSION@/${PV}/g' setup.py.in > setup.py
> +}
> -- 
> 1.7.10.4
> 
> -- 
> _______________________________________________
> 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/20140730/3dd6b2fe/attachment-0002.sig>


More information about the Openembedded-devel mailing list