Re: [oe] [meta-qt5] [PATCH] qtbase: add ptest

2017-07-09 Thread Huang, Qiyu
ping

> -Original Message-
> From: Huang, Qiyu 
> Sent: Friday, June 09, 2017 9:06 AM
> To: openembedded-devel@lists.openembedded.org
> Cc: Huang, Qiyu 
> Subject: [oe] [meta-qt5] [PATCH] qtbase: add ptest
> 
> Add ptest for qtbase  by using provided testsuite.
> 
> Signed-off-by: Huang Qiyu 
> ---
>  .../0001-Delete-qlonglong-and-qulonglong.patch | 28
> ++
>  recipes-qt/qt5/qtbase/run-ptest|  6 +
>  recipes-qt/qt5/qtbase_git.bb   | 17 -
>  3 files changed, 50 insertions(+), 1 deletion(-)  create mode 100644
> recipes-qt/qt5/qtbase/0001-Delete-qlonglong-and-qulonglong.patch
>  create mode 100644 recipes-qt/qt5/qtbase/run-ptest
> 
> diff --git a/recipes-qt/qt5/qtbase/0001-Delete-qlonglong-and-qulonglong.patch
> b/recipes-qt/qt5/qtbase/0001-Delete-qlonglong-and-qulonglong.patch
> new file mode 100644
> index 000..975cd28
> --- /dev/null
> +++ b/recipes-qt/qt5/qtbase/0001-Delete-qlonglong-and-qulonglong.patch
> @@ -0,0 +1,28 @@
> +From c67a4af2e5db4c1e2213961e6392b59affd1959f Mon Sep 17 00:00:00
> 2001
> +From: Huang Qiyu 
> +Date: Wed, 7 Jun 2017 21:00:49 +0900
> +Subject: [PATCH] Delete qlonglong and qulonglong
> +
> +Signed-off-by: Huang Qiyu 
> +---
> + tests/auto/corelib/thread/qatomicinteger/qatomicinteger.pro | 2 --
> + 1 file changed, 2 deletions(-)
> +
> +diff --git
> +a/tests/auto/corelib/thread/qatomicinteger/qatomicinteger.pro
> +b/tests/auto/corelib/thread/qatomicinteger/qatomicinteger.pro
> +index 09458bd..59a120e 100644
> +--- a/tests/auto/corelib/thread/qatomicinteger/qatomicinteger.pro
>  b/tests/auto/corelib/thread/qatomicinteger/qatomicinteger.pro
> +@@ -5,10 +5,8 @@ SUBDIRS=\
> + char32_t \
> + int \
> + long \
> +-qlonglong \
> + qptrdiff \
> + quintptr \
> +-qulonglong \
> + schar \
> + short \
> + uchar \
> +--
> +2.7.4
> +
> diff --git a/recipes-qt/qt5/qtbase/run-ptest b/recipes-qt/qt5/qtbase/run-ptest
> new file mode 100644 index 000..044f834
> --- /dev/null
> +++ b/recipes-qt/qt5/qtbase/run-ptest
> @@ -0,0 +1,6 @@
> +#!/bin/sh
> +
> +for x in ` awk '{print $1}' tst_list `;do
> +./${x};
> +done
> +
> diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index
> 27d0de1..39fc272 100644
> --- a/recipes-qt/qt5/qtbase_git.bb
> +++ b/recipes-qt/qt5/qtbase_git.bb
> @@ -23,8 +23,12 @@ SRC_URI += "\
>  file://0005-configure-bump-path-length-from-256-to-512-character.patch
> \
>  file://0009-Disable-all-unknown-features-instead-of-erroring-out.patch \
> 
> file://0010-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch
> \
> +file://0001-Delete-qlonglong-and-qulonglong.patch \
> +file://run-ptest \
>  "
> 
> +inherit ptest
> +
>  # only for target qtbase
>  SRC_URI += "\
>  file://0008-configure-paths-for-target-qmake-properly.patch \ @@ -48,7
> +52,7 @@ PACKAGECONFIG_DISTRO ?= ""
>  PACKAGECONFIG_RELEASE ?= "release"
>  # This is in qt5.inc, because qtwebkit-examples are using it to enable
> ca-certificates dependency  # PACKAGECONFIG_OPENSSL ?= "openssl"
> -PACKAGECONFIG_DEFAULT ?= "dbus udev evdev widgets tools libs freetype"
> +PACKAGECONFIG_DEFAULT ?= "dbus udev evdev widgets tools libs freetype
> tests"
> 
>  PACKAGECONFIG ?= " \
>  ${PACKAGECONFIG_RELEASE} \
> @@ -170,6 +174,17 @@ do_configure() {
>  ${QT_CONFIG_FLAGS}
>  }
> 
> +fakeroot do_install_ptest() {
> +mkdir -p ${D}${PTEST_PATH}
> +t=${D}${PTEST_PATH}
> +for var in ` find ${B}/tests/auto/ -name tst_*`; do
> +if [ not ` echo ${var##*/} | grep '\.'` ]; then
> +echo ${var##*/} >> ${t}/tst_list
> +install -m 0644 ${var} ${t}
> +fi
> +done
> +}
> +
>  do_install_append() {
>  # Avoid qmake error "Cannot read
> [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory"
>  touch
> ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/oe-device-extra.pri
> --
> 2.7.4



-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-initramfs[PATCH] klibc: Fix build with musl

2017-07-09 Thread Khem Raj
klibc failed to build with armv7+ when using thumb2
it needed to resepct CC/CXX/LD from environment

Add patches to fix build with musl, to sort out
the linux header maze.

Signed-off-by: Khem Raj 
Cc: Andrea Adami 
---
 ...ine-in_-structs-for-non-glibc-system-libs.patch | 85 ++
 ...t-override-variables-passed-from-environm.patch | 73 +++
 ...0001-dash-Specify-format-string-in-fmtstr.patch | 31 
 .../0001-include-linux-sysinfo.h-directly.patch| 32 
 meta-initramfs/recipes-devtools/klibc/klibc.inc| 45 +---
 5 files changed, 255 insertions(+), 11 deletions(-)
 create mode 100644 
meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Define-in_-structs-for-non-glibc-system-libs.patch
 create mode 100644 
meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-build-Do-not-override-variables-passed-from-environm.patch
 create mode 100644 
meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-dash-Specify-format-string-in-fmtstr.patch
 create mode 100644 
meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-include-linux-sysinfo.h-directly.patch

diff --git 
a/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Define-in_-structs-for-non-glibc-system-libs.patch
 
b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Define-in_-structs-for-non-glibc-system-libs.patch
new file mode 100644
index 0..8d1ec69ae
--- /dev/null
+++ 
b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Define-in_-structs-for-non-glibc-system-libs.patch
@@ -0,0 +1,85 @@
+From f414dea1316a48aba3e8e293201ebd51652d3ef4 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sun, 9 Jul 2017 15:17:29 -0700
+Subject: [PATCH] Define in_* structs for non-glibc system libs
+
+These defines and structs are required to be coming from
+userspace netinet/in.h, which is being overridden in klibc
+however, libc-compat.h from kernel is only written keeping
+glibc in mind, and does not provide adequate guards for musl
+to infer that these structs should be defined in linux/in.h
+
+Signed-off-by: Khem Raj 
+---
+ usr/include/netinet/in.h | 33 +
+ 1 file changed, 33 insertions(+)
+
+Index: git/usr/include/netinet/in.h
+===
+--- git.orig/usr/include/netinet/in.h
 git/usr/include/netinet/in.h
+@@ -5,6 +5,42 @@
+ #ifndef _NETINET_IN_H
+ #define _NETINET_IN_H
+ 
++#ifndef __GLIBC__
++#include 
++
++#undef __UAPI_DEF_IN_ADDR
++#undef __UAPI_DEF_IN_IPPROTO
++#undef __UAPI_DEF_IN_PKTINFO
++#undef __UAPI_DEF_IP_MREQ
++#undef __UAPI_DEF_SOCKADDR_IN
++#undef __UAPI_DEF_IN_CLASS
++#undef __UAPI_DEF_IN6_ADDR
++#undef __UAPI_DEF_IN6_ADDR_ALT
++#undef __UAPI_DEF_SOCKADDR_IN6
++#undef __UAPI_DEF_IPV6_MREQ
++#undef __UAPI_DEF_IPPROTO_V6
++#undef __UAPI_DEF_IPV6_OPTIONS
++#undef __UAPI_DEF_IN6_PKTINFO
++#undef __UAPI_DEF_IP6_MTUINFO
++#undef __UAPI_DEF_IF_IFREQ
++
++#define __UAPI_DEF_IN_ADDR  1
++#define __UAPI_DEF_IN_IPPROTO   1
++#define __UAPI_DEF_IN_PKTINFO   1
++#define __UAPI_DEF_IP_MREQ  1
++#define __UAPI_DEF_SOCKADDR_IN  1
++#define __UAPI_DEF_IN_CLASS 1
++#define __UAPI_DEF_IN6_ADDR 1
++#define __UAPI_DEF_IN6_ADDR_ALT 1
++#define __UAPI_DEF_SOCKADDR_IN6 1
++#define __UAPI_DEF_IPV6_MREQ1
++#define __UAPI_DEF_IPPROTO_V6   1
++#define __UAPI_DEF_IPV6_OPTIONS 1
++#define __UAPI_DEF_IN6_PKTINFO  1
++#define __UAPI_DEF_IP6_MTUINFO  1
++#define __UAPI_DEF_IF_IFREQ 1
++#endif
++
+ #include 
+ #include 
+ #include/* Must be included *before*  */
+Index: git/usr/include/net/if.h
+===
+--- git.orig/usr/include/net/if.h
 git/usr/include/net/if.h
+@@ -1,6 +1,17 @@
+ #ifndef _NET_IF_H
+ #define _NET_IF_H
+ 
++#ifndef __GLIBC__
++#include 
++#undef __UAPI_DEF_IF_IFREQ
++#define __UAPI_DEF_IF_IFREQ1
++#undef __UAPI_DEF_IF_IFNAMSIZ
++#define __UAPI_DEF_IF_IFNAMSIZ 1
++#undef __UAPI_DEF_IF_IFMAP
++#define __UAPI_DEF_IF_IFMAP1
++#undef __UAPI_DEF_IF_NET_DEVICE_FLAGS
++#define __UAPI_DEF_IF_NET_DEVICE_FLAGS 1
++#endif
+ #include 
+ #include 
+ #include 
diff --git 
a/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-build-Do-not-override-variables-passed-from-environm.patch
 
b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-build-Do-not-override-variables-passed-from-environm.patch
new file mode 100644
index 0..53ab1451e
--- /dev/null
+++ 
b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-build-Do-not-override-variables-passed-from-environm.patch
@@ -0,0 +1,73 @@
+From b7e28e93776c2f08590d95f3b00975b42cfdb5f5 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sun, 9 Jul 2017 13:15:38 -0700
+Subject: [PATCH] build: Do not override variables passed from environment
+
+OE already passes right options via compiler
+
+Signed-off-by: Khem Raj 
+---
+ Makefile | 16 
+ usr/klibc/arch/arm/MCONFIG   |  6 ++
+ usr/kl

[oe] [meta-filesystems][PATCH] recipes-utils: Add recipe for udevil

2017-07-09 Thread Krzysztof Kozlowski
udevil is a command line Linux program which mounts and unmounts
removable devices without a password.

Signed-off-by: Krzysztof Kozlowski 
---
 .../0001-udevil-0.4.3-fix-compile-with-gcc6.patch  | 12 ++
 .../recipes-utils/udevil/udevil_0.4.4.bb   | 28 ++
 2 files changed, 40 insertions(+)
 create mode 100644 
meta-filesystems/recipes-utils/udevil/files/0001-udevil-0.4.3-fix-compile-with-gcc6.patch
 create mode 100644 meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb

diff --git 
a/meta-filesystems/recipes-utils/udevil/files/0001-udevil-0.4.3-fix-compile-with-gcc6.patch
 
b/meta-filesystems/recipes-utils/udevil/files/0001-udevil-0.4.3-fix-compile-with-gcc6.patch
new file mode 100644
index ..355e93a37b3b
--- /dev/null
+++ 
b/meta-filesystems/recipes-utils/udevil/files/0001-udevil-0.4.3-fix-compile-with-gcc6.patch
@@ -0,0 +1,12 @@
+Fix compilation with GCC6
+
+--- a/src/device-info.c2013-12-09 14:59:27.0 +0100
 b/src/device-info.c2017-03-13 07:06:25.50680 +0100
+@@ -3,6 +3,7 @@
+  * contains code excerpts from udisks v1.0.4
+ ** */
+ 
++#include 
+ #include "device-info.h"
+ 
+ static char *
diff --git a/meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb 
b/meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb
new file mode 100644
index ..4ad4a09ed717
--- /dev/null
+++ b/meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb
@@ -0,0 +1,28 @@
+SUMMARY = "A command line Linux program which mounts and unmounts removable 
devices"
+HOMEPAGE = "http://ignorantguru.github.io/udevil/";
+
+DEPENDS = "glib-2.0 \
+   glib-2.0-native \
+   intltool-native \
+   udev \
+"
+RDEPENDS_${PN} = "glib-2.0 \
+  udev \
+"
+
+LICENSE = "GPL-3.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+inherit autotools pkgconfig systemd
+
+SRC_URI = 
"https://github.com/IgnorantGuru/udevil/raw/pkg/${PV}/udevil-${PV}.tar.xz \
+   file://0001-udevil-0.4.3-fix-compile-with-gcc6.patch \
+"
+
+SRC_URI[md5sum] = "dc1c489b603a0500a04dc7e1805ac1d9"
+SRC_URI[sha256sum] = 
"ce8c51fd4d589cda7be56e75b42188deeb258c66fc911a9b3a70a3945c157739"
+
+SYSTEMD_SERVICE_${PN} = "devmon@.service"
+SYSTEMD_AUTO_ENABLE = "disable"
+
+FILES_${PN} += " ${libdir}/systemd/system/devmon@.service"
-- 
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][PATCH 3/3] meta-python: Add pybluez recipe

2017-07-09 Thread Krzysztof Kozlowski
Add recipe for PyBluez, Python wrapper over bluez.

Signed-off-by: Krzysztof Kozlowski 
---
 .../recipes-devtools/python/python-pybluez_0.22.bb  | 17 +
 1 file changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pybluez_0.22.bb

diff --git a/meta-python/recipes-devtools/python/python-pybluez_0.22.bb 
b/meta-python/recipes-devtools/python/python-pybluez_0.22.bb
new file mode 100644
index ..eab9c542094a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pybluez_0.22.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Bluetooth Python extension module"
+HOMEPAGE = "http://karulis.github.io/pybluez/";
+SECTION = "devel/python"
+
+RDEPENDS_${PN} = "bluez5"
+DEPENDS = "bluez5"
+
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543"
+
+inherit pypi setuptools
+
+SRC_URI = 
"https://pypi.python.org/packages/c1/98/3149481d508bee174335be6725880f00d297afebe75c15e917af8f6fe169/PyBluez-0.22.zip";
+SRC_URI[md5sum] = "49dab9d5a8f0b798c8125c7f649be3cd"
+SRC_URI[sha256sum] = 
"4ce006716a54d9d18e8186a3f1c8b12a8e6befecffe8fd5828a291fb694ce49d"
+
+S = "${WORKDIR}/PyBluez-${PV}"
-- 
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][PATCH 2/3] meta-python: Add python-daemon recipe and its dependencies

2017-07-09 Thread Krzysztof Kozlowski
Add recipes for python-daemon PIP package with its dependencies -
lockfile and docutils.

Signed-off-by: Krzysztof Kozlowski 
---
 .../0001-Workaround-for-issue-2-1.patch| 31 ++
 .../recipes-devtools/python/python-daemon_2.1.2.bb | 27 +++
 .../python/python-docutils_0.14rc2.bb  | 18 +
 .../python/python-lockfile_0.12.2.bb   | 13 +
 4 files changed, 89 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch
 create mode 100644 meta-python/recipes-devtools/python/python-daemon_2.1.2.bb
 create mode 100644 
meta-python/recipes-devtools/python/python-docutils_0.14rc2.bb
 create mode 100644 
meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb

diff --git 
a/meta-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch
 
b/meta-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch
new file mode 100644
index ..dbb840718618
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python-daemon/0001-Workaround-for-issue-2-1.patch
@@ -0,0 +1,31 @@
+From 0981eee9f0198c2045dc0eaa78a005d06fc7bfe4 Mon Sep 17 00:00:00 2001
+From: Carlos Eduardo Moreira dos Santos 
+Date: Tue, 28 Mar 2017 18:23:44 -0300
+Subject: [PATCH] Workaround for issue 2 [1]
+
+[1] https://pagure.io/python-daemon/issue/2
+---
+ version.py | 7 ---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/version.py b/version.py
+index d58422a377ee..293e2d64c2b7 100644
+--- a/version.py
 b/version.py
+@@ -648,9 +648,10 @@ class 
ChangelogAwareDistribution(distutils.dist.Distribution, object):
+ 
+ @lru_cache(maxsize=128)
+ def get_version_info(self):
+-changelog_path = get_changelog_path(self)
+-version_info = generate_version_info_from_changelog(changelog_path)
+-return version_info
++return {
++'version': '2.1.2',
++'maintainer': 'Ben Finney'
++}
+ 
+ def get_version(self):
+ version_info = self.get_version_info()
+-- 
+2.7.4
+
diff --git a/meta-python/recipes-devtools/python/python-daemon_2.1.2.bb 
b/meta-python/recipes-devtools/python/python-daemon_2.1.2.bb
new file mode 100644
index ..4c18e2bad5c4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-daemon_2.1.2.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Library to implement a well-behaved Unix daemon process"
+HOMEPAGE = "https://pagure.io/python-daemon/";
+SECTION = "devel/python"
+
+DEPENDS = "python-docutils"
+RDEPENDS_${PN} = "python-docutils \
+  python-lockfile (>= 0.10) \
+  python-resource \
+"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+inherit pypi setuptools
+
+SRC_URI[md5sum] = "9c57343d81f2a96c51cffeab982b04d2"
+SRC_URI[sha256sum] = 
"261c859be5c12ae7d4286dc6951e87e9e1a70a882a8b41fd926efc1ec4214f73"
+
+# Fix for build error in Yocto:
+# i = p.rfind('/') + 1
+# AttributeError: 'NoneType' object has no attribute 'rfind'
+#S = "${WORKDIR}/python-daemon"
+SRC_URI_append = " \
+  file://0001-Workaround-for-issue-2-1.patch \
+"
+
+PYPI_PACKAGE = "python-daemon"
diff --git a/meta-python/recipes-devtools/python/python-docutils_0.14rc2.bb 
b/meta-python/recipes-devtools/python/python-docutils_0.14rc2.bb
new file mode 100644
index ..68436a1a544b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-docutils_0.14rc2.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Text processing system for documentation"
+HOMEPAGE = "http://docutils.sourceforge.net";
+SECTION = "devel/python"
+LICENSE = "PSF & BSD-2-Clause & GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=35a23d42b615470583563132872c97d6"
+
+DEPENDS = "python"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz"
+SRC_URI[md5sum] = "2f4bee6451958252f7bec71f18b05be3"
+SRC_URI[sha256sum] = 
"3caee0bcb2a49fdf24fcfa70849a60abb7a181aa68b030f7cb7494096181830c"
+
+S = "${WORKDIR}/docutils-${PV}"
+
+inherit distutils
+
+BBCLASSEXTEND = "native"
+
diff --git a/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb 
b/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
new file mode 100644
index ..cd15760d46ae
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Platform-independent file locking module"
+HOMEPAGE = "http://launchpad.net/pylockfile";
+SECTION = "devel/python"
+
+RDEPENDS_${PN} = "python-threading"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+inherit pypi setuptools
+
+SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9"
+SRC_URI[sha256sum] = 
"6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"
-- 
2.11.0

-- 
___
Openembedded-d

[oe] [meta-python][PATCH 1/3] meta-python: Add Protobuf and gRPC Python recipes

2017-07-09 Thread Krzysztof Kozlowski
Add recipes for Python PIP packages for Google's Protobuf, gRPC and gRPC
tools.

Signed-off-by: Krzysztof Kozlowski 
---
 .../python/python-grpcio-tools_1.4.0.bb| 17 
 .../recipes-devtools/python/python-grpcio_1.4.0.bb | 23 ++
 .../python/python-protobuf_3.3.0.bb| 16 +++
 3 files changed, 56 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-grpcio-tools_1.4.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python-grpcio_1.4.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python-protobuf_3.3.0.bb

diff --git a/meta-python/recipes-devtools/python/python-grpcio-tools_1.4.0.bb 
b/meta-python/recipes-devtools/python/python-grpcio-tools_1.4.0.bb
new file mode 100644
index ..f9cfd9967f3e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-grpcio-tools_1.4.0.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Google gRPC tools"
+HOMEPAGE = "http://www.grpc.io/";
+SECTION = "devel/python"
+
+DEPENDS = "python-grpcio"
+RDEPENDS_${PN} = "python-grpcio"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
+
+inherit pypi setuptools
+
+SRC_URI[md5sum] = "b0d585872c69f207a05c55566e8afb38"
+SRC_URI[sha256sum] = 
"bddc98f063755a5df9d285666db49c49201f93d416c45d4f4924cf752b68c99c"
+
+# For usage in other recipies when compiling protobuf files (e.g. by 
grpcio-tools)
+BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python-grpcio_1.4.0.bb 
b/meta-python/recipes-devtools/python/python-grpcio_1.4.0.bb
new file mode 100644
index ..5412e0243392
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-grpcio_1.4.0.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Google gRPC"
+HOMEPAGE = "http://www.grpc.io/";
+SECTION = "devel/python"
+
+DEPENDS = "python-protobuf"
+
+RDEPENDS_${PN} = "python-enum34 \
+  python-futures \
+  python-protobuf \
+  python-setuptools \
+  python-six \
+"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
+
+inherit pypi setuptools
+
+SRC_URI[md5sum] = "d882ae4eeef4f32ac9c1d32052bf05ad"
+SRC_URI[sha256sum] = 
"a3a213a4c24b5c572b386d752e3b74a3f1b8fa5d03c07b6166fa39f3a6cdef34"
+
+# For usage in other recipies when compiling protobuf files (e.g. by 
grpcio-tools)
+BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python-protobuf_3.3.0.bb 
b/meta-python/recipes-devtools/python/python-protobuf_3.3.0.bb
new file mode 100644
index ..61b8fef0027b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-protobuf_3.3.0.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Protocol Buffers"
+HOMEPAGE = "https://developers.google.com/protocol-buffers/";
+SECTION = "devel/python"
+
+RDEPENDS_${PN} = "python-six"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
+
+inherit pypi setuptools
+
+SRC_URI[md5sum] = "27941e8e42e83d5183605054576882dd"
+SRC_URI[sha256sum] = 
"1cbcee2c45773f57cb6de7ee0eceb97f92b9b69c0178305509b162c0160c1f04"
+
+# For usage in other recipies when compiling protobuf files (e.g. by 
grpcio-tools)
+BBCLASSEXTEND = "native"
-- 
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel