[oe] [meta-python][PATCH] python3-requests: Support idna version 3.1

2021-03-04 Thread Fabio Berton
Change idna required version to use python3-idna recipe that currently
is on version 3.1.

Without this change python-request doesn't work as the idna version
doesn't match the required versions. When bump python-request recipe,
verify if the upstream project bumped the idna version and drop this
patch.

As this recipe was tested with python3-idna_3.1 don't allow higher
versions.

Signed-off-by: Fabio Berton 
---
 .../setup.py-Support-idna-version-3.1.patch   | 40 +++
 .../python/python3-requests_2.25.1.bb |  2 +
 2 files changed, 42 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-requests/setup.py-Support-idna-version-3.1.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-requests/setup.py-Support-idna-version-3.1.patch
 
b/meta-python/recipes-devtools/python/python3-requests/setup.py-Support-idna-version-3.1.patch
new file mode 100644
index 0..26332249d
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-requests/setup.py-Support-idna-version-3.1.patch
@@ -0,0 +1,40 @@
+From fc45beed40a86c8fc38fc430765c1c5d2c9961c2 Mon Sep 17 00:00:00 2001
+From: Fabio Berton 
+Date: Thu, 4 Mar 2021 09:26:48 -0300
+Subject: [PATCH] setup.py: Support idna version 3.1
+Organization: O.S. Systems Software LTDA.
+
+Change idna required version to use python3-idna recipe that currently
+is on version 3.1.
+
+Without this change python-request doesn't work as the idna version
+doesn't match the required versions. When bump python-request recipe,
+verify if the upstream project bumped the idna version and drop this
+patch.
+
+As this recipe was tested with python3-idna_3.1 don't allow higher
+versions.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Fabio Berton 
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 7ba4b2a2..9d3b973e 100755
+--- a/setup.py
 b/setup.py
