Re: [oe] [meta-python][PATCH] Add runtime dependencies for python3-supervisor

2022-07-24 Thread Tim Orling
On Sun, Jul 24, 2022 at 7:01 PM Khem Raj  wrote:

> On Sun, Jul 24, 2022 at 3:31 PM Jan Vermaete 
> wrote:
> >
> > Hi,
> >
> > Could it be it should be '${PYTHON_PN}-setuptools-native' iso
> '${PYTHON_PN}-setuptools' ?
>
> rdep on a native package wont be a good thing.
> >
> > Br
> >
> > On Fri, Jul 22, 2022 at 9:39 PM Martin Großhauser 
> wrote:
> >>
> >> Running supervisord without these fails with import errors. smtpd might
> look strange, but provides required asynchat.py.
> >> ---
> >>   .../recipes-devtools/python/python3-supervisor_4.2.4.bb  | 5
> +
> >>   1 file changed, 5 insertions(+)
> >>
> >> diff --git a/meta-python/recipes-devtools/python/
> python3-supervisor_4.2.4.bb b/meta-python/recipes-devtools/python/
> python3-supervisor_4.2.4.bb
> >> index fdd8a76cf..7da29e39b 100644
> >> --- a/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
> >> +++ b/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
> >> @@ -13,6 +13,11 @@ PYPI_PACKAGE = "supervisor"
> >>   inherit pypi systemd setuptools3
> >>   RDEPENDS:${PN} = "\
> >>   ${PYTHON_PN}-meld3 \
> >> +${PYTHON_PN}-io \
> >> +${PYTHON_PN}-xmlrpc \
> >> +${PYTHON_PN}-resource \
> >> +${PYTHON_PN}-setuptools \
> >> +${PYTHON_PN}-smtpd \
> >>   "


FWIW, we don’t need to carry the ${PYTHON_PN} if the version no longer
supports python 2.

>
> >>
> >>   SRC_URI += "file://supervisord.conf \
> >> --
> >> 2.25.1
> >>
> >>
> >>
> >>
> >
> >
> > --
> > Jan Vermaete
> > “Success is a self-correcting phenomenom.” -- Gary Hamel
> >
> >
> >
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#97967): 
https://lists.openembedded.org/g/openembedded-devel/message/97967
Mute This Topic: https://lists.openembedded.org/mt/92555239/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] Add runtime dependencies for python3-supervisor

2022-07-24 Thread Khem Raj
On Sun, Jul 24, 2022 at 3:31 PM Jan Vermaete  wrote:
>
> Hi,
>
> Could it be it should be '${PYTHON_PN}-setuptools-native' iso  
> '${PYTHON_PN}-setuptools' ?

rdep on a native package wont be a good thing.
>
> Br
>
> On Fri, Jul 22, 2022 at 9:39 PM Martin Großhauser  
> wrote:
>>
>> Running supervisord without these fails with import errors. smtpd might look 
>> strange, but provides required asynchat.py.
>> ---
>>   .../recipes-devtools/python/python3-supervisor_4.2.4.bb  | 5 +
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb 
>> b/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
>> index fdd8a76cf..7da29e39b 100644
>> --- a/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
>> +++ b/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
>> @@ -13,6 +13,11 @@ PYPI_PACKAGE = "supervisor"
>>   inherit pypi systemd setuptools3
>>   RDEPENDS:${PN} = "\
>>   ${PYTHON_PN}-meld3 \
>> +${PYTHON_PN}-io \
>> +${PYTHON_PN}-xmlrpc \
>> +${PYTHON_PN}-resource \
>> +${PYTHON_PN}-setuptools \
>> +${PYTHON_PN}-smtpd \
>>   "
>>
>>   SRC_URI += "file://supervisord.conf \
>> --
>> 2.25.1
>>
>>
>>
>>
>
>
> --
> Jan Vermaete
> “Success is a self-correcting phenomenom.” -- Gary Hamel
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#97966): 
https://lists.openembedded.org/g/openembedded-devel/message/97966
Mute This Topic: https://lists.openembedded.org/mt/92555239/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] README: Remove maintainer info for tvgamblin

2022-07-24 Thread Khem Raj
On Sun, Jul 24, 2022 at 3:48 PM Trevor Gamblin  wrote:
>
> Signed-off-by: Trevor Gamblin 
> ---
>  meta-python/README | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/meta-python/README b/meta-python/README
> index 8b62ad32b..01c51dc88 100644
> --- a/meta-python/README
> +++ b/meta-python/README
> @@ -44,4 +44,3 @@ Maintenance
>  Layer maintainers:
>  Tim "moto-timo" Orling 
>  Derek Straka 
> -Trevor Gamblin 

Thanks for your work on maintaining meta-python Trevor, really appreciate it

> --
> 2.37.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#97965): 
https://lists.openembedded.org/g/openembedded-devel/message/97965
Mute This Topic: https://lists.openembedded.org/mt/92591366/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] README: Remove maintainer info for tvgamblin

2022-07-24 Thread Trevor Gamblin
Signed-off-by: Trevor Gamblin 
---
 meta-python/README | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/README b/meta-python/README
