Re: [oe] [meta-python2][PATCH 1/2] python-ldap: skip when meta-networking isn't included

2020-02-26 Thread Tim Orling
Merged. Thank you!

On Tue, Feb 25, 2020 at 11:07 AM Martin Jansa 
wrote:

> * fixes:
>   ERROR: Nothing PROVIDES 'cyrus-sasl' (but
> meta-python2/recipes-devtools/python/python-ldap_3.2.0.bb DEPENDS on or
> otherwise requires it)
>   in world builds without meta-networking
>
> Signed-off-by: Martin Jansa 
> ---
>  recipes-devtools/python/python-ldap_3.2.0.bb | 6 ++
>  1 file changed, 6 insertions(+)
>
> diff --git a/recipes-devtools/python/python-ldap_3.2.0.bb
> b/recipes-devtools/python/python-ldap_3.2.0.bb
> index af8961e..8e43dee 100644
> --- a/recipes-devtools/python/python-ldap_3.2.0.bb
> +++ b/recipes-devtools/python/python-ldap_3.2.0.bb
> @@ -23,9 +23,15 @@ do_configure_prepend() {
>  sed -i -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:'
> setup.cfg
>  }
>
> +
>  RDEPENDS_${PN} = " \
>  ${PYTHON_PN}-pprint \
>  ${PYTHON_PN}-threading \
>  ${PYTHON_PN}-pyasn1 \
>  ${PYTHON_PN}-pyasn1-modules \
>  "
> +
> +python() {
> +if 'networking-layer' not in d.getVar('BBFILE_COLLECTIONS').split():
> +raise bb.parse.SkipRecipe('Requires networking-layer to be
> present to provide cyrus-sasl.')
> +}
> --
> 2.20.1
>
> --
> ___
> 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-python2][PATCH 2/2] python-backports-init: enable native and nativesdk

2020-02-26 Thread Tim Orling
Merged. Thank you!

On Tue, Feb 25, 2020 at 5:54 AM Martin Jansa  wrote:

> * needed for python-backports-functools-lru-cache-native
>
> Signed-off-by: Martin Jansa 
> ---
>  recipes-devtools/python/python-backports-init_1.0.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-devtools/python/python-backports-init_1.0.bb
> b/recipes-devtools/python/python-backports-init_1.0.bb
> index 29e712a..8b226aa 100644
> --- a/recipes-devtools/python/python-backports-init_1.0.bb
> +++ b/recipes-devtools/python/python-backports-init_1.0.bb
> @@ -23,3 +23,5 @@ do_install() {
>  }
>
>  FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/backports/__init__.py"
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.20.1
>
> --
> ___
> 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-python2][PATCH 1/2] python-backports-functools-lru-cache: enable native and nativesdk

2020-02-26 Thread Tim Orling
Merged. Thank you!

On Tue, Feb 25, 2020 at 5:54 AM Martin Jansa  wrote:

> * since this change:
>   commit d1a1c57d0e73251e86591214f30fc90010d5c111
>   Author: Tim Orling 
>   Date:   Mon Jan 20 11:31:59 2020 -0800
>
> python-beautifulsoup4: fix target RDEPENDS syntax
>
>   there is now this dependency:
>   'python-beautifulsoup4-native', 'python-soupsieve-native',
> 'python-backports-functools-lru-cache-native'
>   and error in world builds:
>   ERROR: Nothing RPROVIDES 'python-backports-functools-lru-cache-native'
> (but virtual:native:meta-python2/recipes-devtools/python/
> python-soupsieve_1.9.4.bb RDEPENDS on or otherwise requires it)
>
> Signed-off-by: Martin Jansa 
> ---
>  .../python/python-backports-functools-lru-cache_1.6.1.bb| 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-devtools/python/
> python-backports-functools-lru-cache_1.6.1.bb b/recipes-devtools/python/
> python-backports-functools-lru-cache_1.6.1.bb
> index 8c40cf5..aee130f 100644
> --- a/recipes-devtools/python/
> python-backports-functools-lru-cache_1.6.1.bb
> +++ b/recipes-devtools/python/
> python-backports-functools-lru-cache_1.6.1.bb
> @@ -25,3 +25,5 @@ do_install() {
>  }
>
>  FILES_${PN} =
> "${PYTHON_SITEPACKAGES_DIR}/backports/functools_lru_cache.py"
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.20.1
>
> --
> ___
> 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-python2][PATCH] python-asn1crypto: add target RDEPENDS

2020-01-23 Thread Tim Orling
* Missing run-time dependency:
  - python-numbers (fractions)

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-asn1crypto_1.3.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-devtools/python/python-asn1crypto_1.3.0.bb 
b/recipes-devtools/python/python-asn1crypto_1.3.0.bb
index 90c6d83d..2954eef6 100644
--- a/recipes-devtools/python/python-asn1crypto_1.3.0.bb
+++ b/recipes-devtools/python/python-asn1crypto_1.3.0.bb
@@ -22,6 +22,7 @@ RDEPENDS_${PN}_class-target += " \
 ${PYTHON_PN}-datetime \
 ${PYTHON_PN}-io \
 ${PYTHON_PN}-netclient \
+${PYTHON_PN}-numbers \
 ${PYTHON_PN}-subprocess \
 ${PYTHON_PN}-textutils \ 
 "
-- 
2.25.0

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


[oe] [meta-python2][PATCH 1/2] python-pyconnman: add target RDEPENDS

2020-01-24 Thread Tim Orling
* Missing run-time dependencies:
  - python-numbers
  - python-future

Signed-off-by: Tim Orling 
---
 .../python-pyconnman/python-pyconnman_0.2.0.bb| 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/recipes-connectivity/python-pyconnman/python-pyconnman_0.2.0.bb 
b/recipes-connectivity/python-pyconnman/python-pyconnman_0.2.0.bb
index 77ec0f72..770cc4b9 100644
--- a/recipes-connectivity/python-pyconnman/python-pyconnman_0.2.0.bb
+++ b/recipes-connectivity/python-pyconnman/python-pyconnman_0.2.0.bb
@@ -10,4 +10,10 @@ SRC_URI[sha256sum] = 
"d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f
 
 inherit pypi setuptools
 
-RDEPENDS_${PN} += "connman python-dbus python-pprint"
+RDEPENDS_${PN} += "\
+connman \
+python-dbus \
+python-future \
+python-numbers \
+python-pprint \
+"
-- 
2.25.0

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


[oe] [meta-python2][PATCH 2/2] python-future: add target RDEPENDS

2020-01-24 Thread Tim Orling
* Missing run-time dependency:
  - python-misc (future_builtins)

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-future_0.18.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-devtools/python/python-future_0.18.2.bb 
b/recipes-devtools/python/python-future_0.18.2.bb
index 2dfcd28a..8fa066db 100644
--- a/recipes-devtools/python/python-future_0.18.2.bb
+++ b/recipes-devtools/python/python-future_0.18.2.bb
@@ -13,4 +13,6 @@ PYPI_PACKAGE_HASH = 
"99abde815842bc6e97d5a7806ad51236630da14ca2f3b1fce94c0bb94d3
 
 inherit pypi setuptools
 
+RDEPENDS_${PN}_append_class-target = " python-misc"
+
 BBCLASSEXTEND = "native"
-- 
2.25.0

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


Re: [oe] [meta-oe][PATCH] packagegrop-meta-oe: remove blacklisted mpv

2020-01-25 Thread Tim Orling
If someone cares, it has been updated to python3
https://github.com/mpv-player/mpv/releases/tag/v0.31.0


On Sat, Jan 25, 2020 at 12:24 PM Martin Jansa 
wrote:

> * it's blacklisted with:
>   mpv_0.26.0.bb:PNBLACKLIST[mpv] = "Needs forward porting to use python3"
>
> Signed-off-by: Martin Jansa 
> ---
>  meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> index 865cbb0bfc..d5789a758d 100644
> --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
> @@ -207,7 +207,7 @@ RDEPENDS_packagegroup-meta-oe-multimedia ="\
>  sound-theme-freedesktop v4l-utils yavta wavpack libvpx \
>  ${@bb.utils.contains("DISTRO_FEATURES", "x11", "xpext pavucontrol
> xsp", "", d)} \
>  libmikmod \
> -${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "libmad
> faad2 mpv", "", d)} \
> +${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "libmad
> faad2", "", d)} \
>  "
>  RDEPENDS_packagegroup-meta-oe-multimedia_remove_libc-musl = "alsa-oss"
>
> --
> 2.20.1
>
> --
> ___
> 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-python] [PATCH] python-yappi: upgrade 1.0 -> 1.2.3

2020-01-22 Thread Tim Orling
On Wed, Jan 22, 2020 at 12:54 PM Khem Raj  wrote:

> On Thu, Jan 16, 2020 at 10:54 PM Zang Ruochen
>  wrote:
> >
> > Signed-off-by: Zang Ruochen 
> > ---
> >  meta-python/recipes-devtools/python/python-yappi.inc| 6 +++---
> >  .../python/{python-yappi_1.0.bb => python-yappi_1.2.3.bb}   | 0
> >  .../python/{python3-yappi_1.0.bb => python3-yappi_1.2.3.bb} | 0
> >  3 files changed, 3 insertions(+), 3 deletions(-)
> >  rename meta-python/recipes-devtools/python/{python-yappi_1.0.bb =>
> python-yappi_1.2.3.bb} (100%)
> >  rename meta-python/recipes-devtools/python/{python3-yappi_1.0.bb =>
> python3-yappi_1.2.3.bb} (100%)
> >
> > diff --git a/meta-python/recipes-devtools/python/python-yappi.inc
> b/meta-python/recipes-devtools/python/python-yappi.inc
> > index 54d408742..e84774f9d 100644
> > --- a/meta-python/recipes-devtools/python/python-yappi.inc
> > +++ b/meta-python/recipes-devtools/python/python-yappi.inc
> > @@ -2,10 +2,10 @@ SUMMARY  = "Yet Another Python Profiler"
> >  HOMEPAGE = "http://yappi.googlecode.com/;
> >
> >  LICENSE = "MIT"
> > -LIC_FILES_CHKSUM =
> "file://PKG-INFO;md5=9a193c13f346884e597acdcac7fe9ac8"
> > +LIC_FILES_CHKSUM =
> "file://PKG-INFO;md5=91efaebbca5a9e4db0870636d36e7b98"
> >
>
> what changed here? Please mention that in commit msg and also rebase
> it on the latest master
>
> > -SRC_URI[md5sum] = "a545101aa8a435b0780f06f4723f58c8"
> > -SRC_URI[sha256sum] =
> "7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf"
> > +SRC_URI[md5sum] = "36474a3e47ad9a2e4605b8e7e30a08fc"
> > +SRC_URI[sha256sum] =
> "b8db9bc607610d6da4e27e87ec828ebddec4bdaac89ca07ebfe9a153b0641580"
> >
> >  inherit pypi setuptools
> >
> > diff --git a/meta-python/recipes-devtools/python/python-yappi_1.0.bb
> b/meta-python/recipes-devtools/python/python-yappi_1.2.3.bb
> > similarity index 100%
> > rename from meta-python/recipes-devtools/python/python-yappi_1.0.bb
> > rename to meta-python/recipes-devtools/python/python-yappi_1.2.3.bb


The py2 recipe can be patched on meta-python2 if you so desire.
We are dropping py2 recipes from meta-python.

>
> > diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.0.bb
> b/meta-python/recipes-devtools/python/python3-yappi_1.2.3.bb
> > similarity index 100%
> > rename from meta-python/recipes-devtools/python/python3-yappi_1.0.bb
> > rename to meta-python/recipes-devtools/python/python3-yappi_1.2.3.bb
> > --
> > 2.20.1
> >
> >
> >
> > --
> > ___
> > 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-python][PATCH] python-waitress: add missing target RDEPENDS

2020-01-22 Thread Tim Orling
* Missing run-time dependencies:
${PYTHON_PN}-datetime
${PYTHON_PN}-io
${PYTHON_PN}-logging
${PYTHON_PN}-re

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-waitress_1.4.1.bb | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/recipes-devtools/python/python-waitress_1.4.1.bb 
b/recipes-devtools/python/python-waitress_1.4.1.bb
index 7ab4aaa0..3e144b5c 100644
--- a/recipes-devtools/python/python-waitress_1.4.1.bb
+++ b/recipes-devtools/python/python-waitress_1.4.1.bb
@@ -10,3 +10,10 @@ SRC_URI[md5sum] = "e6b9f0406cb4e6fedcc3add96411786d"
 SRC_URI[sha256sum] = 
"f4118cbce75985fd60aeb4f0d781aba8dc7ae28c18e50753e913d7a7dee76b62"
 
 inherit setuptools pypi
+
+RDEPENDS_${PN}_append_class-target = "\
+${PYTHON_PN}-datetime \
+${PYTHON_PN}-io \
+${PYTHON_PN}-logging \
+${PYTHON_PN}-re \
+"
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-pyperf: add missing RDEPENDS

2020-01-22 Thread Tim Orling
* Missing run-time dependencies:
${PYTHON_PN}-contextlib
${PYTHON_PN}-datetime
${PYTHON_PN}-fcntl
${PYTHON_PN}-math
${PYTHON_PN}-numbers (fractions)
${PYTHON_PN}-six

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-pyperf_1.7.0.bb | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/recipes-devtools/python/python-pyperf_1.7.0.bb 
b/recipes-devtools/python/python-pyperf_1.7.0.bb
index 20aa7a31..e722b08d 100644
--- a/recipes-devtools/python/python-pyperf_1.7.0.bb
+++ b/recipes-devtools/python/python-pyperf_1.7.0.bb
@@ -23,4 +23,12 @@ PYPI_PACKAGE = "pyperf"
 
 DEPENDS += "${PYTHON_PN}-six-native"
 
-RDEPENDS_${PN} += "${PYTHON_PN}-statistics"
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-contextlib \
+${PYTHON_PN}-datetime \
+${PYTHON_PN}-fcntl \
+${PYTHON_PN}-math \
+${PYTHON_PN}-numbers \
+${PYTHON_PN}-six \
+${PYTHON_PN}-statistics \
+"
-- 
2.25.0

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


Re: [oe] [meta-python2][PATCH] python-pyconnman: Fix conman -> connman typo in rdeps

2020-01-22 Thread Tim Orling
On Wed, Jan 22, 2020 at 10:54 AM Khem Raj  wrote:

> Signed-off-by: Khem Raj 
> ---
>  recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-connectivity/python-pyconnman/
> python-pyconnman_0.1.0.bb b/recipes-connectivity/python-pyconnman/
> python-pyconnman_0.1.0.bb
> index 761ce08..264d2dd 100644
> --- a/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb
> +++ b/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb
> @@ -10,4 +10,4 @@ SRC_URI[sha256sum] =
> "46c64c0692063fd0c9fb0216d49f7884bec9fa9760d8473db4b1e2f816
>
>  inherit pypi setuptools
>
> -RDEPENDS_${PN} += "conman python-dbus python-pprint"
> +RDEPENDS_${PN} += "connman python-dbus python-pprint"
>

Hmmm. Not sure how that happened as it was proper once:
commit 646505a63b6903d1328f5e24784bb7bd854eed9d

Thank you. This will merge tonight.

-- 
> 2.25.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


Re: [oe] [meta-python2][PATCH] python-pyconnman: Fix conman -> connman typo in rdeps

2020-01-22 Thread Tim Orling
On Wed, Jan 22, 2020 at 6:38 PM Tim Orling  wrote:

>
>
> On Wed, Jan 22, 2020 at 10:54 AM Khem Raj  wrote:
>
>> Signed-off-by: Khem Raj 
>>
> Reviewed-by: Tim Orling 

> ---
>>  recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/recipes-connectivity/python-pyconnman/
>> python-pyconnman_0.1.0.bb b/recipes-connectivity/python-pyconnman/
>> python-pyconnman_0.1.0.bb
>> index 761ce08..264d2dd 100644
>> --- a/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb
>> +++ b/recipes-connectivity/python-pyconnman/python-pyconnman_0.1.0.bb
>> @@ -10,4 +10,4 @@ SRC_URI[sha256sum] =
>> "46c64c0692063fd0c9fb0216d49f7884bec9fa9760d8473db4b1e2f816
>>
>>  inherit pypi setuptools
>>
>> -RDEPENDS_${PN} += "conman python-dbus python-pprint"
>> +RDEPENDS_${PN} += "connman python-dbus python-pprint"
>>
>
> Hmmm. Not sure how that happened as it was proper once:
> commit 646505a63b6903d1328f5e24784bb7bd854eed9d
>
> Thank you. This will merge tonight.
>
> --
>> 2.25.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-python2][PATCH v2 1/2] python-booleanpy: add RDEPENDS and enable ptest

2020-01-22 Thread Tim Orling
Missing run-time dependency on python-

This package is a great example of how simple
python module ptest can be, so enable ptest,
including ptest-only dependencies.

Signed-off-by: Tim Orling 
---
 .../python/python-booleanpy/run-ptest |  2 ++
 .../python/python-booleanpy_3.7.bb| 19 ++-
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 recipes-devtools/python/python-booleanpy/run-ptest

diff --git a/recipes-devtools/python/python-booleanpy/run-ptest 
b/recipes-devtools/python/python-booleanpy/run-ptest
new file mode 100644
index ..0ba239c2
--- /dev/null
+++ b/recipes-devtools/python/python-booleanpy/run-ptest
@@ -0,0 +1,2 @@
+#!/bin/sh
+py.test
diff --git a/recipes-devtools/python/python-booleanpy_3.7.bb 
b/recipes-devtools/python/python-booleanpy_3.7.bb
index feb9062f..b80e4344 100644
--- a/recipes-devtools/python/python-booleanpy_3.7.bb
+++ b/recipes-devtools/python/python-booleanpy_3.7.bb
@@ -4,11 +4,28 @@ HOMEPAGE = "https://github.com/bastikr/boolean.py;
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e319747a5eb94cddf646037c01ddba47"
 
+SRC_URI += "file://run-ptest"
 SRC_URI[md5sum] = "1189d115a38f84f5df743014926a9159"
 SRC_URI[sha256sum] = 
"bd19b412435611ecc712603d0fd7d0e280e24698e7a6e3d5f610473870c5dd1e"
 
 PYPI_PACKAGE = "boolean.py"
 
-inherit pypi setuptools
+inherit pypi setuptools ptest
+
+RDEPENDS_${PN}_append_class-target = "\
+${PYTHON_PN}-lang \
+"
+
+RDEPENDS_${PN}-ptest += "\
+${PYTHON_PN}-unittest \
+${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+install -d ${D}${PTEST_PATH}/boolean
+cp -rf ${S}/boolean/test_boolean.py  ${D}${PTEST_PATH}/boolean/
+}
+
+FILES_${PN}-test = ""
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0

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


[oe] [meta-python2][PATCH v2 2/2] packagegroup-meta-python2: add python-booleanpy

2020-01-22 Thread Tim Orling
Add new recipe to basic and ptest packagegroups

Signed-off-by: Tim Orling 
---
 recipes-core/packagegroups/packagegroup-meta-python2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-core/packagegroups/packagegroup-meta-python2.bb 
b/recipes-core/packagegroups/packagegroup-meta-python2.bb
index 95f9c02f..9a8826ab 100644
--- a/recipes-core/packagegroups/packagegroup-meta-python2.bb
+++ b/recipes-core/packagegroups/packagegroup-meta-python2.bb
@@ -58,7 +58,7 @@ RDEPENDS_packagegroup-meta-python2 = "\
 python-parse-type python-ipaddress python-dbus python-cpuset 
python-distutils-extra \
 python-futures python-jsmin python-pygobject python-pytoml python-six 
python-which \
 python-netifaces python-configargparse python-sqlparse python-soupsieve 
python-wrapt \
-python-deprecated \
+python-deprecated python-booleanpy \
 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "python-pam pamela", "", 
d)} \
 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "python-systemd", "", 
d)} \
 "
@@ -82,6 +82,7 @@ RDEPENDS_packagegroup-meta-python2-connectivity = "\
 "
 
 RDEPENDS_packagegroup-meta-python2-ptest = "\
+python-booleanpy-ptest \
 python-cryptography-ptest \
 python-pygpgme-ptest \
 "
-- 
2.25.0

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


[oe] [meta-python2][PATCH 2/2] packageroup-meta-pytho2: add python-booleanpy

2020-01-22 Thread Tim Orling
Add new recipe to basic and ptest packagegroups

Signed-off-by: Tim Orling 
---
 recipes-core/packagegroups/packagegroup-meta-python2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-core/packagegroups/packagegroup-meta-python2.bb 
b/recipes-core/packagegroups/packagegroup-meta-python2.bb
index 95f9c02f..9a8826ab 100644
--- a/recipes-core/packagegroups/packagegroup-meta-python2.bb
+++ b/recipes-core/packagegroups/packagegroup-meta-python2.bb
@@ -58,7 +58,7 @@ RDEPENDS_packagegroup-meta-python2 = "\
 python-parse-type python-ipaddress python-dbus python-cpuset 
python-distutils-extra \
 python-futures python-jsmin python-pygobject python-pytoml python-six 
python-which \
 python-netifaces python-configargparse python-sqlparse python-soupsieve 
python-wrapt \
-python-deprecated \
+python-deprecated python-booleanpy \
 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "python-pam pamela", "", 
d)} \
 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "python-systemd", "", 
d)} \
 "
@@ -82,6 +82,7 @@ RDEPENDS_packagegroup-meta-python2-connectivity = "\
 "
 
 RDEPENDS_packagegroup-meta-python2-ptest = "\
+python-booleanpy-ptest \
 python-cryptography-ptest \
 python-pygpgme-ptest \
 "
-- 
2.25.0

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


[oe] [meta-python2][PATCH 1/2] python-booleanpy: add RDEPENDS and enable ptest

2020-01-22 Thread Tim Orling
Missing run-time dependency on python-

This package is a great example of how simple
python module ptest can be, so enable ptest,
including ptest-only dependencies.

Signed-off-by: Tim Orling 
---
 .../python/python-booleanpy/run-ptest |  2 ++
 .../python/python-booleanpy_3.7.bb| 19 ++-
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 recipes-devtools/python/python-booleanpy/run-ptest

diff --git a/recipes-devtools/python/python-booleanpy/run-ptest 
b/recipes-devtools/python/python-booleanpy/run-ptest
new file mode 100644
index ..0ba239c2
--- /dev/null
+++ b/recipes-devtools/python/python-booleanpy/run-ptest
@@ -0,0 +1,2 @@
+#!/bin/sh
+py.test
diff --git a/recipes-devtools/python/python-booleanpy_3.7.bb 
b/recipes-devtools/python/python-booleanpy_3.7.bb
index feb9062f..b80e4344 100644
--- a/recipes-devtools/python/python-booleanpy_3.7.bb
+++ b/recipes-devtools/python/python-booleanpy_3.7.bb
@@ -4,11 +4,28 @@ HOMEPAGE = "https://github.com/bastikr/boolean.py;
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e319747a5eb94cddf646037c01ddba47"
 
+SRC_URI += "file://run-ptest"
 SRC_URI[md5sum] = "1189d115a38f84f5df743014926a9159"
 SRC_URI[sha256sum] = 
"bd19b412435611ecc712603d0fd7d0e280e24698e7a6e3d5f610473870c5dd1e"
 
 PYPI_PACKAGE = "boolean.py"
 
-inherit pypi setuptools
+inherit pypi setuptools ptest
+
+RDEPENDS_${PN}_append_class-target = "\
+${PYTHON_PN}-lang \
+"
+
+RDEPENDS_${PN}-ptest += "\
+${PYTHON_PN}-unittest \
+${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+install -d ${D}${PTEST_PATH}/boolean
+cp -rf ${S}/boolean/test_boolean.py  ${D}${PTEST_PATH}/boolean/
+}
+
+FILES_${PN}-test = ""
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-pygobject: add missing target RDEPENDS

2020-01-23 Thread Tim Orling
* Missing run-time dependency:
  - python-io (StringIO)

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-pygobject_3.34.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-devtools/python/python-pygobject_3.34.0.bb 
b/recipes-devtools/python/python-pygobject_3.34.0.bb
index 287846d9..2fd0b513 100644
--- a/recipes-devtools/python/python-pygobject_3.34.0.bb
+++ b/recipes-devtools/python/python-pygobject_3.34.0.bb
@@ -31,7 +31,7 @@ PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , "
 PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, 
-Dstagedir="", , "
 
 BBCLASSEXTEND = "native"