+@@ -43,7 +43,7 @@ packages = ['requests']
+ 
+ requires = [
+ 'chardet>=3.0.2,<5',
+-'idna>=2.5,<3',
++'idna>=2.5,<3.2',
+ 'urllib3>=1.21.1,<1.27',
+ 'certifi>=2017.4.17'
+ 
+-- 
+2.30.1
+
diff --git a/meta-python/recipes-devtools/python/python3-requests_2.25.1.bb 
b/meta-python/recipes-devtools/python/python3-requests_2.25.1.bb
index 6af836543..cea8fd517 100644
--- a/meta-python/recipes-devtools/python/python3-requests_2.25.1.bb
+++ b/meta-python/recipes-devtools/python/python3-requests_2.25.1.bb
@@ -3,6 +3,8 @@ HOMEPAGE = "http://python-requests.org;
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
 
+SRC_URI += "file://setup.py-Support-idna-version-3.1.patch"
+
 SRC_URI[sha256sum] = 
"27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804"
 
 inherit pypi setuptools3
-- 
2.29.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#89895): 
https://lists.openembedded.org/g/openembedded-devel/message/89895
Mute This Topic: https://lists.openembedded.org/mt/81087204/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] beep: Add recipe for version 1.2.2

2020-12-08 Thread Fabio Berton
Based on this recipe:
https://github.com/kraj/meta-slugos/blob/master/recipes-slugos/beep/beep_1.2.2.bb

Signed-off-by: Fabio Berton 
---
 meta-oe/recipes-extended/beep/beep_1.2.2.bb   |  25 +++
 .../beep/files/linux-input.patch  | 155 ++
 2 files changed, 180 insertions(+)
 create mode 100644 meta-oe/recipes-extended/beep/beep_1.2.2.bb
 create mode 100644 meta-oe/recipes-extended/beep/files/linux-input.patch

diff --git a/meta-oe/recipes-extended/beep/beep_1.2.2.bb 
b/meta-oe/recipes-extended/beep/beep_1.2.2.bb
new file mode 100644
index 0..cafc86964
--- /dev/null
+++ b/meta-oe/recipes-extended/beep/beep_1.2.2.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "beep is a command line tool for linux that beeps the PC speaker"
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
+
+SRC_URI = "\
+http://johnath.com/beep/beep-${PV}.tar.gz \
+file://linux-input.patch \
+"
+
+SRC_URI[sha256sum] = 
"5c0445dac43950b7c7c3f235c6fb21f620ab3fd2f3aafaf09896e5730fcf49a1"
+
+S = "${WORKDIR}/${BPN}-${PV}"
+
+EXTRA_OEMAKE += 'CC="${CC}"'
+EXTRA_OEMAKE += 'FLAGS="${CFLAGS} ${LDFLAGS}"'
+
+do_configure[noexec] = "1"
+
+do_compile() {
+   oe_runmake
+}
+
+do_install() {
+   install -Dm 0755 ${B}/${PN} ${D}${bindir}/${PN}
+}
diff --git a/meta-oe/recipes-extended/beep/files/linux-input.patch 
b/meta-oe/recipes-extended/beep/files/linux-input.patch
new file mode 100644
index 0..1b38ba72a
--- /dev/null
+++ b/meta-oe/recipes-extended/beep/files/linux-input.patch
@@ -0,0 +1,155 @@
+# the diff between Alessandro Zummo's copy of beep.c and the original
+# one...
+
+--- beep-1.2.2/beep.c.orig 2006-01-29 12:13:36.994560551 -0800
 beep-1.2.2/beep.c  2006-01-29 12:35:02.950558713 -0800
+@@ -26,6 +26,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ /* I don't know where this number comes from, I admit that freely.  A 
+wonderful human named Raine M. Ekman used it in a program that played
+@@ -86,18 +87,28 @@ typedef struct beep_parms_t {
+   struct beep_parms_t *next;  /* in case -n/--new is used. */
+ } beep_parms_t;
+ 
++enum { BEEP_TYPE_CONSOLE, BEEP_TYPE_EVDEV };
++
+ /* Momma taught me never to use globals, but we need something the signal 
+handlers can get at.*/
+ int console_fd = -1;
++int console_type = BEEP_TYPE_CONSOLE;
++char *console_device = NULL;
++
++void do_beep(int freq);
+ 
+ /* If we get interrupted, it would be nice to not leave the speaker beeping in
+perpetuity. */
+ void handle_signal(int signum) {
++  
++  if(console_device)
++free(console_device);
++
+   switch(signum) {
+   case SIGINT:
+ if(console_fd >= 0) {
+   /* Kill the sound, quit gracefully */
+-  ioctl(console_fd, KIOCSOUND, 0);
++  do_beep(0);
+   close(console_fd);
+   exit(signum);
+ } else {
+@@ -110,7 +121,7 @@ void handle_signal(int signum) {
+ /* print usage and exit */
+ void usage_bail(const char *executable_name) {
+   printf("Usage:\n%s [-f freq] [-l length] [-r reps] [-d delay] "
+-   "[-D delay] [-s] [-c]\n",
++   "[-D delay] [-s] [-c] [-e device]\n",
+executable_name);
+   printf("%s [Options...] [-n] [--new] [Options...] ... \n", executable_name);
+   printf("%s [-h] [--help]\n", executable_name);
+@@ -141,11 +152,12 @@ void usage_bail(const char *executable_n
+ void parse_command_line(int argc, char **argv, beep_parms_t *result) {
+   int c;
+ 
+-  struct option opt_list[4] = {{"help", 0, NULL, 'h'},
++  struct option opt_list[] = {{"help", 0, NULL, 'h'},
+  {"version", 0, NULL, 'V'},
+  {"new", 0, NULL, 'n'},
++ {"device", 1, NULL, 'e'},
+  {0,0,0,0}};
+-  while((c = getopt_long(argc, argv, "f:l:r:d:D:schvVn", opt_list, NULL))
++  while((c = getopt_long(argc, argv, "f:l:r:d:D:schvVne:", opt_list, NULL))
+   != EOF) {
+ int argval = -1;/* handle parsed numbers for various arguments */
+ float argfreq = -1; 
+@@ -207,6 +219,9 @@ void parse_command_line(int argc, char *
+   result->next->next   = NULL;
+   result = result->next; /* yes, I meant to do that. */
+   break;
++case 'e' : /* also --device */
++  console_device = strdup(optarg);
++  break;
+ case 'h' : /* notice that this is also --help */
+ default :
+   usage_bail(argv[0]);
+@@ -214,26 +229,61 @@ void parse_command_line(int argc, char *
+   }
+ }  
+ 
++void do_beep(int freq)
++{
++  if (console_type == BEEP_TYPE_CONSOLE)
++  {
++if(ioctl(console_fd, KIOCSOUND, freq != 0
++  ? (int)(CLOCK_TICK_RATE/freq)
++  : freq) < 0) {
++  printf("\a");  /* Output the only beep we can, in an effort to fall 
back

[oe] [meta-oe][PATCH] linuxconsole: Add recipe for version 1.7.0

2020-12-08 Thread Fabio Berton
Add linuxconsole and inputattach-config recipes. The inputattach-config
recipe is intend to use as machine configuration file for inputattach.

Signed-off-by: Fabio Berton 
---
 .../inputattach-config/inputattach-config.bb  | 12 +++
 .../inputattach-config/inputattach.conf   |  8 ++
 .../51-these-are-not-joysticks-rm.rules   | 83 +++
 .../linuxconsole/60-joystick.rules|  7 ++
 .../linuxconsole/inputattach.service  | 11 +++
 .../linuxconsole/linuxconsole/inputattachctl  | 16 
 .../linuxconsole/linuxconsole_1.7.0.bb| 83 +++
 7 files changed, 220 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
 create mode 100644 
meta-oe/recipes-extended/inputattach-config/inputattach-config/inputattach.conf
 create mode 100644 
meta-oe/recipes-extended/linuxconsole/linuxconsole/51-these-are-not-joysticks-rm.rules
 create mode 100644 
meta-oe/recipes-extended/linuxconsole/linuxconsole/60-joystick.rules
 create mode 100644 
meta-oe/recipes-extended/linuxconsole/linuxconsole/inputattach.service
 create mode 100644 
meta-oe/recipes-extended/linuxconsole/linuxconsole/inputattachctl
 create mode 100644 meta-oe/recipes-extended/linuxconsole/linuxconsole_1.7.0.bb

diff --git a/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb 
b/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
new file mode 100644
index 0..68beec670
--- /dev/null
+++ b/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
@@ -0,0 +1,12 @@
+SUMMARY = "inputattach configuration file"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI = "file://inputattach.conf"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install() {
+install -Dm 0644 ${WORKDIR}/inputattach.conf 
${D}${sysconfdir}/inputattach.conf
+}
diff --git 
a/meta-oe/recipes-extended/inputattach-config/inputattach-config/inputattach.conf
 
b/meta-oe/recipes-extended/inputattach-config/inputattach-config/inputattach.conf
new file mode 100644
index 0..86c421012
--- /dev/null
+++ 
b/meta-oe/recipes-extended/inputattach-config/inputattach-config/inputattach.conf
@@ -0,0 +1,8 @@
+#
+# Configuration for inputattach
+#
+# Every line of this file are inputattach arguments, see 'inputattach --help'.
+# An inputattach instance will be started for each element.
+#
+# --microsoft /dev/ttyS0
+# --baud 9600 --w8001 /dev/ttyS1
diff --git 
a/meta-oe/recipes-extended/linuxconsole/linuxconsole/51-these-are-not-joysticks-rm.rules
 
b/meta-oe/recipes-extended/linuxconsole/linuxconsole/51-these-are-not-joysticks-rm.rules
new file mode 100644
index 0..3e0ab4018
--- /dev/null
+++ 
b/meta-oe/recipes-extended/linuxconsole/linuxconsole/51-these-are-not-joysticks-rm.rules
@@ -0,0 +1,83 @@
+# /etc/udev/rules.d/51-these-are-not-joysticks-rm.rules
+#
+# This file is auto-generated. For more information:
+# https://github.com/denilsonsa/udev-joystick-blacklist
+
+SUBSYSTEM=="input", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c30a", 
ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c30a", 
KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="04d9", ATTRS{idProduct}=="a0df", 
ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="04d9", ATTRS{idProduct}=="a0df", 
KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0010", 
ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0010", 
KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0011", 
ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0011", 
KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0012", 
ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
+SUBSYSTEM=="input", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0012", 
KERNEL=="js[0-9]*", RUN+="

[oe] [meta-oe][PATCH v2] modemmanager: Update 1.12.12 -> 1.14.2

2020-09-10 Thread Fabio Berton
Remove --enable-more-warnings from toolchain-clang. This option was
removed in ModemManager commit [1].

[1] 
https://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=1c078531a017358241a35475fb24f2bd65d501db

Signed-off-by: Fabio Berton 
---
 .../{modemmanager_1.12.12.bb => modemmanager_1.14.2.bb}| 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-oe/recipes-connectivity/modemmanager/{modemmanager_1.12.12.bb => 
modemmanager_1.14.2.bb} (92%)

diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.12.bb 
b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.14.2.bb
similarity index 92%
rename from meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.12.bb
rename to meta-oe/recipes-connectivity/modemmanager/modemmanager_1.14.2.bb
index b0ab46f3f..d5fe9bf00 100644
--- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.12.bb
+++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.14.2.bb
@@ -12,7 +12,7 @@ inherit gnomebase gettext systemd vala gobject-introspection 
bash-completion
 DEPENDS = "glib-2.0 libgudev intltool-native libxslt-native"
 
 SRC_URI = 
"http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz;
-SRC_URI[sha256sum] = 
"a4fc4b33c0e8ae9372885f86fa033f3c1a89a76cd59a3458670eff1824222a3d"
+SRC_URI[sha256sum] = 
"5fb5553aecd6eb9d6d8ecd130a24f3461e5f93c5f91a0e4ae0508b5228e8b0be"
 S = "${WORKDIR}/ModemManager-${PV}"
 
 PACKAGECONFIG ??= "mbim qmi \
@@ -30,7 +30,6 @@ PACKAGECONFIG[qmi] = "--with-qmi,--without-qmi,libqmi"
 EXTRA_OECONF = " \
 --with-udev-base-dir=${nonarch_base_libdir}/udev \
 "
-EXTRA_OECONF_append_toolchain-clang = " --enable-more-warnings=no"
 
 FILES_${PN} += " \
 ${datadir}/icons \
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86979): 
https://lists.openembedded.org/g/openembedded-devel/message/86979
Mute This Topic: https://lists.openembedded.org/mt/76755255/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-oe][PATCH 1/2] modemmanager: Update 1.12.12 -> 1.14.2

2020-09-10 Thread Fabio Berton
Hi Khem!

I'll check this.

Thanks!

On Thu, Sep 10, 2020 at 5:24 AM Khem Raj  wrote:

> clang  build ends up erroring out
>
> https://errors.yoctoproject.org/Errors/Details/498792/
>
> It seems --enable-more-warnings is gone in new release but then maybe
> it wont compile with clang.
>
> On Wed, Sep 9, 2020 at 5:23 AM Fabio Berton
>  wrote:
> >
> > Signed-off-by: Fabio Berton 
> > ---
> >  .../{modemmanager_1.12.12.bb => modemmanager_1.14.2.bb} | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >  rename meta-oe/recipes-connectivity/modemmanager/{
> modemmanager_1.12.12.bb => modemmanager_1.14.2.bb} (95%)
> >
> > diff --git a/meta-oe/recipes-connectivity/modemmanager/
> modemmanager_1.12.12.bb b/meta-oe/recipes-connectivity/modemmanager/
> modemmanager_1.14.2.bb
> > similarity index 95%
> > rename from meta-oe/recipes-connectivity/modemmanager/
> modemmanager_1.12.12.bb
> > rename to meta-oe/recipes-connectivity/modemmanager/
> modemmanager_1.14.2.bb
> > index b0ab46f3f..6b5e73ba4 100644
> > --- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.12.bb
> > +++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.14.2.bb
> > @@ -12,7 +12,7 @@ inherit gnomebase gettext systemd vala
> gobject-introspection bash-completion
> >  DEPENDS = "glib-2.0 libgudev intltool-native libxslt-native"
> >
> >  SRC_URI = "
> http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz
> "
> > -SRC_URI[sha256sum] =
> "a4fc4b33c0e8ae9372885f86fa033f3c1a89a76cd59a3458670eff1824222a3d"
> > +SRC_URI[sha256sum] =
> "5fb5553aecd6eb9d6d8ecd130a24f3461e5f93c5f91a0e4ae0508b5228e8b0be"
> >  S = "${WORKDIR}/ModemManager-${PV}"
> >
> >  PACKAGECONFIG ??= "mbim qmi \
> > --
> > 2.27.0
> >
> > 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86978): 
https://lists.openembedded.org/g/openembedded-devel/message/86978
Mute This Topic: https://lists.openembedded.org/mt/76730889/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-oe][PATCH v2] libqmi: Update 1.26.0 -> 1.26.4

2020-09-09 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 .../libqmi/{libqmi_1.26.0.bb => libqmi_1.26.4.bb}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-oe/recipes-connectivity/libqmi/{libqmi_1.26.0.bb => 
libqmi_1.26.4.bb} (85%)

diff --git a/meta-oe/recipes-connectivity/libqmi/libqmi_1.26.0.bb 
b/meta-oe/recipes-connectivity/libqmi/libqmi_1.26.4.bb
similarity index 85%
rename from meta-oe/recipes-connectivity/libqmi/libqmi_1.26.0.bb
rename to meta-oe/recipes-connectivity/libqmi/libqmi_1.26.4.bb
index 3a1b70b80..f778ffac4 100644
--- a/meta-oe/recipes-connectivity/libqmi/libqmi_1.26.0.bb
+++ b/meta-oe/recipes-connectivity/libqmi/libqmi_1.26.4.bb
@@ -14,8 +14,7 @@ inherit autotools pkgconfig bash-completion 
gobject-introspection
 
 SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz;
 
-SRC_URI[md5sum] = "8da95a97e893311878f8ce12dcf8fad0"
-SRC_URI[sha256sum] = 
"7f0429e0ae58792e21512d09ca2412537840ea42696762795af1284a65fd6e40"
+SRC_URI[sha256sum] = 
"c0adcb84ba452e3e13edeb3f94f7b003ea927b354bc187629e05efb333ce270b"
 
 PACKAGECONFIG ??= "udev mbim"
 PACKAGECONFIG[udev] = ",--without-udev,libgudev"
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86971): 
https://lists.openembedded.org/g/openembedded-devel/message/86971
Mute This Topic: https://lists.openembedded.org/mt/76737443/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-oe][PATCH 1/2] modemmanager: Update 1.12.12 -> 1.14.2

2020-09-09 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 .../{modemmanager_1.12.12.bb => modemmanager_1.14.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-connectivity/modemmanager/{modemmanager_1.12.12.bb => 
modemmanager_1.14.2.bb} (95%)

diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.12.bb 
b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.14.2.bb
similarity index 95%
rename from meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.12.bb
rename to meta-oe/recipes-connectivity/modemmanager/modemmanager_1.14.2.bb
index b0ab46f3f..6b5e73ba4 100644
--- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.12.bb
+++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.14.2.bb
@@ -12,7 +12,7 @@ inherit gnomebase gettext systemd vala gobject-introspection 
bash-completion
 DEPENDS = "glib-2.0 libgudev intltool-native libxslt-native"
 
 SRC_URI = 
"http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz;
-SRC_URI[sha256sum] = 
"a4fc4b33c0e8ae9372885f86fa033f3c1a89a76cd59a3458670eff1824222a3d"
+SRC_URI[sha256sum] = 
"5fb5553aecd6eb9d6d8ecd130a24f3461e5f93c5f91a0e4ae0508b5228e8b0be"
 S = "${WORKDIR}/ModemManager-${PV}"
 
 PACKAGECONFIG ??= "mbim qmi \
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86967): 
https://lists.openembedded.org/g/openembedded-devel/message/86967
Mute This Topic: https://lists.openembedded.org/mt/76730889/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-oe][PATCH 2/2] libqmi: Update 1.26.0 -> 1.26.4

2020-09-09 Thread Fabio Berton
Switch to autotools-brokensep to use the same directory for build and source 
avoiding error:

  configure: error: source directory already configured; run "make distclean" 
there first

Signed-off-by: Fabio Berton 
---
 .../libqmi/{libqmi_1.26.0.bb => libqmi_1.26.4.bb}| 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-connectivity/libqmi/{libqmi_1.26.0.bb => 
libqmi_1.26.4.bb} (78%)

diff --git a/meta-oe/recipes-connectivity/libqmi/libqmi_1.26.0.bb 
b/meta-oe/recipes-connectivity/libqmi/libqmi_1.26.4.bb
similarity index 78%
rename from meta-oe/recipes-connectivity/libqmi/libqmi_1.26.0.bb
rename to meta-oe/recipes-connectivity/libqmi/libqmi_1.26.4.bb
index 3a1b70b80..2d1a4c47e 100644
--- a/meta-oe/recipes-connectivity/libqmi/libqmi_1.26.0.bb
+++ b/meta-oe/recipes-connectivity/libqmi/libqmi_1.26.4.bb
@@ -10,12 +10,11 @@ LIC_FILES_CHKSUM = " \
 
 DEPENDS = "glib-2.0 glib-2.0-native"
 
-inherit autotools pkgconfig bash-completion gobject-introspection
+inherit autotools-brokensep pkgconfig bash-completion gobject-introspection
 
 SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz;
 
-SRC_URI[md5sum] = "8da95a97e893311878f8ce12dcf8fad0"
-SRC_URI[sha256sum] = 
"7f0429e0ae58792e21512d09ca2412537840ea42696762795af1284a65fd6e40"
+SRC_URI[sha256sum] = 
"c0adcb84ba452e3e13edeb3f94f7b003ea927b354bc187629e05efb333ce270b"
 
 PACKAGECONFIG ??= "udev mbim"
 PACKAGECONFIG[udev] = ",--without-udev,libgudev"
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86968): 
https://lists.openembedded.org/g/openembedded-devel/message/86968
Mute This Topic: https://lists.openembedded.org/mt/76730890/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-java][PATCH 1/2] openjdk-8-native: Add libxtst-native to x11 packageconfig

2020-06-09 Thread Fabio Berton
libxtst-native it's needed to build openjdk-8-native.

Signed-off-by: Fabio Berton 
---
 recipes-core/openjdk/openjdk-8-native.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/openjdk/openjdk-8-native.inc 
b/recipes-core/openjdk/openjdk-8-native.inc
index 321a43d..f6d617a 100644
--- a/recipes-core/openjdk/openjdk-8-native.inc
+++ b/recipes-core/openjdk/openjdk-8-native.inc
@@ -8,8 +8,8 @@ DEPENDS = "\
 "
 
 PACKAGECONFIG ??= "gif jpeg png zlib"
-PACKAGECONFIG[x11] = "--with-x,,libx11-native xorgproto-native libxt-native 
libxext-native libxrender-native"
 PACKAGECONFIG[cups] = "--with-cups,,cups"
+PACKAGECONFIG[x11] = "--with-x,,libx11-native xorgproto-native libxt-native 
libxext-native libxrender-native libxtst-native"
 PACKAGECONFIG[alsa] = "--with-alsa,,alsa-lib-native"
 PACKAGECONFIG[gif] = "--with-giflib=system,--with-giflib=bundled,giflib-native"
 PACKAGECONFIG[jce] = "--enable-unlimited-crypto,,"
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84915): 
https://lists.openembedded.org/g/openembedded-devel/message/84915
Mute This Topic: https://lists.openembedded.org/mt/74775905/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-java][PATCH 2/2] openjdk-8-native: Build cups-native when using cups packageconfig

2020-06-09 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 recipes-core/openjdk/openjdk-8-native.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/openjdk/openjdk-8-native.inc 
b/recipes-core/openjdk/openjdk-8-native.inc
index f6d617a..24b6f20 100644
--- a/recipes-core/openjdk/openjdk-8-native.inc
+++ b/recipes-core/openjdk/openjdk-8-native.inc
@@ -8,8 +8,8 @@ DEPENDS = "\
 "
 
 PACKAGECONFIG ??= "gif jpeg png zlib"
-PACKAGECONFIG[cups] = "--with-cups,,cups"
 PACKAGECONFIG[x11] = "--with-x,,libx11-native xorgproto-native libxt-native 
libxext-native libxrender-native libxtst-native"
+PACKAGECONFIG[cups] = "--with-cups,,cups-native"
 PACKAGECONFIG[alsa] = "--with-alsa,,alsa-lib-native"
 PACKAGECONFIG[gif] = "--with-giflib=system,--with-giflib=bundled,giflib-native"
 PACKAGECONFIG[jce] = "--enable-unlimited-crypto,,"
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84916): 
https://lists.openembedded.org/g/openembedded-devel/message/84916
Mute This Topic: https://lists.openembedded.org/mt/74775906/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-oe][PATCH] nanopb: Add recipe for version 0.4.0

2019-12-20 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 .../recipes-devtools/nanopb/nanopb_0.4.0.bb   | 28 +++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb

diff --git a/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb 
b/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb
new file mode 100644
index 0..aedd53a7a
--- /dev/null
+++ b/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb
@@ -0,0 +1,28 @@
+DESCRIPTION="Protocol Buffers with small code size"
+LICENSE="Zlib"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f"
+
+DEPENDS = "protobuf-native"
+
+SRC_URI = "git://github.com/nanopb/nanopb.git"
+SRCREV = "70f0de9877b1ce12abc0229d5df84db6349fcbfc"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pythonnative
+
+do_install_append() {
+install -Dm 0755 ${S}/generator/nanopb_generator.py 
${D}${bindir}/nanopb_generator.py
+install -Dm 0755 ${S}/generator/protoc-gen-nanopb 
${D}${bindir}/protoc-gen-nanopb
+install -Dm 0755 ${S}/generator/proto/__init__.py 
${D}${PYTHON_SITEPACKAGES_DIR}/proto/__init__.py
+}
+
+FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
+FILES_${PN}-dev += "${libdir}/cmake/${BPN}"
+
+RDEPENDS_${PN} += "\
+   ${PYTHON_PN}-protobuf \
+   protobuf-compiler \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1

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


[oe] [meta-oe][PATCH 3/3] emlog: Add recipe

2019-11-27 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-oe/recipes-core/emlog/emlog.inc  |  13 ++
 .../emlog/emlog/Drop-use-of-error-h.patch | 113 ++
 meta-oe/recipes-core/emlog/emlog/emlog.initd  |  25 
 meta-oe/recipes-core/emlog/emlog_git.bb   |  22 
 .../emlog/kernel-module-emlog_git.bb  |  12 ++
 5 files changed, 185 insertions(+)
 create mode 100644 meta-oe/recipes-core/emlog/emlog.inc
 create mode 100644 meta-oe/recipes-core/emlog/emlog/Drop-use-of-error-h.patch
 create mode 100644 meta-oe/recipes-core/emlog/emlog/emlog.initd
 create mode 100644 meta-oe/recipes-core/emlog/emlog_git.bb
 create mode 100644 meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb

diff --git a/meta-oe/recipes-core/emlog/emlog.inc 
b/meta-oe/recipes-core/emlog/emlog.inc
new file mode 100644
index 0..9a0f9ba92
--- /dev/null
+++ b/meta-oe/recipes-core/emlog/emlog.inc
@@ -0,0 +1,13 @@
+DESCRIPTION = "emlog is a Linux kernel module that makes it easy to access the 
\
+most recent (and only the most recent) output from a process"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+SRC_URI = "git://github.com/nicupavel/emlog.git;protocol=http"
+SRCREV = "aee53e8dee862f35291242ba41b0ca88010f6c71"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += " \
+CFLAGS='${TARGET_CFLAGS}' \
+"
diff --git a/meta-oe/recipes-core/emlog/emlog/Drop-use-of-error-h.patch 
b/meta-oe/recipes-core/emlog/emlog/Drop-use-of-error-h.patch
new file mode 100644
index 0..6bfc44cb8
--- /dev/null
+++ b/meta-oe/recipes-core/emlog/emlog/Drop-use-of-error-h.patch
@@ -0,0 +1,113 @@
+From 41de28a92297f4cb0c5a8d7356cde9190176947b Mon Sep 17 00:00:00 2001
+From: Fabio Berton 
+Date: Thu, 14 Mar 2019 19:54:27 -0300
+Subject: [PATCH] Drop use of error.h
+Organization: O.S. Systems Software LTDA.
+
+The error.h does not work with musl and this project being embedded
+friendly it makes sense to avoid glibc-specific code.
+
+Signed-off-by: Otavio Salvador 
+Signed-off-by: Fabio Berton 
+---
+ mkemlog.c | 29 ++---
+ 1 file changed, 14 insertions(+), 15 deletions(-)
+
+diff --git a/mkemlog.c b/mkemlog.c
+index e3354ed..7bcdfce 100644
+--- a/mkemlog.c
 b/mkemlog.c
+@@ -21,7 +21,6 @@
+ #include 
+ #include 
+ #include 
+-#include 
+ #include 
+
+ #define EMLOG_DEVICE "/dev/emlog"
+@@ -40,16 +39,16 @@ int main(int argc, char** argv) {
+ FILE *max_size_file = NULL;
+ uid_t uid = -1;
+ if (argc < 2 || argc > 5) {
+-error(1 ,0, USAGE);
++fprintf(stderr, USAGE);
+ }
+ file = argv[1];
+
+ max_size_file = fopen("/sys/module/emlog/parameters/emlog_max_size", "r");
+ if (max_size_file == NULL)
+-error(1, errno, "Emlog module not loaded\n");
++fprintf(stderr, "Emlog module not loaded\n");
+ rc = fscanf(max_size_file, "%d", _max_size);
+ if (rc != 1)
+-error(1, errno, "Unable to get emlog max size\n");
++fprintf(stderr, "Unable to get emlog max size\n");
+ fclose(max_size_file);
+ max_size_file = NULL;
+ if (argc > 2 ) {
+@@ -57,13 +56,13 @@ int main(int argc, char** argv) {
+ number = argv[2];
+ size_of_buffer = strtol(number, _of_number, 10);
+ if (errno) {
+-error(1, errno, "Invalid size provided\n" USAGE);
++fprintf(stderr, "Invalid size provided\n" USAGE);
+ }
+ if (end_of_number == number) {
+-error(1, 0, "Invalid size provided\n" USAGE);
++fprintf(stderr, "Invalid size provided\n" USAGE);
+ }
+ if (size_of_buffer < 1 || size_of_buffer > emlog_max_size) {
+-error(1, 0, "Invalid size provided must be a value between 1 and 
%d\n" USAGE, emlog_max_size);
++fprintf(stderr, "Invalid size provided must be a value between 1 
and %d\n" USAGE, emlog_max_size);
+ }
+ }
+ if (argc > 3 ) {
+@@ -71,10 +70,10 @@ int main(int argc, char** argv) {
+ number = argv[3];
+ mode = strtol(number, _of_number, 8);
+ if (errno) {
+-error(1, errno, "Invalid mode provided\n" USAGE);
++fprintf(stderr, "Invalid mode provided\n" USAGE);
+ }
+ if (end_of_number == number || S_IFMT & mode) {
+-error(1, 0, "Invalid mode provided\n" USAGE);
++fprintf(stderr, "Invalid mode provided\n" USAGE);
+ }
+ }
+ if (argc > 4 ) {
+@@ -82,27 +81,27 @@ int main(int argc, char** argv) {
+ number = argv[4];
+ uid = strtol(number, _of_number, 10);
+ if (errno) {
+-error(1, errno, "Invalid uid provided\n" USAGE);
++fprintf(stderr, "Invalid uid pr

[oe] [meta-oe][PATCH 1/3] mdbus2: Add recipe

2019-11-27 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-oe/recipes-core/mdbus2/mdbus2_git.bb | 16 
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-core/mdbus2/mdbus2_git.bb

diff --git a/meta-oe/recipes-core/mdbus2/mdbus2_git.bb 
b/meta-oe/recipes-core/mdbus2/mdbus2_git.bb
new file mode 100644
index 0..82f2cf8c9
--- /dev/null
+++ b/meta-oe/recipes-core/mdbus2/mdbus2_git.bb
@@ -0,0 +1,16 @@
+SUMMARY = "Mickey's DBus Introspection and Interaction Utility V2"
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07"
+
+DEPENDS = "readline"
+
+PV = "2.3.3+git${SRCPV}"
+
+SRC_URI = "git://github.com/freesmartphone/mdbus.git;protocol=http"
+SRCREV = "28202692d0b441000f4ddb8f347f72d1355021aa"
+
+S = "${WORKDIR}/git"
+
+inherit autotools vala
+
+EXTRA_OECONF += "--enable-vala"
-- 
2.20.1

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


[oe] [meta-oe][PATCH 2/3] jpnevulator: Add recipe

2019-11-27 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 .../jpnevulator/jpnevulator_git.bb| 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-extended/jpnevulator/jpnevulator_git.bb

diff --git a/meta-oe/recipes-extended/jpnevulator/jpnevulator_git.bb 
b/meta-oe/recipes-extended/jpnevulator/jpnevulator_git.bb
new file mode 100644
index 0..d2819f76c
--- /dev/null
+++ b/meta-oe/recipes-extended/jpnevulator/jpnevulator_git.bb
@@ -0,0 +1,19 @@
+SUMMARY = "A handy serial sniffer"
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"
+
+PV = "2.3.4+git${SRCPV}"
+
+SRC_URI = "git://github.com/snarlistic/jpnevulator.git;protocol=http"
+SRCREV = "97438ecbd52fbc01540221bc590f8388a43c74e0"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+   oe_runmake
+}
+
+do_install() {
+   oe_runmake install 'DESTDIR=${D}'
+}
+
-- 
2.20.1

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


[oe] [meta-python][PATCH 4/5] python-zipp: Add native and nativesdk to BBCLASSEXTEND

2019-11-13 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-python/recipes-devtools/python/python-zipp.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-zipp.inc 
b/meta-python/recipes-devtools/python/python-zipp.inc
index ba18f7216..5f63852ad 100644
--- a/meta-python/recipes-devtools/python/python-zipp.inc
+++ b/meta-python/recipes-devtools/python/python-zipp.inc
@@ -8,3 +8,5 @@ SRC_URI[sha256sum] = 
"3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 RDEPENDS_${PN} += "${PYTHON_PN}-more-itertools"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1

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


[oe] [meta-python][PATCH 2/5] python-more-itertools: Add native and nativesdk to BBCLASSEXTEND

2019-11-13 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-python/recipes-devtools/python/python-more-itertools.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-more-itertools.inc 
b/meta-python/recipes-devtools/python/python-more-itertools.inc
index 33095b3d3..8dcf00b3f 100644
--- a/meta-python/recipes-devtools/python/python-more-itertools.inc
+++ b/meta-python/recipes-devtools/python/python-more-itertools.inc
@@ -2,3 +2,5 @@ DESCRIPTION = "More routines for operating on iterables, beyond 
itertools"
 HOMEPAGE = "https://github.com/erikrose/more-itertools;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1

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


[oe] [meta-python][PATCH 5/5] python3-importlib-metadata: RDEPEND python3-misc only for target and nativesdk

2019-11-13 Thread Fabio Berton
Python3 recipe rprovides python3-misc only for target and nativesdk,
but if we have some recipe that rdepends python3-misc and has native
in BBCLASSEXTEND bitbake raises an error showing that nothing rprovides
python3-misc-native.

Signed-off-by: Fabio Berton 
---
 .../recipes-devtools/python/python3-importlib-metadata_0.23.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb 
b/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
index 4c53d5fbb..851d703c9 100644
--- a/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
+++ b/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
@@ -1,4 +1,5 @@
 inherit pypi setuptools3
 require python-importlib-metadata.inc
 
-RDEPENDS_${PN} += "python3-misc"
+RDEPENDS_${PN}_class-target += "python3-misc"
+RDEPENDS_${PN}_class-nativesdk += "python3-misc"
-- 
2.20.1

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


[oe] [meta-python][PATCH 3/5] python-pathlib2: Add native and nativesdk to BBCLASSEXTEND

2019-11-13 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-python/recipes-devtools/python/python-pathlib2.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-pathlib2.inc 
b/meta-python/recipes-devtools/python/python-pathlib2.inc
index c5ba99d4f..3199b56a0 100644
--- a/meta-python/recipes-devtools/python/python-pathlib2.inc
+++ b/meta-python/recipes-devtools/python/python-pathlib2.inc
@@ -7,3 +7,5 @@ SRC_URI[md5sum] = "f2bd0a363eb0f8fa0556f35c1d9e66fb"
 SRC_URI[sha256sum] = 
"6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868"
 
 RDEPENDS_${PN} += "${PYTHON_PN}-six"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1

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


[oe] [meta-python][PATCH 1/5] python-importlib-metadata: Add native and nativesdk to BBCLASSEXTEND

2019-11-13 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 .../recipes-devtools/python/python-importlib-metadata.inc   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-importlib-metadata.inc 
b/meta-python/recipes-devtools/python/python-importlib-metadata.inc
index 9eb5da954..a53537aa7 100644
--- a/meta-python/recipes-devtools/python/python-importlib-metadata.inc
+++ b/meta-python/recipes-devtools/python/python-importlib-metadata.inc
@@ -10,3 +10,5 @@ SRC_URI[sha256sum] = 
"aa18d7378b00b40847790e7c27e11673d7fed219354109d0e7b9e5b25d
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 RDEPENDS_${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1

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


[oe] [meta-python][PATCH] python*-setuptools-scm: Update to version 3.3.3

2019-10-25 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-python/recipes-devtools/python/python-setuptools-scm.inc | 4 ++--
 ...setuptools-scm_2.1.0.bb => python-setuptools-scm_3.3.3.bb} | 0
 ...etuptools-scm_2.1.0.bb => python3-setuptools-scm_3.3.3.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-setuptools-scm_2.1.0.bb => 
python-setuptools-scm_3.3.3.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-setuptools-scm_2.1.0.bb => 
python3-setuptools-scm_3.3.3.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-setuptools-scm.inc 
b/meta-python/recipes-devtools/python/python-setuptools-scm.inc
index 98883ec39..a7e1bf6ad 100644
--- a/meta-python/recipes-devtools/python/python-setuptools-scm.inc
+++ b/meta-python/recipes-devtools/python/python-setuptools-scm.inc
@@ -2,8 +2,8 @@ SUMMARY = "the blessed package to manage your versions by scm 
tags"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
 
-SRC_URI[md5sum] = "cfec5d2dbbd0a85c40066f79035b5878"
-SRC_URI[sha256sum] = 
"a767141fecdab1c0b3c8e4c788ac912d7c94a0d6c452d40777ba84f918316379"
+SRC_URI[md5sum] = "50b2199082fe808d032ec1710c9d7415"
+SRC_URI[sha256sum] = 
"bd25e1fb5e4d603dcf490f1fde40fb4c595b357795674c3e5cb7f6217ab39ea5"
 
 PYPI_PACKAGE = "setuptools_scm"
 inherit pypi
diff --git a/meta-python/recipes-devtools/python/python-setuptools-scm_2.1.0.bb 
b/meta-python/recipes-devtools/python/python-setuptools-scm_3.3.3.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-setuptools-scm_2.1.0.bb
rename to meta-python/recipes-devtools/python/python-setuptools-scm_3.3.3.bb
diff --git 
a/meta-python/recipes-devtools/python/python3-setuptools-scm_2.1.0.bb 
b/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-setuptools-scm_2.1.0.bb
rename to meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
-- 
2.20.1

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


[oe] [meta-oe][PATCH] ifplugd: Add recipe for version 0.28

2019-10-17 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 .../ifplugd/ifplugd/Fix-build-with-musl.patch | 31 +++
 .../ifplugd/ifplugd_0.28.bb   | 25 +++
 2 files changed, 56 insertions(+)
 create mode 100644 
meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch
 create mode 100644 meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb

diff --git 
a/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch 
b/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch
new file mode 100644
index 0..4bd40606b
--- /dev/null
+++ b/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch
@@ -0,0 +1,31 @@
+From 3f2fc79385398f213a9bd3c99616d749d699f2bb Mon Sep 17 00:00:00 2001
+From: Fabio Berton 
+Date: Thu, 14 Mar 2019 19:26:14 -0300
+Subject: [PATCH] Fix build with musl
+Organization: O.S. Systems Software LTDA.
+
+Signed-off-by: Fabio Berton 
+---
+ src/ethtool-local.h | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/ethtool-local.h b/src/ethtool-local.h
+index 200476b..0edc7a9 100644
+--- a/src/ethtool-local.h
 b/src/ethtool-local.h
+@@ -22,9 +22,9 @@
+  */
+ 
+ typedef unsigned long long u64;
+-typedef __uint32_t u32;
+-typedef __uint16_t u16;
+-typedef __uint8_t u8;  
++typedef uint32_t u32;
++typedef uint16_t u16;
++typedef uint8_t u8;
+ 
+ #include "ethtool-kernel.h"
+ 
+-- 
+2.20.1
+
diff --git a/meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb 
b/meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb
new file mode 100644
index 0..0b5c5a6ce
--- /dev/null
+++ b/meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "ifplugd is a Linux daemon which will automatically configure 
your ethernet device \
+when a cable is plugged in and automatically unconfigure it if the cable is 
pulled."
+HOMEPAGE = "http://0pointer.de/lennart/projects/ifplugd/;
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+DEPENDS = "libdaemon"
+
+SRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz;
+
+SRC_URI_append_libc-musl = " file://Fix-build-with-musl.patch"
+
+SRC_URI[md5sum] = "df6f4bab52f46ffd6eb1f5912d4ccee3"
+SRC_URI[sha256sum] = 
"474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0"
+
+inherit autotools update-rc.d pkgconfig
+
+EXTRA_OECONF = "--disable-lynx --with-initdir=${sysconfdir}/init.d"
+
+INITSCRIPT_NAME = "ifplugd"
+INITSCRIPT_PARAMS = "defaults"
+
+CONFFILES_${PN} = "${sysconfdir}/ifplugd/ifplugd.conf"
+
+RDEPENDS_${PN} += "bash"
-- 
2.20.1

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


[oe] [meta-python][PATCH] python*-requests: Update 2.20.1 -> 2.21.0

2019-04-03 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-python/recipes-devtools/python/python-requests.inc   | 4 ++--
 .../{python-requests_2.20.1.bb => python-requests_2.21.0.bb}  | 0
 ...{python3-requests_2.20.1.bb => python3-requests_2.21.0.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-requests_2.20.1.bb => 
python-requests_2.21.0.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-requests_2.20.1.bb => 
python3-requests_2.21.0.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-requests.inc 
b/meta-python/recipes-devtools/python/python-requests.inc
index 0401ee448..e6337cb32 100644
--- a/meta-python/recipes-devtools/python/python-requests.inc
+++ b/meta-python/recipes-devtools/python/python-requests.inc
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=a8d5a1d1c2d53025e2282c511033f6f7"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:"
 
-SRC_URI[md5sum] = "2918817ea4688f4ea21cb4b11e353448"
-SRC_URI[sha256sum] = 
"ea881206e59f41dbd0bd445437d792e43906703fff75ca8ff43ccdb11f33f263"
+SRC_URI[md5sum] = "1bcd0e0977c3f8db1848ba0e2b7ab904"
+SRC_URI[sha256sum] = 
"502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e"
 
 inherit pypi
 
diff --git a/meta-python/recipes-devtools/python/python-requests_2.20.1.bb 
b/meta-python/recipes-devtools/python/python-requests_2.21.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-requests_2.20.1.bb
rename to meta-python/recipes-devtools/python/python-requests_2.21.0.bb
diff --git a/meta-python/recipes-devtools/python/python3-requests_2.20.1.bb 
b/meta-python/recipes-devtools/python/python3-requests_2.21.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-requests_2.20.1.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.21.0.bb
-- 
2.20.1

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


[oe] [meta-oe][PATCH] cpuburn-arm: Add armv7ve as a valid machine

2019-03-22 Thread Fabio Berton
---
 meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb 
b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb
index d60624c88..6189da39f 100644
--- a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb
+++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb
@@ -35,3 +35,4 @@ do_install() {
 
 COMPATIBLE_MACHINE ?= "(^$)"
 COMPATIBLE_MACHINE_armv7a = "(.*)"
+COMPATIBLE_MACHINE_armv7ve = "(.*)"
-- 
2.20.1

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


[oe] [meta-python][PATCH 3/4] python*-xlrd: Add native and nativesdk to BBCLASSEXTEND

2019-02-07 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-python/recipes-devtools/python/python-xlrd.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-xlrd.inc 
b/meta-python/recipes-devtools/python/python-xlrd.inc
index d1ab05d4f..893e82e05 100644
--- a/meta-python/recipes-devtools/python/python-xlrd.inc
+++ b/meta-python/recipes-devtools/python/python-xlrd.inc
@@ -10,3 +10,5 @@ SRC_URI[md5sum] = "b85c9916ac755cad489a9005f5a0d390"
 SRC_URI[sha256sum] = 
"8a21885513e6d915fe33a8ee5fdfa675433b61405ba13e2a69e62ee36828d7e2"
 
 RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io 
${PYTHON_PN}-pprint ${PYTHON_PN}-shell"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1

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


[oe] [meta-python][PATCH 4/4] python-protobuf: Add nativesdk to BBCLASSEXTEND

2019-02-07 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-python/recipes-devtools/python/python-protobuf.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-protobuf.inc 
b/meta-python/recipes-devtools/python/python-protobuf.inc
index b617904d2..51037915d 100644
--- a/meta-python/recipes-devtools/python/python-protobuf.inc
+++ b/meta-python/recipes-devtools/python/python-protobuf.inc
@@ -28,4 +28,4 @@ RDEPENDS_${PN} += " \
 "
 
 # For usage in other recipies when compiling protobuf files (e.g. by 
grpcio-tools)
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1

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


[oe] [meta-python][PATCH 1/4] python*-jinja2: Add native and nativesdk to BBCLASSEXTEND

2019-02-07 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-python/recipes-devtools/python/python-jinja2.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-jinja2.inc 
b/meta-python/recipes-devtools/python/python-jinja2.inc
index 0c0bf0def..5342eb563 100644
--- a/meta-python/recipes-devtools/python/python-jinja2.inc
+++ b/meta-python/recipes-devtools/python/python-jinja2.inc
@@ -13,3 +13,5 @@ RDEPENDS_${PN} += "${PYTHON_PN}-io ${PYTHON_PN}-pickle 
${PYTHON_PN}-crypt \
 ${PYTHON_PN}-json ${PYTHON_PN}-threading ${PYTHON_PN}-numbers"
 
 CLEANBROKEN = "1"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1

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


[oe] [meta-python][PATCH 2/4] python*-markupsafe: Add native and nativesdk to BBCLASSEXTEND

2019-02-07 Thread Fabio Berton
SIGNED-off-by: Fabio Berton 
---
 meta-python/recipes-devtools/python/python-markupsafe.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-markupsafe.inc 
b/meta-python/recipes-devtools/python/python-markupsafe.inc
index 927f84452..437a60cfb 100644
--- a/meta-python/recipes-devtools/python/python-markupsafe.inc
+++ b/meta-python/recipes-devtools/python/python-markupsafe.inc
@@ -10,3 +10,5 @@ PYPI_PACKAGE = "MarkupSafe"
 inherit pypi
 
 RDEPENDS_${PN} += "${PYTHON_PN}-stringold"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1

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


[oe] [meta-qt5][PATCH] cinematicexperience: Add liberation-fonts to RDEPENDS

2018-03-01 Thread Fabio Berton
Install liberation-fonts package to show cinematicexperience fonts.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 recipes-qt/examples/cinematicexperience_1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-qt/examples/cinematicexperience_1.0.bb 
b/recipes-qt/examples/cinematicexperience_1.0.bb
index 0c53573..7f921d8 100644
--- a/recipes-qt/examples/cinematicexperience_1.0.bb
+++ b/recipes-qt/examples/cinematicexperience_1.0.bb
@@ -19,7 +19,7 @@ S = "${WORKDIR}/Qt5_CinematicExperience_rpi_${PV}/"
 #S = "${WORKDIR}/Qt5_CinematicExperience_${PV}/"
 
 DEPENDS = "qtdeclarative qtgraphicaleffects"
-RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
+RDEPENDS_${PN} = "liberation-fonts qtdeclarative-qmlplugins 
qtgraphicaleffects-qmlplugins"
 
 require recipes-qt/qt5/qt5.inc
 
-- 
2.14.2

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


[oe] [meta-oe][PATCH] libqmi: Update to version 1.20.0

2018-02-05 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../libqmi/{libqmi_1.16.0.bb => libqmi_1.20.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-connectivity/libqmi/{libqmi_1.16.0.bb => 
libqmi_1.20.0.bb} (82%)

diff --git a/meta-oe/recipes-connectivity/libqmi/libqmi_1.16.0.bb 
b/meta-oe/recipes-connectivity/libqmi/libqmi_1.20.0.bb
similarity index 82%
rename from meta-oe/recipes-connectivity/libqmi/libqmi_1.16.0.bb
rename to meta-oe/recipes-connectivity/libqmi/libqmi_1.20.0.bb
index 80c26c05c..9301cbd5e 100644
--- a/meta-oe/recipes-connectivity/libqmi/libqmi_1.16.0.bb
+++ b/meta-oe/recipes-connectivity/libqmi/libqmi_1.20.0.bb
@@ -14,5 +14,5 @@ inherit autotools pkgconfig bash-completion
 SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz \
file://0001-Detect-clang.patch \
"
-SRC_URI[md5sum] = "4970c110f160b33637a3515004c637b2"
-SRC_URI[sha256sum] = 
"7ab6bb47fd23bf4d3fa17424e40ea5552d08b19e5ee4f125f21f316c8086ba2a"
+SRC_URI[md5sum] = "797e365521df76b77b067e6317618b41"
+SRC_URI[sha256sum] = 
"21428cd3749c56246565123f707fee51238651a22c60bdc85ebce97388626eb4"
-- 
2.14.2

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


[oe] [meta-networking][krogoth][PATCH] samba: fix the hardcoded path in init script

2017-11-21 Thread Fabio Berton
From: Jackie Huang 

Replace the hardcoded path with base_bindir in init
script to fix the error:
/etc/init.d/samba.sh: line 15: /usr/bin/ps: No such file or directory
/etc/init.d/samba.sh: line 17: /usr/bin/sed: No such file or directory
/etc/init.d/samba.sh: line 16: /usr/bin/grep: No such file or directory

Signed-off-by: Jackie Huang 
Signed-off-by: Martin Jansa 
Signed-off-by: Joe MacDonald 
(cherry picked from commit 1aedb972bc8818a9315eac1bb1c9597ddb2bab32)
---
 meta-networking/recipes-connectivity/samba/samba_4.4.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb 
b/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb
index 6a2220ac1..34e30e24d 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb
@@ -110,6 +110,7 @@ do_install_append() {
 -e 's,/opt/samba/smb.conf,${sysconfdir}/samba/smb.conf,g' \
 -e 's,/opt/samba/log,${localstatedir}/log/samba,g' \
 -e 's,/etc/init.d/samba.server,${sysconfdir}/init.d/samba.sh,g' \
+-e 's,/usr/bin,${base_bindir},g' \
 -i ${D}${sysconfdir}/init.d/samba.sh
 update-rc.d -r ${D} samba.sh start 20 3 5 .
 update-rc.d -r ${D} samba.sh start 20 0 1 6 .
-- 
2.14.2

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


[oe] [meta-networking][PATCH v3] arptables: Fix do_install task

2017-10-31 Thread Fabio Berton
We need to run oe_runmake install with DESTDIR variable to install all
arptables files. Without this the only file installed in package is
systemd unit.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-networking/recipes-support/arptables/arptables_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/arptables/arptables_git.bb 
b/meta-networking/recipes-support/arptables/arptables_git.bb
index 274a55d91..cec1d1f77 100644
--- a/meta-networking/recipes-support/arptables/arptables_git.bb
+++ b/meta-networking/recipes-support/arptables/arptables_git.bb
@@ -23,7 +23,8 @@ inherit systemd
 
 EXTRA_OEMAKE = "'BINDIR=${sbindir}' 'MANDIR=${mandir}'"
 
-do_install_append() {
+do_install() {
+oe_runmake install DESTDIR=${D}
 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', 
d)}; then
 install -d ${D}${systemd_unitdir}/system
 install -m 644 ${WORKDIR}/arptables.service 
${D}${systemd_unitdir}/system
-- 
2.14.2

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


Re: [oe] [meta-networking][PATCH] arptables: Fix do_install task

2017-10-31 Thread Fabio Berton
You right, work using oe_runmake install DESTDIR=${D} and DESTDIR is not
using when compiling.

Thanks

On Tue, Oct 31, 2017 at 5:07 PM, Khem Raj <raj.k...@gmail.com> wrote:

>
> On Tue, Oct 31, 2017 at 4:24 AM Fabio Berton <
> fabio.ber...@ossystems.com.br> wrote:
>
>> Hi Khem,
>>
>> do_compile task uses these EXTRA_OEMAKE variables too.
>>
>
> Yes, however the question is do we use DESTDIR when compiling
>
>>
>> On Mon, Oct 30, 2017 at 9:18 PM, Khem Raj <raj.k...@gmail.com> wrote:
>>
>>> On Mon, Oct 30, 2017 at 10:32 AM, Fabio Berton
>>> <fabio.ber...@ossystems.com.br> wrote:
>>> > We need to set DESTDIR variable and run eo_runmake install to install
>>> all
>>>
>>> ^^
>>> typo
>>>
>>> > arptables files. Without this the only file installed in package is
>>> > systemd unit.
>>> >
>>> > Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
>>> > ---
>>> >  meta-networking/recipes-support/arptables/arptables_git.bb | 5 +++--
>>> >  1 file changed, 3 insertions(+), 2 deletions(-)
>>> >
>>> > diff --git a/meta-networking/recipes-support/arptables/arptables_
>>> git.bb b/meta-networking/recipes-support/arptables/arptables_git.bb
>>> > index 274a55d91..55903e450 100644
>>> > --- a/meta-networking/recipes-support/arptables/arptables_git.bb
>>> > +++ b/meta-networking/recipes-support/arptables/arptables_git.bb
>>> > @@ -21,9 +21,10 @@ SYSTEMD_SERVICE_${PN} = "arptables.service"
>>> >
>>> >  inherit systemd
>>> >
>>> > -EXTRA_OEMAKE = "'BINDIR=${sbindir}' 'MANDIR=${mandir}'"
>>> > +EXTRA_OEMAKE += "'DESTDIR=${D}' 'BINDIR=${sbindir}'
>>> 'MANDIR=${mandir}'"
>>> >
>>>
>>> if its needed just during install then we could pass it directly in
>>> oe_runmake in do_install below
>>>
>>> > -do_install_append() {
>>> > +do_install() {
>>> > +oe_runmake install
>>> >  if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true',
>>> 'false', d)}; then
>>> >  install -d ${D}${systemd_unitdir}/system
>>> >  install -m 644 ${WORKDIR}/arptables.service
>>> ${D}${systemd_unitdir}/system
>>> > --
>>> > 2.14.2
>>> >
>>> > --
>>> > ___
>>> > Openembedded-devel mailing list
>>> > Openembedded-devel@lists.openembedded.org
>>> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>
>>
>>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH v2] arptables: Fix do_install task

2017-10-31 Thread Fabio Berton
We need to set DESTDIR variable and run oe_runmake install to install all
arptables files. Without this the only file installed in package is
systemd unit.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-networking/recipes-support/arptables/arptables_git.bb | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta-networking/recipes-support/arptables/arptables_git.bb 
b/meta-networking/recipes-support/arptables/arptables_git.bb
index 274a55d91..99d8de90f 100644
--- a/meta-networking/recipes-support/arptables/arptables_git.bb
+++ b/meta-networking/recipes-support/arptables/arptables_git.bb
@@ -21,12 +21,13 @@ SYSTEMD_SERVICE_${PN} = "arptables.service"
 
 inherit systemd
 
-EXTRA_OEMAKE = "'BINDIR=${sbindir}' 'MANDIR=${mandir}'"
+EXTRA_OEMAKE += "'DESTDIR=${D}' 'BINDIR=${sbindir}' 'MANDIR=${mandir}'"
 
-do_install_append() {
+do_install() {
+oe_runmake install
 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', 
d)}; then
 install -d ${D}${systemd_unitdir}/system
-install -m 644 ${WORKDIR}/arptables.service 
${D}${systemd_unitdir}/system
+install -m 0755 ${WORKDIR}/arptables.service 
${D}${systemd_unitdir}/system
 fi
 }
 
-- 
2.14.2

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


Re: [oe] [meta-networking][PATCH] arptables: Fix do_install task

2017-10-31 Thread Fabio Berton
Hi Khem,

do_compile task uses these EXTRA_OEMAKE variables too.

On Mon, Oct 30, 2017 at 9:18 PM, Khem Raj <raj.k...@gmail.com> wrote:

> On Mon, Oct 30, 2017 at 10:32 AM, Fabio Berton
> <fabio.ber...@ossystems.com.br> wrote:
> > We need to set DESTDIR variable and run eo_runmake install to install all
> ^^
> typo
>
> > arptables files. Without this the only file installed in package is
> > systemd unit.
> >
> > Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
> > ---
> >  meta-networking/recipes-support/arptables/arptables_git.bb | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta-networking/recipes-support/arptables/arptables_git.bb
> b/meta-networking/recipes-support/arptables/arptables_git.bb
> > index 274a55d91..55903e450 100644
> > --- a/meta-networking/recipes-support/arptables/arptables_git.bb
> > +++ b/meta-networking/recipes-support/arptables/arptables_git.bb
> > @@ -21,9 +21,10 @@ SYSTEMD_SERVICE_${PN} = "arptables.service"
> >
> >  inherit systemd
> >
> > -EXTRA_OEMAKE = "'BINDIR=${sbindir}' 'MANDIR=${mandir}'"
> > +EXTRA_OEMAKE += "'DESTDIR=${D}' 'BINDIR=${sbindir}' 'MANDIR=${mandir}'"
> >
>
> if its needed just during install then we could pass it directly in
> oe_runmake in do_install below
>
> > -do_install_append() {
> > +do_install() {
> > +oe_runmake install
> >  if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true',
> 'false', d)}; then
> >  install -d ${D}${systemd_unitdir}/system
> >  install -m 644 ${WORKDIR}/arptables.service
> ${D}${systemd_unitdir}/system
> > --
> > 2.14.2
> >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] arptables: Fix do_install task

2017-10-30 Thread Fabio Berton
We need to set DESTDIR variable and run eo_runmake install to install all
arptables files. Without this the only file installed in package is
systemd unit.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-networking/recipes-support/arptables/arptables_git.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-support/arptables/arptables_git.bb 
b/meta-networking/recipes-support/arptables/arptables_git.bb
index 274a55d91..55903e450 100644
--- a/meta-networking/recipes-support/arptables/arptables_git.bb
+++ b/meta-networking/recipes-support/arptables/arptables_git.bb
@@ -21,9 +21,10 @@ SYSTEMD_SERVICE_${PN} = "arptables.service"
 
 inherit systemd
 
-EXTRA_OEMAKE = "'BINDIR=${sbindir}' 'MANDIR=${mandir}'"
+EXTRA_OEMAKE += "'DESTDIR=${D}' 'BINDIR=${sbindir}' 'MANDIR=${mandir}'"
 
-do_install_append() {
+do_install() {
+oe_runmake install
 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', 
d)}; then
 install -d ${D}${systemd_unitdir}/system
 install -m 644 ${WORKDIR}/arptables.service 
${D}${systemd_unitdir}/system
-- 
2.14.2

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


[oe] [meta-networking][PATCH] lldpd: Update to version 0.9.8

2017-09-26 Thread Fabio Berton
  - Remove json packageconfig. See commit:
  
https://github.com/vincentbernat/lldpd/commit/06987a24ce053cbb57f8853bbf544bc7c067c8aa

  - Add patch to use mkdir from /bin/mkdir in systemd service.

  - Update from lldpd (0.9.8)
  * Changes:
+ "Station" capability is only set if no other bit is set.
+ Use ethtool to get permanent address for bonds and teams. This
  might provide different results than the previous method. Some
  devices may still use the previous method.
+ Don't run ethtool as root. Kernels older than 2.6.19 won't get
  link information anymore.
+ Add "configure system hostname ." option to not use a FQDN
  for system name.
+ Add "-f json0" to provide a more regular/machine-parsable output
  to JSON output, even when not compiled with --enable-json0.
  * Fixes:
+ Handle team interfaces like a bond. Real MAC address cannot be
  retrieved yet.

  - Updates from lldpd (0.9.7)
  * Changes:
+ Attach remote TTL to port instead of chassis.
+ JSON support is now built-in and unconditionally enabled. Use
  --enable-json0 to keep the pre-0.9.2 json-c format.
+ When logging to syslog and daemonizing, don't log to stderr.
+ vxlan interfaces are now ignored as they are multi-point interfaces.
+ Maximum number of neighbors for an interface is increased from 4 to 32.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 ...lldpd.service.in-Use-fixed-path-for-mkdir.patch | 32 ++
 .../lldpd/{lldpd_0.9.6.bb => lldpd_0.9.8.bb}   |  6 ++--
 2 files changed, 35 insertions(+), 3 deletions(-)
 create mode 100644 
meta-networking/recipes-daemons/lldpd/files/src-daemon-lldpd.service.in-Use-fixed-path-for-mkdir.patch
 rename meta-networking/recipes-daemons/lldpd/{lldpd_0.9.6.bb => 
lldpd_0.9.8.bb} (91%)

diff --git 
a/meta-networking/recipes-daemons/lldpd/files/src-daemon-lldpd.service.in-Use-fixed-path-for-mkdir.patch
 
b/meta-networking/recipes-daemons/lldpd/files/src-daemon-lldpd.service.in-Use-fixed-path-for-mkdir.patch
new file mode 100644
index 0..4876e1794
--- /dev/null
+++ 
b/meta-networking/recipes-daemons/lldpd/files/src-daemon-lldpd.service.in-Use-fixed-path-for-mkdir.patch
@@ -0,0 +1,32 @@
+From f9f3e4dd31588cce5f655730da7b5c3f56a9bdc1 Mon Sep 17 00:00:00 2001
+From: Fabio Berton <fabio.ber...@ossystems.com.br>
+Date: Tue, 26 Sep 2017 09:19:51 -0300
+Subject: [PATCH] src/daemon/lldpd.service.in: Use fixed path for mkdir command
+Organization: O.S. Systems Software LTDA.
+
+@mkdir_p@ is expanded to host tools path ../build/tmp/hosttools/mkdir that
+doesn't exist on target. Remove @mkdir_p@ and use /bin/mkdir -p to
+create /var/run/lldpd directory.
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
+---
+ src/daemon/lldpd.service.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/daemon/lldpd.service.in b/src/daemon/lldpd.service.in
+index fdb7338..4291830 100644
+--- a/src/daemon/lldpd.service.in
 b/src/daemon/lldpd.service.in
+@@ -9,7 +9,7 @@ Type=notify
+ NotifyAccess=main
+ EnvironmentFile=-/etc/default/lldpd
+ EnvironmentFile=-/etc/sysconfig/lldpd
+-ExecStartPre=@mkdir_p@ @PRIVSEP_CHROOT@
++ExecStartPre=/bin/mkdir -p @PRIVSEP_CHROOT@
+ ExecStart=@sbindir@/lldpd $DAEMON_ARGS $LLDPD_OPTIONS
+ Restart=on-failure
+ PrivateTmp=yes
+-- 
+2.14.2
diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_0.9.6.bb 
b/meta-networking/recipes-daemons/lldpd/lldpd_0.9.8.bb
similarity index 91%
rename from meta-networking/recipes-daemons/lldpd/lldpd_0.9.6.bb
rename to meta-networking/recipes-daemons/lldpd/lldpd_0.9.8.bb
index 0cd063720..dbd84cf67 100644
--- a/meta-networking/recipes-daemons/lldpd/lldpd_0.9.6.bb
+++ b/meta-networking/recipes-daemons/lldpd/lldpd_0.9.8.bb
@@ -9,10 +9,11 @@ SRC_URI = "\
 http://media.luffy.cx/files/${BPN}/${BPN}-${PV}.tar.gz \
 file://lldpd.init.d \
 file://lldpd.default \
+file://src-daemon-lldpd.service.in-Use-fixed-path-for-mkdir.patch \
 "
 
-SRC_URI[md5sum] = "0dcdee7c1b3c62362d73f6508c11edae"
-SRC_URI[sha256sum] = 
"e74e2dd7e2a233ca1ff385c925ddae2a916d302819d1433741407d2f8fb0ddd8"
+SRC_URI[md5sum] = "8809600492f6b73149eb19158e819c1f"
+SRC_URI[sha256sum] = 
"9ee494e91bc33938575b2c09b26188c486ef8eac6e2155d250c189cc4e988c4f"
 
 inherit autotools update-rc.d useradd systemd pkgconfig bash-completion
 
@@ -29,7 +30,6 @@ EXTRA_OECONF += "--without-embedded-libevent \
 "
 
 PACKAGECONFIG ??= "cdp fdp edp sonmp lldpmed dot1 dot3"
-PACKAGECONFIG[json] = "--with-json,--without-json,jansson"
 PACKAGECONFIG[xml] = "--with-xml,--without-xml,libxm2"
 PACKAGECONFIG[snmp] = "--with-snmp,--without-snmp,net-snmp"
 PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
-- 
2.14.1

-- 

[oe] [meta-python][PATCH] python-aws-iot-device-sdk-python: Add recipe for version 1.1.2

2017-08-29 Thread Fabio Berton
The AWS IoT Device SDK for Python allows developers to write Python
script to use their devices to access the AWS IoT platform through
MQTT or MQTT over the WebSocket protocol.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../python/python-aws-iot-device-sdk-python.inc| 18 ++
 .../python/python-aws-iot-device-sdk-python_1.1.2.bb   |  2 ++
 .../python/python3-aws-iot-device-sdk-python_1.1.2.bb  |  2 ++
 3 files changed, 22 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc
 create mode 100644 
meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.1.2.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.1.2.bb

diff --git 
a/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc 
b/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc
new file mode 100644
index 0..a64c6c49a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "SDK for connecting to AWS IoT using Python."
+HOMEPAGE = "https://github.com/aws/aws-iot-device-sdk-python;
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9ac49901b833e769c7d6f21e8dbd7b30"
+
+SRC_URI[md5sum] = "6835982c7fb36b19aa474d346f29ec3d"
+SRC_URI[sha256sum] = 
"ac98d39d7230e06fc9a30bdb3398c985a7c357b10898a769db022d315855102a"
+
+inherit pypi
+
+PYPI_PACKAGE = "AWSIoTPythonSDK"
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-pyopenssl \
+${PYTHON_PN}-json \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git 
a/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.1.2.bb 
b/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.1.2.bb
new file mode 100644
index 0..12ae978e3
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.1.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-aws-iot-device-sdk-python.inc
diff --git 
a/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.1.2.bb
 
b/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.1.2.bb
new file mode 100644
index 0..c43649dbf
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.1.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-aws-iot-device-sdk-python.inc
-- 
2.11.0

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


Re: [oe] [meta-oe][PATCH] iproute2: Move append to meta-networking layer

2017-08-29 Thread Fabio Berton
I agree that is better move libmnl to oe-core, you can abandon this patch
and Yi Zhao patch.

On Mon, Aug 28, 2017 at 10:54 PM, Yi Zhao <yi.z...@windriver.com> wrote:

>
>
> 在 2017年08月29日 09:48, Mark Hatle 写道:
>
>> On 8/28/17 8:30 PM, Yi Zhao wrote:
>>
>>>
>>> 在 2017年08月29日 09:19, Mark Hatle 写道:
>>>
>>>> On 8/28/17 8:07 PM, Mark Hatle wrote:
>>>>
>>>>> On 8/28/17 1:13 PM, Fabio Berton wrote:
>>>>>
>>>>>> meta-openembedded commit eb8994f44a080d9c7fd2c87b6b6935ad0a55eb27
>>>>>> added
>>>>>> iproute2 append to enable tipc PACKAGECONFIG that install libmnl
>>>>>> package. libmnl recipe is in meta-networking layer and this layer
>>>>>> needs to be added to bblayers.conf file to build libmnl. Move
>>>>>> iproute2 append to meta-networking to allow build iproute2 without add
>>>>>> meta-networking layer to bblayers.conf.
>>>>>>
>>>>> At first I thought this was the right answer.. but the more I look at
>>>>> this, the
>>>>> more issues I find.
>>>>>
>>>>> The iproute2 bbappend modifies the PACKAGECONFIG.  The modification of
>>>>> the
>>>>> PACKAGECONFIG (other then adding new options) should not be done in a
>>>>> bbappend,
>>>>> otherwise it 'changes' the settings for that recipe.
>>>>>
>>>>> I'm thinking the right fix is actually to remove iproute2 bbappend.
>>>>> And any
>>>>> distributions or users who need tipc should enable it themselves
>>>>> within their
>>>>> distribution configuration files (and also include the meta-networking
>>>>> layer) as
>>>>> necessary.
>>>>>
>>>> Sorry to reply to my reply.. but
>>>>
>>>> Simply reverting this ends up with:
>>>>
>>>> ERROR: Nothing RPROVIDES 'iproute2-tipc' (but
>>>> /home/mhatle/git/lpd/master/layers/meta-openembedded/meta-ne
>>>> tworking/recipes-extended/tipcutils/tipcutils_git.bb
>>>> RDEPENDS on or otherwise requires it)
>>>>
>>>> So somehow tipcutils requirement needs to be based on the configuration
>>>> of
>>>> iproute2.  I'm not sure how to do this.
>>>>
>>> Hi Mark,
>>>
>>> The tipcutils 2.2 removed the tipc-config tool and recommended to use
>>> the new configuration tool named "tipc" in iproute2 package for
>>> configuring the tipc.
>>>
>> The problem still remains that the PACKAGECONFIG change violates the Yocto
>> Project compliance check scripts requirement that PACKAGECONFIGs only be
>> set by
>> the original .bb or by a distribution configuration.
>>
>> I agree with the other comments that libmnl should be moved to oe-core
>> (if that
>> is still possible), but the PACKAGECONFIG piece is still a problem that
>> needs to
>> be resolved.
>>
>
> Once the libmnl is moved,  the iproute2 can build tipc directly and no
> need PACKAGECONFIG, we can remove it too.
>
> Yi
>
>
>
>> The tipc in iproute2 needs libmnl as dependency but it is in
>>> meta-networking layer now. so I add this bbappend because we can not
>>> enable tipc build in oe-core directly.
>>> Randy had pointed the best way is move libmnl to oe-core and enable tipc
>>> build in iproute2 by default.
>>>
>>> Yi
>>>
>>> --Mark
>>>>
>>>> --Mark
>>>>>
>>>>> Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
>>>>>> ---
>>>>>>.../recipes-connectivity/iproute2/iproute2_%.bbappend
>>>>>>  | 0
>>>>>>1 file changed, 0 insertions(+), 0 deletions(-)
>>>>>>rename {meta-oe => meta-networking}/recipes-conne
>>>>>> ctivity/iproute2/iproute2_%.bbappend (100%)
>>>>>>
>>>>>> diff --git a/meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend
>>>>>> b/meta-networking/recipes-connectivity/iproute2/iproute2_%.bbappend
>>>>>> similarity index 100%
>>>>>> rename from meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend
>>>>>> rename to meta-networking/recipes-connectivity/iproute2/iproute2_%.
>>>>>> bbappend
>>>>>>
>>>>>>
>>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] iproute2: Move append to meta-networking layer

2017-08-28 Thread Fabio Berton
meta-openembedded commit eb8994f44a080d9c7fd2c87b6b6935ad0a55eb27 added
iproute2 append to enable tipc PACKAGECONFIG that install libmnl
package. libmnl recipe is in meta-networking layer and this layer
needs to be added to bblayers.conf file to build libmnl. Move
iproute2 append to meta-networking to allow build iproute2 without add
meta-networking layer to bblayers.conf.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../recipes-connectivity/iproute2/iproute2_%.bbappend | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename {meta-oe => 
meta-networking}/recipes-connectivity/iproute2/iproute2_%.bbappend (100%)

diff --git a/meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend 
b/meta-networking/recipes-connectivity/iproute2/iproute2_%.bbappend
similarity index 100%
rename from meta-oe/recipes-connectivity/iproute2/iproute2_%.bbappend
rename to meta-networking/recipes-connectivity/iproute2/iproute2_%.bbappend
-- 
2.11.0

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


[oe] [meta-python][PATCH] python-requests: Update to version 2.18.4

2017-08-21 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-requests.inc   | 4 ++--
 .../python/{python-requests_2.18.3.bb => python-requests_2.18.4.bb}   | 0
 .../python/{python3-requests_2.18.3.bb => python3-requests_2.18.4.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-requests_2.18.3.bb => 
python-requests_2.18.4.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-requests_2.18.3.bb => 
python3-requests_2.18.4.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-requests.inc 
b/meta-python/recipes-devtools/python/python-requests.inc
index 03eb7dfd1..5d6dca5d3 100644
--- a/meta-python/recipes-devtools/python/python-requests.inc
+++ b/meta-python/recipes-devtools/python/python-requests.inc
@@ -3,8 +3,8 @@ HOMEPAGE = "http://python-requests.org;
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=979d6a23b143e13ea0e5e3aa81248820"
 
-SRC_URI[md5sum] = "c8f60cf816a35c0c3fef0a40d0e407a6"
-SRC_URI[sha256sum] = 
"fb68a7baef4965c12d9cd67c0f5a46e6e28be3d8c7b6910c758fbcc99880b518"
+SRC_URI[md5sum] = "081412b2ef79bdc48229891af13f4d82"
+SRC_URI[sha256sum] = 
"9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e"
 
 inherit pypi
 
diff --git a/meta-python/recipes-devtools/python/python-requests_2.18.3.bb 
b/meta-python/recipes-devtools/python/python-requests_2.18.4.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-requests_2.18.3.bb
rename to meta-python/recipes-devtools/python/python-requests_2.18.4.bb
diff --git a/meta-python/recipes-devtools/python/python3-requests_2.18.3.bb 
b/meta-python/recipes-devtools/python/python3-requests_2.18.4.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-requests_2.18.3.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.18.4.bb
-- 
2.11.0

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


[oe] [meta-python][PATCH] python-chardet: Extend to native and nativesdk

2017-08-16 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-chardet.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-chardet.inc 
b/meta-python/recipes-devtools/python/python-chardet.inc
index 25443f870..6035488a7 100644
--- a/meta-python/recipes-devtools/python/python-chardet.inc
+++ b/meta-python/recipes-devtools/python/python-chardet.inc
@@ -9,3 +9,5 @@ DEPENDS += "${PYTHON_PN}-pytest-runner-native"
 
 SRC_URI[md5sum] = "7dd1ba7f9c77e32351b0a0cfacf4055c"
 SRC_URI[sha256sum] = 
"84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.11.0

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


[oe] [meta-oe][PATCH] libsodium: Extend recipe for native and nativesdk usage

2017-04-13 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-oe/recipes-support/libsodium/libsodium_1.0.11.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/libsodium/libsodium_1.0.11.bb 
b/meta-oe/recipes-support/libsodium/libsodium_1.0.11.bb
index 22d315504..cbcbe96cd 100644
--- a/meta-oe/recipes-support/libsodium/libsodium_1.0.11.bb
+++ b/meta-oe/recipes-support/libsodium/libsodium_1.0.11.bb
@@ -8,3 +8,5 @@ SRC_URI[md5sum] = "b58928d035064b2a46fb564937b83540"
 SRC_URI[sha256sum] = 
"a14549db3c49f6ae2170cbbf4664bd48ace50681045e8dbea7c8d9fb96f9c765"
 
 inherit autotools
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.11.0

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


[oe] [meta-oe][PATCH v4 3/3] libwebsockets: Add recipe for version 2.1.0

2017-02-10 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../libwebsockets/libwebsockets_2.1.0.bb   | 28 ++
 1 file changed, 28 insertions(+)
 create mode 100644 
meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb

diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb 
b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb
new file mode 100644
index 0..935479987
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Canonical libwebsockets.org websocket library"
+HOMEPAGE = "https://libwebsockets.org/;
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e3393a657830d4a118c5a6ed35ba53d0"
+
+DEPENDS = "zlib"
+
+SRC_URI = "https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz;
+
+SRC_URI[md5sum] = "4df3be57dee43aeebd54a3ed56568f50"
+SRC_URI[sha256sum] = 
"bcc96aaa609daae4d3f7ab1ee480126709ef4f6a8bf9c85de40aae48e38cce66"
+
+inherit cmake pkgconfig
+
+PACKAGECONFIG ?= "libuv client server http2 ssl"
+PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON,"
+PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF,"
+PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF,"
+PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev"
+PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv"
+PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-DLWS_WITHOUT_SERVER=ON,"
+PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl"
+PACKAGECONFIG[testapps] = 
"-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON,"
+
+PACKAGES =+ "${PN}-testapps"
+
+FILES_${PN}-dev += "${libdir}/cmake"
+FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*"
-- 
2.11.0

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


[oe] [meta-oe][PATCH v4 2/3] libuv: Add recipe for version 1.10.2

2017-02-10 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb

diff --git a/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb 
b/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb
new file mode 100644
index 0..fbdbeaa89
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb
@@ -0,0 +1,19 @@
+SUMMARY = "A multi-platform support library with a focus on asynchronous I/O"
+HOMEPAGE = "https://github.com/libuv/libuv;
+BUGTRACKER = "https://github.com/libuv/libuv/issues;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bb5ea0d651f4c3519327171906045775"
+
+SRC_URI = "https://github.com/libuv/${PN}/archive/v${PV}.tar.gz;
+
+SRC_URI[md5sum] = "6e16d1d1ca464add0730d637effb1c1c"
+SRC_URI[sha256sum] = 
"2d740a2adea0f1a19058626f55a076ac41a4ac1f95d4e57cae0c8a634a6cd63b"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit autotools
+
+do_configure() {
+${S}/autogen.sh || bbnote "${PN} failed to autogen.sh"
+oe_runconf
+}
-- 
2.11.0

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


[oe] [meta-oe][PATCH v4 1/3] libev: Add recipe for version 4.24

2017-02-10 Thread Fabio Berton
The provided compatibility layer with libevent is still basic,
so we need to drop event.h for now to avoid conflicting with libevent.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-oe/recipes-connectivity/libev/libev_4.24.bb | 22 ++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/libev/libev_4.24.bb

diff --git a/meta-oe/recipes-connectivity/libev/libev_4.24.bb 
b/meta-oe/recipes-connectivity/libev/libev_4.24.bb
new file mode 100644
index 0..5e0f3a5ed
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libev/libev_4.24.bb
@@ -0,0 +1,22 @@
+SUMMARY = "A full-featured and high-performance event loop that is loosely \
+modelled after libevent."
+HOMEPAGE = "http://software.schmorp.de/pkg/libev.html;
+LICENSE = "BSD-2-Clause | GPL-2.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d6ad416afd040c90698edcdf1cbee347"
+
+SRC_URI = "http://dist.schmorp.de/libev/Attic/${BP}.tar.gz;
+
+SRC_URI[md5sum] = "94459a5a22db041dec6f98424d6efe54"
+SRC_URI[sha256sum] = 
"973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF += "--with-pic"
+
+do_install_append() {
+# Avoid conflicting with libevent. The provided compatibility layer is
+# still basic so drop it for now.
+rm ${D}${includedir}/event.h
+}
-- 
2.11.0

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


[oe] [meta-oe][PATCH v3 3/3] libwebsockets: Add recipe for version 2.1.0

2017-02-09 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../libwebsockets/libwebsockets_2.1.0.bb   | 28 ++
 1 file changed, 28 insertions(+)
 create mode 100644 
meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb

diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb 
b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb
new file mode 100644
index 0..ffade88ac
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Canonical libwebsockets.org websocket library"
+HOMEPAGE = "https://libwebsockets.org/;
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;;md5=e3393a657830d4a118c5a6ed35ba53d0"
+
+DEPENDS = "zlib"
+
+SRC_URI = "https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz;
+
+SRC_URI[md5sum] = "4df3be57dee43aeebd54a3ed56568f50"
+SRC_URI[sha256sum] = 
"bcc96aaa609daae4d3f7ab1ee480126709ef4f6a8bf9c85de40aae48e38cce66"
+
+inherit cmake pkgconfig
+
+PACKAGECONFIG ?= "libuv client server http2 ssl"
+PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON,"
+PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF,"
+PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF,"
+PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev"
+PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv"
+PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-DLWS_WITHOUT_SERVER=ON,"
+PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl"
+PACKAGECONFIG[testapps] = 
"-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON,"
+
+PACKAGES =+ "${PN}-testapps"
+
+FILES_${PN}-dev += "${libdir}/cmake"
+FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*"
-- 
2.11.0

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


Re: [oe] [meta-oe][PATCH v2 3/3] libwebsockets: Add recipe for version 2.1.0

2017-02-09 Thread Fabio Berton
Hi Andre,

On Wed, Feb 8, 2017 at 6:16 PM, Andre McCurdy <armccu...@gmail.com> wrote:

> On Wed, Feb 8, 2017 at 10:13 AM, Fabio Berton
> <fabio.ber...@ossystems.com.br> wrote:
> > Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
> > ---
> >  .../libwebsockets/libwebsockets_2.1.0.bb   | 32
> ++
> >  1 file changed, 32 insertions(+)
> >  create mode 100644 meta-oe/recipes-connectivity/libwebsockets/
> libwebsockets_2.1.0.bb
> >
> > diff --git a/meta-oe/recipes-connectivity/libwebsockets/lib
> websockets_2.1.0.bb b/meta-oe/recipes-connectivity/libwebsockets/lib
> websockets_2.1.0.bb
> > new file mode 100644
> > index 0..316b38d3b
> > --- /dev/null
> > +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb
> > @@ -0,0 +1,32 @@
> > +SUMMARY = "Canonical libwebsockets.org websocket library"
> > +HOMEPAGE = "https://libwebsockets.org/;
> > +LICENSE = "LGPL-2.1"
> > +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=
> 801f80980d171dd6425610833a22dbe6"
>
> GPL-2.0 looks wrong given that LICENSE is LGPL and not GPL?
>
> Define LIC_FILES_CHKSUM in terms of a file from within the
> libwebsockets source tree instead.
>
> ​Ok, I missed this part.​


> > +
> > +DEPENDS = "zlib"
> > +
> > +SRC_URI = "https://github.com/warmcat/libwebsockets/archive/v${PV}.
> tar.gz"
> > +
> > +SRC_URI[md5sum] = "4df3be57dee43aeebd54a3ed56568f50"
> > +SRC_URI[sha256sum] = "bcc96aaa609daae4d3f7ab1ee48012
> 6709ef4f6a8bf9c85de40aae48e38cce66"
> > +
> > +S = "${WORKDIR}/${PN}-${PV}"
>
> That's the default, so doesn't need to be specified.
>
> > +inherit cmake pkgconfig
> > +
> > +PACKAGECONFIG ?= "libuv client server http2 ssl"
> > +PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev"
> > +PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv"
> > +PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-
> DLWS_WITHOUT_CLIENT=ON,"
> > +PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-
> DLWS_WITHOUT_SERVER=ON,"
> > +PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF,"
> > +PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF,"
> > +PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl"
> > +PACKAGECONFIG[testapps] = "-DLWS_WITHOUT_TESTAPPS=OFF,-
> DLWS_WITHOUT_TESTAPPS=ON,"
>
> Maybe sort this list of PACKAGECONFIG options (unless the current
> order has some special significance?).
>
> > +
> > +PACKAGES =+ "${PN}-testapps"
> > +
> > +FILES_${PN}-dev += "${libdir}/cmake/libwebsockets/*.cmake"
>
> The "convention" in various other recipes seems to be simply:
>
>   FILES_${PN}-dev += "${libdir}/cmake"
>
> > +FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*"
> > +
> > +RDEPENDS_${PN} += "zlib"
>
> Explicitly defining a runtime dependency on a library isn't normally
> required since it will be detected automatically. If it is required in
> this case then please explain why in the commit message.
>
> ​You rigth, I don't need to explicitly define ​

​RDEPENDS​.

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


[oe] [meta-oe][PATCH v2 3/3] libwebsockets: Add recipe for version 2.1.0

2017-02-08 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../libwebsockets/libwebsockets_2.1.0.bb   | 32 ++
 1 file changed, 32 insertions(+)
 create mode 100644 
meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb

diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb 
b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb
new file mode 100644
index 0..316b38d3b
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb
@@ -0,0 +1,32 @@
+SUMMARY = "Canonical libwebsockets.org websocket library"
+HOMEPAGE = "https://libwebsockets.org/;
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+DEPENDS = "zlib"
+
+SRC_URI = "https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz;
+
+SRC_URI[md5sum] = "4df3be57dee43aeebd54a3ed56568f50"
+SRC_URI[sha256sum] = 
"bcc96aaa609daae4d3f7ab1ee480126709ef4f6a8bf9c85de40aae48e38cce66"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit cmake pkgconfig
+
+PACKAGECONFIG ?= "libuv client server http2 ssl"
+PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev"
+PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv"
+PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON,"
+PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-DLWS_WITHOUT_SERVER=ON,"
+PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF,"
+PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF,"
+PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl"
+PACKAGECONFIG[testapps] = 
"-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON,"
+
+PACKAGES =+ "${PN}-testapps"
+
+FILES_${PN}-dev += "${libdir}/cmake/libwebsockets/*.cmake"
+FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*"
+
+RDEPENDS_${PN} += "zlib"
-- 
2.11.0

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


[oe] [meta-oe][PATCH v2 1/3] libev: Add recipe for version 4.24

2017-02-08 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-oe/recipes-connectivity/libev/libev_4.24.bb | 16 
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/libev/libev_4.24.bb

diff --git a/meta-oe/recipes-connectivity/libev/libev_4.24.bb 
b/meta-oe/recipes-connectivity/libev/libev_4.24.bb
new file mode 100644
index 0..f236eacab
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libev/libev_4.24.bb
@@ -0,0 +1,16 @@
+SUMMARY = "A full-featured and high-performance event loop that is loosely \
+modelled after libevent."
+HOMEPAGE = "http://software.schmorp.de/pkg/libev.html;
+LICENSE = "BSD-2-Clause | GPL-2.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d6ad416afd040c90698edcdf1cbee347"
+
+SRC_URI = "http://dist.schmorp.de/libev/Attic/${BP}.tar.gz;
+
+SRC_URI[md5sum] = "94459a5a22db041dec6f98424d6efe54"
+SRC_URI[sha256sum] = 
"973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF += "--with-pic"
-- 
2.11.0

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


[oe] [meta-oe][PATCH v2 2/3] libuv: Add recipe for version 1.10.2

2017-02-08 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb

diff --git a/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb 
b/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb
new file mode 100644
index 0..fbdbeaa89
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb
@@ -0,0 +1,19 @@
+SUMMARY = "A multi-platform support library with a focus on asynchronous I/O"
+HOMEPAGE = "https://github.com/libuv/libuv;
+BUGTRACKER = "https://github.com/libuv/libuv/issues;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bb5ea0d651f4c3519327171906045775"
+
+SRC_URI = "https://github.com/libuv/${PN}/archive/v${PV}.tar.gz;
+
+SRC_URI[md5sum] = "6e16d1d1ca464add0730d637effb1c1c"
+SRC_URI[sha256sum] = 
"2d740a2adea0f1a19058626f55a076ac41a4ac1f95d4e57cae0c8a634a6cd63b"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit autotools
+
+do_configure() {
+${S}/autogen.sh || bbnote "${PN} failed to autogen.sh"
+oe_runconf
+}
-- 
2.11.0

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


Re: [oe] [meta-oe][PATCH 1/3] libev: Add recipe for version 4.24

2017-02-08 Thread Fabio Berton
Hi,

I'll merge and send a v2.

Thanks

On Wed, Feb 8, 2017 at 4:29 AM, Khem Raj <raj.k...@gmail.com> wrote:

> There are some shortcomings in this recipe
>
> Please merge the changes from
>
> https://github.com/kraj/meta-openembedded/blob/kraj/master/
> meta-oe/recipes-extended/libev/libev_4.24.bb
>
> On Tue, Feb 7, 2017 at 11:32 AM, Fabio Berton
> <fabio.ber...@ossystems.com.br> wrote:
> > Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
> > ---
> >  meta-oe/recipes-connectivity/libev/libev_4.24.bb | 14 ++
> >  1 file changed, 14 insertions(+)
> >  create mode 100644 meta-oe/recipes-connectivity/libev/libev_4.24.bb
> >
> > diff --git a/meta-oe/recipes-connectivity/libev/libev_4.24.bb
> b/meta-oe/recipes-connectivity/libev/libev_4.24.bb
> > new file mode 100644
> > index 0..40f7dc710
> > --- /dev/null
> > +++ b/meta-oe/recipes-connectivity/libev/libev_4.24.bb
> > @@ -0,0 +1,14 @@
> > +SUMMARY = "A full-featured and high-performance event loop that is
> loosely \
> > +modelled after libevent."
> > +HOMEPAGE = "http://software.schmorp.de/pkg/libev.html;
> > +LICENSE = "GPLv2+"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=d6ad416afd040c90698edcdf1cbee3
> 47"
> > +
> > +SRC_URI = "http://dist.schmorp.de/${PN}/${PN}-${PV}.tar.gz;
> > +
> > +SRC_URI[md5sum] = "94459a5a22db041dec6f98424d6efe54"
> > +SRC_URI[sha256sum] = "973593d3479abdf657674a55afe5f7
> 8624b0e440614e2b8cb3a07f16d4d7f821"
> > +
> > +S = "${WORKDIR}/${PN}-${PV}"
> > +
> > +inherit autotools
> > --
> > 2.11.0
> >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH 3/3] libwebsockets: Add recipe for version 2.1.0

2017-02-07 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../libwebsockets/libwebsockets_2.1.0.bb   | 32 ++
 1 file changed, 32 insertions(+)
 create mode 100644 
meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb

diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb 
b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb
new file mode 100644
index 0..316b38d3b
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb
@@ -0,0 +1,32 @@
+SUMMARY = "Canonical libwebsockets.org websocket library"
+HOMEPAGE = "https://libwebsockets.org/;
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+DEPENDS = "zlib"
+
+SRC_URI = "https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz;
+
+SRC_URI[md5sum] = "4df3be57dee43aeebd54a3ed56568f50"
+SRC_URI[sha256sum] = 
"bcc96aaa609daae4d3f7ab1ee480126709ef4f6a8bf9c85de40aae48e38cce66"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit cmake pkgconfig
+
+PACKAGECONFIG ?= "libuv client server http2 ssl"
+PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev"
+PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv"
+PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON,"
+PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-DLWS_WITHOUT_SERVER=ON,"
+PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF,"
+PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF,"
+PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl"
+PACKAGECONFIG[testapps] = 
"-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON,"
+
+PACKAGES =+ "${PN}-testapps"
+
+FILES_${PN}-dev += "${libdir}/cmake/libwebsockets/*.cmake"
+FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*"
+
+RDEPENDS_${PN} += "zlib"
-- 
2.11.0

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


[oe] [meta-oe][PATCH 2/3] libuv: Add recipe for version 1.10.2

2017-02-07 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb

diff --git a/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb 
b/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb
new file mode 100644
index 0..fbdbeaa89
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libuv/libuv_1.10.2.bb
@@ -0,0 +1,19 @@
+SUMMARY = "A multi-platform support library with a focus on asynchronous I/O"
+HOMEPAGE = "https://github.com/libuv/libuv;
+BUGTRACKER = "https://github.com/libuv/libuv/issues;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bb5ea0d651f4c3519327171906045775"
+
+SRC_URI = "https://github.com/libuv/${PN}/archive/v${PV}.tar.gz;
+
+SRC_URI[md5sum] = "6e16d1d1ca464add0730d637effb1c1c"
+SRC_URI[sha256sum] = 
"2d740a2adea0f1a19058626f55a076ac41a4ac1f95d4e57cae0c8a634a6cd63b"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit autotools
+
+do_configure() {
+${S}/autogen.sh || bbnote "${PN} failed to autogen.sh"
+oe_runconf
+}
-- 
2.11.0

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


[oe] [meta-oe][PATCH 1/3] libev: Add recipe for version 4.24

2017-02-07 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-oe/recipes-connectivity/libev/libev_4.24.bb | 14 ++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/libev/libev_4.24.bb

diff --git a/meta-oe/recipes-connectivity/libev/libev_4.24.bb 
b/meta-oe/recipes-connectivity/libev/libev_4.24.bb
new file mode 100644
index 0..40f7dc710
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libev/libev_4.24.bb
@@ -0,0 +1,14 @@
+SUMMARY = "A full-featured and high-performance event loop that is loosely \
+modelled after libevent."
+HOMEPAGE = "http://software.schmorp.de/pkg/libev.html;
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d6ad416afd040c90698edcdf1cbee347"
+
+SRC_URI = "http://dist.schmorp.de/${PN}/${PN}-${PV}.tar.gz;
+
+SRC_URI[md5sum] = "94459a5a22db041dec6f98424d6efe54"
+SRC_URI[sha256sum] = 
"973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit autotools
-- 
2.11.0

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


Re: [oe] [meta-networking][PATCH] lldpd: Update to version 0.9.6

2017-01-30 Thread Fabio Berton
Note:
This [1] patch should be applied to build lldpd.

[1] https://patchwork.openembedded.org/patch/136616/

On Mon, Jan 30, 2017 at 2:29 PM, Fabio Berton <fabio.ber...@ossystems.com.br
> wrote:

> This update includes following changes:
>
> lldpd (0.9.6)
>   * Changes:
> + Add a compile-time option to restore pre-0.9.2 JSON format (when
>   using json-c). Use `--enable-json0` to enable this option.
> + Support for newer ethtool interface on Linux
>   (ETHTOOL_GLINKSETTINGS) and additional speed settings.
> + Current MAU type is displayed even when autoneg is off.
> + Increase netlink receive buffer by default. Can be changed at
>   compile-time through ./configure.
>   * Fixes:
> + Correctly parse LLDP-MED civic address when the length of the
>   TLV exceeds the length of the address.
> + Fix 100% CPU on some rare error condition.
> + Fix lost timer when an interface is enslaved on Linux.
>
> lldpd (0.9.5)
>   * Changes:
> + More Ethernet media supported. However, RFC4836 is quite
>   out-of-date with respected to 10G+ speeds, bringing some
>   inaccuracies.
> + Directly get media information for an interface without using
>   the privileged process.
> + LLDP-MED capability TLV is not sent when LLDP-MED is not
> enabled,
>   even if other LLDP-MED TLV are present.
>   * Fixes:
> + Compilation fix with older versions of GCC.
> + Don't use ethtool at all to get real MAC address for enslaved
>   devices (always use /proc).
>
> lldpd (0.9.4)
>   * Changes:
> + Make lldpd accepts a `-p` option to specify the PID file.
> + Ability to change multicast MAC address to two additional values
>   to reach customer bridges.
> + lldpcli will now display chassis TTL when detailed view is
> enabled.
>   * Fixes:
> + Fix setting of local value for port ID.
> + Fix compilation with BSD make.
> + Ensure lldpcli returns an error code on invalid commands.
>
> lldpd (0.9.3)
>   * Changes:
> + Do not rely on support of constructors for liblldpctl.
> + Always log to stderr (even in addition to syslog).
> + `lldpcli watch` accepts a limit on the number of received
>     events.
>   * Fixes:
> + `lldpcli -f {xml,json} watch` should work now.
> + Consider `veth` interfaces as physical interfaces.
>
> Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
> ---
>  .../recipes-daemons/lldpd/{lldpd_0.9.2.bb => lldpd_0.9.6.bb}  |
> 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>  rename meta-networking/recipes-daemons/lldpd/{lldpd_0.9.2.bb =>
> lldpd_0.9.6.bb} (94%)
>
> diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_0.9.2.bb
> b/meta-networking/recipes-daemons/lldpd/lldpd_0.9.6.bb
> similarity index 94%
> rename from meta-networking/recipes-daemons/lldpd/lldpd_0.9.2.bb
> rename to meta-networking/recipes-daemons/lldpd/lldpd_0.9.6.bb
> index 77ed09f54..0cd063720 100644
> --- a/meta-networking/recipes-daemons/lldpd/lldpd_0.9.2.bb
> +++ b/meta-networking/recipes-daemons/lldpd/lldpd_0.9.6.bb
> @@ -11,8 +11,8 @@ SRC_URI = "\
>  file://lldpd.default \
>  "
>
> -SRC_URI[md5sum] = "b809887bc927fb558fd5dd64b6c0a494"
> -SRC_URI[sha256sum] = "6054f29d41faf32186a22331853a29
> 9c87f4419b4332df4a564f76a139305a32"
> +SRC_URI[md5sum] = "0dcdee7c1b3c62362d73f6508c11edae"
> +SRC_URI[sha256sum] = "e74e2dd7e2a233ca1ff385c925ddae
> 2a916d302819d1433741407d2f8fb0ddd8"
>
>  inherit autotools update-rc.d useradd systemd pkgconfig bash-completion
>
> --
> 2.11.0
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] lldpd: Update to version 0.9.6

2017-01-30 Thread Fabio Berton
This update includes following changes:

lldpd (0.9.6)
  * Changes:
+ Add a compile-time option to restore pre-0.9.2 JSON format (when
  using json-c). Use `--enable-json0` to enable this option.
+ Support for newer ethtool interface on Linux
  (ETHTOOL_GLINKSETTINGS) and additional speed settings.
+ Current MAU type is displayed even when autoneg is off.
+ Increase netlink receive buffer by default. Can be changed at
  compile-time through ./configure.
  * Fixes:
+ Correctly parse LLDP-MED civic address when the length of the
  TLV exceeds the length of the address.
+ Fix 100% CPU on some rare error condition.
+ Fix lost timer when an interface is enslaved on Linux.

lldpd (0.9.5)
  * Changes:
+ More Ethernet media supported. However, RFC4836 is quite
  out-of-date with respected to 10G+ speeds, bringing some
  inaccuracies.
+ Directly get media information for an interface without using
  the privileged process.
+ LLDP-MED capability TLV is not sent when LLDP-MED is not
enabled,
  even if other LLDP-MED TLV are present.
  * Fixes:
+ Compilation fix with older versions of GCC.
+ Don't use ethtool at all to get real MAC address for enslaved
  devices (always use /proc).

lldpd (0.9.4)
  * Changes:
+ Make lldpd accepts a `-p` option to specify the PID file.
+ Ability to change multicast MAC address to two additional values
  to reach customer bridges.
+ lldpcli will now display chassis TTL when detailed view is
enabled.
  * Fixes:
+ Fix setting of local value for port ID.
+ Fix compilation with BSD make.
+ Ensure lldpcli returns an error code on invalid commands.

lldpd (0.9.3)
  * Changes:
+ Do not rely on support of constructors for liblldpctl.
+ Always log to stderr (even in addition to syslog).
+ `lldpcli watch` accepts a limit on the number of received
events.
  * Fixes:
+ `lldpcli -f {xml,json} watch` should work now.
+ Consider `veth` interfaces as physical interfaces.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../recipes-daemons/lldpd/{lldpd_0.9.2.bb => lldpd_0.9.6.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-daemons/lldpd/{lldpd_0.9.2.bb => 
lldpd_0.9.6.bb} (94%)

diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_0.9.2.bb 
b/meta-networking/recipes-daemons/lldpd/lldpd_0.9.6.bb
similarity index 94%
rename from meta-networking/recipes-daemons/lldpd/lldpd_0.9.2.bb
rename to meta-networking/recipes-daemons/lldpd/lldpd_0.9.6.bb
index 77ed09f54..0cd063720 100644
--- a/meta-networking/recipes-daemons/lldpd/lldpd_0.9.2.bb
+++ b/meta-networking/recipes-daemons/lldpd/lldpd_0.9.6.bb
@@ -11,8 +11,8 @@ SRC_URI = "\
 file://lldpd.default \
 "
 
-SRC_URI[md5sum] = "b809887bc927fb558fd5dd64b6c0a494"
-SRC_URI[sha256sum] = 
"6054f29d41faf32186a22331853a299c87f4419b4332df4a564f76a139305a32"
+SRC_URI[md5sum] = "0dcdee7c1b3c62362d73f6508c11edae"
+SRC_URI[sha256sum] = 
"e74e2dd7e2a233ca1ff385c925ddae2a916d302819d1433741407d2f8fb0ddd8"
 
 inherit autotools update-rc.d useradd systemd pkgconfig bash-completion
 
-- 
2.11.0

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


Re: [oe] [meta-browser][PATCH V3 0/3] firefox build fixes

2017-01-12 Thread Fabio Berton
Hi Andreas!

The problem was in git am command. When I ran git am, git changes files to
fix whitespace errors and patch 0002-use-pkg-config-to-find-nspr.patch
doesn't apply in firefox source, failing when running bitbake firefox -c
patch. So, I used git am --whitespace=warn and works fine. Patches are good
and firefox build succesfully.

Thanks!

On Thu, Jan 12, 2017 at 5:44 AM, Andreas Müller <
schnitzelt...@googlemail.com> wrote:

> Hope patches apply now...
>
> Andreas Müller (3):
>   firefox: fix configure with oe-core master - there is no nss-config
>   firefox: use pkg-config to find nspr
>   firefox: do not link against crmf library it is not there
>
>  .../firefox/0001-use-pkg-config-to-find-nss.patch  | 47
> +
>  .../firefox/0002-use-pkg-config-to-find-nspr.patch | 37 +
>  ...link-against-crmf-library-it-is-not-there.patch | 48
> ++
>  recipes-mozilla/firefox/firefox_45.6.0esr.bb   |  3 ++
>  4 files changed, 135 insertions(+)
>  create mode 100644 recipes-mozilla/firefox/firefox/0001-use-pkg-config-
> to-find-nss.patch
>  create mode 100644 recipes-mozilla/firefox/firefox/0002-use-pkg-config-
> to-find-nspr.patch
>  create mode 100644 recipes-mozilla/firefox/firefox/0003-do-not-link-
> against-crmf-library-it-is-not-there.patch
>
> --
> 2.7.4
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser][PATCH V2 2/3] firefox: use pkg-config to find nspr

2017-01-11 Thread Fabio Berton
Ok. I'll test v3.

Thanks.

On Wed, Jan 11, 2017 at 10:50 AM, Andreas Müller <
schnitzelt...@googlemail.com> wrote:

> On Wed, Jan 11, 2017 at 1:42 PM, Martin Jansa 
> wrote:
> > He could be using more strict PATCHTOOL or the patch got mangled by
> > patchwork/git-am.
> >
> > Can you upload your changes to some branch for Fabio to compare with what
> > he applied from patchwork?
> >
> I create the patches from scratch currently and saw minor changes.
> Will send V3 that should apply hopefully...
>
> Andreas
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser][PATCH V2 2/3] firefox: use pkg-config to find nspr

2017-01-11 Thread Fabio Berton
I'm testing with master branch for all layers.

On Wed, Jan 11, 2017 at 10:22 AM, Andreas Müller <
schnitzelt...@googlemail.com> wrote:

> On Wed, Jan 11, 2017 at 1:03 PM, Fabio Berton
> <fabio.ber...@ossystems.com.br> wrote:
> > ERROR: firefox-45.6.0esr-r0 do_patch: Command Error: 'quilt --quiltrc
> > ../build/tmp/sysroots/x86_64-linux/etc/quiltrc push' exited with 0
> Output:
> > Applying patch 0002-use-pkg-config-to-find-nspr.patch
> > patching file configure
> > Hunk #1 FAILED at 15153.
> > 1 out of 1 hunk FAILED -- rejects in file configure
> > Patch 0002-use-pkg-config-to-find-nspr.patch does not apply (enforce
> with
> > -f)
> > ERROR: firefox-45.6.0esr-r0 do_patch: Function failed: patch_do_patch
> >
> Ahh: The patch in the patch does not apply. I tested that before
> sending and tested it again few seconds ago. It is possible that -
> since I haven't latest oe-core (or bitbake?) - you have different
> result.
>
> As far as I can remember there was an announcement by Alexander
> Kanavin to change patching to more restrictive mode so that the full
> three lines before/after change must match. Will redo patch creation
> based on firefox 45.6..
>
> Andreas
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser][PATCH V2 2/3] firefox: use pkg-config to find nspr

2017-01-11 Thread Fabio Berton
Yes.

On Wed, Jan 11, 2017 at 10:07 AM, Andreas Müller <
schnitzelt...@googlemail.com> wrote:

> On Wed, Jan 11, 2017 at 12:57 PM, Fabio Berton
> <fabio.ber...@ossystems.com.br> wrote:
> > This patch doesn't apply.
>
> is git://github.com/OSSystems/meta-browser.git
>
> still correct repo for meta-browser?
>
> Andreas
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser][PATCH V2 2/3] firefox: use pkg-config to find nspr

2017-01-11 Thread Fabio Berton
ERROR: firefox-45.6.0esr-r0 do_patch: Command Error: 'quilt --quiltrc
../build/tmp/sysroots/x86_64-linux/etc/quiltrc push' exited with 0  Output:
Applying patch 0002-use-pkg-config-to-find-nspr.patch
patching file configure
Hunk #1 FAILED at 15153.
1 out of 1 hunk FAILED -- rejects in file configure
Patch 0002-use-pkg-config-to-find-nspr.patch does not apply (enforce with
-f)
ERROR: firefox-45.6.0esr-r0 do_patch: Function failed: patch_do_patch

On Wed, Jan 11, 2017 at 10:01 AM, Andreas Müller <
schnitzelt...@googlemail.com> wrote:

> On Wed, Jan 11, 2017 at 12:57 PM, Fabio Berton
> <fabio.ber...@ossystems.com.br> wrote:
> > This patch doesn't apply.
> >
> > On Tue, Jan 10, 2017 at 4:48 PM, Andreas Müller <
> > schnitzelt...@googlemail.com> wrote:
> >
> >> nspr-config adds path /usr/include
> >>
> >> which causes lots of
> >>
> >> | cc1plus: warning: include location "/usr/include" is unsafe for
> >> cross-compilation [-Wpoison-system-directories]
> >>
> >> and finally fails with
> >>
> >> | In file included from /usr/include/sys/syscall.h:31:0,
> >> |  from /cortexa7hf-neon-
> >> vfpv4-angstrom-linux-gnueabi/firefox/45.5.1esr-r0/firefox-
> >> 45.5.1esr/firefox-build-dir/dist/system_wrappers/sys/syscall.h:4,
> >> |  from /cortexa7hf-neon-
> >> vfpv4-angstrom-linux-gnueabi/firefox/45.5.1esr-r0/firefox-
> >> 45.5.1esr/memory/mozjemalloc/jemalloc.c:397:
> >> | /cortexa7hf-neon-vfpv4-angstrom-linux-gnueabi/
> >> firefox/45.5.1esr-r0/firefox-45.5.1esr/memory/mozjemalloc/jemalloc.c:
> In
> >> function '_mmap':
> >> | /cortexa7hf-neon-vfpv4-angstrom-linux-gnueabi/
> >> firefox/45.5.1esr-r0/firefox-45.5.1esr/memory/mozjemalloc/
> jemalloc.c:417:26:
> >> error: '__NR_mmap2' undeclared (first use in this function)
> >> |   return (void *) syscall(SYS_mmap2, addr, length, prot, flags,
> >>
> >> Signed-off-by: Andreas Müller <schnitzelt...@googlemail.com>
> >> ---
> >>  .../firefox/0002-use-pkg-config-to-find-nspr.patch | 37
> >> ++
> >>  recipes-mozilla/firefox/firefox_45.6.0esr.bb   |  1 +
> >>  2 files changed, 38 insertions(+)
> >>  create mode 100644 recipes-mozilla/firefox/
> firefox/0002-use-pkg-config-
> >> to-find-nspr.patch
> >>
> >> diff --git a/recipes-mozilla/firefox/firefox/0002-use-pkg-config-
> to-find-nspr.patch
> >> b/recipes-mozilla/firefox/firefox/0002-use-pkg-config-
> to-find-nspr.patch
> >> new file mode 100644
> >> index 000..d97570b
> >> --- /dev/null
> >> +++ b/recipes-mozilla/firefox/firefox/0002-use-pkg-config-
> >> to-find-nspr.patch
> >> @@ -0,0 +1,37 @@
> >> +From cdb21594b814af82c4128ccd1179267de2e0e780 Mon Sep 17 00:00:00 2001
> >> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzelt...@googlemail.com>
> >> +Date: Wed, 14 Dec 2016 22:57:55 +0100
> >> +Subject: [PATCH] use pkg-config to find nspr
> >> +MIME-Version: 1.0
> >> +Content-Type: text/plain; charset=UTF-8
> >> +Content-Transfer-Encoding: 8bit
> >> +
> >> +Upstream-Status: Inappropriate [embedded specific]
> >> +
> >> +Signed-off-by: Andreas Müller <schnitzelt...@googlemail.com>
> >> +---
> >> + configure | 4 +++-
> >> + 1 file changed, 3 insertions(+), 1 deletion(-)
> >> +
> >> +diff --git a/configure b/configure
> >> +index 16133bf..806896a 100755
> >> +--- a/configure
> >>  b/configure
> >> +@@ -15153,10 +15153,13 @@ fi
> >> + echo "configure:15154: checking for NSPR - version >=
> $min_nspr_version"
> >> >&5
> >> +
> >> +   no_nspr=""
> >> ++NSPR_CONFIG="pkg-config nspr"
> >> ++nspr_config_args=
> >> +   if test "$NSPR_CONFIG" != "no"; then
> >> +   NSPR_CFLAGS=`$NSPR_CONFIG $nspr_config_args --cflags`
> >> +   NSPR_LIBS=`$NSPR_CONFIG $nspr_config_args --libs`
> >> +-  NSPR_VERSION_STRING=`$NSPR_CONFIG $nspr_config_args
> >> --version`
> >> ++  NSPR_VERSION_STRING=`$NSPR_CONFIG $nspr_config_args
> >> --modversion`
> >> ++  echo -n "$NSPR_VERSION_STRING... "
> >> +   elif test -n "${NO_NSPR_CONFIG_SYSTEM_VERSION}"; then
> >> +   NSPR_CFLAGS="${NO_NSPR_CONFIG_SYSTEM_CFLAGS}"
> >> +   N

Re: [oe] [meta-browser][PATCH V2 2/3] firefox: use pkg-config to find nspr

2017-01-11 Thread Fabio Berton
This patch doesn't apply.

On Tue, Jan 10, 2017 at 4:48 PM, Andreas Müller <
schnitzelt...@googlemail.com> wrote:

> nspr-config adds path /usr/include
>
> which causes lots of
>
> | cc1plus: warning: include location "/usr/include" is unsafe for
> cross-compilation [-Wpoison-system-directories]
>
> and finally fails with
>
> | In file included from /usr/include/sys/syscall.h:31:0,
> |  from /cortexa7hf-neon-
> vfpv4-angstrom-linux-gnueabi/firefox/45.5.1esr-r0/firefox-
> 45.5.1esr/firefox-build-dir/dist/system_wrappers/sys/syscall.h:4,
> |  from /cortexa7hf-neon-
> vfpv4-angstrom-linux-gnueabi/firefox/45.5.1esr-r0/firefox-
> 45.5.1esr/memory/mozjemalloc/jemalloc.c:397:
> | /cortexa7hf-neon-vfpv4-angstrom-linux-gnueabi/
> firefox/45.5.1esr-r0/firefox-45.5.1esr/memory/mozjemalloc/jemalloc.c: In
> function '_mmap':
> | /cortexa7hf-neon-vfpv4-angstrom-linux-gnueabi/
> firefox/45.5.1esr-r0/firefox-45.5.1esr/memory/mozjemalloc/jemalloc.c:417:26:
> error: '__NR_mmap2' undeclared (first use in this function)
> |   return (void *) syscall(SYS_mmap2, addr, length, prot, flags,
>
> Signed-off-by: Andreas Müller 
> ---
>  .../firefox/0002-use-pkg-config-to-find-nspr.patch | 37
> ++
>  recipes-mozilla/firefox/firefox_45.6.0esr.bb   |  1 +
>  2 files changed, 38 insertions(+)
>  create mode 100644 recipes-mozilla/firefox/firefox/0002-use-pkg-config-
> to-find-nspr.patch
>
> diff --git 
> a/recipes-mozilla/firefox/firefox/0002-use-pkg-config-to-find-nspr.patch
> b/recipes-mozilla/firefox/firefox/0002-use-pkg-config-to-find-nspr.patch
> new file mode 100644
> index 000..d97570b
> --- /dev/null
> +++ b/recipes-mozilla/firefox/firefox/0002-use-pkg-config-
> to-find-nspr.patch
> @@ -0,0 +1,37 @@
> +From cdb21594b814af82c4128ccd1179267de2e0e780 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= 
> +Date: Wed, 14 Dec 2016 22:57:55 +0100
> +Subject: [PATCH] use pkg-config to find nspr
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Upstream-Status: Inappropriate [embedded specific]
> +
> +Signed-off-by: Andreas Müller 
> +---
> + configure | 4 +++-
> + 1 file changed, 3 insertions(+), 1 deletion(-)
> +
> +diff --git a/configure b/configure
> +index 16133bf..806896a 100755
> +--- a/configure
>  b/configure
> +@@ -15153,10 +15153,13 @@ fi
> + echo "configure:15154: checking for NSPR - version >= $min_nspr_version"
> >&5
> +
> +   no_nspr=""
> ++NSPR_CONFIG="pkg-config nspr"
> ++nspr_config_args=
> +   if test "$NSPR_CONFIG" != "no"; then
> +   NSPR_CFLAGS=`$NSPR_CONFIG $nspr_config_args --cflags`
> +   NSPR_LIBS=`$NSPR_CONFIG $nspr_config_args --libs`
> +-  NSPR_VERSION_STRING=`$NSPR_CONFIG $nspr_config_args
> --version`
> ++  NSPR_VERSION_STRING=`$NSPR_CONFIG $nspr_config_args
> --modversion`
> ++  echo -n "$NSPR_VERSION_STRING... "
> +   elif test -n "${NO_NSPR_CONFIG_SYSTEM_VERSION}"; then
> +   NSPR_CFLAGS="${NO_NSPR_CONFIG_SYSTEM_CFLAGS}"
> +   NSPR_LIBS="${NO_NSPR_CONFIG_SYSTEM_LDFLAGS}"
> +--
> +2.5.5
> +
> diff --git a/recipes-mozilla/firefox/firefox_45.6.0esr.bb
> b/recipes-mozilla/firefox/firefox_45.6.0esr.bb
> index 6ca6633..a4ae32f 100644
> --- a/recipes-mozilla/firefox/firefox_45.6.0esr.bb
> +++ b/recipes-mozilla/firefox/firefox_45.6.0esr.bb
> @@ -40,6 +40,7 @@ SRC_URI = "https://archive.mozilla.org/
> pub/firefox/releases/${PV}/source/firefox
> file://Fix-firefox-install-dir.patch \
> 
> file://fixes/Correct-the-source-to-be-compatible-with-gcc6-by-pre.patch
> \
> file://0001-use-pkg-config-to-find-nss.patch \
> +   file://0002-use-pkg-config-to-find-nspr.patch \
> "
>
>  SRC_URI[archive.md5sum] = "ee3cf2401a5716cebacaae5fb70d133f"
> --
> 2.5.5
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser][PATCH V2 0/3] firefox fix build on oe-core master

2017-01-10 Thread Fabio Berton
Hi Andreas!

Firefox was updated to version 45.6.0, please update your patches and send
a v3.

Thanks.

On Tue, Jan 10, 2017 at 8:57 AM, Andreas Müller <
schnitzelt...@googlemail.com> wrote:

> On Thu, Dec 15, 2016 at 6:52 PM, Andreas Müller
>  wrote:
> > * recent 'use system's nss/nspr' broke firefox
> > * to build properly patch sent to oe-core is necessary [1]
> >
> > V1 -> V2: 0003-.. added to really fix build
> >
> > [1] http://lists.openembedded.org/pipermail/openembedded-core/
> 2016-December/130211.html
> >
> > Andreas Müller (3):
> >   firefox: fix configure with oe-core master - there is no nss-config
> >   firefox: use pkg-config to find nspr
> >   firefox: do not link against crmf library it is not there
> >
> >  .../firefox/0001-use-pkg-config-to-find-nss.patch  | 47
> ++
> >  .../firefox/0002-use-pkg-config-to-find-nspr.patch | 37
> +
> >  ...link-against-crmf-library-it-is-not-there.patch | 47
> ++
> >  recipes-mozilla/firefox/firefox_45.5.1esr.bb   |  3 ++
> >  4 files changed, 134 insertions(+)
> >  create mode 100644 recipes-mozilla/firefox/firefox/0001-use-pkg-config-
> to-find-nss.patch
> >  create mode 100644 recipes-mozilla/firefox/firefox/0002-use-pkg-config-
> to-find-nspr.patch
> >  create mode 100644 recipes-mozilla/firefox/firefox/0003-do-not-link-
> against-crmf-library-it-is-not-there.patch
> >
> > --
> > 2.7.4
> >
> ping?
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 1/1] layer.conf: add LAYERVERSION and LAYERDEPENDS

2016-12-05 Thread Fabio Berton
Hi Joe,

This layer also depends on meta-oe.

On Mon, Nov 21, 2016 at 5:35 PM, Joe Slater  wrote:

> Version "1", and only depend on "core".
>
> Signed-off-by: Joe Slater 
> ---
>  conf/layer.conf |6 ++
>  1 file changed, 6 insertions(+)
>
> diff --git a/conf/layer.conf b/conf/layer.conf
> index 84a4d89..0d92919 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -8,4 +8,10 @@ BBFILE_COLLECTIONS += "meta-java"
>  BBFILE_PATTERN_meta-java := "^${LAYERDIR}/"
>  BBFILE_PRIORITY_meta-java = "10"
>
> +# This should only be incremented on significant changes that will
> +# cause compatibility issues with other layers
> +LAYERVERSION_meta-java = "1"
> +
> +LAYERDEPENDS_meta-java = "core"
> +
>  LICENSE_PATH += "${LAYERDIR}/licenses"
> --
> 1.7.9.5
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH] wireshark: update to 2.2.1

2016-11-22 Thread Fabio Berton
Hi Martin,

I fixed this issue in libpcap recipe and I'll send a patch to oe-core.


On Tue, Nov 22, 2016 at 2:52 PM, Martin Jansa 
wrote:

> On Wed, Oct 05, 2016 at 05:33:37PM -0700, Armin Kuster wrote:
> > Restore PE
> >
> > includes 2 security fixes:
> > wnpa-sec-2016-57. NCP dissector crash. Fixed in 2.2.1.
> > wnpa-sec-2016-56. Bluetooth L2CAP dissector crash. Fixed in 2.2.1.
> >
> > see https://www.wireshark.org/docs/relnotes/wireshark-2.2.1.html
>
> It didn't last building for very long, now it seems to be broken by
> libpcap upgrade in oe-core:
>
> http://errors.yoctoproject.org/Errors/Details/104702/
>
> >
> > Signed-off-by: Armin Kuster 
> > ---
> >  .../wireshark/{wireshark_2.2.0.bb => wireshark_2.2.1.bb} |
> 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> >  rename meta-networking/recipes-support/wireshark/{wireshark_2.2.0.bb
> => wireshark_2.2.1.bb} (93%)
> >
> > diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.
> 2.0.bb b/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> > similarity index 93%
> > rename from meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb
> > rename to meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> > index dca3be6..a5fb7f6 100644
> > --- a/meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb
> > +++ b/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> > @@ -8,8 +8,9 @@ DEPENDS = "pcre expat glib-2.0 sbc"
> >
> >  SRC_URI = "https://2.na.dl.wireshark.org/src/all-versions/${BP}.tar.bz2
> "
> >
> > -SRC_URI[md5sum] = "c7de0997f74934f25b456846cf75cb81"
> > -SRC_URI[sha256sum] = "a6847e741efcba6cb9d92d464d4219
> 917bee3ad0b8f5b0f80d4388ad2f3f1104"
> > +PE = "1"
> > +SRC_URI[md5sum] = "49a1023a69ac108ca089d750eee50e37"
> > +SRC_URI[sha256sum] = "900e22af04c8b35e0d02a25a360ab1
> fb7cfe5ac18fc48a9afd75a7103e569149"
> >
> >  inherit autotools pkgconfig perlnative
> >
> > --
> > 2.7.4
> >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser][PATCH 2/3] Disable CHROMIUM_ENABLE_WAYLAND in the x11 recipe

2016-11-18 Thread Fabio Berton
​Hi Jacobo,
​
You need to skip package if x11 is not in DISTRO_FEATURES, like in your
chromium-wayland patch.

Thanks!

On Fri, Nov 18, 2016 at 3:06 PM, Jacobo Aragunde Pérez  wrote:

> The chromium x11 recipe crashed when run with CHROMIUM_ENABLE_WAYLAND
> enabled, because it missed some steps that are performed in the
> chromium-wayland recipe. Doing this change, we eliminate one possible
> failure point.
>
> Running the chromium_*.bb recipe with CHROMIUM_ENABLE_WAYLAND on
> was crashing because it missed some steps that are performed in the
> chromium-wayland recipe. We remove one possible failure point.
>
> Signed-off-by: Jacobo Aragunde Pérez 
> ---
>  recipes-browser/chromium/chromium_52.0.2743.76.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-browser/chromium/chromium_52.0.2743.76.bb
> b/recipes-browser/chromium/chromium_52.0.2743.76.bb
> index 14b519c..ea23a6b 100644
> --- a/recipes-browser/chromium/chromium_52.0.2743.76.bb
> +++ b/recipes-browser/chromium/chromium_52.0.2743.76.bb
> @@ -1,3 +1,5 @@
> +CHROMIUM_ENABLE_WAYLAND = "0"
> +
>  include chromium-browser.inc
>
>  DEPENDS += "xextproto gtk+ libxi libxss"
> --
> 2.1.4
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][PATCH] python-humanize, python3-humanize: Add recipe for version 0.5.1

2016-11-10 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-humanize.inc   | 10 ++
 meta-python/recipes-devtools/python/python-humanize_0.5.1.bb  |  2 ++
 meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb |  2 ++
 3 files changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-humanize.inc
 create mode 100644 meta-python/recipes-devtools/python/python-humanize_0.5.1.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb

diff --git a/meta-python/recipes-devtools/python/python-humanize.inc 
b/meta-python/recipes-devtools/python/python-humanize.inc
new file mode 100644
index 000..d9fac09
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-humanize.inc
@@ -0,0 +1,10 @@
+SUMMARY = "Python humanize utilities"
+HOMEPAGE = "http://github.com/jmoiron/humanize;
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=d2eff82fc25dd07c919a02465884f02e"
+
+SRC_URI[md5sum] = "e8473d9dc1b220911cac2edd53b1d973"
+SRC_URI[sha256sum] = 
"a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-humanize_0.5.1.bb 
b/meta-python/recipes-devtools/python/python-humanize_0.5.1.bb
new file mode 100644
index 000..5769309
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-humanize_0.5.1.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-humanize.inc
diff --git a/meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb 
b/meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb
new file mode 100644
index 000..04464ac
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-humanize.inc
-- 
2.1.4

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


[oe] [meta-multimedia][PATCH 2/2] alsa-equal: Add recipe for version 0.6

2016-10-06 Thread Fabio Berton
Alsaequal is a real-time adjustable equalizer plugin for ALSA. It can be
adjusted using an ALSA compatible mixer, like alsamixergui or alsamixer.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../alsa-equal/alsa-equal/0001-Fix-asneeded.patch  | 37 +
 .../alsa-equal/0002-Fix-Eq-CAPS-plugin-name.patch  | 83 +++
 .../alsa-equal/alsa-equal/0003-Fix-mixer.patch | 92 ++
 .../alsa-equal/alsa-equal_0.6.bb   | 44 +++
 4 files changed, 256 insertions(+)
 create mode 100644 
meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/0001-Fix-asneeded.patch
 create mode 100644 
meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/0002-Fix-Eq-CAPS-plugin-name.patch
 create mode 100644 
meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/0003-Fix-mixer.patch
 create mode 100644 
meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal_0.6.bb

diff --git 
a/meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/0001-Fix-asneeded.patch
 
b/meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/0001-Fix-asneeded.patch
new file mode 100644
index 000..64130d9
--- /dev/null
+++ 
b/meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/0001-Fix-asneeded.patch
@@ -0,0 +1,37 @@
+From c17129561e784bb9efebee2380349f121db0a9db Mon Sep 17 00:00:00 2001
+From: Fabio Berton <fabio.ber...@ossystems.com.br>
+Date: Wed, 5 Oct 2016 10:56:33 -0300
+Subject: [PATCH 1/3] Fix asneeded
+Organization: O.S. Systems Software LTDA.
+
+Patch from:
+https://git.backbone.ws/portage/overlay/commit/7a069112054fbb5dc94a857e9c020a38cb1c6fde
+
+Upstream-Status: Pending
+
+Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 3b2aa7d..0489fc1 100644
+--- a/Makefile
 b/Makefile
+@@ -29,11 +29,11 @@ dep:
+ 
+ $(SND_PCM_BIN): $(SND_PCM_OBJECTS)
+   @echo LD $@
+-  $(Q)$(LD) $(LDFLAGS) $(SND_PCM_LIBS) $(SND_PCM_OBJECTS) -o 
$(SND_PCM_BIN)
++  $(Q)$(LD) $(LDFLAGS) $(SND_PCM_OBJECTS) -o $(SND_PCM_BIN) 
$(SND_PCM_LIBS)
+ 
+ $(SND_CTL_BIN): $(SND_CTL_OBJECTS)
+   @echo LD $@
+-  $(Q)$(LD) $(LDFLAGS) $(SND_CTL_LIBS) $(SND_CTL_OBJECTS) -o 
$(SND_CTL_BIN)
++  $(Q)$(LD) $(LDFLAGS) $(SND_CTL_OBJECTS) -o $(SND_CTL_BIN) 
$(SND_CTL_LIBS)
+ 
+ %.o: %.c
+   @echo GCC $<
+-- 
+2.1.4
+
diff --git 
a/meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/0002-Fix-Eq-CAPS-plugin-name.patch
 
b/meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/0002-Fix-Eq-CAPS-plugin-name.patch
new file mode 100644
index 000..efce380
--- /dev/null
+++ 
b/meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/0002-Fix-Eq-CAPS-plugin-name.patch
@@ -0,0 +1,83 @@
+From d5c6c92045f9b6ad32365f39b8cc77f2fcd7d0f5 Mon Sep 17 00:00:00 2001
+From: Fabio Berton <fabio.ber...@ossystems.com.br>
+Date: Wed, 5 Oct 2016 10:57:29 -0300
+Subject: [PATCH 2/3] Fix Eq CAPS plugin name
+Organization: O.S. Systems Software LTDA.
+
+Patch from:
+https://git.backbone.ws/portage/overlay/commit/7a069112054fbb5dc94a857e9c020a38cb1c6fde
+
+Upstream-Status: Pending
+
+Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
+---
+ README  | 8 
+ ctl_equal.c | 2 +-
+ pcm_equal.c | 2 +-
+ 3 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/README b/README
+index b77fd2d..2df3dc5 100644
+--- a/README
 b/README
+@@ -1,11 +1,11 @@
+ Alsaequal is a real-time adjustable equalizer plugin for ALSA. It can
+ be adjusted using any ALSA compatible mixer, e.g. alsamixergui.
+ 
+-Alsaequal uses the Eq CAPS LADSPA Plugin for audio processing, actually
++Alsaequal uses the Eq10 CAPS LADSPA Plugin for audio processing, actually
+ alsaequal is a generic LADSPA plugin interface with real-time access to
+ the LADSPA controls (the LADSPA plugin included with alsa doesn't allow
+ for real-time controls) but it was developed for and only tested with
+-Eq CAPS LADSPA plugin. You are welcome to try it with other plugins, it
++Eq10 CAPS LADSPA plugin. You are welcome to try it with other plugins, it
+ may work. Let me know how it goes, you can reach me at
+ <char...@thedigitalmachine.net>.
+ 
+@@ -66,7 +66,7 @@ ctl. {
+   library -- location of the LADSPA library, the default is
+   "/usr/lib/ladspa/caps.so"
+   module -- module name within the LADSPA library, the deafault
+-  is "Eq"
++  is "Eq10"
+   channels -- number of channels, the default is 2
+ }
+ 
+@@ -81,7 +81,7 @@ pcm. {
+   library -- location of the LADSPA library, the default is
+   "/usr/lib/ladspa/caps.so"
+   module -- module name within the LADSPA library, the deafault
+-  is "Eq"

[oe] [meta-multimedia][PATCH 1/2] caps: Add recipe for version 0.9.24

2016-10-06 Thread Fabio Berton
CAPS is a collection of audio plugins comprising basic virtual guitar
amplification and a small range of classic effects, signal processors
and generators of mostly elementary and occasionally exotic nature.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../caps/Avoid-ambiguity-in-div-invocation.patch   | 32 ++
 .../recipes-multimedia/caps/caps_0.9.24.bb | 28 +++
 2 files changed, 60 insertions(+)
 create mode 100644 
meta-multimedia/recipes-multimedia/caps/caps/Avoid-ambiguity-in-div-invocation.patch
 create mode 100644 meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb

diff --git 
a/meta-multimedia/recipes-multimedia/caps/caps/Avoid-ambiguity-in-div-invocation.patch
 
b/meta-multimedia/recipes-multimedia/caps/caps/Avoid-ambiguity-in-div-invocation.patch
new file mode 100644
index 000..1a050af
--- /dev/null
+++ 
b/meta-multimedia/recipes-multimedia/caps/caps/Avoid-ambiguity-in-div-invocation.patch
@@ -0,0 +1,32 @@
+From 1ea09653692efdd6443fb6770e8523bf6c9e49b9 Mon Sep 17 00:00:00 2001
+From: Fabio Berton <fabio.ber...@ossystems.com.br>
+Date: Thu, 6 Oct 2016 11:54:07 -0300
+Subject: Avoid ambiguity in div invocation
+Organization: O.S. Systems Software LTDA.
+
+Patch from:
+https://anonscm.debian.org/cgit/pkg-multimedia/caps.git/commit/?id=9a99c225fb813ae69f146e3d90f7b47bdbd97708
+
+Upstream-Status: Pending
+
+Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
+---
+ AutoFilter.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/AutoFilter.cc b/AutoFilter.cc
+index fc087d0..bd6b12f 100644
+--- a/AutoFilter.cc
 b/AutoFilter.cc
+@@ -69,7 +69,7 @@ AutoFilter::activate()
+ void
+ AutoFilter::cycle (uint frames)
+ {
+-  div_t qr = div (frames, blocksize);
++  div_t qr = div ((int)frames, (int)blocksize);
+   int blocks = qr.quot;
+   if (qr.rem) ++blocks;
+   double over_blocks = 1./blocks;
+-- 
+2.1.4
+
diff --git a/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb 
b/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb
new file mode 100644
index 000..3e409e6
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "The CAPS Audio Plugin Suite - LADSPA plugin suite"
+HOMEPAGE = "http://quitte.de/dsp/caps.html;
+LICENSE = "GPL-3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = " \
+http://quitte.de/dsp/${PN}_${PV}.tar.bz2 \
+file://Avoid-ambiguity-in-div-invocation.patch \
+"
+
+SRC_URI[md5sum] = "c1d634038dcb54702306c0e30cb1c626"
+SRC_URI[sha256sum] = 
"f746feba57af316b159f0169de5d78b4fd1064c2c0c8017cb5856b2f22e83f20"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+EXTRA_OEMAKE = " \
+CC='${CXX}' \
+CFLAGS='${CFLAGS} -ffast-math -funroll-loops -fPIC -DPIC' \
+"
+do_compile() {
+oe_runmake all
+}
+
+do_install() {
+install -Dm 0644 caps.so ${D}${libdir}/ladspa/caps.so
+}
+
+FILES_${PN} = "${libdir}/ladspa/"
-- 
2.1.4

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


Re: [oe] [meta-python][PATCH] python-scales: add recipe for version 1.0.9

2016-09-29 Thread Fabio Berton
On Thu, Sep 29, 2016 at 10:30 AM, Ruben De Smet 
wrote:

> A python module for tracking server state and statisticst
>
> Signed-off-by: Ruben De Smet 
> ---
>  meta-python/recipes-devtools/python/python-scales.inc   | 13
> +
>  meta-python/recipes-devtools/python/python3-scales_1.0.9.bb | 11
> +++
>  2 files changed, 24 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python-scales.inc
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-scales_1.0.9.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-scales.inc
> b/meta-python/recipes-devtools/python/python-scales.inc
> new file mode 100644
> index 000..5a46e2b
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-scales.inc
> @@ -0,0 +1,13 @@
> +SUMMARY = "Metrics for Python"
> +DESCRIPTION = "Tracks server state and statistics, allowing you to see
> what \
> +your server is doing. It can also send metrics to Graphite for graphing
> or to \
> +a file for crash forensics."
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0"
> +# LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd
> 57"
> +SRCNAME = "scales"
> +
> +SRC_URI[md5sum] = "c61167f2b5f506f0a34a7b8a295a9567"
> +SRC_URI[sha256sum] = "8b6930f7d4bf115192290b44c757af
> 5e254e3fcfcb75ff9a51f5c96a404e2753"
> +
> +inherit pypi
> diff --git a/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
> b/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
> new file mode 100644
> index 000..ecf6c67
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
> @@ -0,0 +1,11 @@
> +inherit setuptools3
> +require python-scales.inc
> +
> +RDEPENDS_${PN} += "\
> +python3-six \
>

​You can move this to inc file and use

RDEPENDS_${PN} += " \
${PYTHON_PN}-six \

so, will work with both python 2 and 3.

+"
> +
> +DEPENDS_${PN} += "\
> +python3-setuptools \
> +"
>


​Is this not provided by setuptools3
​ class?​

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


[oe] [meta-qt5][krogoth][PATCH] qtwebengine: Add gperf-native to DEPENDS

2016-09-21 Thread Fabio Berton
Fix error:

FAILED: cd ../build/tmp/work/cortexa9hf-neon-mx6qdl-linux-gnueabi/qtwebengine/
5.6.99+5.7.0-beta+gitAUTOINC+dbf7dd2742_29c16917b3-r0/git/src/3rdparty/chromium/
third_party/WebKit/Source/platform; gperf "--key-positions=*" -D -s 2
ColorData.gperf "--output-file=../build/tmp/work/cortexa9hf-neon-mx6qdl-linux-
gnueabi/qtwebengine/5.6.99+5.7.0-beta+gitAUTOINC+dbf7dd2742_29c16917b3-r0/git/
src/core/Release/gen/blink/platform/ColorData.cpp"
 /bin/sh: gperf: command not found
 ninja: build stopped: subcommand failedP

Change-Id: Ic28d0ac72fcbce8054638a3168b5d6a34bc129b5
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 recipes-qt/qt5/qtwebengine_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-qt/qt5/qtwebengine_git.bb 
b/recipes-qt/qt5/qtwebengine_git.bb
index 28b9fe6..979f606 100644
--- a/recipes-qt/qt5/qtwebengine_git.bb
+++ b/recipes-qt/qt5/qtwebengine_git.bb
@@ -16,6 +16,7 @@ DEPENDS += " \
 qtlocation \
 libdrm fontconfig pixman openssl pango cairo icu pciutils \
 libcap \
+gperf-native \
 "
 
 # when qtbase is built with xcb enabled (default with x11 in DISTRO_FEATURES),
-- 
2.1.4

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


Re: [oe] [meta-python][PATCH 13/17] python-requests, python3-requests: Update to version 2.11.1

2016-09-01 Thread Fabio Berton
Hi Martin,

I see that you rebase and sent this recipe to master-next, thanks.

I sent python-pysocks on the same patchset that I sent python-requests,
https://patchwork.openembedded.org/patch/129907/


Fabio

On Wed, Aug 31, 2016 at 3:10 PM, Martin Jansa <martin.ja...@gmail.com>
wrote:

> On Mon, Aug 22, 2016 at 04:01:27PM -0300, Fabio Berton wrote:
> > This commit also change RDEPENDS code style and add python-urllib3
> > as runtime dependence.
> >
> > Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
> > ---
> >  meta-python/recipes-devtools/python/python-requests.inc | 17
> ++---
> >  ...hon-requests_2.10.0.bb => python-requests_2.11.1.bb} |  0
> >  ...n3-requests_2.10.0.bb => python3-requests_2.11.1.bb} |  0
> >  3 files changed, 14 insertions(+), 3 deletions(-)
> >  rename meta-python/recipes-devtools/python/{python-requests_2.10.0.bb
> => python-requests_2.11.1.bb} (100%)
> >  rename meta-python/recipes-devtools/python/{python3-requests_2.10.0.bb
> => python3-requests_2.11.1.bb} (100%)
> >
> > diff --git a/meta-python/recipes-devtools/python/python-requests.inc
> b/meta-python/recipes-devtools/python/python-requests.inc
> > index e00b257..287078a 100644
> > --- a/meta-python/recipes-devtools/python/python-requests.inc
> > +++ b/meta-python/recipes-devtools/python/python-requests.inc
> > @@ -3,7 +3,18 @@ HOMEPAGE = "http://python-requests.org;
> >  LICENSE = "Apache-2.0"
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=d9bb3515869c0f426cb8441c899ae7
> f5"
> >
> > -SRC_URI[md5sum] = "a36f7a64600f1bfec4d55ae021d232ae"
> > -SRC_URI[sha256sum] = "63f1815788157130cee16a933b2ee1
> 84038e975f0017306d723ac326b5525b54"
> > +SRC_URI[md5sum] = "ad5f9c47b5c5dfdb28363ad7546b0763"
> > +SRC_URI[sha256sum] = "5acf980358283faba0b897c73959ce
> cf8b841205bb4b2ad3ef545f46eae1a133"
> >
> > -RDEPENDS_${PN} = "${PYTHON_PN}-email ${PYTHON_PN}-json
> ${PYTHON_PN}-netserver"
> > +RDEPENDS_${PN} += " \
> > +${PYTHON_PN}-email \
> > +${PYTHON_PN}-json \
> > +${PYTHON_PN}-ndg-httpsclient \
> > +${PYTHON_PN}-netserver \
> > +${PYTHON_PN}-pyasn1 \
> > +${PYTHON_PN}-pyopenssl \
> > +${PYTHON_PN}-pysocks \
> > +${PYTHON_PN}-urllib3 \
> > +"
>
> There is already 2.11.0 version in master-next and this RDEPENDS
> additions break python3 version:
>
> ERROR: Nothing RPROVIDES 'python3-pysocks' (but /home/jenkins/oe/world/shr-
> core/meta-openembedded/meta-python/recipes-devtools/python/
> python3-requests_2.11.1.bb RDEPENDS on or otherwise requires it)
> NOTE: Runtime target 'python3-pysocks' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-pysocks']
> NOTE: Runtime target 'python3-requests' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-requests',
> 'python3-pysocks']
> NOTE: Runtime target 'python3-pymisp' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-pymisp',
> 'python3-requests', 'python3-pysocks']
> NOTE: Runtime target 'python3-pymisp-dev' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-pymisp-dev',
> 'python3-requests', 'python3-pysocks']
>
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> > diff --git a/meta-python/recipes-devtools/python/python-
> requests_2.10.0.bb b/meta-python/recipes-devtools/python/python-
> requests_2.11.1.bb
> > similarity index 100%
> > rename from meta-python/recipes-devtools/python/python-requests_2.10.0.
> bb
> > rename to meta-python/recipes-devtools/python/python-requests_2.11.1.bb
> > diff --git a/meta-python/recipes-devtools/python/python3-
> requests_2.10.0.bb b/meta-python/recipes-devtools/python/python3-
> requests_2.11.1.bb
> > similarity index 100%
> > rename from meta-python/recipes-devtools/python/python3-requests_2.10.
> 0.bb
> > rename to meta-python/recipes-devtools/python/python3-requests_2.11.1.bb
> > --
> > 2.1.4
> >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][PATCH 2/2] python-six: Add native and nativesdk to BBCLASSEXTEND

2016-08-31 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-six.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-six.inc 
b/meta-python/recipes-devtools/python/python-six.inc
index e54c0e8..e33c01d 100644
--- a/meta-python/recipes-devtools/python/python-six.inc
+++ b/meta-python/recipes-devtools/python/python-six.inc
@@ -13,3 +13,6 @@ do_install_append() {
 }
 
 RDEPENDS_${PN} += "${PYTHON_PN}-io"
+
+BBCLASSEXTEND = "native nativesdk"
+
-- 
2.1.4

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


[oe] [meta-python][PATCH 1/2] python-certifi: Add native and nativesdk to BBCLASSEXTEND

2016-08-31 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-certifi.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-certifi.inc 
b/meta-python/recipes-devtools/python/python-certifi.inc
index 8c4579a..77fa53b 100644
--- a/meta-python/recipes-devtools/python/python-certifi.inc
+++ b/meta-python/recipes-devtools/python/python-certifi.inc
@@ -9,3 +9,6 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=f77f61d14ee6feac4228d3ebd26cc1f1"
 
 SRC_URI[md5sum] = "b57513f7670482da45bb350b792f659e"
 SRC_URI[sha256sum] = 
"99864ed602d8a9d212e339b15ffa438895002eda7b7db20dca5309dac9605ae9"
+
+BBCLASSEXTEND = "native nativesdk"
+
-- 
2.1.4

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


Re: [oe] [meta-python][PATCH v2] python-pyopenssl: Extend recipe to support Python 3

2016-08-31 Thread Fabio Berton
Hi Martin,

I forgot to set PYTHON_PN in RDEPENDS, please apply this v2 to master-next.

Fabio

On Wed, Aug 31, 2016 at 4:36 PM, Fabio Berton <fabio.ber...@ossystems.com.br
> wrote:

> - Add Python 3 recipe
> - Add native and nativesdk to BBCLASSEXTEND
>
> Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
> Signed-off-by: Martin Jansa <martin.ja...@gmail.com>
> ---
>  .../recipes-devtools/python/python-pyopenssl.inc   | 23
> ++
>  .../python/python-pyopenssl_16.0.0.bb  | 17 +---
>  .../python/python3-pyopenssl_16.0.0.bb |  2 ++
>  3 files changed, 26 insertions(+), 16 deletions(-)
>  create mode 100644 meta-python/recipes-devtools/
> python/python-pyopenssl.inc
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-pyopenssl_16.0.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-pyopenssl.inc
> b/meta-python/recipes-devtools/python/python-pyopenssl.inc
> new file mode 100644
> index 000..ce948e1
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-pyopenssl.inc
> @@ -0,0 +1,23 @@
> +SUMMARY = "Simple Python wrapper around the OpenSSL library"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> +
> +DEPENDS = "openssl ${PYTHON_PN}-cryptography"
> +
> +SRC_URI[md5sum] = "9587d813dcf656e9f2760e41a3682dc3"
> +SRC_URI[sha256sum] = "363d10ee43d062285facf4e465f4f5
> 163f9f702f9134f0a5896f134cbb92d17d"
> +
> +PYPI_PACKAGE = "pyOpenSSL"
> +
> +PACKAGES =+ "${PN}-tests"
> +FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
> +
> +RDEPENDS_${PN} = " \
> +${PYTHON_PN}-cryptography \
> +${PYTHON_PN}-six \
> +${PYTHON_PN}-threading \
> +"
> +
> +RDEPENDS_${PN}-tests = "${PN}"
> +
> +BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-python/recipes-devtools/python/python-
> pyopenssl_16.0.0.bb b/meta-python/recipes-devtools/python/python-
> pyopenssl_16.0.0.bb
> index 8173858..d7177e2 100644
> --- a/meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb
> +++ b/meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb
> @@ -1,17 +1,2 @@
> -SUMMARY = "Simple Python wrapper around the OpenSSL library"
> -LICENSE = "Apache-2.0"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> -
> -DEPENDS = "openssl python-cryptography"
> -
> -SRC_URI[md5sum] = "9587d813dcf656e9f2760e41a3682dc3"
> -SRC_URI[sha256sum] = "363d10ee43d062285facf4e465f4f5
> 163f9f702f9134f0a5896f134cbb92d17d"
> -
> -PYPI_PACKAGE = "pyOpenSSL"
>  inherit pypi setuptools
> -
> -PACKAGES =+ "${PN}-tests"
> -FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
> -
> -RDEPENDS_${PN} = "python-threading python-six python-cryptography"
> -RDEPENDS_${PN}-tests = "${PN}"
> +require python-pyopenssl.inc
> diff --git a/meta-python/recipes-devtools/python/python3-
> pyopenssl_16.0.0.bb b/meta-python/recipes-devtools/python/python3-
> pyopenssl_16.0.0.bb
> new file mode 100644
> index 000..0f0f83e
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb
> @@ -0,0 +1,2 @@
> +inherit pypi setuptools3
> +require python-pyopenssl.inc
> --
> 2.1.4
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][PATCH v2] python-pyopenssl: Extend recipe to support Python 3