index 8b62ad32b..01c51dc88 100644
--- a/meta-python/README
+++ b/meta-python/README
@@ -44,4 +44,3 @@ Maintenance
 Layer maintainers:
 Tim "moto-timo" Orling 
 Derek Straka 
-Trevor Gamblin 
-- 
2.37.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#97964): 
https://lists.openembedded.org/g/openembedded-devel/message/97964
Mute This Topic: https://lists.openembedded.org/mt/92591366/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] Add runtime dependencies for python3-supervisor

2022-07-24 Thread Jan Vermaete
Hi,

Could it be it should be '${PYTHON_PN}-setuptools-native'
iso  '${PYTHON_PN}-setuptools' ?

Br

On Fri, Jul 22, 2022 at 9:39 PM Martin Großhauser 
wrote:

> Running supervisord without these fails with import errors. smtpd might
> look strange, but provides required asynchat.py.
> ---
>   .../recipes-devtools/python/python3-supervisor_4.2.4.bb  | 5 +
>   1 file changed, 5 insertions(+)
>
> diff --git a/meta-python/recipes-devtools/python/
> python3-supervisor_4.2.4.bb b/meta-python/recipes-devtools/python/
> python3-supervisor_4.2.4.bb
> index fdd8a76cf..7da29e39b 100644
> --- a/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
> +++ b/meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
> @@ -13,6 +13,11 @@ PYPI_PACKAGE = "supervisor"
>   inherit pypi systemd setuptools3
>   RDEPENDS:${PN} = "\
>   ${PYTHON_PN}-meld3 \
> +${PYTHON_PN}-io \
> +${PYTHON_PN}-xmlrpc \
> +${PYTHON_PN}-resource \
> +${PYTHON_PN}-setuptools \
> +${PYTHON_PN}-smtpd \
>   "
>
>   SRC_URI += "file://supervisord.conf \
> --
> 2.25.1
>
>
> 
>
>

-- 
Jan Vermaete
“Success is a self-correcting phenomenom.” -- Gary Hamel

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



Re: [oe] sources.openembedded.org status

2022-07-24 Thread Jan Vermaete
Hi,

Thanks to your email I just found out it does exist.

This makes it a bit easier to synchronize with the Internet for those who
have to work with an air gapped network.
It's kind of the same as Xilinx does with e.g.
https://petalinux.xilinx.com/sswreleases/rel-v2022/downloads/
So, if possible, I  would suggest keeping it and have a structure for every
release and the master/main.
The master because some have to work with the
latest-what-should-be-the-greatest.

Just my 2 cents.

Br


On Sun, Jul 24, 2022 at 7:13 PM Armin Kuster  wrote:

> Hello,
>
> I was looking at the content of sources.openembedded.org and it appears
> the last update was done  back in 2019.  Is sources.openembedded.org
> still a thing? if not, should we shut it down? If we think is has value,
> should we get it updated?
>
> -armin
>
> 
>
>

-- 
Jan Vermaete
“Success is a self-correcting phenomenom.” -- Gary Hamel

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



[oe] sources.openembedded.org status

2022-07-24 Thread Armin Kuster

Hello,

I was looking at the content of sources.openembedded.org and it appears 
the last update was done  back in 2019.  Is sources.openembedded.org 
still a thing? if not, should we shut it down? If we think is has value, 
should we get it updated?


-armin

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



[oe] [meta-multimedia][master][kirkstone][dunfell][PATCH] bigbuckbunny-1080p: update SRC_URI

2022-07-24 Thread Armin Kuster
fixes:
ERROR: bigbuckbunny-1080p-1.0-r0 do_fetch: Bitbake Fetcher Error: 
FetchError('Unable to fetch URL from any source.', 
'https://www.mediaspip.net/IMG/avi/big_buck_bunny_1080p_surround.avi')

Signed-off-by: Armin Kuster 
---
 .../recipes-multimedia/sample-content/bigbuckbunny-1080p.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb 
b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb
index b848b820c3..cb919d79e3 100644
--- a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb
+++ b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb
@@ -3,7 +3,7 @@ LICENSE = "CC-BY-3.0"
 # http://www.bigbuckbunny.org/index.php/about/
 LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
-SRC_URI = "https://www.mediaspip.net/IMG/avi/big_buck_bunny_1080p_surround.avi";
+SRC_URI = "http://www.peach.themazzone.com/big_buck_bunny_1080p_surround.avi";
 SRC_URI[md5sum] = "223991c8b33564eb77988a4c13c1c76a"
 SRC_URI[sha256sum] = 
"69fe2cfe7154a6e752688e3a0d7d6b07b1605bbaf75b56f6470dc7b4c20c06ea"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#97960): 
https://lists.openembedded.org/g/openembedded-devel/message/97960
Mute This Topic: https://lists.openembedded.org/mt/92588335/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-pyzmq: fixed oelint-adv warnings

2022-07-24 Thread Jan Vermaete
Signed-off-by: Jan Vermaete 
---
 .../python/python3-pyzmq_23.2.0.bb| 47 ++-
 1 file changed, 24 insertions(+), 23 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb 