-RDEPENDS_${PN} = "python-pkgutil"
+RDEPENDS_${PN} = "python-io python-pkgutil"
 RDEPENDS_${PN}_class-native = ""
 
 do_install_append() {
-- 
2.25.0

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


Re: [oe] [OE-core] python2-less meta-openembedded build results

2020-01-27 Thread Tim Orling
On Mon, Jan 27, 2020 at 10:06 AM Khem Raj  wrote:

> On Mon, Jan 27, 2020 at 8:54 AM Andrey Zhizhikin 
> wrote:
> >
> > On Mon, Jan 27, 2020 at 4:24 PM Khem Raj  wrote:
> > >
> > > Awesome, thanks for the help!
> >
> > No probs!
> >
> > I've actually looked into the list and would have couple of
> > components, which are sort-of "python2-only":
> > - dnssec-conf: did not receive any update since 9(!) years, written
> > totally in python2. Should this be bumped up of bumped out of
> > [oe-core]?
>
> yes meta-python2 is a good place for them if they are primarily
> written in python, otherwise retire or blacklist them
>

I agree. This is one of use cases for which meta-python2 was created.

>
> > - mozjs: this one pulls the most of dependencies and produces the most
> > of errors. It's version is also quite old (60.9.0esr), and there is a
> > lot of python2-only code inside. Should this one be bumped out? Latest
> > ESR version available upstream is
> > 68.4.2esr [1], dated 01/20/2020
> >
>
> Andreas is working on it IIRC, we have updated to latest 60.x ESR
> but perhaps 68.x might be a path if it addresses py3 migration.
>
> > For some other recipes I would send out the patch series later today.
> >
>
> thanks
>
> > [1]: https://archive.mozilla.org/pub/firefox/releases/68.4.2esr/source/
> >
> > >
> > > On Mon, Jan 27, 2020 at 2:51 AM Andrey Zhizhikin 
> wrote:
> > > >
> > > > Hello Raj,
> > > >
> > > > On Fri, Jan 24, 2020 at 8:27 PM Khem Raj  wrote:
> > > > >
> > > > > On 1/20/20 8:51 AM, Andrey Zhizhikin wrote:
> > > > > > On Mon, Jan 20, 2020 at 4:52 PM Khem Raj 
> wrote:
> > > > > >>
> > > > > >> Hi all
> > > > > >>
> > > > > >> Recently py2 is removed from oe-core, So I did quick patches to
> get a
> > > > > >> world build going. And
> > > > > >> here are initial failures, please help out with recipes your
> can or
> > > > > >> care for. Eventually, the remaining
> > > > > >> ones we can blacklist for 3.1 release.
> > > > > >>
> > > > > >> http://errors.yoctoproject.org/Errors/Build/97185/
> > > > > >>
> > > > > >> I will post more arches as they become available. If you want
> to try
> > > > > >> the same for machines/distros you can try yoe/mut for meta-oe
> > > > > >
> > > > > > I've actually asked Ross about similar failures, specifically in
> > > > > > [meta-openembeeded/meta-python] where there is a good mix of
> Pytho2
> > > > > > and Python3 still present. I've started to remove those
> yesterday, and
> > > > > > would continue with that layer further.
> > > > > >
> > > > > >>
> > > > > >>
> https://git.openembedded.org/meta-openembedded-contrib/log/?h=yoe/mut
> > > > > >>
> > > > >
> > > > > All these changes are now in master and its again buildable, with
> or
> > > > > without meta-python2, with meta-python2, its back to where it was
> with
> > > > > everything  building however, without py2 layer we have some work
> to do
> > > > > so if you are interested in this here [1] is initial list of
> failures
> > > > > I will keep posting more as we go along.
> > > > >
> > > >
> > > > Thanks a lot for the update! I've actually saw this in the master
> > > > before this mail and went ahead with pulling the latest - my builds
> > > > for i.MX8M series went fine.
> > > >
> > > > I'd also have a look at remaining things and try to fix some of those
> > > > as I'll progress.
> > > >
> > > > > [1]
> > > > >
> https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/220/steps/8/logs/errors
> > > >
> > > > --
> > > > Regards,
> > > > Andrey.
> >
> >
> >
> > --
> > Regards,
> > Andrey.
> --
> ___
> 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-python2][PATCH] dnssec-conf: move recipe from oe-core to meta-python2

2020-01-27 Thread Tim Orling
It's moving from meta-networking, not oe-core. I'll simply change the
commit log locally before merging.

On Mon, Jan 27, 2020 at 3:12 PM Andrey Zhizhikin  wrote:

> dnssec-conf did not receive any updates since 2010 and relies heavily on
> python2 code base.
>
> Move recipe to this layer, since python2 support has been dropped in
> oe-core.
>
> Signed-off-by: Andrey Zhizhikin 
> ---
>  .../dnssec-conf/dnssec-conf_2.02.bb   | 35 +++
>  1 file changed, 35 insertions(+)
>  create mode 100644 recipes-support/dnssec-conf/dnssec-conf_2.02.bb
>
> diff --git a/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
> b/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
> new file mode 100644
> index 000..ca59bd2
> --- /dev/null
> +++ b/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
> @@ -0,0 +1,35 @@
> +SUMMARY = "DNSSEC and DLV configuration and priming tool"
> +DESCRIPTION = "\
> +DNSSEC configuration and priming tool. Keys are required until the root \
> +is signed, as well as for local unpublished DNSSEC keys to be preloaded \
> +into the recursive nameserver. These DNSSEC configuration files can be \
> +directly included in the bind or unbound nameserver configuration files. \
> +dnssec-conf includes a commandline configuration client for Bind and \
> +Unbound, known DNSSEC keys, URL's to official publication pages of keys, \
> +and harvested keys, as well a script to harvest DNSKEY's from DNS. \
> +See also: system-config-dnssec"
> +HOMEPAGE = "https://github.com/xelerance/dnssec-conf;
> +SECTION = "net"
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=0636e73ff0215e8d672dc4c32c317bb3"
> +DEPENDS += "xmlto-native docbook-xml-dtd4-native \
> +docbook-xsl-stylesheets-native libxslt-native"
> +
> +SRC_URI = "git://github.com/xelerance/dnssec-conf.git"
> +SRCREV = "8e799683736b4a7b5e5e78f98fba0a6f48393537"
> +
> +S = "${WORKDIR}/git"
> +
> +do_install () {
> +rm -rf ${D}
> +make PREFIX=${prefix} DESTDIR=${D} ETCDIR=${D}${sysconfdir} install
> +# We no longer ship trust anchors. Most of these are in the DLV
> Registry now.
> +# and it prevents the problem of shipping outdated trust anchors.
> +# For DLV, we ship the ISC DLV Registry key
> +rm -rf ${D}${sysconfdir}/pki/dnssec-keys/harvest/*
> +rm -rf ${D}${sysconfdir}/pki/dnssec-keys/production/reverse/*
> +install -d -m 0755 ${D}${sysconfdir}/sysconfig
> +install -m 0644 packaging/fedora/dnssec.sysconfig
> ${D}${sysconfdir}/sysconfig/dnssec
> +}
> +
> +RDEPENDS_${PN} = "python"
> --
> 2.17.1
>
> --
> ___
> 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-python2][PATCH 2/2] dnssec-conf: add missing RDEPENDS

2020-01-27 Thread Tim Orling
Fixes:
"dnssec-configure requires the pyparser package from
http://pyparsing.wikispaces.com
[...]
"

Fixes:
"dnskey-pull requires the python-dns package from
http://www.dnspython.org/
[...]
"

It has dependencies on the split packages from python manifest, but
since it RDEPENDS on "python", all standard lib modules are pulled in.
If someone requires a smaller image, the RDEPENDS could be paired down.

It also requires "curl" as shown in INSTALL and:
https://github.com/xelerance/dnssec-conf/blob/8e799683736b4a7b5e5e78f98fba0a6f48393537/dnskey-pull#L86

It also requires "host" (from bind-utils) as shown in:
https://github.com/xelerance/dnssec-conf/blob/8e799683736b4a7b5e5e78f98fba0a6f48393537/dnskey-pull#L299

It recommends "bind", but another nameserver can be used. That level of
complexity is left up to someone that needs a different configuration.

Signed-off-by: Tim Orling 
---
 recipes-support/dnssec-conf/dnssec-conf_2.02.bb | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/recipes-support/dnssec-conf/dnssec-conf_2.02.bb 
b/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
index ca59bd21..1b767a39 100644
--- a/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
+++ b/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
@@ -32,4 +32,10 @@ do_install () {
 install -m 0644 packaging/fedora/dnssec.sysconfig 
${D}${sysconfdir}/sysconfig/dnssec
 }
 
-RDEPENDS_${PN} = "python"
+RDEPENDS_${PN} = "\
+bind-utils \
+curl \
+python \
+python-dnspython \
+python-pyparsing \
+"
-- 
2.25.0

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


[oe] [meta-python2][PATCH 1/2] dnssec-conf: move recipe from meta-networking

2020-01-27 Thread Tim Orling
From: Andrey Zhizhikin 

dnssec-conf did not receive any updates since 2010 and relies heavily on
python2 code base.

Move recipe to meta-python2 layer, since python2 support has been dropped in
oe-core.

Signed-off-by: Andrey Zhizhikin 
Signed-off-by: Tim Orling 
---
 .../dnssec-conf/dnssec-conf_2.02.bb   | 35 +++
 1 file changed, 35 insertions(+)
 create mode 100644 recipes-support/dnssec-conf/dnssec-conf_2.02.bb

diff --git a/recipes-support/dnssec-conf/dnssec-conf_2.02.bb 
b/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
new file mode 100644
index ..ca59bd21
--- /dev/null
+++ b/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
@@ -0,0 +1,35 @@
+SUMMARY = "DNSSEC and DLV configuration and priming tool"
+DESCRIPTION = "\
+DNSSEC configuration and priming tool. Keys are required until the root \
+is signed, as well as for local unpublished DNSSEC keys to be preloaded \
+into the recursive nameserver. These DNSSEC configuration files can be \
+directly included in the bind or unbound nameserver configuration files. \
+dnssec-conf includes a commandline configuration client for Bind and \
+Unbound, known DNSSEC keys, URL's to official publication pages of keys, \
+and harvested keys, as well a script to harvest DNSKEY's from DNS. \
+See also: system-config-dnssec"
+HOMEPAGE = "https://github.com/xelerance/dnssec-conf;
+SECTION = "net"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0636e73ff0215e8d672dc4c32c317bb3"
+DEPENDS += "xmlto-native docbook-xml-dtd4-native \
+docbook-xsl-stylesheets-native libxslt-native"
+
+SRC_URI = "git://github.com/xelerance/dnssec-conf.git"
+SRCREV = "8e799683736b4a7b5e5e78f98fba0a6f48393537"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+rm -rf ${D}
+make PREFIX=${prefix} DESTDIR=${D} ETCDIR=${D}${sysconfdir} install
+# We no longer ship trust anchors. Most of these are in the DLV Registry 
now.
+# and it prevents the problem of shipping outdated trust anchors.
+# For DLV, we ship the ISC DLV Registry key
+rm -rf ${D}${sysconfdir}/pki/dnssec-keys/harvest/*
+rm -rf ${D}${sysconfdir}/pki/dnssec-keys/production/reverse/*
+install -d -m 0755 ${D}${sysconfdir}/sysconfig
+install -m 0644 packaging/fedora/dnssec.sysconfig 
${D}${sysconfdir}/sysconfig/dnssec
+}
+
+RDEPENDS_${PN} = "python"
-- 
2.25.0

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


Re: [oe] [meta-python2][PATCH] dnssec-conf: move recipe from oe-core to meta-python2

2020-01-27 Thread Tim Orling
On Mon, Jan 27, 2020 at 6:47 PM Tim Orling  wrote:

> It's moving from meta-networking, not oe-core. I'll simply change the
> commit log locally before merging.
>
> On Mon, Jan 27, 2020 at 3:12 PM Andrey Zhizhikin 
> wrote:
>
>> dnssec-conf did not receive any updates since 2010 and relies heavily on
>> python2 code base.
>>
>> Move recipe to this layer, since python2 support has been dropped in
>> oe-core.
>>
>>
There were missing RDEPENDS which I have fixed and sent to ML (already
merged). While I was at it I sent the version of this patch that was
actually merged. Obviously nobody has been using this since it could not
have worked without the RDEPENDS.


Signed-off-by: Andrey Zhizhikin 
>> ---
>>  .../dnssec-conf/dnssec-conf_2.02.bb   | 35 +++
>>  1 file changed, 35 insertions(+)
>>  create mode 100644 recipes-support/dnssec-conf/dnssec-conf_2.02.bb
>>
>> diff --git a/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
>> b/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
>> new file mode 100644
>> index 000..ca59bd2
>> --- /dev/null
>> +++ b/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
>> @@ -0,0 +1,35 @@
>> +SUMMARY = "DNSSEC and DLV configuration and priming tool"
>> +DESCRIPTION = "\
>> +DNSSEC configuration and priming tool. Keys are required until the root \
>> +is signed, as well as for local unpublished DNSSEC keys to be preloaded \
>> +into the recursive nameserver. These DNSSEC configuration files can be \
>> +directly included in the bind or unbound nameserver configuration files.
>> \
>> +dnssec-conf includes a commandline configuration client for Bind and \
>> +Unbound, known DNSSEC keys, URL's to official publication pages of keys,
>> \
>> +and harvested keys, as well a script to harvest DNSKEY's from DNS. \
>> +See also: system-config-dnssec"
>> +HOMEPAGE = "https://github.com/xelerance/dnssec-conf;
>> +SECTION = "net"
>> +LICENSE = "GPLv2+"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=0636e73ff0215e8d672dc4c32c317bb3"
>> +DEPENDS += "xmlto-native docbook-xml-dtd4-native \
>> +docbook-xsl-stylesheets-native libxslt-native"
>> +
>> +SRC_URI = "git://github.com/xelerance/dnssec-conf.git"
>> +SRCREV = "8e799683736b4a7b5e5e78f98fba0a6f48393537"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +do_install () {
>> +rm -rf ${D}
>> +make PREFIX=${prefix} DESTDIR=${D} ETCDIR=${D}${sysconfdir} install
>> +# We no longer ship trust anchors. Most of these are in the DLV
>> Registry now.
>> +# and it prevents the problem of shipping outdated trust anchors.
>> +# For DLV, we ship the ISC DLV Registry key
>> +rm -rf ${D}${sysconfdir}/pki/dnssec-keys/harvest/*
>> +rm -rf ${D}${sysconfdir}/pki/dnssec-keys/production/reverse/*
>> +install -d -m 0755 ${D}${sysconfdir}/sysconfig
>> +install -m 0644 packaging/fedora/dnssec.sysconfig
>> ${D}${sysconfdir}/sysconfig/dnssec
>> +}
>> +
>> +RDEPENDS_${PN} = "python"
>> --
>> 2.17.1
>>
>> --
>> ___
>> 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-python2][RFC] lib/oeqa/runtime/cases/python2_module.py: add test

2020-02-05 Thread Tim Orling
On Wed, Feb 5, 2020 at 3:18 PM Randy MacLeod 
wrote:

> On 1/25/20 3:25 AM, Tim Orling wrote:
> > This test case is intentionally limited to only tesing one
> > python package/recipe at a time, because the use case is to
> > determine whether dependencies have been met for a minimal
> > image with 'only' the package under test installed. This
> > dependency checking must include the packages-split python
> > standard library modules that OE/YP creates from the python
> > manifest.
> >
> > TODO: Be smarter about PYTHON_IMPORTS_UNDER_TEST, as this
> >should be discoverable from /usr/lib/python2.7/site-packages
> >or from the rpm/deb/ipk of the python package itself.
> >What we do NOT want to do is use pkgdata or some other
> >magical Python script that will add dependencies to the
> >test image. We need as pristine and minimalist a test
> >environment as we can get.
> >
> > TODO: Use a minimal master test image and install the package under
> >test from a package feed using a package manager in the master
> >test image. This would allow for much shorter developement
> >cycles.
> >
> > TODO: Parse the ImportError and give hints about what dependencies
> >are missing.
>
> This looks useful. Do you have the python3 version done but not sent
> or should Trevor see if he can get that to work?
>
> >
> > Example configuration in local.conf:
> >
> > IMAGE_CLASSES += " testimage"
> > DISTRO_FEAURES_append = " ptest"
> > EXTRA_IMAGE_FEATURES = "debug-tweaks"
> > TESTIMAGE_AUTO = "1"
> > TEST_SUITES = " ping ssh python2 ptest python2_module"
> > TEST_QEMUPARAMS += "-smp 4 -m 8192"
> > TEST_RUNQEMUPARAMS += "kvm gl"
> > IMAGE_ROOTFS_SIZE ?= "8192"
> > IMAGE_ROOTFS_EXTRA_SPACE_append =
> "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "", d)}"
> > IMAGE_INSTALL_append = " ptest-runner dropbear procps coreutils iproute2
> sysstat"
> Is this really a minimal set of dependencies and if so, why do you need:
> procps coreutils iproute2 sysstat
> ?
>
>
Those are required to make the QEMU runner dump any missing things, like
TUN/TAP. So no, not required. The
host_dump stuff isn't really all that helpful anyway. If you can run
"testimage" with KVM, TUN/TAP and virgl/gl then
you have all the speed ups that I was trying to make sure were working on
the platform running these tests (with gitlab ci runner)

The fact that the docker-executor in gitlab does not allow the --add-groups
option to the docker command line gets in the way
anyway... so you would have to run the container privileged and I'm not
going to do that ;)

The user in the docker container does not have permissions on  /dev/kvm,
etc. But that has nothing to do with this code :)


> I should probably try it before replying but
> it's already been a long day!
>
> ../Randy
>
> > PYTHON_PACKAGE_UNDER_TEST = "python-pymongo"
> > IMAGE_INSTALL_append = " ${PYTHON_PACKAGE_UNDER_TEST}"
> > PYTHON_IMPORTS_UNDER_TEST = "bson gridfs pymongo"
> >
> > Signed-off-by: Tim Orling 
> > ---
> >   lib/oeqa/runtime/cases/python2_module.py | 97 
> >   1 file changed, 97 insertions(+)
> >   create mode 100644 lib/oeqa/runtime/cases/python2_module.py
> >
> > diff --git a/lib/oeqa/runtime/cases/python2_module.py
> b/lib/oeqa/runtime/cases/python2_module.py
> > new file mode 100644
> > index ..59ae00fb
> > --- /dev/null
> > +++ b/lib/oeqa/runtime/cases/python2_module.py
> > @@ -0,0 +1,97 @@
> > +#
> > +# SPDX-License-Identifier: MIT
> > +#
> > +
> > +import os
> > +
> > +from oeqa.runtime.case import OERuntimeTestCase
> > +from oeqa.core.decorator.depends import OETestDepends
> > +from oeqa.core.decorator.data import OETestDataDepends
> > +from oeqa.runtime.decorator.package import OEHasPackage
> > +
> > +
> > +class PythonModuleTest(OERuntimeTestCase):
> > +"""This test case is intentionally limited to only tesing one
> > +   python package/recipe at a time, because the use case is to
> > +   determine whether dependencies have been met for a minimal
> > +   image with 'only' the package under test installed. This
> > +   dependency checking must include the packages-split python
> > +   standard library modules that OE/YP creates from the python
> > 

Re: [oe] [meta-python2][RFC] lib/oeqa/runtime/cases/python2_module.py: add test

2020-02-05 Thread Tim Orling
On Wed, Feb 5, 2020 at 3:18 PM Randy MacLeod 
wrote:

> On 1/25/20 3:25 AM, Tim Orling wrote:
> > This test case is intentionally limited to only tesing one
> > python package/recipe at a time, because the use case is to
> > determine whether dependencies have been met for a minimal
> > image with 'only' the package under test installed. This
> > dependency checking must include the packages-split python
> > standard library modules that OE/YP creates from the python
> > manifest.
> >
> > TODO: Be smarter about PYTHON_IMPORTS_UNDER_TEST, as this
> >should be discoverable from /usr/lib/python2.7/site-packages
> >or from the rpm/deb/ipk of the python package itself.
> >What we do NOT want to do is use pkgdata or some other
> >magical Python script that will add dependencies to the
> >test image. We need as pristine and minimalist a test
> >environment as we can get.
> >
> > TODO: Use a minimal master test image and install the package under
> >test from a package feed using a package manager in the master
> >test image. This would allow for much shorter developement
> >cycles.
> >
> > TODO: Parse the ImportError and give hints about what dependencies
> >are missing.
>
> This looks useful. Do you have the python3 version done but not sent
> or should Trevor see if he can get that to work?
>
>
I have not started the python3 version yet. To do what is functional here
will
be trivial changes. I'd love to see traction on the TODO list and it should
be interesting
work for Trevor to do. This tool is now in my "daily" workflow.

There is one possible issue, which is a change in the variables does not
necessarily trigger
the tests you expect. The symptom is running testimage tests the last thing
you had the variable
set to, not the current value in local.conf. There are other places in the
code base where variables
are watched and trigger changes appropriately. I did not go that far yet.

Also, the variables names between py2 and py3 would need to be different,
but that is a thing
of the past for master, so not a real issue.


> >
> > Example configuration in local.conf:
> >
> > IMAGE_CLASSES += " testimage"
> > DISTRO_FEAURES_append = " ptest"
> > EXTRA_IMAGE_FEATURES = "debug-tweaks"
> > TESTIMAGE_AUTO = "1"
> > TEST_SUITES = " ping ssh python2 ptest python2_module"
> > TEST_QEMUPARAMS += "-smp 4 -m 8192"
> > TEST_RUNQEMUPARAMS += "kvm gl"
> > IMAGE_ROOTFS_SIZE ?= "8192"
> > IMAGE_ROOTFS_EXTRA_SPACE_append =
> "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "", d)}"
> > IMAGE_INSTALL_append = " ptest-runner dropbear procps coreutils iproute2
> sysstat"
> Is this really a minimal set of dependencies and if so, why do you need:
> procps coreutils iproute2 sysstat
> ?
>
> I should probably try it before replying but
> it's already been a long day!
>
> ../Randy
>
> > PYTHON_PACKAGE_UNDER_TEST = "python-pymongo"
> > IMAGE_INSTALL_append = " ${PYTHON_PACKAGE_UNDER_TEST}"
> > PYTHON_IMPORTS_UNDER_TEST = "bson gridfs pymongo"
> >
> > Signed-off-by: Tim Orling 
> > ---
> >   lib/oeqa/runtime/cases/python2_module.py | 97 
> >   1 file changed, 97 insertions(+)
> >   create mode 100644 lib/oeqa/runtime/cases/python2_module.py
> >
> > diff --git a/lib/oeqa/runtime/cases/python2_module.py
> b/lib/oeqa/runtime/cases/python2_module.py
> > new file mode 100644
> > index ..59ae00fb
> > --- /dev/null
> > +++ b/lib/oeqa/runtime/cases/python2_module.py
> > @@ -0,0 +1,97 @@
> > +#
> > +# SPDX-License-Identifier: MIT
> > +#
> > +
> > +import os
> > +
> > +from oeqa.runtime.case import OERuntimeTestCase
> > +from oeqa.core.decorator.depends import OETestDepends
> > +from oeqa.core.decorator.data import OETestDataDepends
> > +from oeqa.runtime.decorator.package import OEHasPackage
> > +
> > +
> > +class PythonModuleTest(OERuntimeTestCase):
> > +"""This test case is intentionally limited to only tesing one
> > +   python package/recipe at a time, because the use case is to
> > +   determine whether dependencies have been met for a minimal
> > +   image with 'only' the package under test installed. This
> > +   dependency checking must include the packages-split python
> > +   standard library modules that OE/YP creates fr

Re: [oe] [meta-python][zeus][PATCH 1/2] python-twisted: add required RDEPENDS for twistd

2020-01-31 Thread Tim Orling
On Mon, Jan 27, 2020 at 12:44 PM Trevor Gamblin <
trevor.gamb...@windriver.com> wrote:

> python-twisted is currently missing some packages for its /usr/bin/twistd
> executable to function. Add these to the RDEPENDS list, and also clean up
> formatting since the list is getting long.
>
> Note that a similar patch has already been submitted for master branch,
> but the python2 version of twisted needs more explicit RDEPENDS than the
> python3 version submitted to master in order for /usr/bin/twistd to work
> properly.
>
> Signed-off-by: Trevor Gamblin 
> ---
>  .../recipes-devtools/python/python-twisted.inc | 18 +-
>  1 file changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/python-twisted.inc
> b/meta-python/recipes-devtools/python/python-twisted.inc
> index d70104dc2..f55bbb033 100644
> --- a/meta-python/recipes-devtools/python/python-twisted.inc
> +++ b/meta-python/recipes-devtools/python/python-twisted.inc
> @@ -56,7 +56,23 @@ RDEPENDS_${PN} = "\
>  ${PN}-zsh \
>  "
>
> -RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface
> ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink
> ${PYTHON_PN}-automat"
> +RDEPENDS_${PN}-core = "${PYTHON_PN}-core \
> +   ${PYTHON_PN}-zopeinterface \
> +   ${PYTHON_PN}-incremental \
> +   ${PYTHON_PN}-constantly \
> +   ${PYTHON_PN}-hyperlink \
> +   ${PYTHON_PN}-automat \
> +   ${PYTHON_PN}-pyserial \
> +   ${PYTHON_PN}-pyhamcrest \
> +   ${PYTHON_PN}-debugger \
> +   ${PYTHON_PN}-unixadmin \
> +   ${PYTHON_PN}-pkg-resources \
> +   ${PYTHON_PN}-misc \
> +   ${PYTHON_PN}-pkgutil \
> +   ${PYTHON_PN}-plistlib \
> +   ${PYTHON_PN}-setuptools \
> +"
>

Please sort this alphabetically. It is MUCH easier to see what is present
or missing that way.

+
>  RDEPENDS_${PN}-test = "${PN}"
>  RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
>  RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
> --
> 2.23.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-python2][zeus][PATCH 2/2] kas-meta-python2-ptest-image: add python2 test

2020-01-31 Thread Tim Orling
In addition to ping, ssh and ptest, run python2 test(s).

Run python2 before ptest (fail early).

Signed-off-by: Tim Orling 
---
 kas-meta-python2-ptest-image.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kas-meta-python2-ptest-image.yml b/kas-meta-python2-ptest-image.yml
index 3a15add5..1dc0f4b8 100644
--- a/kas-meta-python2-ptest-image.yml
+++ b/kas-meta-python2-ptest-image.yml
@@ -14,7 +14,7 @@ local_conf_header:
 DISTRO_FEAURES_append = " ptest"
 EXTRA_IMAGE_FEATURES = "debug-tweaks"
 TESTIMAGE_AUTO = "1"
-TEST_SUITES = " ping ssh ptest"
+TEST_SUITES = " ping ssh python2 ptest"
 TEST_QEMUPARAMS += "-smp 4 -m 8192"
 TEST_RUNQEMUPARAMS += "kvm gl"
 IMAGE_ROOTFS_SIZE ?= "8192"
-- 
2.25.0

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


[oe] [meta-python2][zeus][PATCH 1/2] lib/oeqa/runtime/cases: add python2.py

2020-01-31 Thread Tim Orling
Refactor the python3 test from oe-core to do very
basic acceptance test of python2.

Signed-off-by: Tim Orling 
---
 lib/oeqa/runtime/cases/python2.py | 20 
 1 file changed, 20 insertions(+)
 create mode 100644 lib/oeqa/runtime/cases/python2.py

diff --git a/lib/oeqa/runtime/cases/python2.py 
b/lib/oeqa/runtime/cases/python2.py
new file mode 100644
index ..8afa2ac9
--- /dev/null
+++ b/lib/oeqa/runtime/cases/python2.py
@@ -0,0 +1,20 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
+from oeqa.runtime.case import OERuntimeTestCase
+from oeqa.core.decorator.depends import OETestDepends
+from oeqa.runtime.decorator.package import OEHasPackage
+
+
+class PythonTest(OERuntimeTestCase):
+@OETestDepends(['ssh.SSHTest.test_ssh'])
+@OEHasPackage(['python-core'])
+def test_python(self):
+cmd = "python -c \"import codecs; print(codecs.encode('Uryyb, jbeyq', 
'rot13'))\""
+status, output = self.target.run(cmd)
+msg = 'Exit status was not 0. Output: %s' % output
+self.assertEqual(status, 0, msg=msg)
+
+msg = 'Incorrect output: %s' % output
+self.assertEqual(output, "Hello, world", msg=msg)
-- 
2.25.0

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


Re: [oe] [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd

2020-02-03 Thread Tim Orling
On Mon, Feb 3, 2020 at 8:30 PM Martin Jansa  wrote:

> Please send this fix to normal meta-python in meta-oe/zeus:
>
> http://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python-twisted.inc?h=zeus
>
> BTW: Why are you using meta-python2 with zeus branch? It imho doesn't have
> anything which would be missing in oe-core+meta-oe zeus branch and fixes
> like this should be resolved also for people using zeus branch without
> overlaying them by meta-python2.
>
>
Because, as I believe I have said before, I need a prior release to test
the infrastructure on. zeus allows me to work on more than just master
until we have the next stable release branching.

It has nothing to do with what is missing from meta-oe, it is a viable
alternative that also helps prove out my workflow as I have EXTREMELY
LIMITED TIME to support this.

On Fri, Jan 31, 2020 at 10:29 AM Trevor Gamblin <
> trevor.gamb...@windriver.com> wrote:
>
> > From: Trevor Gamblin 
> >
> > python-twisted is currently missing some packages for its /usr/bin/twistd
> > executable to function. Add these to the RDEPENDS list, and also clean up
> > formatting since the list is getting long.
> >
> > Note that a similar patch has already been submitted for master branch,
> > but the python2 version of twisted needs more explicit RDEPENDS than the
> > python3 version submitted to master in order for /usr/bin/twistd to work
> > properly.
> >
> > Signed-off-by: Trevor Gamblin 
> > ---
> >  .../recipes-devtools/python/python-twisted.inc | 18 +-
> >  1 file changed, 17 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta-python/recipes-devtools/python/python-twisted.inc
> > b/meta-python/recipes-devtools/python/python-twisted.inc
> > index d70104dc2..024a9fa7c 100644
> > --- a/meta-python/recipes-devtools/python/python-twisted.inc
> > +++ b/meta-python/recipes-devtools/python/python-twisted.inc
> > @@ -56,7 +56,23 @@ RDEPENDS_${PN} = "\
> >  ${PN}-zsh \
> >  "
> >
> > -RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface
> > ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink
> > ${PYTHON_PN}-automat"
> > +RDEPENDS_${PN}-core = "${PYTHON_PN}-automat \
> > +   ${PYTHON_PN}-constantly \
> > +   ${PYTHON_PN}-core \
> > +  ${PYTHON_PN}-debugger \
> > +   ${PYTHON_PN}-hyperlink \
> > +   ${PYTHON_PN}-incremental \
> > +   ${PYTHON_PN}-misc \
> > +   ${PYTHON_PN}-pkg-resources \
> > +   ${PYTHON_PN}-pkgutil \
> > +   ${PYTHON_PN}-plistlib \
> > +   ${PYTHON_PN}-pyhamcrest \
> > +   ${PYTHON_PN}-pyserial \
> > +   ${PYTHON_PN}-setuptools \
> > +   ${PYTHON_PN}-unixadmin \
> > +   ${PYTHON_PN}-zopeinterface \
> > +"
> > +
> >  RDEPENDS_${PN}-test = "${PN}"
> >  RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
> >  RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
> > --
> > 2.24.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


Re: [oe] [meta-python2][PATCH] python-six: Update to 1.14.0

2020-02-03 Thread Tim Orling
merged. thank you.

On Mon, Feb 3, 2020 at 11:36 AM Khem Raj  wrote:

> Have its own checksums so its not tightly coupled to versions from
> oe-core
>
> Signed-off-by: Khem Raj 
> ---
>  recipes-devtools/python/python-six_1.13.0.bb | 2 --
>  recipes-devtools/python/python-six_1.14.0.bb | 6 ++
>  2 files changed, 6 insertions(+), 2 deletions(-)
>  delete mode 100644 recipes-devtools/python/python-six_1.13.0.bb
>  create mode 100644 recipes-devtools/python/python-six_1.14.0.bb
>
> diff --git a/recipes-devtools/python/python-six_1.13.0.bb
> b/recipes-devtools/python/python-six_1.13.0.bb
> deleted file mode 100644
> index af26e83..000
> --- a/recipes-devtools/python/python-six_1.13.0.bb
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -inherit pypi setuptools
> -require recipes-devtools/python/python-six.inc
> diff --git a/recipes-devtools/python/python-six_1.14.0.bb
> b/recipes-devtools/python/python-six_1.14.0.bb
> new file mode 100644
> index 000..779883a
> --- /dev/null
> +++ b/recipes-devtools/python/python-six_1.14.0.bb
> @@ -0,0 +1,6 @@
> +inherit pypi setuptools
> +require recipes-devtools/python/python-six.inc
> +
> +SRC_URI[md5sum] = "21674588a57e649d1a6d977ec3122140"
> +SRC_URI[sha256sum] =
> "236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a"
> +
> --
> 2.25.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


Re: [oe] [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd

2020-02-03 Thread Tim Orling
Thank you for sorting :)

I was looking at applying this to meta-python2 zeus and my checks (import
every twisted and twisted.* module) didn't see any missing dependencies
before this patch. Can you describe the need or give me a hint of a
reproducer? I'm sure I'm missing something.

On Fri, Jan 31, 2020 at 1:29 AM Trevor Gamblin 
wrote:

> From: Trevor Gamblin 
>
> python-twisted is currently missing some packages for its /usr/bin/twistd
> executable to function. Add these to the RDEPENDS list, and also clean up
> formatting since the list is getting long.
>
> Note that a similar patch has already been submitted for master branch,
> but the python2 version of twisted needs more explicit RDEPENDS than the
> python3 version submitted to master in order for /usr/bin/twistd to work
> properly.
>
> Signed-off-by: Trevor Gamblin 
> ---
>  .../recipes-devtools/python/python-twisted.inc | 18 +-
>  1 file changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/python-twisted.inc
> b/meta-python/recipes-devtools/python/python-twisted.inc
> index d70104dc2..024a9fa7c 100644
> --- a/meta-python/recipes-devtools/python/python-twisted.inc
> +++ b/meta-python/recipes-devtools/python/python-twisted.inc
> @@ -56,7 +56,23 @@ RDEPENDS_${PN} = "\
>  ${PN}-zsh \
>  "
>
> -RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface
> ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink
> ${PYTHON_PN}-automat"
> +RDEPENDS_${PN}-core = "${PYTHON_PN}-automat \
> +   ${PYTHON_PN}-constantly \
> +   ${PYTHON_PN}-core \
> +  ${PYTHON_PN}-debugger \
> +   ${PYTHON_PN}-hyperlink \
> +   ${PYTHON_PN}-incremental \
> +   ${PYTHON_PN}-misc \
> +   ${PYTHON_PN}-pkg-resources \
> +   ${PYTHON_PN}-pkgutil \
> +   ${PYTHON_PN}-plistlib \
> +   ${PYTHON_PN}-pyhamcrest \
> +   ${PYTHON_PN}-pyserial \
> +   ${PYTHON_PN}-setuptools \
> +   ${PYTHON_PN}-unixadmin \
> +   ${PYTHON_PN}-zopeinterface \
> +"
> +
>  RDEPENDS_${PN}-test = "${PN}"
>  RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
>  RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
> --
> 2.24.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-python2][PATCH 2/2] python-twisted: cosmetic changes to RDEPENDS

2020-02-07 Thread Tim Orling
Make the RDEPENDS indent consistent and break
long lines into multiline.

Signed-off-by: Tim Orling 
---
 .../python/python-twisted_19.10.0.bb  | 42 ---
 1 file changed, 26 insertions(+), 16 deletions(-)

diff --git a/recipes-devtools/python/python-twisted_19.10.0.bb 
b/recipes-devtools/python/python-twisted_19.10.0.bb
index 51a495a0..aee6f5ae 100644
--- a/recipes-devtools/python/python-twisted_19.10.0.bb
+++ b/recipes-devtools/python/python-twisted_19.10.0.bb
@@ -63,25 +63,35 @@ RDEPENDS_${PN} = "\
 ${PN}-zsh \
 "
 
-RDEPENDS_${PN}-core = "${PYTHON_PN}-automat \
-   ${PYTHON_PN}-constantly \
-   ${PYTHON_PN}-core \
-   ${PYTHON_PN}-debugger \
-   ${PYTHON_PN}-hyperlink \
-   ${PYTHON_PN}-incremental \
-   ${PYTHON_PN}-misc \
-   ${PYTHON_PN}-pkg-resources \
-   ${PYTHON_PN}-pkgutil \
-   ${PYTHON_PN}-plistlib \
-   ${PYTHON_PN}-pyhamcrest \
-   ${PYTHON_PN}-pyserial \
-   ${PYTHON_PN}-setuptools \
-   ${PYTHON_PN}-unixadmin \
-   ${PYTHON_PN}-zopeinterface \
+RDEPENDS_${PN}-core = " \
+${PYTHON_PN}-automat \
+${PYTHON_PN}-constantly \
+${PYTHON_PN}-core \
+${PYTHON_PN}-debugger \
+${PYTHON_PN}-hyperlink \
+${PYTHON_PN}-incremental \
+${PYTHON_PN}-misc \
+${PYTHON_PN}-pkg-resources \
+${PYTHON_PN}-pkgutil \
+${PYTHON_PN}-plistlib \
+${PYTHON_PN}-pyhamcrest \
+${PYTHON_PN}-pyserial \
+${PYTHON_PN}-setuptools \
+${PYTHON_PN}-unixadmin \
+${PYTHON_PN}-zopeinterface \
 "
 
 RDEPENDS_${PN}-test = "${PN}"
-RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols ${PYTHON_PN}-bcrypt 
${PYTHON_PN}-cryptography ${PYTHON_PN}-pyasn1 ${PYTHON_PN}-pickle"
+
+RDEPENDS_${PN}-conch = " \
+${PN}-core \
+${PN}-protocols \
+${PYTHON_PN}-bcrypt \
+${PYTHON_PN}-cryptography \
+${PYTHON_PN}-pickle \
+${PYTHON_PN}-pyasn1 \
+"
+
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
 RDEPENDS_${PN}-names = "${PN}-core"
 RDEPENDS_${PN}-news = "${PN}-core ${PN}-protocols"
-- 
2.25.0

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


[oe] [meta-python2][PATCH 1/2] python-twisted: add required RDEPENDS for twistd

2020-02-07 Thread Tim Orling
From: Trevor Gamblin 

python-twisted is currently missing some packages for its /usr/bin/twistd
executable to function. Add these to the RDEPENDS list, and also clean up
formatting since the list is getting long.

Note that a similar patch has already been submitted for master branch,
but the python2 version of twisted needs more explicit RDEPENDS than the
python3 version submitted to master in order for /usr/bin/twistd to work
properly.

Signed-off-by: Trevor Gamblin 
Signed-off-by: Tim Orling 
---
 .../python/python-twisted_19.10.0.bb   | 18 +-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/recipes-devtools/python/python-twisted_19.10.0.bb 
b/recipes-devtools/python/python-twisted_19.10.0.bb
index 4e07d522..51a495a0 100644
--- a/recipes-devtools/python/python-twisted_19.10.0.bb
+++ b/recipes-devtools/python/python-twisted_19.10.0.bb
@@ -63,7 +63,23 @@ RDEPENDS_${PN} = "\
 ${PN}-zsh \
 "
 
-RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface 
${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink 
${PYTHON_PN}-automat ${PYTHON_PN}-pyserial"
+RDEPENDS_${PN}-core = "${PYTHON_PN}-automat \
+   ${PYTHON_PN}-constantly \
+   ${PYTHON_PN}-core \
+   ${PYTHON_PN}-debugger \
+   ${PYTHON_PN}-hyperlink \
+   ${PYTHON_PN}-incremental \
+   ${PYTHON_PN}-misc \
+   ${PYTHON_PN}-pkg-resources \
+   ${PYTHON_PN}-pkgutil \
+   ${PYTHON_PN}-plistlib \
+   ${PYTHON_PN}-pyhamcrest \
+   ${PYTHON_PN}-pyserial \
+   ${PYTHON_PN}-setuptools \
+   ${PYTHON_PN}-unixadmin \
+   ${PYTHON_PN}-zopeinterface \
+"
+
 RDEPENDS_${PN}-test = "${PN}"
 RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols ${PYTHON_PN}-bcrypt 
${PYTHON_PN}-cryptography ${PYTHON_PN}-pyasn1 ${PYTHON_PN}-pickle"
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-pyrsistent: add target RDEPENDS

2020-01-24 Thread Tim Orling
* Missing target run-time dependency:
  - python-numbers

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-pyrsistent_0.15.7.bb | 4 
 1 file changed, 4 insertions(+)

diff --git a/recipes-devtools/python/python-pyrsistent_0.15.7.bb 
b/recipes-devtools/python/python-pyrsistent_0.15.7.bb
index acfcb122..970e51b0 100644
--- a/recipes-devtools/python/python-pyrsistent_0.15.7.bb
+++ b/recipes-devtools/python/python-pyrsistent_0.15.7.bb
@@ -12,4 +12,8 @@ RDEPENDS_${PN} += " \
 ${PYTHON_PN}-six \
 "
 
+RDEPENDS_${PN}_append_class-target = "\
+${PYTHON_PN}-numbers \
+"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-tqdm: add target RDEPENDS

2020-01-24 Thread Tim Orling
* Missing target run-time dependencies:
  - python-lang (functools)
  - python-logging
  - python-numbers
  - python-subprocess

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-tqdm_4.41.1.bb | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/recipes-devtools/python/python-tqdm_4.41.1.bb 
b/recipes-devtools/python/python-tqdm_4.41.1.bb
index 2dfaa61b..22393bb4 100644
--- a/recipes-devtools/python/python-tqdm_4.41.1.bb
+++ b/recipes-devtools/python/python-tqdm_4.41.1.bb
@@ -10,4 +10,11 @@ inherit pypi setuptools
 SRC_URI[md5sum] = "aa3d5fd173c9fea7408cad14c0e73d5d"
 SRC_URI[sha256sum] = 
"4789ccbb6fc122b5a6a85d512e4e41fc5acad77216533a6f2b8ce51e0f265c23"
 
+RDEPENDS_${PN}_append_class-target = "\
+${PYTHON_PN}-lang \
+${PYTHON_PN}-logging \
+${PYTHON_PN}-numbers \
+${PYTHON_PN}-subprocess \
+"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0

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


[oe] [meta-python2][RFC] lib/oeqa/runtime/cases/python2_module.py: add test

2020-01-25 Thread Tim Orling
This test case is intentionally limited to only tesing one
python package/recipe at a time, because the use case is to
determine whether dependencies have been met for a minimal
image with 'only' the package under test installed. This
dependency checking must include the packages-split python
standard library modules that OE/YP creates from the python
manifest.

TODO: Be smarter about PYTHON_IMPORTS_UNDER_TEST, as this
  should be discoverable from /usr/lib/python2.7/site-packages
  or from the rpm/deb/ipk of the python package itself.
  What we do NOT want to do is use pkgdata or some other
  magical Python script that will add dependencies to the
  test image. We need as pristine and minimalist a test
  environment as we can get.

TODO: Use a minimal master test image and install the package under
  test from a package feed using a package manager in the master
  test image. This would allow for much shorter developement
  cycles.

TODO: Parse the ImportError and give hints about what dependencies
  are missing.

Example configuration in local.conf:

IMAGE_CLASSES += " testimage"
DISTRO_FEAURES_append = " ptest"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
TESTIMAGE_AUTO = "1"
TEST_SUITES = " ping ssh python2 ptest python2_module"
TEST_QEMUPARAMS += "-smp 4 -m 8192"
TEST_RUNQEMUPARAMS += "kvm gl"
IMAGE_ROOTFS_SIZE ?= "8192"
IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", 
"systemd", " + 4096", "", d)}"
IMAGE_INSTALL_append = " ptest-runner dropbear procps coreutils iproute2 
sysstat"
PYTHON_PACKAGE_UNDER_TEST = "python-pymongo"
IMAGE_INSTALL_append = " ${PYTHON_PACKAGE_UNDER_TEST}"
PYTHON_IMPORTS_UNDER_TEST = "bson gridfs pymongo"

Signed-off-by: Tim Orling 
---
 lib/oeqa/runtime/cases/python2_module.py | 97 
 1 file changed, 97 insertions(+)
 create mode 100644 lib/oeqa/runtime/cases/python2_module.py

diff --git a/lib/oeqa/runtime/cases/python2_module.py 
b/lib/oeqa/runtime/cases/python2_module.py
new file mode 100644
index ..59ae00fb
--- /dev/null
+++ b/lib/oeqa/runtime/cases/python2_module.py
@@ -0,0 +1,97 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
+import os
+
+from oeqa.runtime.case import OERuntimeTestCase
+from oeqa.core.decorator.depends import OETestDepends
+from oeqa.core.decorator.data import OETestDataDepends
+from oeqa.runtime.decorator.package import OEHasPackage
+
+
+class PythonModuleTest(OERuntimeTestCase):
+"""This test case is intentionally limited to only tesing one
+   python package/recipe at a time, because the use case is to
+   determine whether dependencies have been met for a minimal
+   image with 'only' the package under test installed. This
+   dependency checking must include the packages-split python
+   standard library modules that OE/YP creates from the python
+   manifest.
+
+   TODO: Be smarter about PYTHON_IMPORTS_UNDER_TEST, as this
+ should be discoverable from /usr/lib/python2.7/site-packages
+ or from the rpm/deb/ipk of the python package itself.
+ What we do NOT want to do is use pkgdata or some other
+ magical Python script that will add dependencies to the
+ test image. We need as pristine and minimalist a test
+ environment as we can get.
+
+   TODO: Use a minimal master test image and install the package under
+ test from a package feed using a package manager in the master
+ test image. This would allow for much shorter developement
+ cycles.
+
+   TODO: Parse the ImportError and give hints about what dependencies
+ are missing.
+
+
+   Example configuration in local.conf:
+   
+   IMAGE_CLASSES += " testimage"
+   DISTRO_FEAURES_append = " ptest"
+   EXTRA_IMAGE_FEATURES = "debug-tweaks"
+   TESTIMAGE_AUTO = "1"
+   TEST_SUITES = " ping ssh python2 ptest python2_module"
+   TEST_QEMUPARAMS += "-smp 4 -m 8192"
+   TEST_RUNQEMUPARAMS += "kvm gl"
+   IMAGE_ROOTFS_SIZE ?= "8192"
+   IMAGE_ROOTFS_EXTRA_SPACE_append = 
"${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "", d)}"
+   IMAGE_INSTALL_append = " ptest-runner dropbear procps coreutils 
iproute2 sysstat"
+   PYTHON_PACKAGE_UNDER_TEST = "python-engineio"
+   IMAGE_INSTALL_append = " ${PYTHON_PACKAGE_UNDER_TEST}"
+   PYTHON_IMPORTS_UNDER_TEST = "engineio"
+"""
+
+package = ""
+imports = []
+
+@classmethod
+def setUp(cls):
+if 'PYTHON_PACKAGE_UNDER_TEST' in cls.tc.td:
+cl

[oe] [meta-python2][PATCH] python-javaobj-py3: add RDEPENDS

2020-01-24 Thread Tim Orling
* Missing target run-time dependencies:
  - python-lang (functools)
  - python-logging

* Missing general run-time dependencies:
  - python-enum34
  - python-typing

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-javaobj-py3_0.4.0.1.bb | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/recipes-devtools/python/python-javaobj-py3_0.4.0.1.bb 
b/recipes-devtools/python/python-javaobj-py3_0.4.0.1.bb
index a16c9498..97468d6c 100644
--- a/recipes-devtools/python/python-javaobj-py3_0.4.0.1.bb
+++ b/recipes-devtools/python/python-javaobj-py3_0.4.0.1.bb
@@ -12,4 +12,14 @@ SRC_URI[sha256sum] = 
"18c44cfaa214813784a823432b4ab9829c9626b2b00072011627b4008b
 
 inherit pypi setuptools
 
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-enum34 \
+${PYTHON_PN}-typing \
+"
+
+RDEPENDS_${PN}_append_class-target = "\
+${PYTHON_PN}-lang \
+${PYTHON_PN}-logging \
+"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0

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


Re: [oe] [OE-core] python2-less meta-openembedded build results

2020-01-25 Thread Tim Orling
On Fri, Jan 24, 2020 at 11:28 AM Khem Raj  wrote:

> On 1/20/20 8:51 AM, Andrey Zhizhikin wrote:
> > On Mon, Jan 20, 2020 at 4:52 PM Khem Raj  wrote:
> >>
> >> Hi all
> >>
> >> Recently py2 is removed from oe-core, So I did quick patches to get a
> >> world build going. And
> >> here are initial failures, please help out with recipes your can or
> >> care for. Eventually, the remaining
> >> ones we can blacklist for 3.1 release.
> >>
> >> http://errors.yoctoproject.org/Errors/Build/97185/
> >>
> >> I will post more arches as they become available. If you want to try
> >> the same for machines/distros you can try yoe/mut for meta-oe
> >
> > I've actually asked Ross about similar failures, specifically in
> > [meta-openembeeded/meta-python] where there is a good mix of Pytho2
> > and Python3 still present. I've started to remove those yesterday, and
> > would continue with that layer further.
> >
> >>
> >> https://git.openembedded.org/meta-openembedded-contrib/log/?h=yoe/mut
> >>
>
> All these changes are now in master and its again buildable, with or
> without meta-python2, with meta-python2, its back to where it was with
> everything  building however, without py2 layer we have some work to do
> so if you are interested in this here [1] is initial list of failures
> I will keep posting more as we go along.
>
> [1]
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/220/steps/8/logs/errors


Now that I have caught up with meta-python2, I can turn some of my own-time
attention to helping with these. Thank you, Khem, for making it easy to see
the “punch-list”.


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


Re: [oe] [meta-python2][PATCH] dnssec-conf: move recipe from oe-core to meta-python2

2020-01-28 Thread Tim Orling
On Mon, Jan 27, 2020 at 10:42 PM Andrey Zhizhikin 
wrote:

> Hello Tim,
>
> On Tue, Jan 28, 2020 at 5:37 AM Tim Orling  wrote:
> >
> >
> >
> > On Mon, Jan 27, 2020 at 6:47 PM Tim Orling  wrote:
> >>
> >> It's moving from meta-networking, not oe-core. I'll simply change the
> commit log locally before merging.
> >>
> >> On Mon, Jan 27, 2020 at 3:12 PM Andrey Zhizhikin 
> wrote:
> >>>
> >>> dnssec-conf did not receive any updates since 2010 and relies heavily
> on
> >>> python2 code base.
> >>>
> >>> Move recipe to this layer, since python2 support has been dropped in
> >>> oe-core.
> >>>
> >
> > There were missing RDEPENDS which I have fixed and sent to ML (already
> merged). While I was at it I sent the version of this patch that was
> actually merged. Obviously nobody has been using this since it could not
> have worked without the RDEPENDS.
>
> Thanks for taking care of this! Sorry I've missed those RDEPENDS, I
> had no possibility to test runtime of this package. But it looks like
> it would not have worked even in the the [meta-networking] layer
> before (other than people using it would have those packages pulled by
> IMAGE_INSTALL).
>
>
No worries. I am trying to make sure "everything" we add to meta-python2 is
functional, so at least it was "known good" when we branch the next stable
release. That said, I am sure that due to the volume of recipes merged
early on there are probably still some land mines.

>
> >
> >>> Signed-off-by: Andrey Zhizhikin 
> >>> ---
> >>>  .../dnssec-conf/dnssec-conf_2.02.bb   | 35
> +++
> >>>  1 file changed, 35 insertions(+)
> >>>  create mode 100644 recipes-support/dnssec-conf/dnssec-conf_2.02.bb
> >>>
> >>> diff --git a/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
> b/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
> >>> new file mode 100644
> >>> index 000..ca59bd2
> >>> --- /dev/null
> >>> +++ b/recipes-support/dnssec-conf/dnssec-conf_2.02.bb
> >>> @@ -0,0 +1,35 @@
> >>> +SUMMARY = "DNSSEC and DLV configuration and priming tool"
> >>> +DESCRIPTION = "\
> >>> +DNSSEC configuration and priming tool. Keys are required until the
> root \
> >>> +is signed, as well as for local unpublished DNSSEC keys to be
> preloaded \
> >>> +into the recursive nameserver. These DNSSEC configuration files can
> be \
> >>> +directly included in the bind or unbound nameserver configuration
> files. \
> >>> +dnssec-conf includes a commandline configuration client for Bind and \
> >>> +Unbound, known DNSSEC keys, URL's to official publication pages of
> keys, \
> >>> +and harvested keys, as well a script to harvest DNSKEY's from DNS. \
> >>> +See also: system-config-dnssec"
> >>> +HOMEPAGE = "https://github.com/xelerance/dnssec-conf;
> >>> +SECTION = "net"
> >>> +LICENSE = "GPLv2+"
> >>> +LIC_FILES_CHKSUM =
> "file://LICENSE;md5=0636e73ff0215e8d672dc4c32c317bb3"
> >>> +DEPENDS += "xmlto-native docbook-xml-dtd4-native \
> >>> +docbook-xsl-stylesheets-native libxslt-native"
> >>> +
> >>> +SRC_URI = "git://github.com/xelerance/dnssec-conf.git"
> >>> +SRCREV = "8e799683736b4a7b5e5e78f98fba0a6f48393537"
> >>> +
> >>> +S = "${WORKDIR}/git"
> >>> +
> >>> +do_install () {
> >>> +rm -rf ${D}
> >>> +make PREFIX=${prefix} DESTDIR=${D} ETCDIR=${D}${sysconfdir}
> install
> >>> +# We no longer ship trust anchors. Most of these are in the DLV
> Registry now.
> >>> +# and it prevents the problem of shipping outdated trust anchors.
> >>> +# For DLV, we ship the ISC DLV Registry key
> >>> +rm -rf ${D}${sysconfdir}/pki/dnssec-keys/harvest/*
> >>> +rm -rf ${D}${sysconfdir}/pki/dnssec-keys/production/reverse/*
> >>> +install -d -m 0755 ${D}${sysconfdir}/sysconfig
> >>> +install -m 0644 packaging/fedora/dnssec.sysconfig
> ${D}${sysconfdir}/sysconfig/dnssec
> >>> +}
> >>> +
> >>> +RDEPENDS_${PN} = "python"
> >>> --
> >>> 2.17.1
> >>>
> >>> --
> >>> ___
> >>> Openembedded-devel mailing list
> >>> Openembedded-devel@lists.openembedded.org
> >>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
>
> --
> Regards,
> Andrey.
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python2][PATCH] python2: add ntpath

2020-02-05 Thread Tim Orling
From: Armin Kuster 

python3 has this but python is missing this.
[Yocto #13740]

Signed-off-by: Armin Kuster 
Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python/python2-manifest.json | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-devtools/python/python/python2-manifest.json 
b/recipes-devtools/python/python/python2-manifest.json
index eb52e862..fd98774d 100644
--- a/recipes-devtools/python/python/python2-manifest.json
+++ b/recipes-devtools/python/python/python2-manifest.json
@@ -267,6 +267,7 @@
 "${libdir}/python2.7/lib-dynload/xreadlines.so", 
 "${libdir}/python2.7/linecache.py", 
 "${libdir}/python2.7/new.py", 
+"${libdir}/python2.7/ntpath.py",
 "${libdir}/python2.7/os.py", 
 "${libdir}/python2.7/platform.py", 
 "${libdir}/python2.7/posixpath.py", 
-- 
2.25.0

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


Re: [oe] [meta-python2][PATCH] python-grpcio: Upgrade to 1.27.1

2020-02-14 Thread Tim Orling
Thank you. I've merged this, but noticed 1.27.2 was released to patch
python. Can you have a look?
https://github.com/grpc/grpc/releases/tag/v1.27.2

On Wed, Feb 12, 2020 at 9:55 PM Khem Raj  wrote:

> Delete gettid patch, fixed differenty upstream
> Add code to use cross compiler in setup.py
>
> Define GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY so it does not use
> SYS_clock_gettime syscalls since it does not work when 64bit time_t is
> used on 32bit arches
>
> Signed-off-by: Khem Raj 
> ---
>  ...-Do-not-mix-C-and-C-compiler-options.patch | 44 ++-
>  .../python/python-grpcio/gettid.patch | 26 ---
>  .../python-grpcio/ppc-boringssl-support.patch |  2 +-
>  .../python-grpcio/riscv64_support.patch   |  2 +-
>  ...pcio_1.19.0.bb => python-grpcio_1.27.1.bb} | 11 ++---
>  5 files changed, 40 insertions(+), 45 deletions(-)
>  delete mode 100644 recipes-devtools/python/python-grpcio/gettid.patch
>  rename recipes-devtools/python/{python-grpcio_1.19.0.bb =>
> python-grpcio_1.27.1.bb} (74%)
>
> 
> ___
> 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] phoronix-test-suite: add missing mime and mime-xdg inherit

2020-02-14 Thread Tim Orling
Fixes:
"
WARNING: phoronix-test-suite-9.2.1-r0 do_package_qa: QA Issue:
 package contains desktop file with key 'MimeType' but does not inhert 
mime-xdg:
 phoronix-test-suite path 
'/work/all-oe-linux/phoronix-test-suite/9.2.1-r0/packages-split/ \
 
phoronix-test-suite/usr/share/applications/phoronix-test-suite-launcher.desktop'
 [mime-xdg]
WARNING: phoronix-test-suite-9.2.1-r0 do_package_qa: QA Issue:
 package contains mime types but does not inhert mime:
 phoronix-test-suite path 
'/work/all-oe-linux/phoronix-test-suite/9.2.1-r0/packages-split/ \
 phoronix-test-suite/usr/share/mime/packages/openbenchmarking-mime.xml' 
[mime]
"

Signed-off-by: Tim Orling 
---
 .../phoronix-test-suite/phoronix-test-suite_9.2.1.bb| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_9.2.1.bb 
b/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_9.2.1.bb
index 6525b8ec0b..4a8e5b5b2a 100644
--- a/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_9.2.1.bb
+++ b/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_9.2.1.bb
@@ -11,7 +11,7 @@ SRC_URI[sha256sum] = 
"675e7ca96719e2f3b42a6c13421213a398f04da0f8e78f4691fa9261fd
 
 S = "${WORKDIR}/phoronix-test-suite"
 
-inherit systemd allarch
+inherit systemd allarch mime mime-xdg
 
 do_install() {
 DESTDIR=${D} ./install-sh ${exec_prefix}
-- 
2.20.1

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


[oe] [meta-python2][PATCH] python-pytest: update 4.6.6 -> 4.6.9

2020-01-18 Thread Tim Orling
Upstream release notes:

* pytest 4.6.9 (2020-01-04)
  - Bug Fixes

#6301: Fix assertion rewriting for egg-based distributions and editable
   installs (pip install --editable).

* pytest 4.6.8 (2019-12-19)
  - Features

#5471: JUnit XML now includes a timestamp and hostname in the testsuite tag.

  - Bug Fixes

#5430: junitxml: Logs for failed test are now passed to junit report in
   case the test fails during call phase.

  - Trivial/Internal Changes

#6345: Pin colorama to 0.4.1 only for Python 3.4 so newer Python versions
   can still receive colorama updates.

* pytest 4.6.7 (2019-12-05)
  - Bug Fixes

#5477: The XML file produced by --junitxml now correctly contain a
root element.
#6044: Properly ignore FileNotFoundError (OSError.errno == NOENT in Python
   2) exceptions when trying to remove old temporary directories, for
   instance when multiple processes try to remove the same directory
   (common with pytest-xdist for example).

License-Update: Update license year to include 2020

Signed-off-by: Tim Orling 
---
 .../{python-pytest_4.6.6.bb => python-pytest_4.6.9.bb} | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename recipes-devtools/python/{python-pytest_4.6.6.bb => 
python-pytest_4.6.9.bb} (84%)

diff --git a/recipes-devtools/python/python-pytest_4.6.6.bb 
b/recipes-devtools/python/python-pytest_4.6.9.bb
similarity index 84%
rename from recipes-devtools/python/python-pytest_4.6.6.bb
rename to recipes-devtools/python/python-pytest_4.6.9.bb
index a9b64922..c1cf0ac3 100644
--- a/recipes-devtools/python/python-pytest_4.6.6.bb
+++ b/recipes-devtools/python/python-pytest_4.6.9.bb
@@ -1,13 +1,12 @@
 SUMMARY = "Simple powerful teting with python"
 HOMEPAGE = "http://pytest.org;
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=640061b8cee64b308a4d2f9f556c12f2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b"
 
 SRC_URI += " 
file://0001-setup.py-remove-setup_requires-for-setuptools-scm.patch"
 
-SRC_URI[md5sum] = "0cf02e80d916a81a3d4fa425eb8063c5"
-SRC_URI[sha256sum] = 
"692d9351353ef709c1126266579edd4fd469dcf6b5f4f583050f72161d6f3592"
-
+SRC_URI[md5sum] = "d0457c5ddd0438e3b68b7939339d915f"
+SRC_URI[sha256sum] = 
"19e8f75eac01dd3f211edd465b39efbcbdc8fc5f7866d7dd49fedb30d8adf339"
 
 inherit update-alternatives pypi setuptools
 
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-mako: mako.utils RDEPENDS on timeit

2020-01-18 Thread Tim Orling
* Unfortunately, only python-misc provides
  timeit at this time.

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-mako_1.1.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-devtools/python/python-mako_1.1.0.bb 
b/recipes-devtools/python/python-mako_1.1.0.bb
index ce7568aa..f7e6332a 100644
--- a/recipes-devtools/python/python-mako_1.1.0.bb
+++ b/recipes-devtools/python/python-mako_1.1.0.bb
@@ -13,6 +13,7 @@ inherit pypi setuptools
 
 RDEPENDS_${PN} = " \
 ${PYTHON_PN}-html \
+${PYTHON_PN}-misc \
 ${PYTHON_PN}-netclient \
 ${PYTHON_PN}-shell \
 ${PYTHON_PN}-threading \
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-slip-dbus: add RDEPENDS

2020-01-18 Thread Tim Orling
The dependency on python-six as inadvertently missed when
porting to meta-python2.

The original recipe was missing addtional dependencies on
python-dbus, python-pygobject, python-decorator

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-slip-dbus_0.6.5.bb | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/recipes-devtools/python/python-slip-dbus_0.6.5.bb 
b/recipes-devtools/python/python-slip-dbus_0.6.5.bb
index 99dc9ce5..0c67fa39 100644
--- a/recipes-devtools/python/python-slip-dbus_0.6.5.bb
+++ b/recipes-devtools/python/python-slip-dbus_0.6.5.bb
@@ -28,4 +28,11 @@ do_compile_prepend() {
 # python-native/python: can't open file 'setup.py': [Errno 2] No such file or 
directory
 CLEANBROKEN = "1"
 
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-dbus \
+${PYTHON_PN}-decorator \
+${PYTHON_PN}-pygobject \
+${PYTHON_PN}-six \
+"
+
 inherit setuptools
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-pywbem: add missing RDEPENDS

2020-01-18 Thread Tim Orling
* Missing python-logging
* Missing 'future_builtins', which is only available
  in python-misc.

Signed-off-by: Tim Orling 
---
 recipes-extended/pywbem/python-pywbem_0.15.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-extended/pywbem/python-pywbem_0.15.0.bb 
b/recipes-extended/pywbem/python-pywbem_0.15.0.bb
index 8264bd56..2b1e9300 100644
--- a/recipes-extended/pywbem/python-pywbem_0.15.0.bb
+++ b/recipes-extended/pywbem/python-pywbem_0.15.0.bb
@@ -44,7 +44,9 @@ RDEPENDS_${PN}_class-target += "\
 ${PYTHON_PN}-argparse \
 ${PYTHON_PN}-datetime \
 ${PYTHON_PN}-io \
+${PYTHON_PN}-logging \
 ${PYTHON_PN}-m2crypto \
+${PYTHON_PN}-misc \
 ${PYTHON_PN}-netclient \
 ${PYTHON_PN}-ply \
 ${PYTHON_PN}-pyyaml \
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-m2crypto: add missing RDEPENDS

2020-01-18 Thread Tim Orling
* Missing run-time dependencies:
python-datetime
python-distutils
python-logging
python-netserver
python-smtpd
python-typing
python-xmlrpc

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-m2crypto_0.30.1.bb | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/recipes-devtools/python/python-m2crypto_0.30.1.bb 
b/recipes-devtools/python/python-m2crypto_0.30.1.bb
index 22bf56a3..968dd720 100644
--- a/recipes-devtools/python/python-m2crypto_0.30.1.bb
+++ b/recipes-devtools/python/python-m2crypto_0.30.1.bb
@@ -19,7 +19,15 @@ PYPI_PACKAGE = "M2Crypto"
 
 inherit pypi siteinfo setuptools
 
-RDEPENDS_${PN} += "python-typing"
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-datetime \
+${PYTHON_PN}-distutils \
+${PYTHON_PN}-logging \
+${PYTHON_PN}-netserver \
+${PYTHON_PN}-smtpd \
+${PYTHON_PN}-typing \
+${PYTHON_PN}-xmlrpc \
+"
 
 DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} 
-I${STAGING_INCDIR}"
 DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}"
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-backports-functools-lru-cache: 1.5 -> 1.6.1

2020-01-19 Thread Tim Orling
* Add run-time dependency on python-pkgutil
* Install backports/functools_lru_cache.py

License-Update: LICENSE file is now provided

Upstream release notes:
  - v1.6.1
Publish release notes on readthedocs.

  - v1.6.0
Refresh package metadata. Use black for code style. Enroll with Tidelift.

Signed-off-by: Tim Orling 
---
 ...ython-backports-functools-lru-cache_1.5.bb | 19 -
 ...hon-backports-functools-lru-cache_1.6.1.bb | 27 +++
 2 files changed, 27 insertions(+), 19 deletions(-)
 delete mode 100644 
recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
 create mode 100644 
recipes-devtools/python/python-backports-functools-lru-cache_1.6.1.bb

diff --git 
a/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb 
b/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
deleted file mode 100644
index 11c15338..
--- a/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-SUMMARY = "Backport of functools.lru_cache from Python 3.3"
-HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache;
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://setup.py;beginline=57;endline=57;md5=98fc3658e5970d26f6b2109808c766be"
-
-PYPI_PACKAGE = "backports.functools_lru_cache"
-
-SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754"
-SRC_URI[sha256sum] = 
"9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a"
-
-DEPENDS += "python-setuptools-scm-native"
-
-inherit setuptools pypi python-backports-init
-
-RDEPENDS_${PN} += "\
-${PYTHON_PN}-pickle \
-${PYTHON_PN}-threading \
-"
diff --git 
a/recipes-devtools/python/python-backports-functools-lru-cache_1.6.1.bb 
b/recipes-devtools/python/python-backports-functools-lru-cache_1.6.1.bb
new file mode 100644
index ..8c40cf5e
--- /dev/null
+++ b/recipes-devtools/python/python-backports-functools-lru-cache_1.6.1.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Backport of functools.lru_cache from Python 3.3"
+HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache;
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e"
+
+PYPI_PACKAGE = "backports.functools_lru_cache"
+
+SRC_URI[md5sum] = "103000b21a8e683647e2ce41929f2a9d"
+SRC_URI[sha256sum] = 
"8fde5f188da2d593bd5bc0be98d9abc46c95bb8a9dde93429570192ee6cc2d4a"
+
+DEPENDS += "python-setuptools-scm-native"
+
+inherit setuptools pypi python-backports-init
+
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-pkgutil \
+${PYTHON_PN}-pickle \
+${PYTHON_PN}-threading \
+"
+
+do_install() {
+install -d ${D}${PYTHON_SITEPACKAGES_DIR}/backports
+install ${B}/backports/functools_lru_cache.py 
${D}${PYTHON_SITEPACKAGES_DIR}/backports/
+}
+
+FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/backports/functools_lru_cache.py"
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-humanfriendly: add missing RDEPENDS

2020-01-19 Thread Tim Orling
Missing run-time dependencies:
  - python-html (humanfriendly.compat -> html.parsing)
  - python-multiprocessing
  - python-unittest (humanfriendly.compat)

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-humanfriendly_4.18.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-devtools/python/python-humanfriendly_4.18.bb 
b/recipes-devtools/python/python-humanfriendly_4.18.bb
index d91fa1c3..96f6f833 100644
--- a/recipes-devtools/python/python-humanfriendly_4.18.bb
+++ b/recipes-devtools/python/python-humanfriendly_4.18.bb
@@ -15,12 +15,15 @@ inherit pypi setuptools
 RDEPENDS_${PN}_class-target += " \
 ${PYTHON_PN}-datetime \
 ${PYTHON_PN}-fcntl \
+${PYTHON_PN}-html \
 ${PYTHON_PN}-io \
 ${PYTHON_PN}-logging \
 ${PYTHON_PN}-math \
+${PYTHON_PN}-multiprocessing \
 ${PYTHON_PN}-numbers \
 ${PYTHON_PN}-shell \
 ${PYTHON_PN}-stringold \
+${PYTHON_PN}-unittest \
 "
 
 BBCLASSEXTEND = "native"
-- 
2.25.0

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


[oe] [meta-python2][PATCH] packagegroup-meta-python2: add pyton-soupsieve

2020-01-19 Thread Tim Orling
Signed-off-by: Tim Orling 
---
 recipes-core/packagegroups/packagegroup-meta-python2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/packagegroups/packagegroup-meta-python2.bb 
b/recipes-core/packagegroups/packagegroup-meta-python2.bb
index 8ee9bad9..41ba3abd 100644
--- a/recipes-core/packagegroups/packagegroup-meta-python2.bb
+++ b/recipes-core/packagegroups/packagegroup-meta-python2.bb
@@ -57,7 +57,7 @@ RDEPENDS_packagegroup-meta-python2 = "\
 python-aws-iot-device-sdk-python python-constantly python-bitarray 
python-flask-wtf \
 python-parse-type python-ipaddress python-dbus python-cpuset 
python-distutils-extra \
 python-futures python-jsmin python-pygobject python-pytoml python-six 
python-which \
-python-netifaces python-configargparse python-sqlparse \
+python-netifaces python-configargparse python-sqlparse python-soupsieve \
 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "python-pam pamela", "", 
d)} \
 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "python-systemd", "", 
d)} \
 "
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-beautifulsoup4: fix target RDEPENDS

2020-01-19 Thread Tim Orling
* target has run-time dependencies on:
  - python-html
  - python-logging

Unexpectedly, class-target += override is wiping out
RDEPENDS_${PN}, so explicitly add the rest of the
run-time dependencies (python-html5lib, python-lxml,
python-soupsieve).

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-beautifulsoup4_4.8.1.bb | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb 
b/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb
index 86482714..8ac9c8c5 100644
--- a/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb
+++ b/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb
@@ -19,4 +19,14 @@ RDEPENDS_${PN} = "\
 ${PYTHON_PN}-soupsieve \
 "
 
+# class override, which is not
+# inheriting from above (FIXME?)
+RDEPENDS_${PN}_class-target += "\
+${PYTHON_PN}-html \
+${PYTHON_PN}-html5lib \
+${PYTHON_PN}-logging \
+${PYTHON_PN}-lxml \
+${PYTHON_PN}-soupsieve \
+"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0

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


[oe] [meta-python2][PATCH v2] packagegroup-meta-python2: add python-soupsieve

2020-01-19 Thread Tim Orling
Signed-off-by: Tim Orling 
---
 recipes-core/packagegroups/packagegroup-meta-python2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/packagegroups/packagegroup-meta-python2.bb 
b/recipes-core/packagegroups/packagegroup-meta-python2.bb
index 8ee9bad9..41ba3abd 100644
--- a/recipes-core/packagegroups/packagegroup-meta-python2.bb
+++ b/recipes-core/packagegroups/packagegroup-meta-python2.bb
@@ -57,7 +57,7 @@ RDEPENDS_packagegroup-meta-python2 = "\
 python-aws-iot-device-sdk-python python-constantly python-bitarray 
python-flask-wtf \
 python-parse-type python-ipaddress python-dbus python-cpuset 
python-distutils-extra \
 python-futures python-jsmin python-pygobject python-pytoml python-six 
python-which \
-python-netifaces python-configargparse python-sqlparse \
+python-netifaces python-configargparse python-sqlparse python-soupsieve \
 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "python-pam pamela", "", 
d)} \
 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "python-systemd", "", 
d)} \
 "
-- 
2.25.0

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


[oe] [meta-python2][PATCH v2] python-cmd2: downgrade to 0.8.9

2020-01-19 Thread Tim Orling
* 0.8.9 was the last version with Python 2.7 support

* add missing RDEPENDS:
  - python-argparse

FIXME: missing dependency on python-enum, which is not
   currently packaged by python_2.7

Signed-off-by: Tim Orling 
---
 .../python/{python-cmd2_0.9.21.bb => python-cmd2_0.8.9.bb} | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename recipes-devtools/python/{python-cmd2_0.9.21.bb => python-cmd2_0.8.9.bb} 
(80%)

diff --git a/recipes-devtools/python/python-cmd2_0.9.21.bb 
b/recipes-devtools/python/python-cmd2_0.8.9.bb
similarity index 80%
rename from recipes-devtools/python/python-cmd2_0.9.21.bb
rename to recipes-devtools/python/python-cmd2_0.8.9.bb
index 992b95ea..74cc5d6f 100644
--- a/recipes-devtools/python/python-cmd2_0.9.21.bb
+++ b/recipes-devtools/python/python-cmd2_0.8.9.bb
@@ -8,16 +8,17 @@ eliminates much of the boilerplate code which would be 
necessary when using cmd.
 HOMEPAGE = "http://packages.python.org/cmd2/;
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=01aeabea7ae1529a8e4b674b7107d6bc"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=60bc6842001870a418935bd84570b676"
 
-SRC_URI[md5sum] = "0e1ce6a2fd8846c2a9e0de2ceb1fa461"
-SRC_URI[sha256sum] = 
"8880fea501bb45a42e8ddde18023d336ccf72f187c4b03e9ee9f13d719ecbd5f"
+SRC_URI[md5sum] = "878976772c305486dfbca3aff4b4e779"
+SRC_URI[sha256sum] = 
"145cb677ebd0e3cae546ab81c30f6c25e0b08ba0f1071df854d53707ea792633"
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 
 inherit pypi setuptools
 
 RDEPENDS_${PN} += "\
+${PYTHON_PN}-argparse \
 ${PYTHON_PN}-doctest \
 ${PYTHON_PN}-pyparsing \
 ${PYTHON_PN}-pyperclip \
-- 
2.25.0

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


[oe] [meta-python2][PATCH] lib/oeqa/runtime/cases: add python2.py

2020-01-22 Thread Tim Orling
Refactor the python3 test from oe-core to do very
basic acceptance test of python2.

Signed-off-by: Tim Orling 
---
 lib/oeqa/runtime/cases/python2.py | 20 
 1 file changed, 20 insertions(+)
 create mode 100644 lib/oeqa/runtime/cases/python2.py

diff --git a/lib/oeqa/runtime/cases/python2.py 
b/lib/oeqa/runtime/cases/python2.py
new file mode 100644
index ..8afa2ac9
--- /dev/null
+++ b/lib/oeqa/runtime/cases/python2.py
@@ -0,0 +1,20 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
+from oeqa.runtime.case import OERuntimeTestCase
+from oeqa.core.decorator.depends import OETestDepends
+from oeqa.runtime.decorator.package import OEHasPackage
+
+
+class PythonTest(OERuntimeTestCase):
+@OETestDepends(['ssh.SSHTest.test_ssh'])
+@OEHasPackage(['python-core'])
+def test_python(self):
+cmd = "python -c \"import codecs; print(codecs.encode('Uryyb, jbeyq', 
'rot13'))\""
+status, output = self.target.run(cmd)
+msg = 'Exit status was not 0. Output: %s' % output
+self.assertEqual(status, 0, msg=msg)
+
+msg = 'Incorrect output: %s' % output
+self.assertEqual(output, "Hello, world", msg=msg)
-- 
2.25.0

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


[oe] [meta-python2][PATCH] packagegroup-meta-python2: add -wrapt, -deprecated

2020-01-22 Thread Tim Orling
Update the packagegroup with newly added recipes

Signed-off-by: Tim Orling 
---
 recipes-core/packagegroups/packagegroup-meta-python2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-core/packagegroups/packagegroup-meta-python2.bb 
b/recipes-core/packagegroups/packagegroup-meta-python2.bb
index 41ba3abd..95f9c02f 100644
--- a/recipes-core/packagegroups/packagegroup-meta-python2.bb
+++ b/recipes-core/packagegroups/packagegroup-meta-python2.bb
@@ -57,7 +57,8 @@ RDEPENDS_packagegroup-meta-python2 = "\
 python-aws-iot-device-sdk-python python-constantly python-bitarray 
python-flask-wtf \
 python-parse-type python-ipaddress python-dbus python-cpuset 
python-distutils-extra \
 python-futures python-jsmin python-pygobject python-pytoml python-six 
python-which \
-python-netifaces python-configargparse python-sqlparse python-soupsieve \
+python-netifaces python-configargparse python-sqlparse python-soupsieve 
python-wrapt \
+python-deprecated \
 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "python-pam pamela", "", 
d)} \
 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "python-systemd", "", 
d)} \
 "
-- 
2.25.0

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


Re: [oe] [meta-python][PATCH 01/12] python-m2crypto: Use PYTHON_PN instead of hardcoding python name

2020-01-22 Thread Tim Orling
We should start merging the inc and bb files now that we do not need to
support more than one python version.

On Tue, Jan 21, 2020 at 10:38 PM Khem Raj  wrote:

> Lets this inc file become usable for py3 module as well
>
> Signed-off-by: Khem Raj 
> ---
>  meta-python/recipes-devtools/python/python-m2crypto.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/python-m2crypto.inc
> b/meta-python/recipes-devtools/python/python-m2crypto.inc
> index 5f5444f37e..76dd58ce04 100644
> --- a/meta-python/recipes-devtools/python/python-m2crypto.inc
> +++ b/meta-python/recipes-devtools/python/python-m2crypto.inc
> @@ -17,7 +17,7 @@ PYPI_PACKAGE = "M2Crypto"
>  inherit pypi siteinfo
>
>  DEPENDS += "openssl swig-native"
> -RDEPENDS_${PN} += "python-typing"
> +RDEPENDS_${PN} += "${PYTHON_PN}-typing"
>
>  DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}
> -I${STAGING_INCDIR}"
>  DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}"
> --
> 2.25.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-python2][PATCH] kas-meta-python2-ptest-image: add python2 test

2020-01-22 Thread Tim Orling
In addition to ping, ssh and ptest, run python2 test(s).

Run python2 before ptest (fail early).

Signed-off-by: Tim Orling 
---
 kas-meta-python2-ptest-image.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kas-meta-python2-ptest-image.yml b/kas-meta-python2-ptest-image.yml
index 3a15add5..1dc0f4b8 100644
--- a/kas-meta-python2-ptest-image.yml
+++ b/kas-meta-python2-ptest-image.yml
@@ -14,7 +14,7 @@ local_conf_header:
 DISTRO_FEAURES_append = " ptest"
 EXTRA_IMAGE_FEATURES = "debug-tweaks"
 TESTIMAGE_AUTO = "1"
-TEST_SUITES = " ping ssh ptest"
+TEST_SUITES = " ping ssh python2 ptest"
 TEST_QEMUPARAMS += "-smp 4 -m 8192"
 TEST_RUNQEMUPARAMS += "kvm gl"
 IMAGE_ROOTFS_SIZE ?= "8192"
-- 
2.25.0

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


[oe] [meta-python2][PATCH] python-setuptools: copy patch from oe-core

2020-01-20 Thread Tim Orling
The following patch is needed for python-setuptools-native:
0001-conditionally-do-not-fetch-code-by-easy_install.patch

While currently this is duplication of the same patch in oe-core,
there is no guarantee that the patch will continue to stay in sync
for py2, so copy the known working patch now.

Signed-off-by: Tim Orling 
---
 ...ly-do-not-fetch-code-by-easy_install.patch | 32 +++
 1 file changed, 32 insertions(+)
 create mode 100644 
recipes-devtools/python/python-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch

diff --git 
a/recipes-devtools/python/python-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
 
b/recipes-devtools/python/python-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
new file mode 100644
index ..169d1b15
--- /dev/null
+++ 
b/recipes-devtools/python/python-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
@@ -0,0 +1,32 @@
+From 5bba4f57f048016aa92ce5909e9e372db619554e Mon Sep 17 00:00:00 2001
+From: Hongxu Jia 
+Date: Tue, 17 Jul 2018 10:13:38 +0800
+Subject: [PATCH] conditionally do not fetch code by easy_install
+
+If var-NO_FETCH_BUILD is set, do not allow to fetch code from
+internet by easy_install.
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia 
+
+---
+ setuptools/command/easy_install.py | 5 +
+ 1 file changed, 5 insertions(+)
+
+diff --git a/setuptools/command/easy_install.py 
b/setuptools/command/easy_install.py
+index 05508ce..945e118 100755
+--- a/setuptools/command/easy_install.py
 b/setuptools/command/easy_install.py
+@@ -640,6 +640,11 @@ class easy_install(Command):
+ os.path.exists(tmpdir) and rmtree(rmtree_safe(tmpdir))
+ 
+ def easy_install(self, spec, deps=False):
++if os.environ.get('NO_FETCH_BUILD', None):
++log.error("ERROR: Do not try to fetch `%s' for building. "
++  "Please add its native recipe to DEPENDS." % spec)
++return None
++
+ if not self.editable:
+ self.install_site_py()
+ 
-- 
2.25.0

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


[oe] [meta-python2][PATCH 2/2] python-parse: fix target RDEPENDS

2020-01-20 Thread Tim Orling
Missing run-time dependency on:
  - python-numbers (decimal)

Move RDEPENDS to _append_class-target in case -native,-nativesdk
is desired in the future.

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-parse_1.14.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-devtools/python/python-parse_1.14.0.bb 
b/recipes-devtools/python/python-parse_1.14.0.bb
index 6e03d4b8..1fd51163 100644
--- a/recipes-devtools/python/python-parse_1.14.0.bb
+++ b/recipes-devtools/python/python-parse_1.14.0.bb
@@ -8,7 +8,8 @@ SRC_URI[sha256sum] = 
"95a4f4469e37c57b5e924629ac99926f28bee7da59515dc5b8078c4c3e
 
 inherit pypi setuptools
 
-RDEPENDS_${PN} += "\
+RDEPENDS_${PN}_append_class-target = "\
 ${PYTHON_PN}-datetime \
 ${PYTHON_PN}-logging \
+${PYTHON_PN}-numbers \
 "
-- 
2.25.0

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


[oe] [meta-python2][PATCH 1/2] python-beautifulsoup4: fix target RDEPENDS syntax

2020-01-20 Thread Tim Orling
Thanks to review by André Draszik, the syntax that
was eluding me in prior patch is now corrected.

NOTE: -native,-nativesdk recipes have the full build
of python2 at their disposal, including all modules.
For target builds, we need to include the packages-split
modules that are produced by the OE python manifest.

Fixes: 417762c0 python-beautifulsoup4: fix target RDEPENDS

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-beautifulsoup4_4.8.2.bb | 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/recipes-devtools/python/python-beautifulsoup4_4.8.2.bb 
b/recipes-devtools/python/python-beautifulsoup4_4.8.2.bb
index 821e5c2c..9f9065e2 100644
--- a/recipes-devtools/python/python-beautifulsoup4_4.8.2.bb
+++ b/recipes-devtools/python/python-beautifulsoup4_4.8.2.bb
@@ -19,14 +19,9 @@ RDEPENDS_${PN} = "\
 ${PYTHON_PN}-soupsieve \
 "
 
-# class override, which is not
-# inheriting from above (FIXME?)
-RDEPENDS_${PN}_class-target += "\
+RDEPENDS_${PN}_append_class-target = "\
 ${PYTHON_PN}-html \
-${PYTHON_PN}-html5lib \
 ${PYTHON_PN}-logging \
-${PYTHON_PN}-lxml \
-${PYTHON_PN}-soupsieve \
 "
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0

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


Re: [oe] [meta-python2][PATCH] python-beautifulsoup4: fix target RDEPENDS

2020-01-20 Thread Tim Orling
On Mon, Jan 20, 2020 at 2:29 AM André Draszik  wrote:

> On Sun, 2020-01-19 at 15:24 -0800, Tim Orling wrote:
> > * target has run-time dependencies on:
> >   - python-html
> >   - python-logging
>
> Any reason -native doesn't depend on those?


These are part of the package splitting OE does for python. They are
normally part of a full python installation in distros that don’t care
about space. For python-native environment, there is no package splitting
and these would not exist as -native variants.

>
>
> > Unexpectedly, class-target += override is wiping out
> > RDEPENDS_${PN}, so explicitly add the rest of the
> > run-time dependencies (python-html5lib, python-lxml,
> > python-soupsieve).
>
> This is expected, you should instead do:
>
> RDEPENDS_${PN}_append_class-target = "\
> ${PYTHON_PN}-html \
> ${PYTHON_PN}-logging"
>

Facepalm. I had tried it with append after class-target, which clearly
doesn’t work and my brain was getting tired. I’ll clean it up today. Thank
you for the catch.

So as to avoid duplication and having to maintain two distinct lists.
>
> Cheers,
> Andre'
>
>
> >
> > Signed-off-by: Tim Orling 
> > ---
> >  recipes-devtools/python/python-beautifulsoup4_4.8.1.bb | 10 ++
> >  1 file changed, 10 insertions(+)
> >
> > diff --git a/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb
> b/recipes-devtools/python/python-
> > beautifulsoup4_4.8.1.bb
> > index 86482714..8ac9c8c5 100644
> > --- a/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb
> > +++ b/recipes-devtools/python/python-beautifulsoup4_4.8.1.bb
> > @@ -19,4 +19,14 @@ RDEPENDS_${PN} = "\
> >  ${PYTHON_PN}-soupsieve \
> >
> > +# class override, which is not
> > +# inheriting from above (FIXME?)
> > +RDEPENDS_${PN}_class-target += "\
> > +${PYTHON_PN}-html \
> > +${PYTHON_PN}-html5lib \
> > +${PYTHON_PN}-logging \
> > +${PYTHON_PN}-lxml \
> > +${PYTHON_PN}-soupsieve \
> > +"
> > +
> >  BBCLASSEXTEND = "native nativesdk"
> > --
> > 2.25.0
> >
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] Python 2 sunsetting

2020-01-20 Thread Tim Orling
CPython has officially announced that there will be one more release
(2.7.18) in April 2020 [1]. After this date all work on python2 will stop
as far as the official community is concerned. This means no bug fixes,
security fixes or vulnerability checks will be done by the official python
community.

YOU HAVE BEEN WARNED. Move away from Python 2 immediately. To continue to
use it will put you and your organization at significant risk.

To make this transition as smooth as possible, meta-python2 has been
created [2]. But note that maintenance of that layer will be entirely up to
the community after Q12020. I have no business nor personal need to
continue using python2 and will therefore have no motivation to continue to
maintain that layer. Someone else will have to step up.

[1]
http://pyfound.blogspot.com/2019/12/python-2-sunset.html?utm_source=feedburner_medium=feed_campaign=Feed%3A+PythonSoftwareFoundationNews+%28Python+Software+Foundation+News%29

[2] https://git.openembedded.org/meta-python2/
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python2][PATCH] python-engineio: add missing RDEPENDS

2020-01-20 Thread Tim Orling
For target, missing run-time dependencies:
  - python-compression (gzip)
  - python-json
  - python-logging

For all (including native/nativesdk support when desired), missing:
  - python-six

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-engineio_3.11.1.bb | 14 --
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/recipes-devtools/python/python-engineio_3.11.1.bb 
b/recipes-devtools/python/python-engineio_3.11.1.bb
index d642b0f0..3fbba8bf 100644
--- a/recipes-devtools/python/python-engineio_3.11.1.bb
+++ b/recipes-devtools/python/python-engineio_3.11.1.bb
@@ -6,9 +6,19 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8"
 
-SRC_URI[md5sum] = "bec3b06a112a7f09a0a9c92b627282fe"
-SRC_URI[sha256sum] = 
"9c9a6035b4b5e5a225f426f846afa14cf627f7571d1ae02167cb703fefd134b7"
+SRC_URI[md5sum] = "327c16ca05e9b0cc4f994b9d35c7f7d7"
+SRC_URI[sha256sum] = 
"50d108fc7feb7f970e6ebc86733752ebd714545bb5622383e6135bdad45fc9fe"
 
 PYPI_PACKAGE = "python-engineio"
 
 inherit pypi setuptools
+
+RDEPENDS_${PN}_append_class-target = "\
+${PYTHON_PN}-compression \
+${PYTHON_PN}-json \
+${PYTHON_PN}-logging \
+"
+
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-six \
+"
-- 
2.25.0

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


Re: [oe] [OE-core] [PATCH][meta-python2] python: add 2.7.17 from oe-core

2020-01-20 Thread Tim Orling
First of all, a GREAT BIG THANK YOU for doing this.

ERROR: ParseError at
/home/ttorling/Projects/meta-python2/recipes-devtools/python/
python_2.7.17.bb:1: Could not include required file python.inc

Seems like python.inc is 2.7 specific and should also move? I grepped for
usage in poky and didn't find any.

On Mon, Jan 20, 2020 at 3:51 AM Ross Burton  wrote:

> Python 2 ceased being maintained on the 1st January 2020.  All users of
> Python 2 in oe-core have already been ported to Python 3, so in oe-core
> 390f3eda Python 2 was finally removed from oe-core itself.
>
> The following are added to meta-python2 in this commit:
> - python and python-native 2.7.17
> - python-setuptools
> - The classes pythonnative, pythondir, distutils, setuptools
>
> Signed-off-by: Ross Burton 
> ---
>  classes/distutils-base.bbclass|4 +
>  classes/distutils.bbclass |   87 ++
>  classes/python-dir.bbclass|5 +
>  classes/pythonnative.bbclass  |   27 +
>  classes/setuptools.bbclass|3 +
>
> 

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


Re: [oe] [OE-core] python2-less meta-openembedded build results

2020-01-20 Thread Tim Orling
On Mon, Jan 20, 2020 at 7:52 AM Khem Raj  wrote:

> Hi all
>
> Recently py2 is removed from oe-core, So I did quick patches to get a
> world build going.


Thank you for doing this.

And
> here are initial failures, please help out with recipes your can or
> care for. Eventually, the remaining
> ones we can blacklist for 3.1 release.


meta-python2 was specifically created to be the home for py2 legacy
components. Everyone, please help with that migration. But PLEASE make sure
whatever lands in meta-python2 RUNS, not just builds. We have a window to
make sure meta-python2 is in good shape, but it will take the efforts of
many in the community to make sure that happens.


>
> http://errors.yoctoproject.org/Errors/Build/97185/
>
> I will post more arches as they become available. If you want to try
> the same for machines/distros you can try yoe/mut for meta-oe
>
> https://git.openembedded.org/meta-openembedded-contrib/log/?h=yoe/mut
>
> Thank you
> -Khem
> --
> ___
> Openembedded-core mailing list
> openembedded-c...@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python] [PATCH] python-pymisp: upgrade 2.4.117.2 -> 2.4.119.1

2020-01-20 Thread Tim Orling
This now has a dependency on {python}-decorators [1][2], which you have not
provided. Please RUN-TIME test your upgrades. Fujitsu is providing upgrades
that break things. At some point we will simply have to deny all your
upgrades, because they are not of high quality. Please correct this.

root@qemux86-64:~# python
Python 2.7.17 (default, Oct 19 2019, 18:58:51)
[GCC 9.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymisp
WARNING [__init__.py:56 - () ] Unable to load pymisp properly: No
moduld
>>>

[1] https://pypi.org/project/Deprecated/#files
[2]
https://github.com/MISP/PyMISP/blob/fac748dd4c63c9eef4056c5fc5201e811a97be10/setup.py#L44

On Wed, Jan 1, 2020 at 11:03 PM Zang Ruochen 
wrote:

> Signed-off-by: Zang Ruochen 
> ---
>  meta-python/recipes-devtools/python/python-pymisp.inc | 4 ++--
>  ...{python-pymisp_2.4.117.2.bb => python-pymisp_2.4.119.1.bb} | 0
>  ...ython3-pymisp_2.4.117.2.bb => python3-pymisp_2.4.119.1.bb} | 0
>  3 files changed, 2 insertions(+), 2 deletions(-)
>  rename meta-python/recipes-devtools/python/{python-pymisp_2.4.117.2.bb
> => python-pymisp_2.4.119.1.bb} (100%)
>  rename meta-python/recipes-devtools/python/{python3-pymisp_2.4.117.2.bb
> => python3-pymisp_2.4.119.1.bb} (100%)
>
> diff --git a/meta-python/recipes-devtools/python/python-pymisp.inc
> b/meta-python/recipes-devtools/python/python-pymisp.inc
> index 4c61d9fff..6c474920e 100644
> --- a/meta-python/recipes-devtools/python/python-pymisp.inc
> +++ b/meta-python/recipes-devtools/python/python-pymisp.inc
> @@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/MISP/PyMISP;
>  LICENSE = "BSD-2-Clause"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20"
>
> -SRC_URI[md5sum] = "77aef367e57ba7dcc6f9b3d445a960ed"
> -SRC_URI[sha256sum] =
> "de67196f6a8916b9c52a84a1c45ea967c53fa9d2b3795b070ad2c1cbc28d79d7"
> +SRC_URI[md5sum] = "57184785340e25469e4a80ff9ddce09e"
> +SRC_URI[sha256sum] =
> "594ea0a9e150052232425009eac6dd104a80f494d0e273cc48dd114d7ea8482b"
>
>  RDEPENDS_${PN} += " \
>  ${PYTHON_PN}-dateutil \
> diff --git a/meta-python/recipes-devtools/python/
> python-pymisp_2.4.117.2.bb b/meta-python/recipes-devtools/python/
> python-pymisp_2.4.119.1.bb
> similarity index 100%
> rename from meta-python/recipes-devtools/python/python-pymisp_2.4.117.2.bb
> rename to meta-python/recipes-devtools/python/python-pymisp_2.4.119.1.bb
> diff --git a/meta-python/recipes-devtools/python/
> python3-pymisp_2.4.117.2.bb b/meta-python/recipes-devtools/python/
> python3-pymisp_2.4.119.1.bb
> similarity index 100%
> rename from meta-python/recipes-devtools/python/
> python3-pymisp_2.4.117.2.bb
> rename to meta-python/recipes-devtools/python/python3-pymisp_2.4.119.1.bb
> --
> 2.20.1
>
>
>
> --
> ___
> 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-python][PATCH] python3-pycryptodomex: add 3.9.4 recipe

2020-03-09 Thread Tim Orling
This probably should have an RCONFLICTS with python3-cryptodme (and maybe
even python3-crypto).

These three packages step all over each other with same functionality...

On Mon, Mar 9, 2020 at 7:50 PM Scott Branden via Openembedded-devel <
openembedded-devel@lists.openembedded.org> wrote:

> From: Rajesh Ravi 
>
> Add python3-pycryptodomex 3.9.4 recipe needed to build
> such components as optee 3.8.0.
>
> Signed-off-by: Rajesh Ravi 
> Signed-off-by: Scott Branden 
> ---
>  .../python/python3-pycryptodomex_3.9.4.bb | 30 +++
>  1 file changed, 30 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-pycryptodomex_3.9.4.bb
>
> diff --git a/meta-python/recipes-devtools/python/
> python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/
> python3-pycryptodomex_3.9.4.bb
> new file mode 100644
> index 0..be6b10f3f
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
> @@ -0,0 +1,30 @@
> +SUMMARY = "Cryptographic library for Python"
> +DESCRIPTION = "PyCryptodome is a self-contained Python package of
> low-level\
> + cryptographic primitives."
> +HOMEPAGE = "http://www.pycryptodome.org;
> +LICENSE = "PD & BSD-2-Clause"
> +LIC_FILES_CHKSUM =
> "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
> +
> +SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b"
> +SRC_URI[sha256sum] =
> "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"
> +
> +inherit pypi
> +inherit setuptools3
> +
> +RDEPENDS_${PN} += " \
> +${PYTHON_PN}-io \
> +${PYTHON_PN}-math \
> +"
> +
> +RDEPENDS_${PN}-tests += " \
> +${PYTHON_PN}-unittest \
> +"
> +
> +PACKAGES =+ "${PN}-tests"
> +
> +FILES_${PN}-tests += " \
> +${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
> +${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.17.1
>
> --
> ___
> 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-python][PATCH] python3-pycryptodomex: add 3.9.4 recipe

2020-03-11 Thread Tim Orling
On Wed, Mar 11, 2020 at 8:02 PM Scott Branden 
wrote:

> So no changes to make.  Could we get this added to master-next?
>

My concerns have been addressed.

Thank you everyone for the time you took to research the state of things.

Reviewed-by: Tim Orling 

>
> On Tue, 10 Mar 2020 at 20:48, Rajesh Ravi 
> wrote:
>
>> ++
>>
>> Hi Scott,
>>
>> A)I tried a lot no other recipe could resolve OP-TEE 3.8.0 build break.
>> I posted this in OP-TEE as well as meta-openembedded forums.
>> This is the only solution suggested in following OP-TEE forum and  I
>> found to be worked as per my knowledge.
>>
>> Ref: https://github.com/OP-TEE/optee_os/issues/3624
>>
>>https://github.com/openembedded/meta-openembedded/issues/187
>>
>> python3-pycryptodome could not resolve all the required dependencies
>> needed by OP-TEE 3.8.0
>>
>> B)Already existing recipe: python-pycryptodomex_3.9.4.bb does not have
>> RCONFLICTS. (even with python3-pycryptodome_3.9.4.bb)
>>Is this probably because there is no  python-pycryptodome recipe?
>> Please correct me if I'm wrong
>>
>> Regards,
>> Rajesh
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Mar 11, 2020 at 12:45 AM Scott Branden <
>> scott.bran...@broadcom.com> wrote:
>>
>>>
>>>
>>> On 2020-03-09 10:50 p.m., Tim Orling wrote:
>>>
>>> This probably should have an RCONFLICTS with python3-cryptodme (and
>>> maybe even python3-crypto).
>>>
>>> These three packages step all over each other with same functionality...
>>>
>>>
>>> Good feedback Tim.
>>>
>>> Rajesh, could you look if the other recipes do what is needed or can be
>>> enhanced and used instead?
>>>
>>>
>>> On Mon, Mar 9, 2020 at 7:50 PM Scott Branden via Openembedded-devel <
>>> openembedded-devel@lists.openembedded.org> wrote:
>>>
>>>> From: Rajesh Ravi 
>>>>
>>>> Add python3-pycryptodomex 3.9.4 recipe needed to build
>>>> such components as optee 3.8.0.
>>>>
>>>> Signed-off-by: Rajesh Ravi 
>>>> Signed-off-by: Scott Branden 
>>>> ---
>>>>  .../python/python3-pycryptodomex_3.9.4.bb | 30 +++
>>>>  1 file changed, 30 insertions(+)
>>>>  create mode 100644 meta-python/recipes-devtools/python/
>>>> python3-pycryptodomex_3.9.4.bb
>>>>
>>>> diff --git a/meta-python/recipes-devtools/python/
>>>> python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/
>>>> python3-pycryptodomex_3.9.4.bb
>>>> new file mode 100644
>>>> index 0..be6b10f3f
>>>> --- /dev/null
>>>> +++ b/meta-python/recipes-devtools/python/
>>>> python3-pycryptodomex_3.9.4.bb
>>>> @@ -0,0 +1,30 @@
>>>> +SUMMARY = "Cryptographic library for Python"
>>>> +DESCRIPTION = "PyCryptodome is a self-contained Python package of
>>>> low-level\
>>>> + cryptographic primitives."
>>>> +HOMEPAGE = "http://www.pycryptodome.org;
>>>> +LICENSE = "PD & BSD-2-Clause"
>>>> +LIC_FILES_CHKSUM =
>>>> "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
>>>> +
>>>> +SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b"
>>>> +SRC_URI[sha256sum] =
>>>> "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"
>>>> +
>>>> +inherit pypi
>>>> +inherit setuptools3
>>>> +
>>>> +RDEPENDS_${PN} += " \
>>>> +${PYTHON_PN}-io \
>>>> +${PYTHON_PN}-math \
>>>> +"
>>>> +
>>>> +RDEPENDS_${PN}-tests += " \
>>>> +${PYTHON_PN}-unittest \
>>>> +"
>>>> +
>>>> +PACKAGES =+ "${PN}-tests"
>>>> +
>>>> +FILES_${PN}-tests += " \
>>>> +${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
>>>> +${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \
>>>> +"
>>>> +
>>>> +BBCLASSEXTEND = "native nativesdk"
>>>> --
>>>> 2.17.1
>>>>
>>>> --
>>>> ___
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>
>>>
>>>
>>
>> --
>> Regards,
>> Rajesh
>>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python][PATCH 1/3] python3-cycler: add recipe for 0.10.0

2020-03-11 Thread Tim Orling
FWIW, I had made significant progress towards getting ptest enabled for
Matplotlib, although a bit out of date now [1]. Which included a recipe for
cycler. It also unbundled a bunch of dependencies, like libagg.

The ptests do require a fair amount of ram, so standard qemu settings will
epically fail.

[1]
https://git.openembedded.org/meta-openembedded-contrib/log/?h=timo/python-matplotlib-2.1.2-WIP

On Wed, Mar 11, 2020 at 12:04 AM Nicola Lunghi  wrote:

> This is a dependency for python3-matplotlib
>
> Signed-off-by: Nicola Lunghi 
> ---
>  .../python/python3-cycler_0.10.0.bb  | 16 
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-cycler_0.10.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-cycler_0.10.0.bb
> b/meta-python/recipes-devtools/python/python3-cycler_0.10.0.bb
> new file mode 100644
> index 0..cd21be8ac
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-cycler_0.10.0.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "Composable style cycles"
> +HOMEPAGE = "http://github.com/matplotlib/cycler;
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=7713fe42cd766b15c710e19392bfa811"
> +
> +SRC_URI[md5sum] = "4cb42917ac5007d1cdff6cccfe2d016b"
> +SRC_URI[sha256sum] =
> "cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8"
> +
> +inherit pypi setuptools3
> +
> +RDEPENDS_${PN} += "\
> +python3-core \
> +python3-six \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.20.1
>
> --
> ___
> 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-oe][PATCH] layer.conf: add meta-python to LAYERDEPENDS

2020-03-11 Thread Tim Orling
On Wed, Mar 11, 2020 at 12:38 AM Khem Raj  wrote:

> On Tue, Mar 10, 2020 at 11:39 PM Changqing Li
>  wrote:
> >
> >
> > On 3/7/20 12:12 AM, Khem Raj wrote:
> > > On Thu, Mar 5, 2020 at 11:55 PM Martin Jansa 
> wrote:
> > >> Can we fix mozjs instead?
> > > perhaps thats better fix, maybe it can made optional via packageconfig
> ?
> > > or marked incompatible if meta-python is not included
> >
> > Hi,  Khem
> >
> > There are 2 solutions for the problem, Which do you think is better?
> >
> >
> > 1.  fix this by using BBFILES_DYNAMIC, add a folder dynamic-layers under
> > meta-oe,
> >
> > and move those recipes that depend on meta-python under the
> > dynamic-layers.  and add
> >
> > these bbfiles by BBFILES_DYNAMIC.   but these will need to move many
> > recipes from
> >
> > original folder to folder dynamic-layers,   do you think this change is
> > acceptable?
>
>
> I think we can live with BBFILES_DYNAMIC solution.


I agree.


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


[oe] [meta-python2] Final python2 release candidate 2.7.18rc1

2020-04-14 Thread Tim Orling
Heads up that the final release of python2 has a release candidate:
https://www.python.org/downloads/release/python-2718rc1/
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[oe] [meta-python2][PATCH v2] packagegroup-meta-python2: add new recipes

2020-04-14 Thread Tim Orling
Add python-docker-pycreds
Add python-websocket-client
Add python-docker

Signed-off-by: Tim Orling 
---
 recipes-core/packagegroups/packagegroup-meta-python2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-core/packagegroups/packagegroup-meta-python2.bb 
b/recipes-core/packagegroups/packagegroup-meta-python2.bb
index 9a8826ab..0eb9b8db 100644
--- a/recipes-core/packagegroups/packagegroup-meta-python2.bb
+++ b/recipes-core/packagegroups/packagegroup-meta-python2.bb
@@ -58,7 +58,8 @@ RDEPENDS_packagegroup-meta-python2 = "\
 python-parse-type python-ipaddress python-dbus python-cpuset 
python-distutils-extra \
 python-futures python-jsmin python-pygobject python-pytoml python-six 
python-which \
 python-netifaces python-configargparse python-sqlparse python-soupsieve 
python-wrapt \
-python-deprecated python-booleanpy \
+python-deprecated python-booleanpy python-docker-pycreds 
python-websocket-client \
+python-docker \
 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "python-pam pamela", "", 
d)} \
 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "python-systemd", "", 
d)} \
 "
-- 
2.25.0

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

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


[oe] [meta-python2][PATCH] packagegroup-meta-python2: add new recipes

2020-04-14 Thread Tim Orling
Add python-docker-pycreds
Add python-websocket-client
Add python-docker

Signed-off-by: Tim Orling 
---
 recipes-core/packagegroups/packagegroup-meta-python2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-core/packagegroups/packagegroup-meta-python2.bb 
b/recipes-core/packagegroups/packagegroup-meta-python2.bb
index 9a8826ab..2cb57223 100644
--- a/recipes-core/packagegroups/packagegroup-meta-python2.bb
+++ b/recipes-core/packagegroups/packagegroup-meta-python2.bb
@@ -58,7 +58,8 @@ RDEPENDS_packagegroup-meta-python2 = "\
 python-parse-type python-ipaddress python-dbus python-cpuset 
python-distutils-extra \
 python-futures python-jsmin python-pygobject python-pytoml python-six 
python-which \
 python-netifaces python-configargparse python-sqlparse python-soupsieve 
python-wrapt \
-python-deprecated python-booleanpy \
+python-deprecated python-booleanpy python-docker-pycreds 
python-websocket-client 
+python-docker \
 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "python-pam pamela", "", 
d)} \
 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "python-systemd", "", 
d)} \
 "
-- 
2.25.0

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

View/Reply Online (#83935): 
https://lists.openembedded.org/g/openembedded-devel/message/83935
Mute This Topic: https://lists.openembedded.org/mt/73025985/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-python2][PATCH 3/3] python-docker: move from meta-virtualization

2020-04-13 Thread Tim Orling
On Mon, Apr 13, 2020 at 12:49 PM Leon Anavi  wrote:

> Support for Python 2 has been dropped in meta-virtualization. Move
> python-docker recipes to meta-python2 for backward compatibility
> of legacy projects. Dependencies python-docker-pycreds and
> python-websocket-client should be also present in meta-python2.
>
> Signed-off-by: Leon Anavi 
> ---
>  recipes-devtools/python/python-docker_4.1.0.bb | 18 ++
>  1 file changed, 18 insertions(+)
>  create mode 100644 recipes-devtools/python/python-docker_4.1.0.bb
>
> diff --git a/recipes-devtools/python/python-docker_4.1.0.bb
> b/recipes-devtools/python/python-docker_4.1.0.bb
> new file mode 100644
> index 000..434e463
> --- /dev/null
> +++ b/recipes-devtools/python/python-docker_4.1.0.bb


Latest upstream is 4.2.0. Can you look into an upgrade?

> 
> @@ -0,0 +1,18 @@
> +SUMMARY = "A Python library for the Docker Engine API."
> +HOMEPAGE = "https://github.com/docker/docker-py;
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=34f3846f940453127309b920eeb89660"
> +
> +inherit pypi setuptools
> +
> +SRC_URI[md5sum] = "e1e8dc73e3220fe9eec1faf80b0290de"
> +SRC_URI[sha256sum] =
> "6e06c5e70ba4fad73e35f00c55a895a448398f3ada7faae072e2bb01348bafc1"
> +
> +RDEPENDS_${PN} += " \
> +   python-misc \
> +   python-six \
> +   python-docker-pycreds \
> +   python-requests \
> +   python-websocket-client \
> +   python-backports-ssl \
> +"
> --
> 2.7.4
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83900): 
https://lists.openembedded.org/g/openembedded-devel/message/83900
Mute This Topic: https://lists.openembedded.org/mt/72995328/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-python][PATCH 3/3] python-luma-oled: add new recipe

2020-04-03 Thread Tim Orling
We do not want separate .inc and .bb files. It makes recipe upgrades with
devtool/AUH difficult. Please merge .inc and .bb

On Fri, Apr 3, 2020 at 1:16 AM Leon Anavi  wrote:

> Python library interfacing OLED matrix displays with the SSD1306,
> SSD1309, SSD1322, SSD1325, SSD1327, SSD1331, SSD1351 or SH1106
> driver using I2C/SPI on the Raspberry Pi and other single-board
> computers.
>
> Signed-off-by: Leon Anavi 
> ---
>  .../recipes-devtools/python/python-luma-oled.inc   | 18
> ++
>  .../recipes-devtools/python/python3-luma-oled_3.4.0.bb |  2 ++
>  2 files changed, 20 insertions(+)
>  create mode 100644
> meta-python/recipes-devtools/python/python-luma-oled.inc
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-luma-oled_3.4.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-luma-oled.inc
> b/meta-python/recipes-devtools/python/python-luma-oled.inc
> new file mode 100644
> index 000..dc59024
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-luma-oled.inc
> @@ -0,0 +1,18 @@
> +SUMMARY = "A small library to drive an OLED device"
> +DESCRIPTION = "\
> +A small library to drive an OLED device with either SSD1306 , SSD1309,
> SSD1322, \
> +SSD1325, SSD1327, SSD1331, SSD1351 or SH1106 chipset"
> +HOMEPAGE = "https://github.com/rm-hull/luma.oled;
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM =
> "file://LICENSE.rst;md5=c328c862c3335ad464e1c9a3ba574249"
> +
> +SRC_URI[md5sum] = "2944155b2242b9d2ddeb6e139c6083b8"
> +SRC_URI[sha256sum] =
> "2ea2b535e7e2f056a51a8c54ad78aa1f00d5699fc439c01bc7c2902823889552"
> +
> +CLEANBROKEN = "1"
> +
> +PYPI_PACKAGE = "luma.oled"
> +
> +RDEPENDS_${PN} += " \
> +   ${PYTHON_PN}-luma-core \
> +"
> diff --git a/meta-python/recipes-devtools/python/
> python3-luma-oled_3.4.0.bb b/meta-python/recipes-devtools/python/
> python3-luma-oled_3.4.0.bb
> new file mode 100644
> index 000..4f64a92
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-luma-oled_3.4.0.bb
> @@ -0,0 +1,2 @@
> +inherit pypi setuptools3
> +require python-luma-oled.inc
> --
> 2.7.4
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83634): 
https://lists.openembedded.org/g/openembedded-devel/message/83634
Mute This Topic: https://lists.openembedded.org/mt/72744281/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-python] [PATCH] python3-pint: Enable ptest

2020-04-03 Thread Tim Orling
Please merge the .inc file into the .bb file.

On Fri, Apr 3, 2020 at 1:45 AM zhengruoqin 
wrote:

> Signed-off-by: Zheng Ruoqin 
> ---
>  .../recipes-devtools/python/python-pint.inc   | 15 ++-
>  .../python/python3-pint/run-ptest |  3 +++
>  2 files changed, 17 insertions(+), 1 deletion(-)
>  create mode 100644
> meta-python/recipes-devtools/python/python3-pint/run-ptest
>
> diff --git a/meta-python/recipes-devtools/python/python-pint.inc
> b/meta-python/recipes-devtools/python/python-pint.inc
> index c58dc9076..5c3481008 100644
> --- a/meta-python/recipes-devtools/python/python-pint.inc
> +++ b/meta-python/recipes-devtools/python/python-pint.inc
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM =
> "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
>
>  PYPI_PACKAGE := "Pint"
>
> -inherit pypi
> +inherit pypi ptest
>
>  SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
>  SRC_URI[sha256sum] =
> "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
> @@ -15,3 +15,16 @@ SRC_URI[sha256sum] =
> "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359
>  DEPENDS += "python3-setuptools-scm-native"
>
>  BBCLASSEXTEND = "native nativesdk"
> +
> +SRC_URI += " \
> +   file://run-ptest \
> +"
> +
> +RDEPENDS_${PN}-ptest += " \
> +   ${PYTHON_PN}-pytest \
> +"
> +
> +do_install_ptest() {
> +   install -d ${D}${PTEST_PATH}/testsuite
> +   cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/
> +}
> diff --git a/meta-python/recipes-devtools/python/python3-pint/run-ptest
> b/meta-python/recipes-devtools/python/python3-pint/run-ptest
> new file mode 100644
> index 0..5cec71169
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pint/run-ptest
> @@ -0,0 +1,3 @@
> +#!/bin/sh
> +
> +pytest
> --
> 2.20.1
>
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83632): 
https://lists.openembedded.org/g/openembedded-devel/message/83632
Mute This Topic: https://lists.openembedded.org/mt/72744546/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-python][PATCH 2/3] python-luma-core: add new recipe

2020-04-03 Thread Tim Orling
We do not want separate .inc and .bb files. It makes recipe upgrades with
devtool/AUH difficult. Please merge .inc and .bb

On Fri, Apr 3, 2020 at 1:15 AM Leon Anavi  wrote:

> Component library providing a Pillow-compatible drawing canvas,
> and other functionality to support drawing primitives and
> text-rendering capabilities for small displays on the Raspberry Pi
> and other single board computers.
>
> Signed-off-by: Leon Anavi 
> ---
>  .../recipes-devtools/python/python-luma-core.inc   | 18
> ++
>  .../python/python3-luma-core_1.12.0.bb |  2 ++
>  2 files changed, 20 insertions(+)
>  create mode 100644
> meta-python/recipes-devtools/python/python-luma-core.inc
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-luma-core_1.12.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-luma-core.inc
> b/meta-python/recipes-devtools/python/python-luma-core.inc
> new file mode 100644
> index 000..65350ef
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-luma-core.inc
> @@ -0,0 +1,18 @@
> +SUMMARY = "A component library to support SBC display drivers"
> +DESCRIPTION = "A component library to support SBC display drivers"
> +HOMEPAGE = "https://github.com/rm-hull/luma.core;
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM =
> "file://LICENSE.rst;md5=eda804060ba2312e41fe96b6fa334fd7"
> +
> +SRC_URI[md5sum] = "4378edb99cd12540b4e4a588969567ee"
> +SRC_URI[sha256sum] =
> "864a427de78bcc16758f4f4402a9e61f31cc8857bfae9aba8041159aaec3a491"
> +
> +CLEANBROKEN = "1"
> +
> +PYPI_PACKAGE = "luma.core"
> +
> +RDEPENDS_${PN} += " \
> +   ${PYTHON_PN}-pillow \
> +   ${PYTHON_PN}-threading \
> +   ${PYTHON_PN}-smbus2 \
> +"
> diff --git a/meta-python/recipes-devtools/python/
> python3-luma-core_1.12.0.bb b/meta-python/recipes-devtools/python/
> python3-luma-core_1.12.0.bb
> new file mode 100644
> index 000..6e34f81
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-luma-core_1.12.0.bb
> @@ -0,0 +1,2 @@
> +inherit pypi setuptools3
> +require python-luma-core.inc
> --
> 2.7.4
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[oe] [meta-python] Call to arms, help wanted

2020-04-01 Thread Tim Orling
Now that python2 support has been dropped, we have no need to maintain the
.inc and .bb files. And in fact, this makes upgrades with devtool more
difficult than it need be.

Please help the layer prepare for the dunfell Yocto Project 3.1 release by
sending patches to merge the .inc and .bb files.

If you are upgrading a recipe in meta-python, please use that opportunity
to also get rid of the .inc files.

We have a limited window before stable release branching will occur, at
which point we will all have to live with the state of things as they are.

Regards,

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

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


[oe] [meta-python2][dunfell][PATCH] kas-meta-python2-image-base.yml: dunfell branches

2020-04-27 Thread Tim Orling
Need to use dunfell for all dependent layers.

Signed-off-by: Tim Orling 
---
 kas-meta-python2-image-base.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kas-meta-python2-image-base.yml b/kas-meta-python2-image-base.yml
index 6b7293e0..62f476ac 100644
--- a/kas-meta-python2-image-base.yml
+++ b/kas-meta-python2-image-base.yml
@@ -10,14 +10,14 @@ repos:
 
   poky:
 url: https://git.yoctoproject.org/git/poky
-refspec: master
+refspec: dunfell
 layers:
   meta:
   meta-poky:
 
   meta-openembedded:
 url: http://git.openembedded.org/meta-openembedded
-refspec: master
+refspec: dunfell
 layers:
   meta-oe:
 
-- 
2.25.0

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

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


[oe] [meta-python2][PATCH] python-pbr: merge bb and inc files

2020-04-27 Thread Tim Orling
Merge the contents of the inc file from oe-core to
prevent collisions and getting out of sync.

Signed-off-by: Tim Orling 
---
 recipes-devtools/python/python-pbr_5.4.4.bb | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/recipes-devtools/python/python-pbr_5.4.4.bb 
b/recipes-devtools/python/python-pbr_5.4.4.bb
index 9d7d8d7b..fb0949eb 100644
--- a/recipes-devtools/python/python-pbr_5.4.4.bb
+++ b/recipes-devtools/python/python-pbr_5.4.4.bb
@@ -1,13 +1,21 @@
-inherit setuptools
-# The inc file is in oe-core
-require recipes-devtools/python/python-pbr.inc
+SUMMARY = "Python Build Reasonableness"
+DESCRIPTION = "PBR is a library that injects some useful and sensible default 
behaviors into your setuptools run"
+HOMEPAGE = "https://pypi.python.org/pypi/pbr;
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 
 SRC_URI[md5sum] = "65cdc32e1a1ff56d481fc15aa8caf988"
 SRC_URI[sha256sum] = 
"139d2625547dbfa5fb0b81daebb39601c478c21956dc57e2e07b74450a8c506b"
 
+inherit pypi setuptools
+
+RDEPENDS_${PN} += "${PYTHON_PN}-pip"
+
 do_install_append() {
 if [ -f ${D}${bindir}/pbr ]; then
 mv ${D}${bindir}/pbr ${D}${bindir}/pbr-2
 fi
 }
 
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0

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

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


[oe] [meta-python][PATCH 2/2] python3-cryptography-vectors: merge bb and inc

2020-04-26 Thread Tim Orling
From: Tim Orling 

Signed-off-by: Tim Orling 
---
 .../python/python-cryptography-vectors.inc| 18 
 .../python3-cryptography-vectors_2.8.bb   | 21 ++-
 2 files changed, 20 insertions(+), 19 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python-cryptography-vectors.inc

diff --git 
a/meta-python/recipes-devtools/python/python-cryptography-vectors.inc 
b/meta-python/recipes-devtools/python/python-cryptography-vectors.inc
deleted file mode 100644
index 10af48c9fb..00
--- a/meta-python/recipes-devtools/python/python-cryptography-vectors.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY = "Test vectors for the cryptography package."
-HOMEPAGE = "https://cryptography.io/;
-SECTION = "devel/python"
-LICENSE = "Apache-2.0 | BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
-
-DEPENDS += " \
-${PYTHON_PN}-cryptography \
-"
-
-SRC_URI[md5sum] = "a744ed29bb9ef56b3a50317fea3b218e"
-SRC_URI[sha256sum] = 
"6cd32174c56a3eca72f64af43c1daacaae758cfa5ff9d280dfcf818fa11ef116"
-
-PYPI_PACKAGE = "cryptography_vectors"
-
-BBCLASSEXTEND = "native nativesdk"
-
-UPSTREAM_CHECK_REGEX = ""
diff --git 
a/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb 
b/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb
index 58994a..49a5664dcd 100644
--- a/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb
+++ b/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb
@@ -1,2 +1,21 @@
-inherit pypi setuptools3
 require python-cryptography-vectors.inc
+SUMMARY = "Test vectors for the cryptography package."
+HOMEPAGE = "https://cryptography.io/;
+SECTION = "devel/python"
+LICENSE = "Apache-2.0 | BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
+
+SRC_URI[md5sum] = "a744ed29bb9ef56b3a50317fea3b218e"
+SRC_URI[sha256sum] = 
"6cd32174c56a3eca72f64af43c1daacaae758cfa5ff9d280dfcf818fa11ef116"
+
+PYPI_PACKAGE = "cryptography_vectors"
+
+inherit pypi setuptools3
+
+DEPENDS += " \
+${PYTHON_PN}-cryptography \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = ""
-- 
2.25.0

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

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


[oe] [meta-python][PATCH 1/2] python3-cryptography: merge bb and inc

2020-04-26 Thread Tim Orling
From: Tim Orling 

Drop python-cryptography/ not used anywhere.

Signed-off-by: Tim Orling 
---
 .../python/python-cryptography.inc| 58 --
 .../python/python-cryptography/run-ptest  |  2 -
 .../python/python3-cryptography_2.8.bb| 61 ++-
 3 files changed, 59 insertions(+), 62 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-cryptography.inc
 delete mode 100644 
meta-python/recipes-devtools/python/python-cryptography/run-ptest

diff --git a/meta-python/recipes-devtools/python/python-cryptography.inc 
b/meta-python/recipes-devtools/python/python-cryptography.inc
deleted file mode 100644
index 5acd02d67d..00
--- a/meta-python/recipes-devtools/python/python-cryptography.inc
+++ /dev/null
@@ -1,58 +0,0 @@
-SUMMARY = "Provides cryptographic recipes and primitives to python developers"
-HOMEPAGE = "https://cryptography.io/;
-LICENSE = "Apache-2.0 | BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
-
-LDSHARED += "-pthread"
-
-DEPENDS += " \
-${PYTHON_PN}-cffi \
-${PYTHON_PN}-cffi-native \
-${PYTHON_PN}-asn1crypto \
-${PYTHON_PN}-six \
-"
-
-SRC_URI[md5sum] = "77730058b556c6d9838679a94c6229ce"
-SRC_URI[sha256sum] = 
"3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65cdb3ab3765e4b02871651"
-
-RDEPENDS_${PN} += " \
-${PYTHON_PN}-cffi \
-${PYTHON_PN}-idna \
-${PYTHON_PN}-asn1crypto \
-${PYTHON_PN}-setuptools \
-${PYTHON_PN}-six \
-"
-
-RDEPENDS_${PN}_class-target += " \
-${PYTHON_PN}-cffi \
-${PYTHON_PN}-idna \
-${PYTHON_PN}-numbers \
-${PYTHON_PN}-asn1crypto \
-${PYTHON_PN}-setuptools \
-${PYTHON_PN}-six \
-${PYTHON_PN}-threading \
-"
-
-RDEPENDS_${PN}-ptest += " \
-${PN} \
-${PYTHON_PN}-cryptography-vectors \
-${PYTHON_PN}-iso8601 \
-${PYTHON_PN}-pretend \
-${PYTHON_PN}-pytest \
-${PYTHON_PN}-pytz \
-"
-
-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/run-ptest 
b/meta-python/recipes-devtools/python/python-cryptography/run-ptest
deleted file mode 100644
index 0ba239c2a4..00
--- a/meta-python/recipes-devtools/python/python-cryptography/run-ptest
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-py.test
diff --git a/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb 
b/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb
index 195923343b..c75dabb974 100644
--- a/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb
+++ b/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb
@@ -1,8 +1,65 @@
-inherit pypi setuptools3
-require python-cryptography.inc
+SUMMARY = "Provides cryptographic recipes and primitives to python developers"
+HOMEPAGE = "https://cryptography.io/;
+SECTION = "devel/python"
+LICENSE = "Apache-2.0 | BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
 
 LDSHARED += "-pthread"
 
+SRC_URI[md5sum] = "77730058b556c6d9838679a94c6229ce"
+SRC_URI[sha256sum] = 
"3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65cdb3ab3765e4b02871651"
+
 SRC_URI += " \
 file://run-ptest \
 "
+
+inherit pypi setuptools3
+
+DEPENDS += " \
+${PYTHON_PN}-cffi \
+${PYTHON_PN}-cffi-native \
+${PYTHON_PN}-asn1crypto \
+${PYTHON_PN}-six \
+"
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-cffi \
+${PYTHON_PN}-idna \
+${PYTHON_PN}-asn1crypto \
+${PYTHON_PN}-setuptools \
+${PYTHON_PN}-six \
+"
+
+RDEPENDS_${PN}_class-target += " \
+${PYTHON_PN}-cffi \
+${PYTHON_PN}-idna \
+${PYTHON_PN}-numbers \
+${PYTHON_PN}-asn1crypto \
+${PYTHON_PN}-setuptools \
+${PYTHON_PN}-six \
+${PYTHON_PN}-threading \
+"
+
+RDEPENDS_${PN}-ptest += " \
+${PN} \
+${PYTHON_PN}-cryptography-vectors \
+${PYTHON_PN}-iso8601 \
+${PYTHON_PN}-pretend \
+${PYTHON_PN}-pytest \
+${PYTHON_PN}-pytz \
+"
+
+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"
-- 
2.25.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all 

[oe] [meta-oe][PATCH] icewm: upgrade 1.5.5 -> 1.6.5

2020-04-21 Thread Tim Orling
Add additional DEPENDS on libxcomposite, libxfixes, libxdamage
Add update-alternatives similar to xfce-session from meta-xfce

For release notes and changes see:
https://github.com/ice-wm/icewm/releases/

Signed-off-by: Tim Orling 
---
 .../icewm/{icewm_1.5.5.bb => icewm_1.6.5.bb}  | 15 ++-
 1 file changed, 10 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-extended/icewm/{icewm_1.5.5.bb => icewm_1.6.5.bb} (76%)

diff --git a/meta-oe/recipes-extended/icewm/icewm_1.5.5.bb 
b/meta-oe/recipes-extended/icewm/icewm_1.6.5.bb
similarity index 76%
rename from meta-oe/recipes-extended/icewm/icewm_1.5.5.bb
rename to meta-oe/recipes-extended/icewm/icewm_1.6.5.bb
index 887a32d52f..241a2b30f3 100644
--- a/meta-oe/recipes-extended/icewm/icewm_1.5.5.bb
+++ b/meta-oe/recipes-extended/icewm/icewm_1.6.5.bb
@@ -2,15 +2,14 @@ DESCRIPTION = "Ice Window Manager (IceWM)"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4a26952467ef79a7efca4a9cf52d417b"
 
-SRC_URI = 
"https://github.com/ice-wm/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.xz \
+SRC_URI = 
"https://github.com/ice-wm/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.lz \

file://0001-configure.ac-skip-running-test-program-when-cross-co.patch \
"
-SRC_URI[md5sum] = "6eba94a7935a0531d2c14eeb1426aeef"
-SRC_URI[sha256sum] = 
"f1c1344b20a9e8635143f70ee27930b55f813c15ca61f84d77584d311b6ac027"
+SRC_URI[sha256sum] = 
"d41e6abf842ff3f8705a81d352be7c5b181c587549c183de0641c3820234a7b2"
 
 UPSTREAM_CHECK_URI = "https://github.com/ice-wm/${BPN}/releases;
 
-inherit autotools pkgconfig gettext perlnative features_check qemu
+inherit autotools pkgconfig gettext perlnative features_check qemu 
update-alternatives
 REQUIRED_DISTRO_FEATURES = "x11"
 
 EXTRA_OECONF += "--with-libdir=${datadir}/icewm \
@@ -20,7 +19,9 @@ EXTRA_OECONF += "--with-libdir=${datadir}/icewm \
 --enable-xinerama \
 --enable-shape"
 
-DEPENDS = "asciidoc-native fontconfig gdk-pixbuf libxft libxpm libxrandr 
libxinerama libice libsm libx11 libxext libxrender"
+DEPENDS = "asciidoc-native fontconfig gdk-pixbuf libxft libxpm libxrandr \
+libxinerama libice libsm libx11 libxext libxrender libxcomposite 
libxdamage \
+libxfixes"
 DEPENDS_append = " qemu-native"
 RDEPENDS_${PN} = "perl fribidi"
 
@@ -38,4 +39,8 @@ EOF
 ./qemuwrapper > src/preferences
 }
 
+ALTERNATIVE_${PN} = "x-session-manager"
+ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/icewm-session"
+ALTERNATIVE_PRIORITY_${PN} = "100"
+
 FILES_${PN} += "${datadir}/xsessions"
-- 
2.24.0

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

View/Reply Online (#84028): 
https://lists.openembedded.org/g/openembedded-devel/message/84028
Mute This Topic: https://lists.openembedded.org/mt/73185821/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-python][PATCH 1/2] python3-cryptography: merge bb and inc

2020-04-26 Thread Tim Orling
For some reason patchwork didn’t pick up these two patches

On Sat, Apr 25, 2020 at 11:48 PM Tim Orling via lists.openembedded.org
 wrote:

> From: Tim Orling 
>
> Drop python-cryptography/ not used anywhere.
>
> Signed-off-by: Tim Orling 
> ---
>  .../python/python-cryptography.inc| 58 --
>  .../python/python-cryptography/run-ptest  |  2 -
>  .../python/python3-cryptography_2.8.bb| 61 ++-
>  3 files changed, 59 insertions(+), 62 deletions(-)
>  delete mode 100644
> meta-python/recipes-devtools/python/python-cryptography.inc
>  delete mode 100644
> meta-python/recipes-devtools/python/python-cryptography/run-ptest
>
> diff --git a/meta-python/recipes-devtools/python/python-cryptography.inc
> b/meta-python/recipes-devtools/python/python-cryptography.inc
> deleted file mode 100644
> index 5acd02d67d..00
> --- a/meta-python/recipes-devtools/python/python-cryptography.inc
> +++ /dev/null
> @@ -1,58 +0,0 @@
> -SUMMARY = "Provides cryptographic recipes and primitives to python
> developers"
> -HOMEPAGE = "https://cryptography.io/;
> -LICENSE = "Apache-2.0 | BSD"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
> -
> -LDSHARED += "-pthread"
> -
> -DEPENDS += " \
> -${PYTHON_PN}-cffi \
> -${PYTHON_PN}-cffi-native \
> -${PYTHON_PN}-asn1crypto \
> -${PYTHON_PN}-six \
> -"
> -
> -SRC_URI[md5sum] = "77730058b556c6d9838679a94c6229ce"
> -SRC_URI[sha256sum] =
> "3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65cdb3ab3765e4b02871651"
> -
> -RDEPENDS_${PN} += " \
> -${PYTHON_PN}-cffi \
> -${PYTHON_PN}-idna \
> -${PYTHON_PN}-asn1crypto \
> -${PYTHON_PN}-setuptools \
> -${PYTHON_PN}-six \
> -"
> -
> -RDEPENDS_${PN}_class-target += " \
> -${PYTHON_PN}-cffi \
> -${PYTHON_PN}-idna \
> -${PYTHON_PN}-numbers \
> -${PYTHON_PN}-asn1crypto \
> -${PYTHON_PN}-setuptools \
> -${PYTHON_PN}-six \
> -${PYTHON_PN}-threading \
> -"
> -
> -RDEPENDS_${PN}-ptest += " \
> -${PN} \
> -${PYTHON_PN}-cryptography-vectors \
> -${PYTHON_PN}-iso8601 \
> -${PYTHON_PN}-pretend \
> -${PYTHON_PN}-pytest \
> -${PYTHON_PN}-pytz \
> -"
> -
> -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/run-ptest
> b/meta-python/recipes-devtools/python/python-cryptography/run-ptest
> deleted file mode 100644
> index 0ba239c2a4..00
> --- a/meta-python/recipes-devtools/python/python-cryptography/run-ptest
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -#!/bin/sh
> -py.test
> diff --git a/meta-python/recipes-devtools/python/
> python3-cryptography_2.8.bb b/meta-python/recipes-devtools/python/
> python3-cryptography_2.8.bb
> index 195923343b..c75dabb974 100644
> --- a/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb
> +++ b/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb
> @@ -1,8 +1,65 @@
> -inherit pypi setuptools3
> -require python-cryptography.inc
> +SUMMARY = "Provides cryptographic recipes and primitives to python
> developers"
> +HOMEPAGE = "https://cryptography.io/;
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0 | BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
>
>  LDSHARED += "-pthread"
>
> +SRC_URI[md5sum] = "77730058b556c6d9838679a94c6229ce"
> +SRC_URI[sha256sum] =
> "3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65cdb3ab3765e4b02871651"
> +
>  SRC_URI += " \
>  file://run-ptest \
>  "
> +
> +inherit pypi setuptools3
> +
> +DEPENDS += " \
> +${PYTHON_PN}-cffi \
> +${PYTHON_PN}-cffi-native \
> +${PYTHON_PN}-asn1crypto \
> +${PYTHON_PN}-six \
> +"
> +
> +RDEPENDS_${PN} += " \
> +${PYTHON_PN}-cffi \
> +${PYTHON_PN}-idna \
> +${PYTHON_PN}-asn1crypto \
> +${PYTHON_PN}-setuptools \
> +${PYTHON_PN}-six \
> +"
> +
> +RDEPENDS_${PN}_class-target += " \
> +${PYTHON_PN}-cffi \
> +${PYTHON_PN}-idna \
> +

Re: [oe] [meta-python][PATCH] python3-pexpect: change shebang to python3

2020-04-24 Thread Tim Orling
meta-python2 has zero connection the meta-python. So it will not depend on
any inc files.

On Fri, Apr 24, 2020 at 6:57 PM Khem Raj  wrote:

>
>
> On 4/23/20 6:13 PM, Changqing Li wrote:
> > From: Changqing Li 
> >
> > we have offcially dropped python2, so it is possible
> > that our code run on python3 only host, so change
> > shebang to python3 to avoid error like:
> > python: command not found
> >
> > Signed-off-by: Changqing Li 
> > ---
> >  .../python/python-pexpect.inc |  2 ++
> >  ...hange-shebang-from-python-to-python3.patch | 25 +++
> >  2 files changed, 27 insertions(+)
> >  create mode 100644
> meta-python/recipes-devtools/python/python3-pexpect/0001-FSM.py-change-shebang-from-python-to-python3.patch
> >
> > diff --git a/meta-python/recipes-devtools/python/python-pexpect.inc
> b/meta-python/recipes-devtools/python/python-pexpect.inc
> > index f02aa994e..c6230b2b5 100644
> > --- a/meta-python/recipes-devtools/python/python-pexpect.inc
> > +++ b/meta-python/recipes-devtools/python/python-pexpect.inc
> > @@ -4,6 +4,8 @@ SECTION = "devel/python"
> >  LICENSE = "ISC"
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b"
> >
> > +SRC_URI +=
> "file://0001-FSM.py-change-shebang-from-python-to-python3.patch"
> > +
>
> This .inc file should be merged into .bb, as well, also check if
> meta-python2 depends on this .inc file, if it does then the patching
> should happen inside py3 version of bb file and not .inc
>
> >  SRC_URI[md5sum] = "153eb25184249d6a85fde9acf4804085"
> >  SRC_URI[sha256sum] =
> "fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c"
> >
> > diff --git
> a/meta-python/recipes-devtools/python/python3-pexpect/0001-FSM.py-change-shebang-from-python-to-python3.patch
> b/meta-python/recipes-devtools/python/python3-pexpect/0001-FSM.py-change-shebang-from-python-to-python3.patch
> > new file mode 100644
> > index 0..bee772da6
> > --- /dev/null
> > +++
> b/meta-python/recipes-devtools/python/python3-pexpect/0001-FSM.py-change-shebang-from-python-to-python3.patch
> > @@ -0,0 +1,25 @@
> > +From 35462d7b778eea32fd0cc0bbc79d6e6f53d942b4 Mon Sep 17 00:00:00 2001
> > +From: Changqing Li 
> > +Date: Thu, 23 Apr 2020 08:01:42 +
> > +Subject: [PATCH] FSM.py: change shebang from python to python3
> > +
> > +Upstream-Status: Pending
> > +
> > +Signed-off-by: Changqing Li 
> > +---
> > + pexpect/FSM.py | 2 +-
> > + 1 file changed, 1 insertion(+), 1 deletion(-)
> > +
> > +diff --git a/pexpect/FSM.py b/pexpect/FSM.py
> > +index 46b392e..4e77654 100644
> > +--- a/pexpect/FSM.py
> >  b/pexpect/FSM.py
> > +@@ -1,4 +1,4 @@
> > +-#!/usr/bin/env python
> > ++#!/usr/bin/env python3
> > +
> > + '''This module implements a Finite State Machine (FSM). In addition to
> state
> > + this FSM also maintains a user defined "memory". So this FSM can be
> used as a
> > +--
> > +2.24.1
> > +
> >
> >
> >
> >
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[oe] [meta-python2] python{-native}: upgrade 2.7.17 -> 2.7.18

2020-04-24 Thread Tim Orling
This is the FINAL 2.7 release. Upstream will
not be supporting Python 2 any longer. You
are STRONGLY encouraged to move to Python 3.

You leave yourself at risk to vulnerabilities,
security risks and fundamentally non-supported
code. You are risking significant liability if
you do not update to Python 3.

License-Update: Update copyright years

Signed-off-by: Tim Orling 
---
 .../{python-native_2.7.17.bb => python-native_2.7.18.bb} | 0
 recipes-devtools/python/python.inc   | 5 ++---
 .../python/{python_2.7.17.bb => python_2.7.18.bb}| 0
 3 files changed, 2 insertions(+), 3 deletions(-)
 rename recipes-devtools/python/{python-native_2.7.17.bb => 
python-native_2.7.18.bb} (100%)
 rename recipes-devtools/python/{python_2.7.17.bb => python_2.7.18.bb} (100%)

diff --git a/recipes-devtools/python/python-native_2.7.17.bb 
b/recipes-devtools/python/python-native_2.7.18.bb
similarity index 100%
rename from recipes-devtools/python/python-native_2.7.17.bb
rename to recipes-devtools/python/python-native_2.7.18.bb
diff --git a/recipes-devtools/python/python.inc 
b/recipes-devtools/python/python.inc
index 19a2f3e7..a4ba0c54 100644
--- a/recipes-devtools/python/python.inc
+++ b/recipes-devtools/python/python.inc
@@ -5,13 +5,12 @@ SECTION = "devel/python"
 # bump this on every change in contrib/python/generate-manifest-2.7.py
 INC_PR = "r1"
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=e466242989bd33c1bd2b6a526a742498"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=203a6dbc802ee896020a47161e759642"
 
 SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
"
 
-SRC_URI[md5sum] = "b3b6d2c92f42a60667814358ab9f0cfd"
-SRC_URI[sha256sum] = 
"4d43f033cdbd0aa7b7023c81b0e986fd11e653b5248dac9144d508f11812ba41"
+SRC_URI[sha256sum] = 
"b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43"
 
 # python recipe is actually python 2.x
 # also, exclude pre-releases for both python 2.x and 3.x
diff --git a/recipes-devtools/python/python_2.7.17.bb 
b/recipes-devtools/python/python_2.7.18.bb
similarity index 100%
rename from recipes-devtools/python/python_2.7.17.bb
rename to recipes-devtools/python/python_2.7.18.bb
-- 
2.25.0

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

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


[oe] [meta-python2] Final python2 release

2020-04-24 Thread Tim Orling
The final, last, terminal, dead, deceased, never-any-more,
move-to-python3-now release of python2 2.7.18 was released on April 19. I
have posted a patch to upgrade meta-python2 to 2.7.18. Please test. If you
care, test a lot.

I intend to also apply this release to the "dunfell" branch. Since it is
the first Yocto Project LTS release and this 2.7 release is close enough
for horse-shoes and tiddly-winks.

After this month (April 2020), I have no motivation to continue supporting
python2. I do not use python2 and have not since bitbake was upgraded to
use python3. My employer does not use python2. The meta-python2 layer will
be best-effort only support unless other maintainers step up.

If you want recipe upgrades, now is the time to send patches. Dead men tell
no tales.

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

View/Reply Online (#84080): 
https://lists.openembedded.org/g/openembedded-devel/message/84080
Mute This Topic: https://lists.openembedded.org/mt/73257793/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-python][PATCH] meta-python: add self as maintainer

2020-05-14 Thread Tim Orling
I’ve discussed privately with Trevor previously.
He has already made many solid contributions and his assistance should be
recognized.

On Thu, May 14, 2020 at 12:48 PM Trevor Gamblin <
trevor.gamb...@windriver.com> wrote:

> Signed-off-by: Trevor Gamblin 


Acked-by: Tim Orling 

>
> ---
>  meta-python/README | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-python/README b/meta-python/README
> index 705b035d9..ca0a290d9 100644
> --- a/meta-python/README
> +++ b/meta-python/README
> @@ -46,4 +46,5 @@ Maintenance
>  Layer Maintainers:
>  Tim "moto-timo" Orling 
>  Derek Straka 
> +Trevor Gamblin 
>
> --
> 2.25.4
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


Re: [oe] [zeus 00/13] Patch review

2020-03-19 Thread Tim Orling
On Thu, Mar 19, 2020 at 4:16 PM akuster808  wrote:

>
>
> On 3/19/20 1:44 AM, Khem Raj wrote:
> > look
> What does that mean?


This is an all time favorite terse Khem review!


> - armin
> >
> > On Wed, Mar 11, 2020 at 7:58 PM Armin Kuster 
> wrote:
> >> Here is the next set for meta-openembedded.
> >> Please have reviews back by Friday.
> >>
> >> The following changes since commit
> bb65c27a772723dfe2c15b5e1b27bcc1a1ed884c:
> >>
> >>   fluentbit: Fix packaging in multilib env (2020-01-30 18:38:10 -0800)
> >>
> >> are available in the Git repository at:
> >>
> >>   git://git.openembedded.org/meta-openembedded-contrib stable/zeus-nut
> >>
> http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=stable/zeus-nut
> >>
> >> Adrian Bunk (1):
> >>   wireshark: Upgrade 3.0.6 -> 3.0.8
> >>
> >> Carlos Rafael Giani (1):
> >>   opencv: Enable pkg-config .pc file generation
> >>
> >> Khem Raj (2):
> >>   ade: Fix install paths in multilib builds
> >>   sanlock: Replace cp -a with cp -R --no-dereference
> >>
> >> Martin Jansa (1):
> >>   s3c24xx-gpio, s3c64xx-gpio, sjf2410-linux-native, usbpath, wmiconfig:
> >> use git fetcher instead of svn fetcher
> >>
> >> Mike Krupicka (1):
> >>   mosquitto: Use mosquitto.init for daemon init
> >>
> >> Paul Barker (1):
> >>   lmsensors: Fix sensord dependencies
> >>
> >> Peter Kjellerstedt (2):
> >>   lvm2, libdevmapper: Do not patch configure
> >>   libldb: Do not require the "pam" distro feature to be enabled
> >>
> >> Ross Burton (4):
> >>   opencv: don't download during configure
> >>   opencv: also download face alignment data in do_fetch()
> >>   opencv: PACKAGECONFIG for G-API, use system ADE
> >>   opencv: abort configure if we need to download
> >>
> >>  .../mosquitto/files/mosquitto.init|  2 +-
> >>  .../recipes-support/libldb/libldb_1.5.6.bb|  3 +-
> >>  ...{wireshark_3.0.6.bb => wireshark_3.0.8.bb} |  4 +-
> >>  .../recipes-bsp/lm_sensors/lmsensors_3.5.0.bb |  3 +-
> >>  ...cp-a-with-cp-R-no-dereference-preser.patch | 51 +++
> >>  .../recipes-extended/sanlock/sanlock_3.8.0.bb |  4 +-
> >>  ...gure-Fix-setting-of-CLDFLAGS-default.patch | 34 +
> >>  ...tallDirs-for-detecting-install-paths.patch | 39 ++
> >>  meta-oe/recipes-support/opencv/ade_0.1.1f.bb  |  1 +
> >>  .../opencv/opencv/download.patch  | 32 
> >>  .../recipes-support/opencv/opencv_4.1.0.bb| 32 ++--
> >>  ...3c24xx-gpio_svn.bb => s3c24xx-gpio_git.bb} |  7 ++-
> >>  ...3c64xx-gpio_svn.bb => s3c64xx-gpio_git.bb} |  6 +--
> >>  ...ive_svn.bb => sjf2410-linux-native_git.bb} | 11 ++--
> >>  .../{usbpath_svn.bb => usbpath_git.bb}| 10 ++--
> >>  .../{wmiconfig_svn.bb => wmiconfig_git.bb}| 13 +++--
> >>  16 files changed, 183 insertions(+), 69 deletions(-)
> >>  rename meta-networking/recipes-support/wireshark/{wireshark_3.0.6.bb
> => wireshark_3.0.8.bb} (95%)
> >>  create mode 100644
> meta-oe/recipes-extended/sanlock/sanlock/0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch
> >>  create mode 100644
> meta-oe/recipes-support/opencv/ade/0001-use-GNUInstallDirs-for-detecting-install-paths.patch
> >>  create mode 100644 meta-oe/recipes-support/opencv/opencv/download.patch
> >>  rename meta-oe/recipes-support/samsung-soc-utils/{s3c24xx-gpio_svn.bb
> => s3c24xx-gpio_git.bb} (73%)
> >>  rename meta-oe/recipes-support/samsung-soc-utils/{s3c64xx-gpio_svn.bb
> => s3c64xx-gpio_git.bb} (74%)
> >>  rename meta-oe/recipes-support/samsung-soc-utils/{
> sjf2410-linux-native_svn.bb => sjf2410-linux-native_git.bb} (72%)
> >>  rename meta-oe/recipes-support/usbpath/{usbpath_svn.bb =>
> usbpath_git.bb} (68%)
> >>  rename meta-oe/recipes-support/wmiconfig/{wmiconfig_svn.bb =>
> wmiconfig_git.bb} (58%)
> >>
> >> --
> >> 2.17.1
> >>
> >> --
> >> ___
> >> 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


Re: [oe] [meta-python][PATCH] python3-pycryptodomex: add 3.9.4 recipe

2020-03-10 Thread Tim Orling
On Tue, Mar 10, 2020 at 12:56 PM Vesa Jääskeläinen 
wrote:

> Hi,
>
> Actually no.
>
> pythonX-cryptodome has need to conflict with pythonX-crypto.
>
> But python3-cryptodomex can coexists with either one of those as they
> have own namespace.
>

That is probably what I am remembering, since I had to fix that exact issue
on meta-python2.


> Some software need to unfortunately have both python3-cryptodome (brings
> python3-crypto "API emulation") and python3-cryptodomex installed in
> order to function.
>

We (all of us ;) should look for recipes that have legacy RDEPENDS on
python3-crypto or python3-cryptodome , when in fact they could use the
cleaner solution of python3-cryptodomex.

Commits I made in meta-python2 might help.

Thank you for digging deeper and capturing the state of things.


> Thanks,
> Vesa Jääskeläinen
>
> On 10.3.2020 7.50, Tim Orling wrote:
> > This probably should have an RCONFLICTS with python3-cryptodme (and maybe
> > even python3-crypto).
> >
> > These three packages step all over each other with same functionality...
> >
> > On Mon, Mar 9, 2020 at 7:50 PM Scott Branden via Openembedded-devel <
> > openembedded-devel@lists.openembedded.org> wrote:
> >
> >> From: Rajesh Ravi 
> >>
> >> Add python3-pycryptodomex 3.9.4 recipe needed to build
> >> such components as optee 3.8.0.
> >>
> >> Signed-off-by: Rajesh Ravi 
> >> Signed-off-by: Scott Branden 
> >> ---
> >>   .../python/python3-pycryptodomex_3.9.4.bb | 30
> +++
> >>   1 file changed, 30 insertions(+)
> >>   create mode 100644 meta-python/recipes-devtools/python/
> >> python3-pycryptodomex_3.9.4.bb
> >>
> >> diff --git a/meta-python/recipes-devtools/python/
> >> python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/
> >> python3-pycryptodomex_3.9.4.bb
> >> new file mode 100644
> >> index 0..be6b10f3f
> >> --- /dev/null
> >> +++ b/meta-python/recipes-devtools/python/
> python3-pycryptodomex_3.9.4.bb
> >> @@ -0,0 +1,30 @@
> >> +SUMMARY = "Cryptographic library for Python"
> >> +DESCRIPTION = "PyCryptodome is a self-contained Python package of
> >> low-level\
> >> + cryptographic primitives."
> >> +HOMEPAGE = "http://www.pycryptodome.org;
> >> +LICENSE = "PD & BSD-2-Clause"
> >> +LIC_FILES_CHKSUM =
> >> "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
> >> +
> >> +SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b"
> >> +SRC_URI[sha256sum] =
> >> "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"
> >> +
> >> +inherit pypi
> >> +inherit setuptools3
> >> +
> >> +RDEPENDS_${PN} += " \
> >> +${PYTHON_PN}-io \
> >> +${PYTHON_PN}-math \
> >> +"
> >> +
> >> +RDEPENDS_${PN}-tests += " \
> >> +${PYTHON_PN}-unittest \
> >> +"
> >> +
> >> +PACKAGES =+ "${PN}-tests"
> >> +
> >> +FILES_${PN}-tests += " \
> >> +${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
> >> +${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \
> >> +"
> >> +
> >> +BBCLASSEXTEND = "native nativesdk"
> >> --
> >> 2.17.1
> >>
> >> --
> >> ___
> >> 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


Re: [oe] [meta-python][PATCH] python3-django: add recipe for 3.1.1

2020-09-11 Thread Tim Orling
The reason for Django 2.2 is it is LTS. This version will now override
unless the user sets PREFERRED_VERSION. The thrash on non-LTS Django is a
PITA to support...

On Fri, Sep 11, 2020 at 7:26 AM Trevor Gamblin 
wrote:

> meta-python only contains a recipe for django 2.2.x, so
>
> add a recipe file for the newest branch.
>
>
>
> Signed-off-by: Trevor Gamblin 
>
> ---
>
>  .../recipes-devtools/python/python3-django_3.1.1.bb  | 9 +
>
>  1 file changed, 9 insertions(+)
>
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-django_3.1.1.bb
>
>
>
> diff --git a/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
> b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>
> new file mode 100644
>
> index 0..b36cfb699
>
> --- /dev/null
>
> +++ b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>
> @@ -0,0 +1,9 @@
>
> +require python-django.inc
>
> +inherit setuptools3
>
> +
>
> +SRC_URI[md5sum] = "d5e894fb3c46064e84e9dc68a08a46d0"
>
> +SRC_URI[sha256sum] =
> "59c8125ca873ed3bdae9c12b146fbbd6ed8d0f743e4cf5f5817af50c51f1fc2f"
>
> +
>
> +RDEPENDS_${PN} += "\
>
> +${PYTHON_PN}-sqlparse \
>
> +"
>
> --
>
> 2.26.2
>
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[oe] [meta-python2][dunfell,master][PATCH] kas-meta-python-ptest-image: fixes for GL

2020-09-11 Thread Tim Orling
To make testing as fast as possible, it is desired
to use KVM and OpenGL.

Add
  DISTRO_FEATURES_append = "opengl"
  PACKAGECONFIG_pn-qemu-system-native = "fdt alsa kvm virglrenderer glx gtk+"

It shouldn't be required to be explicit about the PACKAGECONFIG above,
when all I was trying to do was add gtk+, but but using _pn- += or even
_append_pn- syntax resulted in a system with either disabled OpenGL or
missing canberra-gtk-module (sound). The above explicit definition worked.

Change gl to gl-es:
  TEST_RUNQEMUPARAMS = "kvm gl-es gtk"

Signed-off-by: Tim Orling 
---
 kas-meta-python2-ptest-image.yml | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/kas-meta-python2-ptest-image.yml b/kas-meta-python2-ptest-image.yml
index 1dc0f4b8..a2ee8ca0 100644
--- a/kas-meta-python2-ptest-image.yml
+++ b/kas-meta-python2-ptest-image.yml
@@ -8,15 +8,17 @@ distro: poky
 target: meta-python2-ptest-image
 
 local_conf_header:
+  enable_gtk_in_qemu: |
+DISTRO_FEATURES_append = "opengl"
+PACKAGECONFIG_pn-qemu-system-native = "fdt alsa kvm virglrenderer glx gtk+"
   enable_ptest_and_testimage: |
-INHERIT += "rm_work_and_downloads"
 IMAGE_CLASSES += " testimage"
 DISTRO_FEAURES_append = " ptest"
 EXTRA_IMAGE_FEATURES = "debug-tweaks"
 TESTIMAGE_AUTO = "1"
 TEST_SUITES = " ping ssh python2 ptest"
 TEST_QEMUPARAMS += "-smp 4 -m 8192"
-TEST_RUNQEMUPARAMS += "kvm gl"
+TEST_RUNQEMUPARAMS = "kvm gl-es gtk"
 IMAGE_ROOTFS_SIZE ?= "8192"
 IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", 
"systemd", " + 4096", "", d)}"
 IMAGE_INSTALL_append = " ptest-runner dropbear procps coreutils iproute2 
sysstat"
-- 
2.25.0

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

View/Reply Online (#87012): 
https://lists.openembedded.org/g/openembedded-devel/message/87012
Mute This Topic: https://lists.openembedded.org/mt/76791399/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-python2][dunfell][PATCH] python: prevent lib32-python depending on python

2020-09-11 Thread Tim Orling
Merged. Thank you.
It would be nice to have a test case for this.

On Mon, Sep 7, 2020 at 6:08 AM Martin Jansa  wrote:

> * it was a bit tricky to find this, because
>   $ bitbake -g lib32-python
>   $ grep '"python\.' task-depends.dot
>   doesn't show anything, but if you set
>   COMPATIBLE_HOST_pn-python = "^(?!x86_64).*"
>   $ bitbake lib32-python
>   will fail with:
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing PROVIDES 'python'
> python was skipped: incompatible with host x86_64-oe-linux (not in
> COMPATIBLE_HOST)
> ERROR: Required build target 'lib32-python' has no buildable providers.
> Missing or unbuildable dependency chain was: ['lib32-python', 'python']
>
>   so I was wondering where this dependency was created when it isn't part
>   of task-depends.dot
>
>   in the end I've added small debug output in bitbake:
> diff --git a/lib/bb/taskdata.py b/lib/bb/taskdata.py
> index ffbaf362..e7fab3cc 100644
> --- a/lib/bb/taskdata.py
> +++ b/lib/bb/taskdata.py
> @@ -70,6 +70,7 @@ class TaskData:
>  """
>
>  task_deps = dataCache.task_deps[fn]
> +logger.verbose('add_tasks for %s: %s' % (fn, task_deps))
>
>  if fn in self.failed_fns:
>  bb.msg.fatal("TaskData", "Trying to re-add a failed file?
> Something is broken...")
>
>   which showed exactly where the issue was:
>   NOTE: add_tasks for
> virtual:multilib:lib32:/OE/meta-python2/recipes-devtools/python/
> python_2.7.18.bb: {'tasks': ['do_patch', 'do_populate_sysroot',
> 'do_populate_sysroot_setscene', 'do_prepare_recipe_sysroot',
> 'do_listtasks', 'do_clean', 'do_checkuri', 'do_fetch', 'do_unpack',
> 'do_configure', 'do_compile', 'do_install', 'do_build', 'do_cleansstate',
> 'do_cleanall', 'do_rm_work_all', 'do_rm_work', 'do_build_without_rm_work',
> 'do_package_qa', 'do_package_qa_setscene', 'do_package',
> 'do_package_setscene', 'do_packagedata', 'do_packagedata_setscene',
> 'do_package_write_ipk_setscene', 'do_package_write_ipk', 'do_devshell',
> 'do_devpyshell', 'do_populate_lic', 'do_populate_lic_setscene',
> 'do_create_manifest'], 'parents': {'do_patch': ['do_unpack'],
> 'do_populate_sysroot': ['do_install'], 'do_populate_sysroot_setscene': [],
> 'do_prepare_recipe_sysroot': ['do_fetch'], 'do_listtasks': [], 'do_clean':
> [], 'do_checkuri': [], 'do_fetch': [], 'do_unpack': ['do_fetch'],
> 'do_configure': ['do_prepare_recipe_sysroot', 'do_patch'], 'do_compile':
> ['do_configure'], 'do_install': ['do_compile'], 'do_build': ['do_rm_work',
> 'do_populate_lic', 'do_packagedata', 'do_package_qa', 'do_rm_work_all',
> 'do_populate_sysroot'], 'do_cleansstate': ['do_clean'], 'do_cleanall':
> ['do_cleansstate'], 'do_rm_work_all': [], 'do_rm_work': ['do_deploy',
> 'do_package_qa', 'do_package_write_ipk', 'do_packagedata',
> 'do_populate_lic', 'do_populate_sysroot'], 'do_build_without_rm_work':
> ['do_deploy', 'do_package_qa', 'do_package_write_ipk', 'do_packagedata',
> 'do_populate_lic', 'do_populate_sysroot'], 'do_package_qa':
> ['do_packagedata', 'do_package'], 'do_package_qa_setscene': [],
> 'do_package': ['do_install'], 'do_package_setscene': [], 'do_packagedata':
> ['do_package'], 'do_packagedata_setscene': [],
> 'do_package_write_ipk_setscene': [], 'do_package_write_ipk':
> ['do_packagedata', 'do_package'], 'do_devshell': ['do_patch',
> 'do_prepare_recipe_sysroot'], 'do_devpyshell': ['do_patch'],
> 'do_populate_lic': ['do_patch'], 'do_populate_lic_setscene': [],
> 'do_create_manifest': []}, 'mcdepends': {}, 'depends': {'do_patch':
> 'quilt-native:do_populate_sysroot
> patch-replacement-native:do_populate_sysroot', 'do_populate_sysroot': '
> virtual/lib32-i686-oemllib32-linux-binutils:do_populate_sysroot',
> 'do_prepare_recipe_sysroot': '
> virtual/fakeroot-native:do_populate_sysroot', 'do_fetch': '
> wget-native:do_populate_sysroot', 'do_unpack': '
> xz-native:do_populate_sysroot', 'do_install': '
> virtual/fakeroot-native:do_populate_sysroot', 'do_package_qa': '
> virtual/lib32-i686-oemllib32-linux-binutils:do_populate_sysroot
> virtual/fakeroot-native:do_populate_sysroot', 'do_package': '
> virtual/fakeroot-native:do_populate_sysroot rpm-native:do_populate_sysroot
> dwarfsrcfiles-native:do_populate_sysroot file-native:do_populate_sysroot',
> 'do_package_setscene': ' virtual/fakeroot-native:do_populate_sysroot',
> 'do_package_write_ipk': '  opkg-utils-native:do_populate_sysroot
> virtual/fakeroot-native:do_populate_sysroot xz-native:do_populate_sysroot',
> 'do_devshell': ' virtual/fakeroot-native:do_populate_sysroot',
> 'do_create_manifest': ' python:do_prepare_recipe_sysroot python:do_patch'},
> 'rdepends': {}, 'deptask': {'do_prepare_recipe_sysroot':
> 'do_populate_sysroot', 'do_package': ' do_packagedata'}, 'rdeptask':
> {'do_package_qa': 'do_packagedata', 'do_package_write_ipk':
> 'do_packagedata'}, 'recrdeptask': {'do_build': ' do_deploy
> do_package_write_ipk', 'do_rm_work_all': 'do_rm_work'}, 'recideptask': {},
> 

Re: [oe] [meta-python2][PATCH] python-pyparted: upgrade to latest python2 compatible commit to fix build with gcc10 -fno-common

2020-09-11 Thread Tim Orling
Merged. Thank you.

On Fri, Aug 28, 2020 at 9:10 AM Martin Jansa  wrote:

> * this is one of last python2 compatible commits, before:
>
> https://github.com/dcantrell/pyparted/commit/c4949263538784036a5917195f956f8fcda9cf20
>
> Signed-off-by: Martin Jansa 
> ---
>  .../{python-pyparted_3.11.3.bb => python-pyparted_git.bb}| 5 -
>  1 file changed, 4 insertions(+), 1 deletion(-)
>  rename recipes-extended/python-pyparted/{python-pyparted_3.11.3.bb =>
> python-pyparted_git.bb} (88%)
>
> diff --git a/recipes-extended/python-pyparted/python-pyparted_3.11.3.bb
> b/recipes-extended/python-pyparted/python-pyparted_git.bb
> similarity index 88%
> rename from recipes-extended/python-pyparted/python-pyparted_3.11.3.bb
> rename to recipes-extended/python-pyparted/python-pyparted_git.bb
> index 86caf2a..1f36924 100644
> --- a/recipes-extended/python-pyparted/python-pyparted_3.11.3.bb
> +++ b/recipes-extended/python-pyparted/python-pyparted_git.bb
> @@ -11,8 +11,11 @@ LIC_FILES_CHKSUM = "\
>
>  
> file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2
> \
>  "
>
> +# 3.11.4 tag + gcc10 fixes for -fno-common
> +PV = "3.11.4+git${SRCPV}"
> +
>  # upstream only publishes releases in github archives which are
> discouraged
> -SRCREV = "481510c10866851844b19f3d2ffcdaa37efc0cf8"
> +SRCREV = "104ca13567c08c1188b126a395c4602841aae2c6"
>  SRC_URI = "git://github.com/rhinstaller/pyparted.git;protocol=https"
>
>  DEPENDS += "parted"
> --
> 2.25.1
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#87014): 
https://lists.openembedded.org/g/openembedded-devel/message/87014
Mute This Topic: https://lists.openembedded.org/mt/76477157/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-python][PATCH] python3-django: add recipe for 3.1.1

2020-09-11 Thread Tim Orling
On Fri, Sep 11, 2020 at 2:40 PM Trevor Gamblin 
wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
> On 9/11/20 5:02 PM, Tim Orling wrote:
>
>
>
>
>
>
>
>
> The reason for Django 2.2 is it is LTS. This
>
> version will now override unless the user sets
>
> PREFERRED_VERSION. The thrash on non-LTS Django is a PITA to
>
> support...
>
>
>
>
> Alright, let's hold off on merging this one then. I'll revisit it
>
> some time in the future.
>

I’m not steadfastly against this, it just cannot be the default. Prior
experience has been a lot of pain. Every single YP/OE Django app we
currently have is brittle with Django version, although I believe David
Reyna got Toaster to work with Django 3. The next LTS will be Django 3.2,
starting in April 2021.

I  am open to other ideas, but the default must remain the current LTS
version.


>
>
>
>
>
>
>
>
>
> On Fri, Sep 11, 2020 at 7:26
>
> AM Trevor Gamblin 
>
> wrote:
>
>
>
>
> meta-python
>>
>> only contains a recipe for django 2.2.x, so
>>
>>
>>
>>
>>
>> add a recipe file for the newest branch.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Signed-off-by: Trevor Gamblin 
>>
>>
>>
>>
>>
>> ---
>>
>>
>>
>>
>>
>>  .../recipes-devtools/python/python3-django_3.1.1.bb
>>
>> | 9 +
>>
>>
>>
>>
>>
>>  1 file changed, 9 insertions(+)
>>
>>
>>
>>
>>
>>  create mode 100644 meta-python/recipes-devtools/python/
>> python3-django_3.1.1.bb
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> diff --git a/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>>
>> b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>>
>>
>>
>>
>>
>> new file mode 100644
>>
>>
>>
>>
>>
>> index 0..b36cfb699
>>
>>
>>
>>
>>
>> --- /dev/null
>>
>>
>>
>>
>>
>> +++ b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>>
>>
>>
>>
>>
>> @@ -0,0 +1,9 @@
>>
>>
>>
>>
>>
>> +require python-django.inc
>>
>>
>>
>>
>>
>> +inherit setuptools3
>>
>>
>>
>>
>>
>> +
>>
>>
>>
>>
>>
>> +SRC_URI[md5sum] = "d5e894fb3c46064e84e9dc68a08a46d0"
>>
>>
>>
>>
>>
>> +SRC_URI[sha256sum] =
>>
>> "59c8125ca873ed3bdae9c12b146fbbd6ed8d0f743e4cf5f5817af50c51f1fc2f"
>>
>>
>>
>>
>>
>> +
>>
>>
>>
>>
>>
>> +RDEPENDS_${PN} += "\
>>
>>
>>
>>
>>
>> +${PYTHON_PN}-sqlparse \
>>
>>
>>
>>
>>
>> +"
>>
>>
>>
>>
>>
>> --
>>
>>
>>
>>
>>
>> 2.26.2
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
>
>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#87011): 
https://lists.openembedded.org/g/openembedded-devel/message/87011
Mute This Topic: https://lists.openembedded.org/mt/76780718/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-python2][warrior][PATCH] python-kombu: add recipe

2020-09-11 Thread Tim Orling
You specifically targeted the Warrior release with a new recipe. This
breaks our stable branch policies. Also, Warrior is EOL. If you would like
to add the recipe to the development branch, please resubmit. I will also
consider backporting to Dunfell.

On Wed, Aug 26, 2020 at 2:13 PM Babak Sarashki 
wrote:

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

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


[oe] [meta-python][PATCH 2/3] python3-jinja2: bbappend for ptest

2020-09-21 Thread Tim Orling
From: Tim Orling 

The main recipe has moved to oe-core, but with ptest
disabled. Here we simply conditionally inherit ptest
to enable it in meta-python.

Remove the original recipe and the python3-jinja2/
directory.

Signed-off-by: Tim Orling 
---
 .../python/python3-jinja2/run-ptest   |  3 --
 .../python/python3-jinja2_2.%.bbappend|  2 +
 .../python/python3-jinja2_2.11.2.bb   | 43 ---
 3 files changed, 2 insertions(+), 46 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-jinja2/run-ptest
 create mode 100644 
meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend
 delete mode 100644 meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb

diff --git a/meta-python/recipes-devtools/python/python3-jinja2/run-ptest 
b/meta-python/recipes-devtools/python/python3-jinja2/run-ptest
deleted file mode 100644
index 5cec7116968..000
--- a/meta-python/recipes-devtools/python/python3-jinja2/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest
diff --git a/meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend 
b/meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend
new file mode 100644
index 000..91814e6cde9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend
@@ -0,0 +1,2 @@
+# Main recipe was moved to oe-core, but with ptest disabled
+inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
diff --git a/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb 
b/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb
deleted file mode 100644
index 681acf8f1c0..000
--- a/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb
+++ /dev/null
@@ -1,43 +0,0 @@
-DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone 
template engine written in pure python."
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
-
-SRC_URI[sha256sum] = 
"89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0"
-
-PYPI_PACKAGE = "Jinja2"
-
-CLEANBROKEN = "1"
-
-inherit pypi setuptools3 ptest
-
-SRC_URI += " \
-   file://run-ptest \
-"
-
-do_install_ptest() {
-install -d ${D}${PTEST_PATH}/tests
-cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
-RDEPENDS_${PN}-ptest += " \
-   ${PYTHON_PN}-pytest \
-   ${PYTHON_PN}-unixadmin \
-"
-
-RDEPENDS_${PN} += " \
-${PYTHON_PN}-asyncio \
-${PYTHON_PN}-crypt \
-${PYTHON_PN}-io \
-${PYTHON_PN}-json \
-${PYTHON_PN}-markupsafe \
-${PYTHON_PN}-math \
-${PYTHON_PN}-netclient \
-${PYTHON_PN}-numbers\
-${PYTHON_PN}-pickle \
-${PYTHON_PN}-pprint \
-${PYTHON_PN}-shell \
-${PYTHON_PN}-threading \
-"
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0


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



[oe] [meta-python][PATCH 3/3] packagegroup-meta-python: -jinja2 -markupsafe => -ptest

2020-09-21 Thread Tim Orling
From: Tim Orling 

The main recipes for python3-jinja2 and python3-markupsafe
have moved to oe-core. No need to duplicate them here.

Instead, we add them to meta-python3-ptest sub-package, since
we do enable ptest with bbappends.

Signed-off-by: Tim Orling 
---
 .../recipes-core/packagegroups/packagegroup-meta-python.bb  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index c03f610da8d..e1624df6e7b 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -17,13 +17,13 @@ RDEPENDS_packagegroup-meta-python3 = "\
 python3-rfc3987 python3-xlrd python3-bandit python3-constantly 
python3-inflection \
 python3-javaobj-py3 python3-sh python3-pycrypto python3-pyasn1 
python3-pydbus python3-wtforms \
 python3-pybluez python3-babel python3-parse-type python3-bitarray 
python3-django-south \
-python3-pyusb python3-prctl python3-jinja2 python3-werkzeug python3-pyjks 
python3-requests-ftp \
+python3-pyusb python3-prctl python3-werkzeug python3-pyjks 
python3-requests-ftp \
 python3-behave python3-pyyaml python3-tzlocal python3-pretend 
python3-stevedore \
 python3-sijax python3-langtable python3-requests-file python3-crcmod 
python3-robotframework \
 python3-pint python3-coverage python3-iso8601 python3-ndg-httpsclient 
python3-yappi python3-twofish \
 python3-speaklater python3-smbus python3-djangorestframework 
python3-msgpack python3-jsonpointer \
 python3-flask-script python3-cassandra-driver python3-ujson 
python3-aws-iot-device-sdk-python \
-python3-pytest-runner python3-pyiface python3-flask-login 
python3-markupsafe python3-setuptools-scm \
+python3-pytest-runner python3-pyiface python3-flask-login 
python3-setuptools-scm \
 python3-semver python3-sdnotify python3-flask-user python3-tornado 
python3-jsonpatch python3-pexpect \
 python3-progress python3-jsonschema python3-xstatic python3-pyroute2 
python3-idna python3-sqlalchemy \
 python3-urllib3 python3-flask-mail python3-asn1crypto python3-pyinotify 
python3-intervals python3-pyperclip \
@@ -68,7 +68,7 @@ RDEPENDS_packagegroup-meta-python3-connectivity = "\
 "
 
 RDEPENDS_packagegroup-meta-python3-ptest = "\
-python3-cryptography \
+python3-cryptography python3-jinja2 python3-markupsafe \
 "
 
 EXCLUDE_FROM_WORLD = "1"
-- 
2.25.0


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



[oe] [meta-python][PATCH v2] packagegroup-meta-python: -jinja2 -markupsafe => ptest

2020-09-22 Thread Tim Orling
From: Tim Orling 

The main recipes for python3-jinja2 and python3-markupsafe
have moved to oe-core. No need to duplicate them here.

Instead, we add them to meta-python3-ptest sub-package, since
we do enable ptest with bbappends.

Signed-off-by: Tim Orling 
---
 .../recipes-core/packagegroups/packagegroup-meta-python.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 914359a868e..caf3b211656 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -228,7 +228,6 @@ RDEPENDS_packagegroup-meta-python3 = "\
 python3-mccabe \
 python3-kconfiglib \
 python3-grpcio-tools \
-python3-jinja2 \
 python3-jsmin \
 python3-greenlet \
 python3-idna \
@@ -455,6 +454,8 @@ RDEPENDS_packagegroup-meta-python3-connectivity = "\
 
 RDEPENDS_packagegroup-meta-python3-ptest = "\
 python3-cryptography-ptest \
+python3-jinja2-ptest \
+python3-markupsafe-ptest \
 "
 
 EXCLUDE_FROM_WORLD = "1"
-- 
2.25.0


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



[oe] [meta-python][PATCH v3] packagegroup-meta-python: -jinja2 -markupsafe => ptest

2020-09-22 Thread Tim Orling
From: Tim Orling 

The main recipes for python3-jinja2 and python3-markupsafe
have moved to oe-core. No need to duplicate them here.

Instead, we add them to meta-python3-ptest sub-package, since
we do enable ptest with bbappends.

Signed-off-by: Tim Orling 
---

Change in v2:
rebase on master, duh.

Change in v3:
left align " same as other groupings

 .../recipes-core/packagegroups/packagegroup-meta-python.bb   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 914359a868e..f62117e6346 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -228,7 +228,6 @@ RDEPENDS_packagegroup-meta-python3 = "\
 python3-mccabe \
 python3-kconfiglib \
 python3-grpcio-tools \
-python3-jinja2 \
 python3-jsmin \
 python3-greenlet \
 python3-idna \
@@ -455,6 +454,8 @@ RDEPENDS_packagegroup-meta-python3-connectivity = "\
 
 RDEPENDS_packagegroup-meta-python3-ptest = "\
 python3-cryptography-ptest \
-"
+python3-jinja2-ptest \
+python3-markupsafe-ptest \
+"
 
 EXCLUDE_FROM_WORLD = "1"
-- 
2.25.0


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



[oe] [meta-python][PATCH 1/3] python3-markupsafe: bbappend for ptest

2020-09-21 Thread Tim Orling
From: Tim Orling 

The main recipe has moved to oe-core, but with ptest
disabled. Here we simply conditionally inherit ptest
to enable it in meta-python.

Remove the original recipe and the python3-markupsafe/
directory.

Signed-off-by: Tim Orling 
---
 .../python/python3-markupsafe/run-ptest   |  3 ---
 .../python/python3-markupsafe_1.%.bbappend|  2 ++
 .../python/python3-markupsafe_1.1.1.bb| 27 ---
 3 files changed, 2 insertions(+), 30 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-markupsafe/run-ptest
 create mode 100644 
meta-python/recipes-devtools/python/python3-markupsafe_1.%.bbappend
 delete mode 100644 
meta-python/recipes-devtools/python/python3-markupsafe_1.1.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest 
b/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest
deleted file mode 100644
index 5cec7116968..000
--- a/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest
diff --git 
a/meta-python/recipes-devtools/python/python3-markupsafe_1.%.bbappend 
b/meta-python/recipes-devtools/python/python3-markupsafe_1.%.bbappend
new file mode 100644
index 000..91814e6cde9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-markupsafe_1.%.bbappend
@@ -0,0 +1,2 @@
+# Main recipe was moved to oe-core, but with ptest disabled
+inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
diff --git a/meta-python/recipes-devtools/python/python3-markupsafe_1.1.1.bb 
b/meta-python/recipes-devtools/python/python3-markupsafe_1.1.1.bb
deleted file mode 100644
index 7de57cbd636..000
--- a/meta-python/recipes-devtools/python/python3-markupsafe_1.1.1.bb
+++ /dev/null
@@ -1,27 +0,0 @@
-DESCRIPTION = "Implements a XML/HTML/XHTML Markup safe string for Python"
-HOMEPAGE = "http://github.com/mitsuhiko/markupsafe;
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
-
-SRC_URI[md5sum] = "43fd756864fe42063068e092e220c57b"
-SRC_URI[sha256sum] = 
"29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b"
-
-PYPI_PACKAGE = "MarkupSafe"
-inherit pypi ptest setuptools3
-
-RDEPENDS_${PN} += "${PYTHON_PN}-stringold"
-
-BBCLASSEXTEND = "native nativesdk"
-
-SRC_URI += " \
-   file://run-ptest \
-"
-
-RDEPENDS_${PN}-ptest += " \
-   ${PYTHON_PN}-pytest \
-"
-
-do_install_ptest() {
-   install -d ${D}${PTEST_PATH}/tests
-   cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-- 
2.25.0


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



<    1   2   3   4   5   6   7   8   9   >