2016-08-31 Thread Fabio Berton
- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
Signed-off-by: Martin Jansa <martin.ja...@gmail.com>
---
 .../recipes-devtools/python/python-pyopenssl.inc   | 23 ++
 .../python/python-pyopenssl_16.0.0.bb  | 17 +---
 .../python/python3-pyopenssl_16.0.0.bb |  2 ++
 3 files changed, 26 insertions(+), 16 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pyopenssl.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb

diff --git a/meta-python/recipes-devtools/python/python-pyopenssl.inc 
b/meta-python/recipes-devtools/python/python-pyopenssl.inc
new file mode 100644
index 000..ce948e1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyopenssl.inc
@@ -0,0 +1,23 @@
+SUMMARY = "Simple Python wrapper around the OpenSSL library"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+DEPENDS = "openssl ${PYTHON_PN}-cryptography"
+
+SRC_URI[md5sum] = "9587d813dcf656e9f2760e41a3682dc3"
+SRC_URI[sha256sum] = 
"363d10ee43d062285facf4e465f4f5163f9f702f9134f0a5896f134cbb92d17d"
+
+PYPI_PACKAGE = "pyOpenSSL"
+
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
+
+RDEPENDS_${PN} = " \
+${PYTHON_PN}-cryptography \
+${PYTHON_PN}-six \
+${PYTHON_PN}-threading \
+"
+
+RDEPENDS_${PN}-tests = "${PN}"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb 
b/meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb
index 8173858..d7177e2 100644
--- a/meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb
+++ b/meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb
@@ -1,17 +1,2 @@
-SUMMARY = "Simple Python wrapper around the OpenSSL library"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-DEPENDS = "openssl python-cryptography"
-
-SRC_URI[md5sum] = "9587d813dcf656e9f2760e41a3682dc3"
-SRC_URI[sha256sum] = 
"363d10ee43d062285facf4e465f4f5163f9f702f9134f0a5896f134cbb92d17d"
-
-PYPI_PACKAGE = "pyOpenSSL"
 inherit pypi setuptools