b/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb
index 3471265e4..003f35d91 100644
--- a/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb
@@ -2,24 +2,36 @@ SUMMARY = "PyZMQ: Python bindings for ZMQ"
 DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a 
lightweight and fast messaging implementation."
 HOMEPAGE = "http://zeromq.org/bindings:python";
 LICENSE = "BSD-3-Clause & LGPL-3.0-only"
-LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \
-file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e"
-DEPENDS = "zeromq python3-packaging-native"
+LIC_FILES_CHKSUM = "\
+file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \
+file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e \
+"
+
+DEPENDS = "python3-packaging-native zeromq"
 
-SRC_URI += "file://club-rpath-out.patch"
+SRC_URI:append = " \
+file://club-rpath-out.patch \
+file://run-ptest \
+"
 SRC_URI[sha256sum] = 
"a51f12a8719aad9dcfb55d456022f16b90abc8dde7d3ca93ce3120b40e3fa169"
 
 inherit pypi pkgconfig python_setuptools_build_meta ptest
 
-SRC_URI += " \
-   file://run-ptest \
+PACKAGES =+ "\
+${PN}-test \
 "
 
-DEPENDS += "python3-packaging-native"
+FILES:${PN}-test += "\
+${libdir}/${PYTHON_DIR}/site-packages/*/tests \
+"
+
+RDEPENDS:${PN} += "\
+${PYTHON_PN}-json \
+${PYTHON_PN}-multiprocessing \
+"
 
-RDEPENDS:${PN} += " \
-   ${PYTHON_PN}-multiprocessing \
-   ${PYTHON_PN}-json \
+RDEPENDS:${PN}-ptest += "\
+${PN}-test \
 "
 
 do_compile:prepend() {
@@ -31,18 +43,7 @@ do_compile:prepend() {
 echo no_libzmq_extension = True >> ${S}/setup.cfg
 }
 
-RDEPENDS:${PN}-ptest += " \
-   ${PN}-test \
-"
-
-PACKAGES =+ "\
-${PN}-test \
-"
-
-FILES:${PN}-test = " \
-${libdir}/${PYTHON_DIR}/site-packages/*/tests \
-"
 do_install_ptest() {
-   install -d ${D}${PTEST_PATH}/tests
-   cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/
+install -d ${D}${PTEST_PATH}/tests
+cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/
 }
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#97959): 
https://lists.openembedded.org/g/openembedded-devel/message/97959
Mute This Topic: https://lists.openembedded.org/mt/92585346/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-pyzmq: added ptest

2022-07-24 Thread Jan Vermaete
And update the summary and description from the github website.

Two tests are failing because cython is not installed.
But this is the same when running pytest under a native Linux system.

Signed-off-by: Jan Vermaete 
---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-pyzmq/run-ptest|  3 +++
 .../python/python3-pyzmq_23.2.0.bb| 25 +--
 3 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyzmq/run-ptest

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 0721c6c0d..1d2a9952c 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -515,6 +515,7 @@ RDEPENDS:packagegroup-meta-python3-ptest = "\
 python3-pyserial-ptest \
 python3-pytest-lazy-fixture-ptest \
 python3-pytoml-ptest \
+python3-pyzmq-ptest \
 python3-requests-file-ptest \
 python3-requests-toolbelt-ptest \
 python3-scrypt-ptest \
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest 
b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
new file mode 100644
index 0..b63c4de0d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 
's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if 
($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || 
$NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" 
|| $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print 
$0}else{print}}'
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb 
b/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb
index 37ec9ec84..3471265e4 100644
--- a/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyzmq_23.2.0.bb
@@ -1,4 +1,5 @@
-SUMMARY = "Pyzmq provides Zero message queue access for the Python language"
+SUMMARY = "PyZMQ: Python bindings for ZMQ"
+DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a 
lightweight and fast messaging implementation."
 HOMEPAGE = "http://zeromq.org/bindings:python";
 LICENSE = "BSD-3-Clause & LGPL-3.0-only"
 LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \
@@ -8,7 +9,11 @@ DEPENDS = "zeromq python3-packaging-native"
 SRC_URI += "file://club-rpath-out.patch"
 SRC_URI[sha256sum] = 
"a51f12a8719aad9dcfb55d456022f16b90abc8dde7d3ca93ce3120b40e3fa169"
 
-inherit pypi pkgconfig python_setuptools_build_meta
+inherit pypi pkgconfig python_setuptools_build_meta ptest
+
+SRC_URI += " \
+   file://run-ptest \
+"
 
 DEPENDS += "python3-packaging-native"
 
@@ -25,3 +30,19 @@ do_compile:prepend() {
 echo libzmq_extension = False >> ${S}/setup.cfg
 echo no_libzmq_extension = True >> ${S}/setup.cfg
 }
+
+RDEPENDS:${PN}-ptest += " \
+   ${PN}-test \
+"
+
+PACKAGES =+ "\
+${PN}-test \
+"
+
+FILES:${PN}-test = " \
+${libdir}/${PYTHON_DIR}/site-packages/*/tests \
+"
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/tests
+   cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/
+}
-- 
2.25.1


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