-
-PACKAGES =+ "${PN}-tests"
-FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
-
-RDEPENDS_${PN} = "python-threading python-six python-cryptography"
-RDEPENDS_${PN}-tests = "${PN}"
+require python-pyopenssl.inc
diff --git a/meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb 
b/meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb
new file mode 100644
index 000..0f0f83e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pyopenssl.inc
-- 
2.1.4

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


[oe] [meta-oe][PATCH] geis: Add python3-argparse module to RDEPENDS

2016-08-23 Thread Fabio Berton
Python module argparse was removed from python3-misc package, so we
need to add new python3-argparse package to RDEPENDS.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb 
b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
index f71d324..281dc3d 100644
--- a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
+++ b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
@@ -29,6 +29,7 @@ EXTRA_OECONF = "--disable-integration-tests"
 
 FILES_${PN}-bin = "${bindir}"
 RDEPENDS_${PN}-bin = " \
+python3-argparse \
 python3-compression \
 python3-core \
 python3-crypt \
-- 
2.1.4

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


[oe] [meta-python][PATCH 17/17] python-prompt-toolkit, python3-prompt-toolkit: Add recipe for version 1.0.6

2016-08-22 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../recipes-devtools/python/python-prompt-toolkit.inc | 19 +++
 .../python/python-prompt-toolkit_1.0.6.bb |  2 ++
 .../python/python3-prompt-toolkit_1.0.6.bb|  9 +
 3 files changed, 30 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-prompt-toolkit.inc
 create mode 100644 
meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.6.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.6.bb

diff --git a/meta-python/recipes-devtools/python/python-prompt-toolkit.inc 
b/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
new file mode 100644
index 000..ac860b7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
@@ -0,0 +1,19 @@
+SUMMARY = "Library for building powerful interactive command lines in Python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
+
+SRC_URI[md5sum] = "9e0be24993b13b204e04ffd20b2873d2"
+SRC_URI[sha256sum] = 
"fa8f0c3668afbc85abbb4601ebc8db1db9d5009c8a833feea107fc63f1e7ef22"
+
+PYPI_PACKAGE = "prompt_toolkit"
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-core \
+${PYTHON_PN}-six \
+${PYTHON_PN}-subprocess \
+${PYTHON_PN}-terminal \
+${PYTHON_PN}-threading \
+${PYTHON_PN}-wcwidth \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.6.bb 
b/meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.6.bb
new file mode 100644
index 000..76e8410
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.6.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-prompt-toolkit.inc
diff --git 
a/meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.6.bb 
b/meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.6.bb
new file mode 100644
index 000..d8f6389
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.6.bb
@@ -0,0 +1,9 @@
+inherit pypi setuptools3
+require python-prompt-toolkit.inc
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-datetime \
+${PYTHON_PN}-enum \
+${PYTHON_PN}-shell \
+${PYTHON_PN}-textutils \
+"
-- 
2.1.4

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


[oe] [meta-python][PATCH 16/17] python-ndg-httpsclient, python3-ndg-httpsclient: Add recipe for version 0.4.2

2016-08-22 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../python/python-ndg-httpsclient.inc | 19 +++
 .../python/python-ndg-httpsclient_0.4.2.bb|  2 ++
 .../python/python3-ndg-httpsclient_0.4.2.bb   |  2 ++
 3 files changed, 23 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
 create mode 100644 
meta-python/recipes-devtools/python/python-ndg-httpsclient_0.4.2.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.4.2.bb

diff --git a/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc 
b/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
new file mode 100644
index 000..ae2bca1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
@@ -0,0 +1,19 @@
+DESCRIPTION = "Provides enhanced HTTPS support for httplib and urllib2 using 
PyOpenSSL"
+HOMEPAGE = "http://python-requests.org;
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=ce22c0cd986d2de3f7073cd6b5523ae0"
+
+SRC_URI[md5sum] = "b3a958c0e9aaf4d3f8dd933f46f8c1a9"
+SRC_URI[sha256sum] = 
"580987ef194334c50389e0d7de885fccf15605c13c6eecaabd8d6c43768eb8ac"
+
+PYPI_PACKAGE = "ndg_httpsclient"
+
+DEPENDS = " \
+${PYTHON_PN}-pyopenssl \
+"
+
+DEPENDS = " \
+${PYTHON_PN}-pyasn1 \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git 
a/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.4.2.bb 
b/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.4.2.bb
new file mode 100644
index 000..2da1112
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.4.2.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-ndg-httpsclient.inc
diff --git 
a/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.4.2.bb 
b/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.4.2.bb
new file mode 100644
index 000..3f07b2e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.4.2.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-ndg-httpsclient.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 15/17] python-wcwidth, python3-wcwidth: Add recipe for version 0.1.7

2016-08-22 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-wcwidth.inc   | 8 
 meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb  | 2 ++
 meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb | 2 ++
 3 files changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-wcwidth.inc
 create mode 100644 meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb

diff --git a/meta-python/recipes-devtools/python/python-wcwidth.inc 
b/meta-python/recipes-devtools/python/python-wcwidth.inc
new file mode 100644
index 000..1429450
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-wcwidth.inc
@@ -0,0 +1,8 @@
+SUMMARY = "Library for building powerful interactive command lines in Python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=11fba47286258744a6bc6e43530c32a1"
+
+SRC_URI[md5sum] = "b3b6a0a08f0c8a34d1de8cf44150a4ad"
+SRC_URI[sha256sum] = 
"3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb 
b/meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb
new file mode 100644
index 000..ef107c1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-wcwidth.inc
diff --git a/meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb 
b/meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb
new file mode 100644
index 000..5f6259b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-wcwidth.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 14/17] python-pysocks, python3-pysocks: Add recipe for version 1.5.7

2016-08-22 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-pysocks.inc   | 11 +++
 meta-python/recipes-devtools/python/python-pysocks_1.5.7.bb  |  2 ++
 meta-python/recipes-devtools/python/python3-pysocks_1.5.7.bb |  2 ++
 3 files changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pysocks.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pysocks_1.5.7.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pysocks_1.5.7.bb

diff --git a/meta-python/recipes-devtools/python/python-pysocks.inc 
b/meta-python/recipes-devtools/python/python-pysocks.inc
new file mode 100644
index 000..0697fd7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pysocks.inc
@@ -0,0 +1,11 @@
+DESCRIPTION = "A Python SOCKS client module"
+HOMEPAGE = "http://python-requests.org;
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1d457bcffb9661b45f799d4efee72f16"
+
+SRC_URI[md5sum] = "68f4ad7a8d4fa725656ae3e9dd142d29"
+SRC_URI[sha256sum] = 
"e51c7694b10288e6fd9a28e15c0bcce9aca0327e7b32ebcd9af05fcd56f38b88"
+
+PYPI_PACKAGE = "PySocks"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pysocks_1.5.7.bb 
b/meta-python/recipes-devtools/python/python-pysocks_1.5.7.bb
new file mode 100644
index 000..8a24e4c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pysocks_1.5.7.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pysocks.inc
diff --git a/meta-python/recipes-devtools/python/python3-pysocks_1.5.7.bb 
b/meta-python/recipes-devtools/python/python3-pysocks_1.5.7.bb
new file mode 100644
index 000..6b09355
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pysocks_1.5.7.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pysocks.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 13/17] python-requests, python3-requests: Update to version 2.11.1

2016-08-22 Thread Fabio Berton
This commit also change RDEPENDS code style and add python-urllib3
as runtime dependence.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-requests.inc | 17 ++---
 ...hon-requests_2.10.0.bb => python-requests_2.11.1.bb} |  0
 ...n3-requests_2.10.0.bb => python3-requests_2.11.1.bb} |  0
 3 files changed, 14 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-requests_2.10.0.bb => 
python-requests_2.11.1.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-requests_2.10.0.bb => 
python3-requests_2.11.1.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-requests.inc 
b/meta-python/recipes-devtools/python/python-requests.inc
index e00b257..287078a 100644
--- a/meta-python/recipes-devtools/python/python-requests.inc
+++ b/meta-python/recipes-devtools/python/python-requests.inc
@@ -3,7 +3,18 @@ HOMEPAGE = "http://python-requests.org;
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d9bb3515869c0f426cb8441c899ae7f5"
 
-SRC_URI[md5sum] = "a36f7a64600f1bfec4d55ae021d232ae"
-SRC_URI[sha256sum] = 
"63f1815788157130cee16a933b2ee184038e975f0017306d723ac326b5525b54"
+SRC_URI[md5sum] = "ad5f9c47b5c5dfdb28363ad7546b0763"
+SRC_URI[sha256sum] = 
"5acf980358283faba0b897c73959cecf8b841205bb4b2ad3ef545f46eae1a133"
 
-RDEPENDS_${PN} = "${PYTHON_PN}-email ${PYTHON_PN}-json ${PYTHON_PN}-netserver"
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-email \
+${PYTHON_PN}-json \
+${PYTHON_PN}-ndg-httpsclient \
+${PYTHON_PN}-netserver \
+${PYTHON_PN}-pyasn1 \
+${PYTHON_PN}-pyopenssl \
+${PYTHON_PN}-pysocks \
+${PYTHON_PN}-urllib3 \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-requests_2.10.0.bb 
b/meta-python/recipes-devtools/python/python-requests_2.11.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-requests_2.10.0.bb
rename to meta-python/recipes-devtools/python/python-requests_2.11.1.bb
diff --git a/meta-python/recipes-devtools/python/python3-requests_2.10.0.bb 
b/meta-python/recipes-devtools/python/python3-requests_2.11.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-requests_2.10.0.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.11.1.bb
-- 
2.1.4

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


[oe] [meta-python][PATCH 12/17] python-py: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
  - Add Python 3 recipe
  - Add native and nativesdk to BBCLASSEXTEND

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-py.inc| 8 
 meta-python/recipes-devtools/python/python-py_1.4.31.bb  | 8 +---
 meta-python/recipes-devtools/python/python3-py_1.4.31.bb | 2 ++
 3 files changed, 11 insertions(+), 7 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-py.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-py_1.4.31.bb

diff --git a/meta-python/recipes-devtools/python/python-py.inc 
b/meta-python/recipes-devtools/python/python-py.inc
new file mode 100644
index 000..9e33b16
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-py.inc
@@ -0,0 +1,8 @@
+SUMMARY = "Library with cross-python path, ini-parsing, io, code, log 
facilities"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
+
+SRC_URI[md5sum] = "5d2c63c56dc3f2115ec35c066ecd582b"
+SRC_URI[sha256sum] = 
"a6501963c725fc2554dabfece8ae9a8fb5e149c0ac0a42fd2b02c5c1c57fc114"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-py_1.4.31.bb 
b/meta-python/recipes-devtools/python/python-py_1.4.31.bb
index 592bc04..5ad2c19 100644
--- a/meta-python/recipes-devtools/python/python-py_1.4.31.bb
+++ b/meta-python/recipes-devtools/python/python-py_1.4.31.bb
@@ -1,8 +1,2 @@
-SUMMARY = "Library with cross-python path, ini-parsing, io, code, log 
facilities"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
-
-SRC_URI[md5sum] = "5d2c63c56dc3f2115ec35c066ecd582b"
-SRC_URI[sha256sum] = 
"a6501963c725fc2554dabfece8ae9a8fb5e149c0ac0a42fd2b02c5c1c57fc114"
-
 inherit pypi setuptools
+require python-py.inc
diff --git a/meta-python/recipes-devtools/python/python3-py_1.4.31.bb 
b/meta-python/recipes-devtools/python/python3-py_1.4.31.bb
new file mode 100644
index 000..0ee373d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-py_1.4.31.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-py.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 10/17] python-pretend: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
  - Add Python 3 recipe
  - Add native and nativesdk to BBCLASSEXTEND

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-pretend.inc   | 8 
 meta-python/recipes-devtools/python/python-pretend_1.0.8.bb  | 8 +---
 meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb | 2 ++
 3 files changed, 11 insertions(+), 7 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pretend.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb

diff --git a/meta-python/recipes-devtools/python/python-pretend.inc 
b/meta-python/recipes-devtools/python/python-pretend.inc
new file mode 100644
index 000..2d21cc4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pretend.inc
@@ -0,0 +1,8 @@
+SUMMARY = "A library for stubbing in Python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99"
+
+SRC_URI[md5sum] = "7147050a95c9f494248557b42b58ad79"
+SRC_URI[sha256sum] = 
"930f2c1e18503e8f8c403abe2e02166c4a881941745147e712cdd4f49f3fb964"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb 
b/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb
index ddc7b62..73b8ed4 100644
--- a/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb
+++ b/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb
@@ -1,8 +1,2 @@
-SUMMARY = "A library for stubbing in Python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99"
-
-SRC_URI[md5sum] = "7147050a95c9f494248557b42b58ad79"
-SRC_URI[sha256sum] = 
"930f2c1e18503e8f8c403abe2e02166c4a881941745147e712cdd4f49f3fb964"
-
 inherit pypi setuptools
+require python-pretend.inc
diff --git a/meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb 
b/meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb
new file mode 100644
index 000..9c5d8a8
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pretend.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 09/17] python-iso8601: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
  - Add Python 3 recipe
  - Add native and nativesdk to BBCLASSEXTEND

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-iso8601.inc| 8 
 meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb  | 8 +---
 meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb | 2 ++
 3 files changed, 11 insertions(+), 7 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-iso8601.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb

diff --git a/meta-python/recipes-devtools/python/python-iso8601.inc 
b/meta-python/recipes-devtools/python/python-iso8601.inc
new file mode 100644
index 000..dd4b83c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-iso8601.inc
@@ -0,0 +1,8 @@
+SUMMARY = "Simple module to parse ISO 8601 dates"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b05625f2336fa024e8d57e65c6595844"
+
+SRC_URI[md5sum] = "b06d11cd14a64096f907086044f0fe38"
+SRC_URI[sha256sum] = 
"e8fb52f78880ae063336c94eb5b87b181e6a0cc33a6c008511bac9a6e980ef30"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb 
b/meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb
index 484cf12..c543cf9 100644
--- a/meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb
+++ b/meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb
@@ -1,8 +1,2 @@
-SUMMARY = "Simple module to parse ISO 8601 dates"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b05625f2336fa024e8d57e65c6595844"
-
-SRC_URI[md5sum] = "b06d11cd14a64096f907086044f0fe38"
-SRC_URI[sha256sum] = 
"e8fb52f78880ae063336c94eb5b87b181e6a0cc33a6c008511bac9a6e980ef30"
-
 inherit pypi setuptools
+require python-iso8601.inc
diff --git a/meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb 
b/meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb
new file mode 100644
index 000..4a332b5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-iso8601.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 08/17] python-cryptography-vectors: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
  - Add Python 3 recipe
  - Add native and nativesdk to BBCLASSEXTEND
  - Use pyppi class

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../python/python-cryptography-vectors.inc   | 15 +++
 .../python/python-cryptography-vectors_1.4.bb| 16 ++--
 .../python/python3-cryptography-vectors_1.4.bb   |  2 ++
 3 files changed, 19 insertions(+), 14 deletions(-)
 create mode 100644 
meta-python/recipes-devtools/python/python-cryptography-vectors.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-cryptography-vectors_1.4.bb

diff --git 
a/meta-python/recipes-devtools/python/python-cryptography-vectors.inc 
b/meta-python/recipes-devtools/python/python-cryptography-vectors.inc
new file mode 100644
index 000..62dfbfd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-cryptography-vectors.inc
@@ -0,0 +1,15 @@
+SUMMARY = "Test vectors for the cryptography package."
+SECTION = "devel/python"
+LICENSE = "Apache-2.0 | BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
+
+DEPENDS = " \
+${PYTHON_PN}-cryptography \
+"
+
+SRC_URI[md5sum] = "b8555dfadafc4ecab4ee4650430d9cab"
+SRC_URI[sha256sum] = 
"0728815ef0c53d67fd437aa5220450a9752d41ecb28108f5df628a092ff466ea"
+
+PYPI_PACKAGE = "cryptography_vectors"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git 
a/meta-python/recipes-devtools/python/python-cryptography-vectors_1.4.bb 
b/meta-python/recipes-devtools/python/python-cryptography-vectors_1.4.bb
index 0313c81..4975278 100644
--- a/meta-python/recipes-devtools/python/python-cryptography-vectors_1.4.bb
+++ b/meta-python/recipes-devtools/python/python-cryptography-vectors_1.4.bb
@@ -1,14 +1,2 @@
-SUMMARY = "Test vectors for the cryptography package."
-SECTION = "devel/python"
-LICENSE = "Apache-2.0 | BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
-DEPENDS = "python-cryptography"
-SRCNAME = "cryptography_vectors"
-
-SRC_URI = 
"https://files.pythonhosted.org/packages/source/c/cryptography-vectors/${SRCNAME}-${PV}.tar.gz;
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-SRC_URI[md5sum] = "b8555dfadafc4ecab4ee4650430d9cab"
-SRC_URI[sha256sum] = 
"0728815ef0c53d67fd437aa5220450a9752d41ecb28108f5df628a092ff466ea"
-
-inherit setuptools
+inherit pypi setuptools
+require python-cryptography-vectors.inc
diff --git 
a/meta-python/recipes-devtools/python/python3-cryptography-vectors_1.4.bb 
b/meta-python/recipes-devtools/python/python3-cryptography-vectors_1.4.bb
new file mode 100644
index 000..58994ff
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cryptography-vectors_1.4.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-cryptography-vectors.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 07/17] python-urllib3: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
  - Add Python 3 recipe
  - Add native and nativesdk to BBCLASSEXTEND
  - Add python-certifi, python-cryptography, python-idna and
python-pyopenssl to RDEPENDS

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../recipes-devtools/python/python-urllib3.inc| 19 +++
 .../recipes-devtools/python/python-urllib3_1.16.bb| 16 +---
 .../recipes-devtools/python/python3-urllib3_1.16.bb   |  2 ++
 3 files changed, 22 insertions(+), 15 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-urllib3.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-urllib3_1.16.bb

diff --git a/meta-python/recipes-devtools/python/python-urllib3.inc 
b/meta-python/recipes-devtools/python/python-urllib3.inc
new file mode 100644
index 000..7b62be5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-urllib3.inc
@@ -0,0 +1,19 @@
+SUMMARY = "Python HTTP library with thread-safe connection pooling, file post 
support, sanity friendly, and more"
+HOMEPAGE = "https://github.com/shazow/urllib3;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ea114851ad9a8c311aac8728a681a067"
+
+SRC_URI[md5sum] = "fcaab1c5385c57deeb7053d3d7d81d59"
+SRC_URI[sha256sum] = 
"63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab"
+
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-certifi \
+${PYTHON_PN}-cryptography \
+${PYTHON_PN}-email \
+${PYTHON_PN}-idna \
+${PYTHON_PN}-netclient \
+${PYTHON_PN}-pyopenssl \
+${PYTHON_PN}-threading \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-urllib3_1.16.bb 
b/meta-python/recipes-devtools/python/python-urllib3_1.16.bb
index 87a2852..6c81f1d 100644
--- a/meta-python/recipes-devtools/python/python-urllib3_1.16.bb
+++ b/meta-python/recipes-devtools/python/python-urllib3_1.16.bb
@@ -1,16 +1,2 @@
-SUMMARY = "Python HTTP library with thread-safe connection pooling, file post 
support, sanity friendly, and more"
-HOMEPAGE = "https://github.com/shazow/urllib3;
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ea114851ad9a8c311aac8728a681a067"
-
-SRC_URI[md5sum] = "fcaab1c5385c57deeb7053d3d7d81d59"
-SRC_URI[sha256sum] = 
"63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab"
-
 inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-${PYTHON_PN}-email \
-${PYTHON_PN}-netclient \
-${PYTHON_PN}-threading \
-${PYTHON_PN}-zlib \
-"
+require python-urllib3.inc
diff --git a/meta-python/recipes-devtools/python/python3-urllib3_1.16.bb 
b/meta-python/recipes-devtools/python/python3-urllib3_1.16.bb
new file mode 100644
index 000..19eb702
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-urllib3_1.16.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-urllib3.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 06/17] python-pyopenssl: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../recipes-devtools/python/python-pyopenssl.inc   | 18 ++
 .../recipes-devtools/python/python-pyopenssl_16.0.0.bb | 17 +
 .../python/python3-pyopenssl_16.0.0.bb |  2 ++
 3 files changed, 21 insertions(+), 16 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pyopenssl.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb

diff --git a/meta-python/recipes-devtools/python/python-pyopenssl.inc 
b/meta-python/recipes-devtools/python/python-pyopenssl.inc
new file mode 100644
index 000..88b4306
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyopenssl.inc
@@ -0,0 +1,18 @@
+SUMMARY = "Simple Python wrapper around the OpenSSL library"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+DEPENDS = "openssl ${PYTHON_PN}-cryptography"
+
+SRC_URI[md5sum] = "9587d813dcf656e9f2760e41a3682dc3"
+SRC_URI[sha256sum] = 
"363d10ee43d062285facf4e465f4f5163f9f702f9134f0a5896f134cbb92d17d"
+
+PYPI_PACKAGE = "pyOpenSSL"
+
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
+
+RDEPENDS_${PN} = "python-threading python-six python-cryptography"
+RDEPENDS_${PN}-tests = "${PN}"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb 
b/meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb
index 8173858..d7177e2 100644
--- a/meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb
+++ b/meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb
@@ -1,17 +1,2 @@
-SUMMARY = "Simple Python wrapper around the OpenSSL library"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-DEPENDS = "openssl python-cryptography"
-
-SRC_URI[md5sum] = "9587d813dcf656e9f2760e41a3682dc3"
-SRC_URI[sha256sum] = 
"363d10ee43d062285facf4e465f4f5163f9f702f9134f0a5896f134cbb92d17d"
-
-PYPI_PACKAGE = "pyOpenSSL"
 inherit pypi setuptools
-
-PACKAGES =+ "${PN}-tests"
-FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
-
-RDEPENDS_${PN} = "python-threading python-six python-cryptography"
-RDEPENDS_${PN}-tests = "${PN}"
+require python-pyopenssl.inc
diff --git a/meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb 
b/meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb
new file mode 100644
index 000..0f0f83e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pyopenssl.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 05/17] python-pycparser: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
  - Add Python 3 recipe
  - Add native and nativesdk to BBCLASSEXTEND

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-pycparser.inc  |  8 
 meta-python/recipes-devtools/python/python-pycparser_2.14.bb  | 10 +-
 meta-python/recipes-devtools/python/python3-pycparser_2.14.bb |  2 ++
 3 files changed, 11 insertions(+), 9 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pycparser.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-pycparser_2.14.bb

diff --git a/meta-python/recipes-devtools/python/python-pycparser.inc 
b/meta-python/recipes-devtools/python/python-pycparser.inc
new file mode 100644
index 000..bf3b757
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pycparser.inc
@@ -0,0 +1,8 @@
+SUMMARY = "Parser of the C language, written in pure Python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8fb364772b1441821d391591f340c35a"
+
+SRC_URI[md5sum] = "a2bc8d28c923b4fe2b2c3b4b51a4f935"
+SRC_URI[sha256sum] = 
"7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pycparser_2.14.bb 
b/meta-python/recipes-devtools/python/python-pycparser_2.14.bb
index 18006ca..adbc1a8 100644
--- a/meta-python/recipes-devtools/python/python-pycparser_2.14.bb
+++ b/meta-python/recipes-devtools/python/python-pycparser_2.14.bb
@@ -1,10 +1,2 @@
-SUMMARY = "Parser of the C language, written in pure Python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8fb364772b1441821d391591f340c35a"
-
-SRC_URI[md5sum] = "a2bc8d28c923b4fe2b2c3b4b51a4f935"
-SRC_URI[sha256sum] = 
"7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73"
-
 inherit pypi setuptools
-
-BBCLASSEXTEND = "native"
+require python-pycparser.inc
diff --git a/meta-python/recipes-devtools/python/python3-pycparser_2.14.bb 
b/meta-python/recipes-devtools/python/python3-pycparser_2.14.bb
new file mode 100644
index 000..b30db54
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pycparser_2.14.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pycparser.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 03/17] python-idna: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
  - Add Python 3 recipe
  - Add native and nativesdk to BBCLASSEXTEND

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-idna.inc |  9 +
 meta-python/recipes-devtools/python/python-idna_2.1.bb  | 11 +--
 meta-python/recipes-devtools/python/python3-idna_2.1.bb |  2 ++
 3 files changed, 12 insertions(+), 10 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-idna.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-idna_2.1.bb

diff --git a/meta-python/recipes-devtools/python/python-idna.inc 
b/meta-python/recipes-devtools/python/python-idna.inc
new file mode 100644
index 000..8e1fcb4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-idna.inc
@@ -0,0 +1,9 @@
+SUMMARY = "Internationalised Domain Names in Applications"
+HOMEPAGE = "https://github.com/kjd/idna;
+LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=134bdad79491c37bdae32811572b4bc6"
+
+SRC_URI[md5sum] = "f6473caa9c5e0cc1ad3fd5d04c3c114b"
+SRC_URI[sha256sum] = 
"ed36f281aebf3cd0797f163bb165d84c31507cedd15928b095b1675e2d04c676"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-idna_2.1.bb 
b/meta-python/recipes-devtools/python/python-idna_2.1.bb
index 90f47ae..2dcf72a 100644
--- a/meta-python/recipes-devtools/python/python-idna_2.1.bb
+++ b/meta-python/recipes-devtools/python/python-idna_2.1.bb
@@ -1,11 +1,2 @@
-SUMMARY = "Internationalised Domain Names in Applications"
-HOMEPAGE = "https://github.com/kjd/idna;
-LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=134bdad79491c37bdae32811572b4bc6"
-
-DEPENDS += "python-pip"
-
-SRC_URI[md5sum] = "f6473caa9c5e0cc1ad3fd5d04c3c114b"
-SRC_URI[sha256sum] = 
"ed36f281aebf3cd0797f163bb165d84c31507cedd15928b095b1675e2d04c676"
-
 inherit pypi setuptools
+require python-idna.inc
diff --git a/meta-python/recipes-devtools/python/python3-idna_2.1.bb 
b/meta-python/recipes-devtools/python/python3-idna_2.1.bb
new file mode 100644
index 000..a08ca71
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-idna_2.1.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-idna.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 04/17] python-pyasn1: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
  - Add Python 3 recipe
  - Add native and nativesdk to BBCLASSEXTEND
  - Add python-lang and python-shell to RDEPENDS

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-pyasn1.inc  | 14 ++
 meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb | 11 +--
 .../recipes-devtools/python/python3-pyasn1_0.1.9.bb|  2 ++
 3 files changed, 17 insertions(+), 10 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pyasn1.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-pyasn1_0.1.9.bb

diff --git a/meta-python/recipes-devtools/python/python-pyasn1.inc 
b/meta-python/recipes-devtools/python/python-pyasn1.inc
new file mode 100644
index 000..7c25de8
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyasn1.inc
@@ -0,0 +1,14 @@
+SUMMARY = "Python library implementing ASN.1 types."
+HOMEPAGE = "http://pyasn1.sourceforge.net/;
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=425e62320d430219736139b134db2fc4"
+
+SRC_URI[md5sum] = "f00a02a631d4016818659d1cc38d229a"
+SRC_URI[sha256sum] = 
"853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f"
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-lang \
+${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb 
b/meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb
index 017adfe..4461918 100644
--- a/meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb
+++ b/meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb
@@ -1,11 +1,2 @@
-SUMMARY = "Python library implementing ASN.1 types."
-HOMEPAGE = "http://pyasn1.sourceforge.net/;
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=425e62320d430219736139b134db2fc4"
-
-SRC_URI[md5sum] = "f00a02a631d4016818659d1cc38d229a"
-SRC_URI[sha256sum] = 
"853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f"
-
 inherit pypi setuptools
-
-RDEPENDS_${PN} += "python-lang python-shell"
+require python-pyasn1.inc
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1_0.1.9.bb 
b/meta-python/recipes-devtools/python/python3-pyasn1_0.1.9.bb
new file mode 100644
index 000..a5e2a71
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyasn1_0.1.9.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pyasn1.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 02/17] python-cryptography: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
  - Add Python 3 recipe
  - Change DEPENDS and RDEPENDS code style
  - Add native and nativesdk to BBCLASSEXTEND

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 .../python/python-cryptography.inc | 48 
 .../python/python-cryptography_1.4.bb  | 53 --
 .../python/python3-cryptography/run-ptest  |  2 +
 .../python/python3-cryptography_1.4.bb | 10 
 4 files changed, 70 insertions(+), 43 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-cryptography.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-cryptography/run-ptest
 create mode 100644 
meta-python/recipes-devtools/python/python3-cryptography_1.4.bb

diff --git a/meta-python/recipes-devtools/python/python-cryptography.inc 
b/meta-python/recipes-devtools/python/python-cryptography.inc
new file mode 100644
index 000..d4767b1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-cryptography.inc
@@ -0,0 +1,48 @@
+SUMMARY = "Provides cryptographic recipes and primitives to python developers"
+LICENSE = "Apache-2.0 | BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
+
+DEPENDS += " \
+${PYTHON_PN}-cffi \
+${PYTHON_PN}-cffi-native \
+${PYTHON_PN}-pyasn1 \
+${PYTHON_PN}-six \
+"
+
+SRC_URI[md5sum] = "a9763e3831cc7cdb402c028fac1ceb39"
+SRC_URI[sha256sum] = 
"bb149540ed90c4b2171bf694fe6991d6331bc149ae623c8ff419324f4222d128"
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-cffi \
+${PYTHON_PN}-idna \
+${PYTHON_PN}-numbers \
+${PYTHON_PN}-pyasn1 \
+${PYTHON_PN}-pycparser \
+${PYTHON_PN}-setuptools \
+${PYTHON_PN}-six \
+${PYTHON_PN}-subprocess \
+${PYTHON_PN}-threading \
+"
+
+RDEPENDS_${PN}-ptest += " \
+${PN} \
+${PYTHON_PN}-cryptography-vectors \
+${PYTHON_PN}-iso8601 \
+${PYTHON_PN}-pretend \
+${PYTHON_PN}-pytest \
+"
+
+inherit ptest
+
+do_install_ptest() {
+install -d ${D}${PTEST_PATH}/tests
+cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+install -d ${D}${PTEST_PATH}/tests/hazmat
+cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/
+}
+
+FILES_${PN}-dbg += " \
+${libdir}/${PYTHON_PN}2.7/site-packages/${SRCNAME}/hazmat/bindings/.debug \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-cryptography_1.4.bb 
b/meta-python/recipes-devtools/python/python-cryptography_1.4.bb
index a6b5bd0..b05c615 100644
--- a/meta-python/recipes-devtools/python/python-cryptography_1.4.bb
+++ b/meta-python/recipes-devtools/python/python-cryptography_1.4.bb
@@ -1,49 +1,16 @@
-SUMMARY = "Provides cryptographic recipes and primitives to Python developers"
-LICENSE = "Apache-2.0 | BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
-DEPENDS += " python-cffi-native python-cffi python-enum34 python-six 
python-pyasn1"
-SRCNAME = "cryptography"
-
-SRC_URI = "file://run-ptest"
-
-SRC_URI[md5sum] = "a9763e3831cc7cdb402c028fac1ceb39"
-SRC_URI[sha256sum] = 
"bb149540ed90c4b2171bf694fe6991d6331bc149ae623c8ff419324f4222d128"
-
 inherit pypi setuptools
+require python-cryptography.inc
 
-RDEPENDS_${PN} = "\
-  python-pyasn1\
-  python-six\
-  python-cffi\
-  python-enum34\
-  python-setuptools\
-  python-pycparser\
-  python-subprocess\
-  python-threading\
-  python-numbers\
-  python-contextlib\
-  python-ipaddress\
-  python-pyasn1\
-  python-idna\
+SRC_URI += " \
+file://run-ptest \
 "
 
-RDEPENDS_${PN}-ptest = "\
-   ${PN}\
-   python-pytest\
-   python-pretend\
-   python-iso8601\
-   python-cryptography-vectors\
+DEPENDS += " \
+${PYTHON_PN}-enum34 \
 "
 
-inherit ptest
-
-do_install_ptest() {
-install -d ${D}${PTEST_PATH}/tests
-cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-install -d ${D}${PTEST_PATH}/tests/hazmat
-cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/
-}
-
-FILES_${PN}-dbg += " \
-${libdir}/python2.7/site-packages/${SRCNAME}/hazmat/bindings/.debug \
-"
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-contextlib \
+${PYTHON_PN}-enum34 \
+${PYTHON_PN}-ipaddress \
+"
diff --git a/meta-python/recipes-devtools/python/python3-cryptography/run-ptest 
b/meta-python/recipes-devtools/python/python3-cryptography/run-ptest
new file mode 100644
index 000..0ba239c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cryptography/run-ptest
@@ -0,0

[oe] [meta-python][PATCH 01/17] python-cffi: Extend recipe to support Python 3

2016-08-22 Thread Fabio Berton
  - Add Python 3 recipe
  - Add native and nativesdk to BBCLASSEXTEND

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-cffi.inc   |  9 +
 meta-python/recipes-devtools/python/python-cffi_1.7.0.bb  | 11 +--
 meta-python/recipes-devtools/python/python3-cffi_1.7.0.bb |  2 ++
 3 files changed, 12 insertions(+), 10 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-cffi.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-cffi_1.7.0.bb

diff --git a/meta-python/recipes-devtools/python/python-cffi.inc 
b/meta-python/recipes-devtools/python/python-cffi.inc
new file mode 100644
index 000..7038d90
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-cffi.inc
@@ -0,0 +1,9 @@
+SUMMARY = "Foreign Function Interface for Python calling C code"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
+DEPENDS = "libffi ${PYTHON_PN}-pycparser"
+
+SRC_URI[md5sum] = "34122a545060cee58bab88feab57006d"
+SRC_URI[sha256sum] = 
"6ed5dd6afd8361f34819c68aaebf9e8fc12b5a5893f91f50c9e50c8886bb60df"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-cffi_1.7.0.bb 
b/meta-python/recipes-devtools/python/python-cffi_1.7.0.bb
index 6f4d77a..1d2d241 100644
--- a/meta-python/recipes-devtools/python/python-cffi_1.7.0.bb
+++ b/meta-python/recipes-devtools/python/python-cffi_1.7.0.bb
@@ -1,11 +1,2 @@
-SUMMARY = "Foreign Function Interface for Python calling C code"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
-DEPENDS = "libffi python-pycparser"
-
-SRC_URI[md5sum] = "34122a545060cee58bab88feab57006d"
-SRC_URI[sha256sum] = 
"6ed5dd6afd8361f34819c68aaebf9e8fc12b5a5893f91f50c9e50c8886bb60df"
-
 inherit pypi setuptools
-
-BBCLASSEXTEND = "native"
+require python-cffi.inc
diff --git a/meta-python/recipes-devtools/python/python3-cffi_1.7.0.bb 
b/meta-python/recipes-devtools/python/python3-cffi_1.7.0.bb
new file mode 100644
index 000..e888084
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cffi_1.7.0.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-cffi.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 6/8] python-functools32: Add recipe for version 3.2.3-2

2016-08-17 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---
 .../recipes-devtools/python/python-functools32_3.2.3-2.bb  | 10 ++
 1 file changed, 10 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-functools32_3.2.3-2.bb

diff --git a/meta-python/recipes-devtools/python/python-functools32_3.2.3-2.bb 
b/meta-python/recipes-devtools/python/python-functools32_3.2.3-2.bb
new file mode 100644
index 000..cb4bba4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-functools32_3.2.3-2.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Backport of the functools module from Python 3.2.3 for use on 2.7 
and PyPy."
+LICENSE = "PSF"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=27cf2345969ed18e6730e90fb0063a10"
+
+SRC_URI[md5sum] = "09f24ffd9af9f6cd0f63cb9f4e23d4b2"
+SRC_URI[sha256sum] = 
"f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d"
+
+inherit pypi setuptools
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.1.4

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


[oe] [meta-python][PATCH 7/8] python-strict-rfc3339, python3-strict-rfc3339: Add recipe for version 0.7

2016-08-17 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-strict-rfc3339.inc | 8 
 meta-python/recipes-devtools/python/python-strict-rfc3339_0.7.bb  | 2 ++
 meta-python/recipes-devtools/python/python3-strict-rfc3339_0.7.bb | 2 ++
 3 files changed, 12 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-strict-rfc3339.inc
 create mode 100644 
meta-python/recipes-devtools/python/python-strict-rfc3339_0.7.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-strict-rfc3339_0.7.bb

diff --git a/meta-python/recipes-devtools/python/python-strict-rfc3339.inc 
b/meta-python/recipes-devtools/python/python-strict-rfc3339.inc
new file mode 100644
index 000..dca9ea9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-strict-rfc3339.inc
@@ -0,0 +1,8 @@
+SUMMARY = "Strict, simple, lightweight RFC3339 function.s"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8f0e2cd40e05189ec81232da84bd6e1a"
+
+SRC_URI[md5sum] = "4d9b635b4df885bc37bc1189d66c9abc"
+SRC_URI[sha256sum] = 
"5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-strict-rfc3339_0.7.bb 
b/meta-python/recipes-devtools/python/python-strict-rfc3339_0.7.bb
new file mode 100644
index 000..b01ea99
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-strict-rfc3339_0.7.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-strict-rfc3339.inc
diff --git a/meta-python/recipes-devtools/python/python3-strict-rfc3339_0.7.bb 
b/meta-python/recipes-devtools/python/python3-strict-rfc3339_0.7.bb
new file mode 100644
index 000..9e37052
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-strict-rfc3339_0.7.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-strict-rfc3339.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 8/8] python-jsonschema, python3-jsonschema: Add recipe for version 2.5.1

2016-08-17 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---
 .../recipes-devtools/python/python-jsonschema.inc  | 26 ++
 .../python/python-jsonschema_2.5.1.bb  |  8 +++
 .../python/python3-jsonschema_2.5.1.bb |  6 +
 3 files changed, 40 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-jsonschema.inc
 create mode 100644 
meta-python/recipes-devtools/python/python-jsonschema_2.5.1.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-jsonschema_2.5.1.bb

diff --git a/meta-python/recipes-devtools/python/python-jsonschema.inc 
b/meta-python/recipes-devtools/python/python-jsonschema.inc
new file mode 100644
index 000..3466457
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-jsonschema.inc
@@ -0,0 +1,26 @@
+SUMMARY = "An implementation of JSON Schema validation for Python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8"
+
+SRC_URI[md5sum] = "374e848fdb69a3ce8b7e778b47c30640"
+SRC_URI[sha256sum] = 
"36673ac378feed3daa5956276a829699056523d7961027911f064b52255ead41"
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-core \
+${PYTHON_PN}-io \
+${PYTHON_PN}-json \
+${PYTHON_PN}-lang \
+${PYTHON_PN}-netclient \
+${PYTHON_PN}-numbers \
+${PYTHON_PN}-pkgutil \
+${PYTHON_PN}-pprint \
+${PYTHON_PN}-re \
+${PYTHON_PN}-rfc3987 \
+${PYTHON_PN}-shell \
+${PYTHON_PN}-strict-rfc3339 \
+${PYTHON_PN}-subprocess \
+${PYTHON_PN}-textutils \
+${PYTHON_PN}-unittest \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-jsonschema_2.5.1.bb 
b/meta-python/recipes-devtools/python/python-jsonschema_2.5.1.bb
new file mode 100644
index 000..3bb5220
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-jsonschema_2.5.1.bb
@@ -0,0 +1,8 @@
+inherit pypi setuptools
+require python-jsonschema.inc
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-argparse \
+${PYTHON_PN}-contextlib \
+${PYTHON_PN}-functools32 \
+"
diff --git a/meta-python/recipes-devtools/python/python3-jsonschema_2.5.1.bb 
b/meta-python/recipes-devtools/python/python3-jsonschema_2.5.1.bb
new file mode 100644
index 000..5aaee68
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jsonschema_2.5.1.bb
@@ -0,0 +1,6 @@
+inherit pypi setuptools3
+require python-jsonschema.inc
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-misc \
+"
-- 
2.1.4

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


[oe] [meta-python][PATCH 5/8] python-webcolors, python3-webcolors: Add recipe for version 1.5

2016-08-17 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-webcolors.inc | 8 
 meta-python/recipes-devtools/python/python-webcolors_1.5.bb  | 2 ++
 meta-python/recipes-devtools/python/python3-webcolors_1.5.bb | 2 ++
 3 files changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-webcolors.inc
 create mode 100644 meta-python/recipes-devtools/python/python-webcolors_1.5.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-webcolors_1.5.bb

diff --git a/meta-python/recipes-devtools/python/python-webcolors.inc 
b/meta-python/recipes-devtools/python/python-webcolors.inc
new file mode 100644
index 000..ae91c62
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-webcolors.inc
@@ -0,0 +1,8 @@
+SUMMARY = "Simple Python module for working with HTML/CSS color definitions."
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0c764ddee13cfbe0564c201d76ff19d6"
+
+SRC_URI[md5sum] = "2e9da1bbb7a087c6108e05be64640afb"
+SRC_URI[sha256sum] = 
"b3b1c3a41e9c69d1982b76b6531239115519f91cc034a24e975749832dc51b8e"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-webcolors_1.5.bb 
b/meta-python/recipes-devtools/python/python-webcolors_1.5.bb
new file mode 100644
index 000..a0b6708
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-webcolors_1.5.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-webcolors.inc
diff --git a/meta-python/recipes-devtools/python/python3-webcolors_1.5.bb 
b/meta-python/recipes-devtools/python/python3-webcolors_1.5.bb
new file mode 100644
index 000..fcd9f70
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-webcolors_1.5.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-webcolors.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH 3/8] python3-click: Add native and nativesdk to BBCLASSEXTEND

2016-08-17 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-click.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-click.inc 
b/meta-python/recipes-devtools/python/python-click.inc
index f3d5b36..90809af 100644
--- a/meta-python/recipes-devtools/python/python-click.inc
+++ b/meta-python/recipes-devtools/python/python-click.inc
@@ -15,3 +15,5 @@ RDEPENDS_${PN} += "\
 ${PYTHON_PN}-io \
 ${PYTHON_PN}-threading \
 "
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.1.4

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


[oe] [meta-python][PATCH 4/8] python3-requests: Add native and nativesdk to BBCLASSEXTEND

2016-08-17 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-requests.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-requests.inc 
b/meta-python/recipes-devtools/python/python-requests.inc
index e00b257..84609f1 100644
--- a/meta-python/recipes-devtools/python/python-requests.inc
+++ b/meta-python/recipes-devtools/python/python-requests.inc
@@ -7,3 +7,5 @@ SRC_URI[md5sum] = "a36f7a64600f1bfec4d55ae021d232ae"
 SRC_URI[sha256sum] = 
"63f1815788157130cee16a933b2ee184038e975f0017306d723ac326b5525b54"
 
 RDEPENDS_${PN} = "${PYTHON_PN}-email ${PYTHON_PN}-json ${PYTHON_PN}-netserver"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.1.4

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


[oe] [meta-python][PATCH 2/8] python-rfc3987, python3-rfc3987: Add recipe for version 1.3.6

2016-08-17 Thread Fabio Berton
Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---
 meta-python/recipes-devtools/python/python-rfc3987.inc   | 8 
 meta-python/recipes-devtools/python/python-rfc3987_1.3.6.bb  | 2 ++
 meta-python/recipes-devtools/python/python3-rfc3987_1.3.6.bb | 2 ++
 3 files changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-rfc3987.inc
 create mode 100644 meta-python/recipes-devtools/python/python-rfc3987_1.3.6.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-rfc3987_1.3.6.bb

diff --git a/meta-python/recipes-devtools/python/python-rfc3987.inc 
b/meta-python/recipes-devtools/python/python-rfc3987.inc
new file mode 100644
index 000..fbf6a0a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-rfc3987.inc
@@ -0,0 +1,8 @@
+SUMMARY = "Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
+LICENSE = "GPLv3+"
+LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=8;endline=9;md5=2b723edf67b2f3088bc5e339b1ceda2d"
+
+SRC_URI[md5sum] = "da7dabf5ee0b1426a2c6c4f8406ee0d3"
+SRC_URI[sha256sum] = 
"599801156e35b5054138585c92ab4d1b729b0f2feeb961b65347116764df4aa7"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-rfc3987_1.3.6.bb 
b/meta-python/recipes-devtools/python/python-rfc3987_1.3.6.bb
new file mode 100644
index 000..dcda5aa
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-rfc3987_1.3.6.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-rfc3987.inc
diff --git a/meta-python/recipes-devtools/python/python3-rfc3987_1.3.6.bb 
b/meta-python/recipes-devtools/python/python3-rfc3987_1.3.6.bb
new file mode 100644
index 000..cd1536b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-rfc3987_1.3.6.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-rfc3987.inc
-- 
2.1.4

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


  1   2   >