[oe] [meta-python][PATCH 2/2] python3-gcovr: add dep on python3-colorlog

2024-04-23 Thread Justin Bronder
Dependency added in gcov-7.1.

Wrapping lines and alphabetically ordering while touching RDEPENDS.

Signed-off-by: Justin Bronder 
---
 meta-python/recipes-devtools/python/python3-gcovr_7.2.bb | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb 
b/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb
index 8a61a2de0..517124742 100644
--- a/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb
+++ b/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb
@@ -11,6 +11,13 @@ S = "${WORKDIR}/git"
 
 inherit setuptools3
 
-RDEPENDS:${PN} += "python3-jinja2 python3-lxml python3-setuptools 
python3-pygments python3-multiprocessing"
+RDEPENDS:${PN} += " \
+python3-colorlog \
+python3-jinja2 \
+python3-lxml \
+python3-multiprocessing \
+python3-pygments \
+python3-setuptools \
+"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110120): 
https://lists.openembedded.org/g/openembedded-devel/message/110120
Mute This Topic: https://lists.openembedded.org/mt/105697836/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-colorlog: BBCLASEXTEND native nativesdk

2024-04-23 Thread Justin Bronder
Signed-off-by: Justin Bronder 
---
 meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb 
b/meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb
index c26f4bb70..df5fdedfc 100644
--- a/meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb
+++ b/meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb
@@ -10,3 +10,5 @@ PYPI_PACKAGE = "colorlog"
 SRC_URI[sha256sum] = 
"3e3e079a41feb5a1b64f978b5ea4f46040a94f11f0e8bbb8261e3dbbeca64d44"
 
 RDEPENDS:${PN} += "python3-logging"
+
+BBCLASSEXTEND += "native nativesdk"
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110119): 
https://lists.openembedded.org/g/openembedded-devel/message/110119
Mute This Topic: https://lists.openembedded.org/mt/105697835/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 5/5] python3-typed-ast: remove EOL package

2023-08-10 Thread Justin Bronder
No longer required by python3-mypy and no longer maintained upstream.
https://github.com/python/typed_ast/issues/179

Signed-off-by: Justin Bronder 
---
 .../packagegroups/packagegroup-meta-python.bb|  1 -
 .../python/python3-typed-ast_1.5.4.bb| 12 
 2 files changed, 13 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-typed-ast_1.5.4.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 9500f80e0..f75007e13 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -437,7 +437,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-txaio \
 python3-txdbus \
 python3-txws \
-python3-typed-ast \
 python3-typeguard \
 python3-tzlocal \
 python3-u-msgpack-python \
diff --git a/meta-python/recipes-devtools/python/python3-typed-ast_1.5.4.bb 
b/meta-python/recipes-devtools/python/python3-typed-ast_1.5.4.bb
deleted file mode 100644
index e6c1746a8..0
--- a/meta-python/recipes-devtools/python/python3-typed-ast_1.5.4.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-SUMMARY = "Modified fork of CPython's ast module that parses `# type:` 
comments"
-HOMEPAGE = "https://github.com/python/typed_ast;
-LICENSE = "Apache-2.0 & MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=97f1494e93daf66a5df47118407a4c4f"
-
-PYPI_PACKAGE = "typed_ast"
-
-inherit pypi setuptools3
-
-SRC_URI[sha256sum] = 
"39e21ceb7388e4bb37f4c679d72707ed46c2fbf2a5609b8b8ebc4b067d977df2"
-
-BBCLASSEXTEND = "native"
-- 
2.41.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104329): 
https://lists.openembedded.org/g/openembedded-devel/message/104329
Mute This Topic: https://lists.openembedded.org/mt/100665774/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 4/5] python3-mypy: upgrade 0.971 -> 1.5.0

2023-08-10 Thread Justin Bronder
Switched RDEPEND to python3-modules as this is a complex package that is
still under fairly heavy development by python core contributors.  It's
likely that the dependency list will change from release to release and
unlikely that anyone wanting type-checking will be object to having a
full python installation.

Note for anyone attempting to backport this, you'll need to add
python3-tomli to RDEPENDS as python < 3.11 won't be in the stdlib.

Signed-off-by: Justin Bronder 
---
 .../python/python3-mypy_0.971.bb  | 23 ---
 .../python/python3-mypy_1.5.0.bb  | 23 +++
 2 files changed, 23 insertions(+), 23 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-mypy_0.971.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-mypy_1.5.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-mypy_0.971.bb 
b/meta-python/recipes-devtools/python/python3-mypy_0.971.bb
deleted file mode 100644
index 31fcb06c9..0
--- a/meta-python/recipes-devtools/python/python3-mypy_0.971.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
-HOMEPAGE = "https://github.com/python/mypy;
-LICENSE = "MIT & Python-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f"
-
-PYPI_PACKAGE = "mypy"
-
-inherit pypi python_setuptools_build_meta
-
-SRC_URI[sha256sum] = 
"40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56"
-
-BBCLASSEXTEND = "native"
-
-RDEPENDS:${PN} += " \
-${PYTHON_PN}-mypy-extensions \
-${PYTHON_PN}-typed-ast \
-${PYTHON_PN}-typing-extensions \
-${PYTHON_PN}-json \
-${PYTHON_PN}-compression \
-${PYTHON_PN}-pprint \
-${PYTHON_PN}-difflib \
-${PYTHON_PN}-toml \
-"
diff --git a/meta-python/recipes-devtools/python/python3-mypy_1.5.0.bb 
b/meta-python/recipes-devtools/python/python3-mypy_1.5.0.bb
new file mode 100644
index 0..46730aa23
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-mypy_1.5.0.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
+HOMEPAGE = "https://github.com/python/mypy;
+LICENSE = "MIT & Python-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f"
+
+inherit pypi python_setuptools_build_meta
+
+SRC_URI[sha256sum] = 
"f3460f34b3839b9bc84ee3ed65076eb827cd99ed13ed08d723f9083cada4a212"
+
+BBCLASSEXTEND = "native"
+
+DEPENDS += " \
+python3-mypy-extensions-native \
+python3-types-psutil-native \
+python3-types-setuptools-native \
+python3-typing-extensions-native \
+"
+
+RDEPENDS:${PN} += " \
+python3-modules \
+python3-mypy-extensions \
+python3-typing-extensions \
+"
-- 
2.41.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104328): 
https://lists.openembedded.org/g/openembedded-devel/message/104328
Mute This Topic: https://lists.openembedded.org/mt/100665773/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/5] python3-types-psutil: add 5.9.5.16

2023-08-10 Thread Justin Bronder
Dependency of python3-mypy.

Signed-off-by: Justin Bronder 
---
 .../python/python3-types-psutil_5.9.5.16.bb| 10 ++
 1 file changed, 10 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.16.bb

diff --git 
a/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.16.bb 
b/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.16.bb
new file mode 100644
index 0..02245be62
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.16.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Typing stubs for psutil"
+HOMEPAGE = "https://github.com/python/typeshed;
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=6;endline=6;md5=ef4dc1e740f5c928f1608a4a9c7b578e"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = 
"4e9b219efb625d3d04f6bf106934f87cab49aa41a94b0a3b3089403f47a79228"
+
+BBCLASSEXTEND = "native"
-- 
2.41.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104327): 
https://lists.openembedded.org/g/openembedded-devel/message/104327
Mute This Topic: https://lists.openembedded.org/mt/100665772/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/5] python3-types-setuptools: add 68.0.0.3

2023-08-10 Thread Justin Bronder
Dependency of python3-mypy.

Signed-off-by: Justin Bronder 
---
 .../python/python3-types-setuptools_68.0.0.3.bb| 10 ++
 1 file changed, 10 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-types-setuptools_68.0.0.3.bb

diff --git 
a/meta-python/recipes-devtools/python/python3-types-setuptools_68.0.0.3.bb 
b/meta-python/recipes-devtools/python/python3-types-setuptools_68.0.0.3.bb
new file mode 100644
index 0..5a810c795
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-types-setuptools_68.0.0.3.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Typing stubs for setuptools"
+HOMEPAGE = "https://github.com/python/typeshed;
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=6;endline=6;md5=ef4dc1e740f5c928f1608a4a9c7b578e"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = 
"d57ae6076100b5704b3cc869fdefc671e1baf4c2cd6643f84265dfc0b955bf05"
+
+BBCLASSEXTEND = "native"
-- 
2.41.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104326): 
https://lists.openembedded.org/g/openembedded-devel/message/104326
Mute This Topic: https://lists.openembedded.org/mt/100665769/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/5] python3-mypy-extensions: upgrade 0.4.3 -> 1.0.0

2023-08-10 Thread Justin Bronder
Signed-off-by: Justin Bronder 
---
 ...ypy-extensions_0.4.3.bb => python3-mypy-extensions_1.0.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-mypy-extensions_0.4.3.bb 
=> python3-mypy-extensions_1.0.0.bb} (78%)

diff --git 
a/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb 
b/meta-python/recipes-devtools/python/python3-mypy-extensions_1.0.0.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
rename to meta-python/recipes-devtools/python/python3-mypy-extensions_1.0.0.bb
index 83ac5362d..4c431431c 100644
--- a/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
+++ b/meta-python/recipes-devtools/python/python3-mypy-extensions_1.0.0.bb
@@ -7,6 +7,6 @@ PYPI_PACKAGE = "mypy_extensions"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = 
"2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"
+SRC_URI[sha256sum] = 
"75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"
 
 BBCLASSEXTEND = "native"
-- 
2.41.0


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



Re: [oe] python3-mypy, python3-mypy-extensions: remove

2023-07-24 Thread Justin Bronder
On 24/07/23 15:18 -0400, Justin Bronder wrote:
> On 24/07/23 12:58 -0400, Trevor Gamblin wrote:
> > While attempting to upgrade mypy and mypy-extensions, it was discovered
> > that it depends on new modules, some of which have no maintenance plan
> > in place, e.g.: https://pypi.org/project/types-typed-ast/
> 
> That dependency has been dropped upstream as part of removing support for 
> python
> 3.7 [1].  If there's other other problematic recipes, I think it'd be 
> beneficial
> to have a type checker for python available.
> 
> 1. 
> https://github.com/python/mypy/commit/2edaf35ec1f91c139dfe1930b1b0d1e1cac59599

1.5 looks like it'll be released soon.  If there's interested in keeping mypy
around, I'll volunteer to try to package it then.

https://github.com/python/mypy/issues/15588

> 
> 
> > 
> > Since this is something we want to avoid adding to the ecosystem and
> > mypy isn't a dependency for anything else in meta-python, remove the
> > recipes.
> > 
> > Signed-off-by: Trevor Gamblin 
> > ---
> > v2 removes the recipes from the packagegroup as well.
> > 
> >  .../packagegroups/packagegroup-meta-python.bb |  2 --
> >  .../python/python3-mypy-extensions_0.4.3.bb   | 12 --
> >  .../python/python3-mypy_0.971.bb  | 23 ---
> >  3 files changed, 37 deletions(-)
> >  delete mode 100644 
> > meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
> >  delete mode 100644 
> > meta-python/recipes-devtools/python/python3-mypy_0.971.bb
> > 
> > diff --git 
> > a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
> > b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> > index b23d24c6d4..c12d475047 100644
> > --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> > +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> > @@ -245,8 +245,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
> >  python3-msk \
> >  python3-msm \
> >  python3-multidict \
> > -python3-mypy \
> > -python3-mypy-extensions \
> >  python3-natsort \
> >  python3-netaddr \
> >  python3-netifaces \
> > diff --git 
> > a/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb 
> > b/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
> > deleted file mode 100644
> > index 83ac5362d6..00
> > --- a/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
> > +++ /dev/null
> > @@ -1,12 +0,0 @@
> > -SUMMARY = "Experimental type system extensions for programs checked with 
> > the mypy typechecker"
> > -HOMEPAGE = "https://github.com/python/mypy_extensions;
> > -LICENSE = "MIT"
> > -LIC_FILES_CHKSUM = "file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e"
> > -
> > -PYPI_PACKAGE = "mypy_extensions"
> > -
> > -inherit pypi setuptools3
> > -
> > -SRC_URI[sha256sum] = 
> > "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"
> > -
> > -BBCLASSEXTEND = "native"
> > diff --git a/meta-python/recipes-devtools/python/python3-mypy_0.971.bb 
> > b/meta-python/recipes-devtools/python/python3-mypy_0.971.bb
> > deleted file mode 100644
> > index 31fcb06c9e..00
> > --- a/meta-python/recipes-devtools/python/python3-mypy_0.971.bb
> > +++ /dev/null
> > @@ -1,23 +0,0 @@
> > -SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
> > -HOMEPAGE = "https://github.com/python/mypy;
> > -LICENSE = "MIT & Python-2.0"
> > -LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f"
> > -
> > -PYPI_PACKAGE = "mypy"
> > -
> > -inherit pypi python_setuptools_build_meta
> > -
> > -SRC_URI[sha256sum] = 
> > "40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56"
> > -
> > -BBCLASSEXTEND = "native"
> > -
> > -RDEPENDS:${PN} += " \
> > -${PYTHON_PN}-mypy-extensions \
> > -${PYTHON_PN}-typed-ast \
> > -${PYTHON_PN}-typing-extensions \
> > -${PYTHON_PN}-json \
> > -${PYTHON_PN}-compression \
> > -${PYTHON_PN}-pprint \
> > -${PYTHON_PN}-difflib \
> > -${PYTHON_PN}-toml \
> > -"
> > -- 
> > 2.41.0
> > 
> 
> > 
> > 
> > 
> 
> 
> -- 
> Justin Bronder

> 
> 
> 


-- 
Justin Bronder

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



Re: [oe] python3-mypy, python3-mypy-extensions: remove

2023-07-24 Thread Justin Bronder
On 24/07/23 12:58 -0400, Trevor Gamblin wrote:
> While attempting to upgrade mypy and mypy-extensions, it was discovered
> that it depends on new modules, some of which have no maintenance plan
> in place, e.g.: https://pypi.org/project/types-typed-ast/

That dependency has been dropped upstream as part of removing support for python
3.7 [1].  If there's other other problematic recipes, I think it'd be beneficial
to have a type checker for python available.

1. 
https://github.com/python/mypy/commit/2edaf35ec1f91c139dfe1930b1b0d1e1cac59599


> 
> Since this is something we want to avoid adding to the ecosystem and
> mypy isn't a dependency for anything else in meta-python, remove the
> recipes.
> 
> Signed-off-by: Trevor Gamblin 
> ---
> v2 removes the recipes from the packagegroup as well.
> 
>  .../packagegroups/packagegroup-meta-python.bb |  2 --
>  .../python/python3-mypy-extensions_0.4.3.bb   | 12 --
>  .../python/python3-mypy_0.971.bb  | 23 ---
>  3 files changed, 37 deletions(-)
>  delete mode 100644 
> meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
>  delete mode 100644 meta-python/recipes-devtools/python/python3-mypy_0.971.bb
> 
> diff --git 
> a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
> b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> index b23d24c6d4..c12d475047 100644
> --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> @@ -245,8 +245,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
>  python3-msk \
>  python3-msm \
>  python3-multidict \
> -python3-mypy \
> -python3-mypy-extensions \
>  python3-natsort \
>  python3-netaddr \
>  python3-netifaces \
> diff --git 
> a/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb 
> b/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
> deleted file mode 100644
> index 83ac5362d6..00
> --- a/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -SUMMARY = "Experimental type system extensions for programs checked with the 
> mypy typechecker"
> -HOMEPAGE = "https://github.com/python/mypy_extensions;
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e"
> -
> -PYPI_PACKAGE = "mypy_extensions"
> -
> -inherit pypi setuptools3
> -
> -SRC_URI[sha256sum] = 
> "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"
> -
> -BBCLASSEXTEND = "native"
> diff --git a/meta-python/recipes-devtools/python/python3-mypy_0.971.bb 
> b/meta-python/recipes-devtools/python/python3-mypy_0.971.bb
> deleted file mode 100644
> index 31fcb06c9e..00
> --- a/meta-python/recipes-devtools/python/python3-mypy_0.971.bb
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
> -HOMEPAGE = "https://github.com/python/mypy;
> -LICENSE = "MIT & Python-2.0"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f"
> -
> -PYPI_PACKAGE = "mypy"
> -
> -inherit pypi python_setuptools_build_meta
> -
> -SRC_URI[sha256sum] = 
> "40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56"
> -
> -BBCLASSEXTEND = "native"
> -
> -RDEPENDS:${PN} += " \
> -${PYTHON_PN}-mypy-extensions \
> -${PYTHON_PN}-typed-ast \
> -${PYTHON_PN}-typing-extensions \
> -${PYTHON_PN}-json \
> -${PYTHON_PN}-compression \
> -${PYTHON_PN}-pprint \
> -${PYTHON_PN}-difflib \
> -${PYTHON_PN}-toml \
> -"
> -- 
> 2.41.0
> 

> 
> 
> 


-- 
Justin Bronder

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



Re: [oe] python3-asyncinotify: upgrade 3.0.1 -> 4.0.2

2023-07-17 Thread Justin Bronder
Apologies, there is no second patch; I fat-fingered git-send-email.

On 17/07/23 13:11 -0400, Justin Bronder wrote:
> c5590c5 Switch from GitHub to gitlab
> 22b0ed7 make pass all mypy type checks
> abd15f8 add __weakref__ to inotify and watch
> 5e57e0b add slots to all classes
> f907237 restore support to 3.6
> 5269b9d improve documentation
> 2512aa3 Merge branch '16-add-timeout-for-the-sync-version-of-get-sync_get' 
> into 'master'
> 5beff57 add sync_timeout
> c8f8653 fix readthedocs
> 97056b9 remove package rule
> faebfa9 move test after package
> a75f116 version bump
> 6b4921f rework docs
> 35716a4 rework docs
> c51d603 fix test for deprecations
> ddd987c switch to pyproject.toml, test against all supported python versions
> 
> Signed-off-by: Justin Bronder 
> ---
>  ...n3-asyncinotify_3.0.1.bb => python3-asyncinotify_4.0.2.bb} | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>  rename meta-python/recipes-devtools/python/{python3-asyncinotify_3.0.1.bb => 
> python3-asyncinotify_4.0.2.bb} (75%)
> 
> diff --git 
> a/meta-python/recipes-devtools/python/python3-asyncinotify_3.0.1.bb 
> b/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.2.bb
> similarity index 75%
> rename from meta-python/recipes-devtools/python/python3-asyncinotify_3.0.1.bb
> rename to meta-python/recipes-devtools/python/python3-asyncinotify_4.0.2.bb
> index 2f4adcea7a..08dc77bd17 100644
> --- a/meta-python/recipes-devtools/python/python3-asyncinotify_3.0.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.2.bb
> @@ -3,9 +3,9 @@ HOMEPAGE = "https://gitlab.com/Taywee/asyncinotify;
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec941a1cd6616454970d03cb9c9e8f8"
>  
> -SRC_URI[sha256sum] = 
> "da812bf2be6a76aac6670b766eec4564d9484da6595d3ce1f9bba8ba78c30445"
> +SRC_URI[sha256sum] = 
> "bcac19425b1b418bbbc4d31193ea3c39e24343cd7ddff2074ae7b599f1a04829"
>  
> -inherit pypi setuptools3
> +inherit pypi python_setuptools_build_meta
>  
>  RDEPENDS:${PN} += " \
>  python3-asyncio \
> -- 
> 2.41.0
> 

> 
> 
> 


-- 
Justin Bronder

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103889): 
https://lists.openembedded.org/g/openembedded-devel/message/103889
Mute This Topic: https://lists.openembedded.org/mt/100199305/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] python3-pytest-asyncio: upgrade 0.16.0 -> 0.21.1

2023-07-17 Thread Justin Bronder
0.21.1
- Output a proper error message when an invalid asyncio_mode is selected.
- Extend warning message about unclosed event loops with additional
  possible cause. #531
- Previously, some tests reported "skipped" or "xfailed" as a result.
  Now all tests report a "success" result.

0.21.0
- Drop compatibility with pytest 6.1. Pytest-asyncio now depends on
  pytest 7.0 or newer.
- pytest-asyncio cleans up any stale event loops when setting up and
  tearing down the event_loop fixture. This behavior has been deprecated
  and pytest-asyncio emits a DeprecationWarning when tearing down the
  event_loop fixture and current event loop has not been closed.

0.18.2 (22-03-03)
- Fix asyncio auto mode not marking static methods. #295
- Fix a compatibility issue with Hypothesis 6.39.0. #302

0.18.1 (22-02-10)
- Fixes a regression that prevented async fixtures from working in
  synchronous tests.  #286

0.18.0 (22-02-07)
- Raise a warning if @pytest.mark.asyncio is applied to non-async
  function.  #275
- Support parametrized event_loop fixture.  #278

0.17.2 (22-01-17)
- Require typing-extensions on Python<3.8 only.  #269
- Fix a regression in tests collection introduced by 0.17.1, the plugin
  works fine with non-python tests again.  #267

0.17.1 (22-01-16)
- Fixes a bug that prevents async Hypothesis tests from working without
  explicit asyncio marker when --asyncio-mode=auto is set.  #258
- Fixed a bug that closes the default event loop if the loop doesn't
  exist #257
- Added type annotations.

0.17.0 (22-01-13)
- [pytest-asyncio]{.title-ref} no longer alters existing event loop
  policies.  #168, #188
- Drop support for Python 3.6
- Fixed an issue when pytest-asyncio was used in combination with
  [flaky]{.title-ref} or inherited asynchronous Hypothesis tests.  #178
  #231
- Added flaky to test dependencies
- Added unused_udp_port and unused_udp_port_factory fixtures (similar to
  unused_tcp_port and unused_tcp_port_factory counterparts.  #99
- Added the plugin modes: strict, auto, and legacy. See documentation
  for details.  #125
- Correctly process KeyboardInterrupt during async fixture setup phase
  #219

License-Update: whitespace

Signed-off-by: Justin Bronder 
---
 .../python/python3-pytest-asyncio_0.16.0.bb  | 14 --
 .../python/python3-pytest-asyncio_0.21.1.bb  | 16 
 2 files changed, 16 insertions(+), 14 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-pytest-asyncio_0.16.0.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-pytest-asyncio_0.21.1.bb

diff --git 
a/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.16.0.bb 
b/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.16.0.bb
deleted file mode 100644
index 1dfeab6332..00
--- a/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.16.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = "pytest-asyncio is an Apache2 licensed library, written in 
Python, for testing asyncio code with pytest"
-
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
-
-SRC_URI[sha256sum] = 
"7496c5977ce88c34379df64a66459fe395cd05543f0a2f837016e7144391fcfb"
-
-inherit pypi setuptools3
-
-RDEPENDS:${PN} += " \
-${PYTHON_PN}-pytest \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git 
a/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.21.1.bb 
b/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.21.1.bb
new file mode 100644
index 00..c96c0e0801
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.21.1.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "pytest-asyncio is an Apache2 licensed library, written in 
Python, for testing asyncio code with pytest"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=136e4f49dbf29942c572a3a8f6e88a77"
+
+SRC_URI[sha256sum] = 
"40a7eae6dded22c7b604986855ea48400ab15b069ae38116e8c01238e9eeb64d"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-setuptools-scm-native"
+
+RDEPENDS:${PN} += " \
+python3-pytest \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.41.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103888): 
https://lists.openembedded.org/g/openembedded-devel/message/103888
Mute This Topic: https://lists.openembedded.org/mt/100199262/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-asyncinotify: upgrade 3.0.1 -> 4.0.2

2023-07-17 Thread Justin Bronder
c5590c5 Switch from GitHub to gitlab
22b0ed7 make pass all mypy type checks
abd15f8 add __weakref__ to inotify and watch
5e57e0b add slots to all classes
f907237 restore support to 3.6
5269b9d improve documentation
2512aa3 Merge branch '16-add-timeout-for-the-sync-version-of-get-sync_get' into 
'master'
5beff57 add sync_timeout
c8f8653 fix readthedocs
97056b9 remove package rule
faebfa9 move test after package
a75f116 version bump
6b4921f rework docs
35716a4 rework docs
c51d603 fix test for deprecations
ddd987c switch to pyproject.toml, test against all supported python versions

Signed-off-by: Justin Bronder 
---
 ...n3-asyncinotify_3.0.1.bb => python3-asyncinotify_4.0.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-asyncinotify_3.0.1.bb => 
python3-asyncinotify_4.0.2.bb} (75%)

diff --git a/meta-python/recipes-devtools/python/python3-asyncinotify_3.0.1.bb 
b/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.2.bb
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-asyncinotify_3.0.1.bb
rename to meta-python/recipes-devtools/python/python3-asyncinotify_4.0.2.bb
index 2f4adcea7a..08dc77bd17 100644
--- a/meta-python/recipes-devtools/python/python3-asyncinotify_3.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.2.bb
@@ -3,9 +3,9 @@ HOMEPAGE = "https://gitlab.com/Taywee/asyncinotify;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec941a1cd6616454970d03cb9c9e8f8"
 
-SRC_URI[sha256sum] = 
"da812bf2be6a76aac6670b766eec4564d9484da6595d3ce1f9bba8ba78c30445"
+SRC_URI[sha256sum] = 
"bcac19425b1b418bbbc4d31193ea3c39e24343cd7ddff2074ae7b599f1a04829"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += " \
 python3-asyncio \
-- 
2.41.0


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



[oe] [meta-oe][PATCH] tk: inherit pkgconfig

2023-03-15 Thread Justin Bronder
I noticed that xft was not getting enabled as expected because the
recipe was using pkg-config from the host.

Signed-off-by: Justin Bronder 
---
 meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb 
b/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb
index efab9618ec..f3cab4e610 100644
--- a/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb
+++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb
@@ -34,7 +34,7 @@ PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/${BPN}${PV}"
 VER = "${@os.path.splitext(d.getVar('PV'))[0]}"
 
 LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib"
-inherit autotools features_check
+inherit autotools features_check pkgconfig
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 
-- 
2.39.2


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



[oe] [meta-oe][kirkstone][PATCH] lmdb: only set SONAME on the shared library

2022-08-31 Thread Justin Bronder
Setting soname in LDFLAGS means that the extra mdb tools also
incorrectly get soname set.  This then triggers package.bbclass to add a
duplicate shlib_provider in /usr/bin for liblmdb.so.0.9.29.  Then any
other recipe depending on liblmdb is going to get a 'Multiple shlib
provider' error.

shlibs2/lmdb.list before:
liblmdb.so.0.9.29:/usr/bin:0.9.29
liblmdb.so.0.9.29:/usr/lib:0.9.29

shlibs2/lmdb.list after:
liblmdb.so.0.9.29:/usr/lib:0.9.29

Signed-off-by: Justin Bronder 
Signed-off-by: Khem Raj 
---
 .../0001-make-set-soname-on-liblmdb.patch | 22 +++
 meta-oe/recipes-dbs/lmdb/lmdb_0.9.29.bb   |  3 +--
 2 files changed, 23 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch

diff --git 
a/meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch 
b/meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch
new file mode 100644
index 00..312809d1d2
--- /dev/null
+++ b/meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch
@@ -0,0 +1,22 @@
+From b4d418bf3f78748d84e3cfb110833443eef34284 Mon Sep 17 00:00:00 2001
+From: Justin Bronder 
+Date: Thu, 25 Aug 2022 17:22:20 -0400
+Subject: [PATCH] make: set soname on liblmdb
+
+---
+ libraries/liblmdb/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile
+index 1ec74e6..ea08cd6 100644
+--- a/libraries/liblmdb/Makefile
 b/libraries/liblmdb/Makefile
+@@ -66,7 +66,7 @@ liblmdb.a:   mdb.o midl.o
+ 
+ liblmdb$(SOEXT):  mdb.lo midl.lo
+ # $(CC) $(LDFLAGS) -pthread -shared -Wl,-Bsymbolic -o $@ mdb.o midl.o 
$(SOLIBS)
+-  $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS)
++  $(CC) $(LDFLAGS) -pthread -shared -Wl,-soname,$@ -o $@ mdb.lo midl.lo 
$(SOLIBS)
+ 
+ mdb_stat: mdb_stat.o liblmdb.a
+ mdb_copy: mdb_copy.o liblmdb.a
diff --git a/meta-oe/recipes-dbs/lmdb/lmdb_0.9.29.bb 
b/meta-oe/recipes-dbs/lmdb/lmdb_0.9.29.bb
index b58a36c446..f23960f40a 100644
--- a/meta-oe/recipes-dbs/lmdb/lmdb_0.9.29.bb
+++ b/meta-oe/recipes-dbs/lmdb/lmdb_0.9.29.bb
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=153d07ef052c4a37a8fac23bc6031972"
 SRC_URI = "git://github.com/LMDB/lmdb.git;nobranch=1;protocol=https \
file://run-ptest \
file://0001-Makefile-use-libprefix-instead-of-libdir.patch \
+   file://0001-make-set-soname-on-liblmdb.patch;patchdir=../.. \
"
 
 SRCREV = "8ad7be2510414b9506ec9f9e24f24d04d9b04a1a"
@@ -19,8 +20,6 @@ inherit base ptest
 
 S = "${WORKDIR}/git/libraries/liblmdb"
 
-LDFLAGS += "-Wl,-soname,lib${PN}.so.${PV}"
-
 do_compile() {
 oe_runmake CC="${CC}" SOEXT=".so.${PV}" LDFLAGS="${LDFLAGS}"
 }
-- 
2.37.1


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



[oe] [meta-oe][PATCH] lmdb: only set SONAME on the shared library

2022-08-25 Thread Justin Bronder
Setting soname in LDFLAGS means that the extra mdb tools also
incorrectly get soname set.  This then triggers package.bbclass to add a
duplicate shlib_provider in /usr/bin for liblmdb.so.0.9.29.  Then any
other recipe depending on liblmdb is going to get a 'Multiple shlib
provider' error.

shlibs2/lmdb.list before:
liblmdb.so.0.9.29:/usr/bin:0.9.29
liblmdb.so.0.9.29:/usr/lib:0.9.29

shlibs2/lmdb.list after:
liblmdb.so.0.9.29:/usr/lib:0.9.29

Signed-off-by: Justin Bronder 
---
 .../0001-make-set-soname-on-liblmdb.patch | 22 +++
 meta-oe/recipes-dbs/lmdb/lmdb_0.9.29.bb   |  3 +--
 2 files changed, 23 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch

diff --git 
a/meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch 
b/meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch
new file mode 100644
index 00..312809d1d2
--- /dev/null
+++ b/meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch
@@ -0,0 +1,22 @@
+From b4d418bf3f78748d84e3cfb110833443eef34284 Mon Sep 17 00:00:00 2001
+From: Justin Bronder 
+Date: Thu, 25 Aug 2022 17:22:20 -0400
+Subject: [PATCH] make: set soname on liblmdb
+
+---
+ libraries/liblmdb/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile
+index 1ec74e6..ea08cd6 100644
+--- a/libraries/liblmdb/Makefile
 b/libraries/liblmdb/Makefile
+@@ -66,7 +66,7 @@ liblmdb.a:   mdb.o midl.o
+ 
+ liblmdb$(SOEXT):  mdb.lo midl.lo
+ # $(CC) $(LDFLAGS) -pthread -shared -Wl,-Bsymbolic -o $@ mdb.o midl.o 
$(SOLIBS)
+-  $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS)
++  $(CC) $(LDFLAGS) -pthread -shared -Wl,-soname,$@ -o $@ mdb.lo midl.lo 
$(SOLIBS)
+ 
+ mdb_stat: mdb_stat.o liblmdb.a
+ mdb_copy: mdb_copy.o liblmdb.a
diff --git a/meta-oe/recipes-dbs/lmdb/lmdb_0.9.29.bb 
b/meta-oe/recipes-dbs/lmdb/lmdb_0.9.29.bb
index 0590ce008c..a76d388d70 100644
--- a/meta-oe/recipes-dbs/lmdb/lmdb_0.9.29.bb
+++ b/meta-oe/recipes-dbs/lmdb/lmdb_0.9.29.bb
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=153d07ef052c4a37a8fac23bc6031972"
 SRC_URI = "git://github.com/LMDB/lmdb.git;nobranch=1;protocol=https \
file://run-ptest \
file://0001-Makefile-use-libprefix-instead-of-libdir.patch \
+   file://0001-make-set-soname-on-liblmdb.patch;patchdir=../.. \
"
 
 SRCREV = "8ad7be2510414b9506ec9f9e24f24d04d9b04a1a"
@@ -19,8 +20,6 @@ inherit ptest
 
 S = "${WORKDIR}/git/libraries/liblmdb"
 
-LDFLAGS += "-Wl,-soname,lib${PN}.so.${PV}"
-
 do_compile() {
 oe_runmake CC="${CC}" SOEXT=".so.${PV}" LDFLAGS="${LDFLAGS}"
 }
-- 
2.37.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98436): 
https://lists.openembedded.org/g/openembedded-devel/message/98436
Mute This Topic: https://lists.openembedded.org/mt/93258594/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] python3-pymodbus: add asyncio to package config

2022-03-14 Thread Justin Bronder
When using asyncio as the backend for asynchronous communication,
pymodbus depends on python3-pyserial-asyncio.

Signed-off-by: Justin Bronder 
---
 meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb 
b/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb
index b628cadafe..46565876fe 100644
--- a/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb
@@ -11,6 +11,7 @@ inherit pypi setuptools3
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[repl] = ",,,python3-aiohttp python3-click python3-prompt-toolkit 
python3-pygments python3-pyserial-asyncio"
+PACKAGECONFIG[asyncio] = ",,,python3-pyserial-asyncio"
 PACKAGECONFIG[tornado] = ",,,python3-tornado"
 PACKAGECONFIG[twisted] = ",,,python3-twisted-conch"
 PACKAGECONFIG[redis] = ",,,python3-redis"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95988): 
https://lists.openembedded.org/g/openembedded-devel/message/95988
Mute This Topic: https://lists.openembedded.org/mt/89785320/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] python3-asyncinotify: add 2.0.2

2022-03-07 Thread Justin Bronder
Signed-off-by: Justin Bronder 
---
 .../python/python3-asyncinotify_2.0.2.bb  | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-asyncinotify_2.0.2.bb

diff --git a/meta-python/recipes-devtools/python/python3-asyncinotify_2.0.2.bb 
b/meta-python/recipes-devtools/python/python3-asyncinotify_2.0.2.bb
new file mode 100644
index 00..2bf9192481
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-asyncinotify_2.0.2.bb
@@ -0,0 +1,15 @@
+SUMMARY = "A simple optionally-async python inotify library, focused on 
simplicity of use and operation, and leveraging modern Python features"
+HOMEPAGE = "https://gitlab.com/Taywee/asyncinotify;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec941a1cd6616454970d03cb9c9e8f8"
+
+SRC_URI[sha256sum] = 
"867cc056d88fc07aa8b3d1dc5b9c3c911cdd6130a4df5f67beb1fdecfd37b164"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+python3-asyncio \
+python3-core  \
+python3-ctypes \
+python3-io \
+"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95875): 
https://lists.openembedded.org/g/openembedded-devel/message/95875
Mute This Topic: https://lists.openembedded.org/mt/89624429/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-pymodbus: add 2.5.3

2022-03-07 Thread Justin Bronder
Signed-off-by: Justin Bronder 
---
 .../python/python3-pymodbus_2.5.3.bb  | 34 +++
 1 file changed, 34 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb

diff --git a/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb 
b/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb
new file mode 100644
index 00..b628cadafe
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb
@@ -0,0 +1,34 @@
+SUMMARY = "A fully featured modbus protocol stack in python"
+HOMEPAGE = "https://github.com/riptideio/pymodbus/;
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2c2223d66c7e674b40527b5a4c35bd76"
+DEPENDS += "python3-six-native"
+
+SRC_URI[sha256sum] = 
"5ef68c1a109bdb467c830ef003ef2db6494349a5248e4af946fe21c9eefe7e74"
+S = "${WORKDIR}/pymodbus-${PV}"
+
+inherit pypi setuptools3
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[repl] = ",,,python3-aiohttp python3-click python3-prompt-toolkit 
python3-pygments python3-pyserial-asyncio"
+PACKAGECONFIG[tornado] = ",,,python3-tornado"
+PACKAGECONFIG[twisted] = ",,,python3-twisted-conch"
+PACKAGECONFIG[redis] = ",,,python3-redis"
+PACKAGECONFIG[sql] = ",,,python3-sqlalchemy"
+
+RDEPENDS:${PN} += " \
+python3-asyncio \
+python3-core \
+python3-io \
+python3-json \
+python3-logging \
+python3-math \
+python3-netserver \
+"
+
+RDEPENDS:${PN} += " \
+python3-pyserial \
+python3-six \
+"
+
+
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95874): 
https://lists.openembedded.org/g/openembedded-devel/message/95874
Mute This Topic: https://lists.openembedded.org/mt/89622111/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-pyserial-asyncio: add 0.6

2022-03-07 Thread Justin Bronder
Dependency of python3-pymodbus.

Signed-off-by: Justin Bronder 
---
 .../python/python3-pyserial-asyncio_0.6.bb | 10 ++
 1 file changed, 10 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-pyserial-asyncio_0.6.bb

diff --git 
a/meta-python/recipes-devtools/python/python3-pyserial-asyncio_0.6.bb 
b/meta-python/recipes-devtools/python/python3-pyserial-asyncio_0.6.bb
new file mode 100644
index 00..30ff62a7ed
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyserial-asyncio_0.6.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Python Serial Port Extension - Asynchronous I/O support"
+HOMEPAGE = "https://github.com/pyserial/pyserial-asyncio;
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9a79418f241689e78034391d51162d24"
+
+SRC_URI[sha256sum] = 
"b6032923e05e9d75ec17a5af9a98429c46d2839adfaf80604d52e0faacd7a32f"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "python3-asyncio python3-core python3-pyserial"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95873): 
https://lists.openembedded.org/g/openembedded-devel/message/95873
Mute This Topic: https://lists.openembedded.org/mt/89622107/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] python3-crc32c: set target platform via setup.cfg

2022-03-04 Thread Justin Bronder
Looks like we're not the first to need to specify the target platform
when building this package.  According to upstream, we can just update
setup.cfg instead of patching setup.py.
https://github.com/ICRAR/crc32c/pull/10

Signed-off-by: Justin Bronder 
---
 ...p.py-Fix-determining-target-platform.patch | 34 ---
 .../python/python3-crc32c_2.2.post0.bb|  7 ++--
 2 files changed, 5 insertions(+), 36 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
 
b/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
deleted file mode 100644
index b534c05e9a..00
--- 
a/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 855428feb14c44762ea21a18b05638e3e6266ab5 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Thu, 3 Mar 2022 23:50:30 -0800
-Subject: [PATCH] setup.py: Fix determining target platform
-
-Do not poke at the build machine to determine target platform or architecture
-pass it from environment instead for cross compiling to work
-
-Upstream-Status: Inappropriate [OE-Specific]
-Signed-off-by: Khem Raj 

- setup.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
 a/setup.py
-+++ b/setup.py
-@@ -20,6 +20,7 @@
- #MA 02111-1307  USA
- #
- import glob
-+import os
- import platform
- 
- import distutils.ccompiler
-@@ -58,7 +59,8 @@ class _build_ext(build_ext):
- 
- def run(self):
- assert(len(self.distribution.ext_modules) == 1)
--platform = self.platform.lower()
-+platform = os.environ.get('PLATFORM', 'True')
-+
- is_intel = platform in ['x86_64', 'amd64', 'i386', 'i686']
- is_arm = platform in ['aarch64_be', 'aarch64', 'armv8b', 'armv8l']
- distutils.log.info("platform: %s, is_intel: %d, is_arm: %d", 
platform, is_intel, is_arm)
diff --git a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb 
b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
index 78e14e1d2f..4f6a3aba99 100644
--- a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
+++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
@@ -9,11 +9,14 @@ LIC_FILES_CHKSUM = " \
 
file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
 \
 "
 
-SRC_URI += "file://0001-setup.py-Fix-determining-target-platform.patch"
 SRC_URI[sha256sum] = 
"3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead8b435e"
 
 inherit pypi setuptools3
 
-export PLATFORM = "${TARGET_ARCH}"
+do_compile:prepend() {
+if ! grep 'platform =' setup.cfg; then
+printf "[build_ext]\nplatform = ${TARGET_ARCH}" >> setup.cfg
+fi
+}
 
 RDEPENDS:${PN} += "python3-core"
-- 
2.35.1


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



Re: [oe] python3-crc32c: add 2.2.post0

2022-03-04 Thread Justin Bronder
On 04/03/22 00:04 -0800, Khem Raj wrote:
> On Thu, Mar 3, 2022 at 10:53 AM Justin Bronder  
> wrote:
> >
> > Ah right, this package only support arm or x86.  I'll send an update.
> 
> actually thats not the case, it tries to use SSE when target is x86
> and crc extensions on aarch64, for
> other architectures it uses general purpose instructions.
> however it uses wrong way to detect platform by poking at build system
> for platform architecture
> I have sent a patch to fix it.

You're much quicker then I am.  However, based on
https://github.com/ICRAR/crc32c/pull/10 I think we can simply update setup.cfg.
I'll send a patch in case you prefer that mechanism, but no problem if patching
setup.py is preferable.

I did try passing '--platform=${TARGET_ARCH}' but bdist_wheel didn't recognize
the parameter.

> 
> >
> > On 02/03/22 18:47 -0800, Khem Raj wrote:
> > > I am seeing a failure with clang on non x86 host. See
> > >
> > > https://errors.yoctoproject.org/Errors/Details/650724/
> > >
> > > On Mon, Feb 28, 2022 at 7:57 AM Justin Bronder  
> > > wrote:
> > > >
> > > > Signed-off-by: Justin Bronder 
> > > > ---
> > > >  meta-python/licenses/CRC32C-ADLER| 15 +++
> > > >  .../python/python3-crc32c_2.2.post0.bb   | 16 
> > > >  2 files changed, 31 insertions(+)
> > > >  create mode 100644 meta-python/licenses/CRC32C-ADLER
> > > >  create mode 100644 
> > > > meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > >
> > > > diff --git a/meta-python/licenses/CRC32C-ADLER 
> > > > b/meta-python/licenses/CRC32C-ADLER
> > > > new file mode 100644
> > > > index 00..f1f0e94ee0
> > > > --- /dev/null
> > > > +++ b/meta-python/licenses/CRC32C-ADLER
> > > > @@ -0,0 +1,15 @@
> > > > +This software is provided 'as-is', without any express or implied
> > > > +warranty.  In no event will the author be held liable for any damages
> > > > +arising from the use of this software.
> > > > +
> > > > +Permission is granted to anyone to use this software for any purpose,
> > > > +including commercial applications, and to alter it and redistribute it
> > > > +freely, subject to the following restrictions:
> > > > +
> > > > +1. The origin of this software must not be misrepresented; you must not
> > > > +   claim that you wrote the original software. If you use this software
> > > > +   in a product, an acknowledgment in the product documentation would 
> > > > be
> > > > +   appreciated but is not required.
> > > > +2. Altered source versions must be plainly marked as such, and must 
> > > > not be
> > > > +   misrepresented as being the original software.
> > > > +3. This notice may not be removed or altered from any source 
> > > > distribution.
> > > > diff --git 
> > > > a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb 
> > > > b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > > new file mode 100644
> > > > index 00..0d51420939
> > > > --- /dev/null
> > > > +++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > > @@ -0,0 +1,16 @@
> > > > +SUMMARY = "A python package implementing the crc32c algorithmin 
> > > > hardware and software"
> > > > +HOMEPAGE = "https://github.com/ICRAR/crc32c;
> > > > +
> > > > +LICENSE = "BSD-2-Clause & BSD-3-Clause & CRC32C-ADLER & LGPL-2.0+"
> > > > +LIC_FILES_CHKSUM = " \
> > > > +file://LICENSE;md5=4fbd65380cdd255951079008b364516c \
> > > > +file://LICENSE.google-crc32c;md5=e9ed01b5e5ac9eae23fc2bb33701220c \
> > > > +file://LICENSE.slice-by-8;md5=6b3bc7709d6b2db6646ec2467310ff6b \
> > > > +
> > > > file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
> > > >  \
> > > > +"
> > > > +
> > > > +SRC_URI[sha256sum] = 
> > > > "3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead8b435e"
> > > > +
> > > > +inherit pypi setuptools3
> > > > +
> > > > +RDEPENDS:${PN} += "python3-core"
> > > > --
> > > > 2.35.1
> > > >
> > > >
> > > > 
> > > >
> >
> > --
> > Justin Bronder

-- 
Justin Bronder

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



Re: [oe] python3-crc32c: add 2.2.post0

2022-03-03 Thread Justin Bronder
Ah right, this package only support arm or x86.  I'll send an update.

On 02/03/22 18:47 -0800, Khem Raj wrote:
> I am seeing a failure with clang on non x86 host. See
> 
> https://errors.yoctoproject.org/Errors/Details/650724/
> 
> On Mon, Feb 28, 2022 at 7:57 AM Justin Bronder  
> wrote:
> >
> > Signed-off-by: Justin Bronder 
> > ---
> >  meta-python/licenses/CRC32C-ADLER| 15 +++
> >  .../python/python3-crc32c_2.2.post0.bb   | 16 
> >  2 files changed, 31 insertions(+)
> >  create mode 100644 meta-python/licenses/CRC32C-ADLER
> >  create mode 100644 
> > meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> >
> > diff --git a/meta-python/licenses/CRC32C-ADLER 
> > b/meta-python/licenses/CRC32C-ADLER
> > new file mode 100644
> > index 00..f1f0e94ee0
> > --- /dev/null
> > +++ b/meta-python/licenses/CRC32C-ADLER
> > @@ -0,0 +1,15 @@
> > +This software is provided 'as-is', without any express or implied
> > +warranty.  In no event will the author be held liable for any damages
> > +arising from the use of this software.
> > +
> > +Permission is granted to anyone to use this software for any purpose,
> > +including commercial applications, and to alter it and redistribute it
> > +freely, subject to the following restrictions:
> > +
> > +1. The origin of this software must not be misrepresented; you must not
> > +   claim that you wrote the original software. If you use this software
> > +   in a product, an acknowledgment in the product documentation would be
> > +   appreciated but is not required.
> > +2. Altered source versions must be plainly marked as such, and must not be
> > +   misrepresented as being the original software.
> > +3. This notice may not be removed or altered from any source distribution.
> > diff --git 
> > a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb 
> > b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > new file mode 100644
> > index 00..0d51420939
> > --- /dev/null
> > +++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > @@ -0,0 +1,16 @@
> > +SUMMARY = "A python package implementing the crc32c algorithmin hardware 
> > and software"
> > +HOMEPAGE = "https://github.com/ICRAR/crc32c;
> > +
> > +LICENSE = "BSD-2-Clause & BSD-3-Clause & CRC32C-ADLER & LGPL-2.0+"
> > +LIC_FILES_CHKSUM = " \
> > +file://LICENSE;md5=4fbd65380cdd255951079008b364516c \
> > +file://LICENSE.google-crc32c;md5=e9ed01b5e5ac9eae23fc2bb33701220c \
> > +file://LICENSE.slice-by-8;md5=6b3bc7709d6b2db6646ec2467310ff6b \
> > +
> > file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
> >  \
> > +"
> > +
> > +SRC_URI[sha256sum] = 
> > "3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead8b435e"
> > +
> > +inherit pypi setuptools3
> > +
> > +RDEPENDS:${PN} += "python3-core"
> > --
> > 2.35.1
> >
> >
> > 
> >

-- 
Justin Bronder

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95754): 
https://lists.openembedded.org/g/openembedded-devel/message/95754
Mute This Topic: https://lists.openembedded.org/mt/89532221/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] python3-pyscaffold: fix wheel build and license

2022-03-02 Thread Justin Bronder
Without python3-setuptools-scm-native, the version on the generated
wheel is 0.0.0, not ${PV} as expected which causes
pip_install_wheel_do_install to fail to find the wheel.

Consulting the LICENSE.txt distributed with the source, the template
files under pyscaffold.templates, which are installed as part of this
recipe, are licensed as BSD-0-Clause

Signed-off-by: Justin Bronder 
---
 .../python/python3-pyscaffold_4.1.4.bb | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb 
b/meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb
index 7e5599e4aa..fbba75c435 100644
--- a/meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb
+++ b/meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb
@@ -5,18 +5,18 @@ used to create template Projects."
 
 HOMEPAGE = "https://github.com/pyscaffold/pyscaffold;
 SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE = "PyScaffold"
+LICENSE = "0BSD & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=14a49c74a1d91829908ac756c07e6b91"
+DEPENDS += "python3-setuptools-scm-native"
 
 SRC_URI[sha256sum] = 
"46a2bbdf255ba2efc6c56ae1428249b61d56c4a3e54ef3db0d05fa97792011a5"
 
-BBCLASSEXTEND = "native nativesdk"
+inherit pypi setuptools3
+PYPI_PACKAGE = "PyScaffold"
 
 RDEPENDS:${PN} += " \
python3-email \
python3-compression \
 "
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95696): 
https://lists.openembedded.org/g/openembedded-devel/message/95696
Mute This Topic: https://lists.openembedded.org/mt/89506968/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] python3-configshell-fb: set PIP_INSTALL_PACKAGE

2022-03-02 Thread Justin Bronder
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Justin Bronder 
---
 .../recipes-devtools/python/python3-configshell-fb_1.1.29.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/meta-python/recipes-devtools/python/python3-configshell-fb_1.1.29.bb 
b/meta-python/recipes-devtools/python/python3-configshell-fb_1.1.29.bb
index 359c9d002c..2bb196c209 100644
--- a/meta-python/recipes-devtools/python/python3-configshell-fb_1.1.29.bb
+++ b/meta-python/recipes-devtools/python/python3-configshell-fb_1.1.29.bb
@@ -12,5 +12,6 @@ SRCREV = "d74a33b69f688ed9b8b28033835303604639d4eb"
 S = "${WORKDIR}/git"
 
 inherit setuptools3
+PIP_INSTALL_PACKAGE = "configshell_fb"
 
 RDEPENDS:${PN} += "python3-modules python3-fcntl python3-six"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95694): 
https://lists.openembedded.org/g/openembedded-devel/message/95694
Mute This Topic: https://lists.openembedded.org/mt/89506032/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] python3-lrparsing: use setuptools instead of distutils

2022-03-01 Thread Justin Bronder
Recipe also does not inherit pypi nor would PN be a good guess at the
name of the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Justin Bronder 
---
 ...-use-setuptools-instead-of-distutils.patch | 27 +++
 .../python/python3-lrparsing_1.0.17.bb|  5 +++-
 2 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-lrparsing/0001-setup.py-use-setuptools-instead-of-distutils.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-lrparsing/0001-setup.py-use-setuptools-instead-of-distutils.patch
 
b/meta-python/recipes-devtools/python/python3-lrparsing/0001-setup.py-use-setuptools-instead-of-distutils.patch
new file mode 100644
index 00..28af8fa4ec
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-lrparsing/0001-setup.py-use-setuptools-instead-of-distutils.patch
@@ -0,0 +1,27 @@
+From 04d9a4cea699d64b464daef7760de594b1c7f9bf Mon Sep 17 00:00:00 2001
+From: Justin Bronder 
+Date: Tue, 1 Mar 2022 17:34:34 -0500
+Subject: [PATCH] setup.py: use setuptools instead of distutils
+
+With python 3.10, distutils is deprecated in favor of setuptools and will
+be removed in python 3.12.
+
+Upstream-Status: Submitted [sent to maintainer at 
russell-lrpars...@stuart.id.au]
+Signed-off-by: Justin Bronder 
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 89ea344..2848b4f 100644
+--- a/setup.py
 b/setup.py
+@@ -3,7 +3,7 @@
+ # Copyright (c) 2013,2014,2015,2016,2017,2018,2021 Russell Stuart.
+ # Licensed under GPLv2, or any later version.
+ #
+-from distutils.core import setup
++from setuptools import setup
+ import re
+ 
+ def get_long_description():
diff --git a/meta-python/recipes-devtools/python/python3-lrparsing_1.0.17.bb 
b/meta-python/recipes-devtools/python/python3-lrparsing_1.0.17.bb
index 24e4e2671d..9974326de6 100644
--- a/meta-python/recipes-devtools/python/python3-lrparsing_1.0.17.bb
+++ b/meta-python/recipes-devtools/python/python3-lrparsing_1.0.17.bb
@@ -7,7 +7,9 @@ HOMEPAGE = "http://lrparsing.sourceforge.net/;
 BUGTRACKER = "https://sourceforge.net/p/lrparsing/tickets/;
 UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lrparsing/files/;
 UPSTREAM_CHECK_REGEX = "lrparsing-(?P\d+(\.\d+)+)"
-SRC_URI = "${SOURCEFORGE_MIRROR}/lrparsing/lrparsing-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/lrparsing/lrparsing-${PV}.tar.gz \
+   file://0001-setup.py-use-setuptools-instead-of-distutils.patch \
+   "
 SRC_URI[sha256sum] = 
"7c060d9f03cf582fdbc0ae0fef0ea2ff6fd56251047ba7e425af97e23f46f582"
 
 RDEPENDS:${PN} = " \
@@ -15,6 +17,7 @@ RDEPENDS:${PN} = " \
 "
 
 inherit setuptools3
+PIP_INSTALL_PACKAGE = "lrparsing"
 
 S = "${WORKDIR}/lrparsing-${PV}"
 
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95662): 
https://lists.openembedded.org/g/openembedded-devel/message/95662
Mute This Topic: https://lists.openembedded.org/mt/89489952/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] python3-pyscaffold: fix wheel build and license

2022-03-01 Thread Justin Bronder
Without python3-setuptools-scm-native, the version on the generated
wheel is 0.0.0, not ${PV} as expected which causes
pip_install_wheel_do_install to fail to find the wheel.

Consulting the LICENSE.txt distributed with the source, the template
files under pyscaffold.templates, which are installed as part of this
recipe, are licensed as BSD-0-Clause

Signed-off-by: Justin Bronder 
---
 .../recipes-devtools/python/python3-pyscaffold_4.1.4.bb | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb 
b/meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb
index 7e5599e4aa..f58fc5e9aa 100644
--- a/meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb
+++ b/meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb
@@ -5,8 +5,8 @@ used to create template Projects."
 
 HOMEPAGE = "https://github.com/pyscaffold/pyscaffold;
 SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
+LICENSE = "BSD-0-Clause & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=14a49c74a1d91829908ac756c07e6b91"
 
 inherit pypi setuptools3
 
@@ -16,6 +16,8 @@ SRC_URI[sha256sum] = 
"46a2bbdf255ba2efc6c56ae1428249b61d56c4a3e54ef3db0d05fa9779
 
 BBCLASSEXTEND = "native nativesdk"
 
+DEPENDS += "python3-setuptools-scm-native"
+
 RDEPENDS:${PN} += " \
python3-email \
python3-compression \
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95661): 
https://lists.openembedded.org/g/openembedded-devel/message/95661
Mute This Topic: https://lists.openembedded.org/mt/89489231/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] python3-ntplib: pull from PyPI

2022-03-01 Thread Justin Bronder
Switch back to pulling from PyPI which now does have appropriate release
tarballs.  This fixes building the wheel.

While touching the recipe, also add HOMEPAGE and point LIC_FILES_CHKSUM
at the LICENSE file that's now part of the release tarball.

Signed-off-by: Justin Bronder 
---
 .../recipes-devtools/python/python3-ntplib_0.4.0.bb| 10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-ntplib_0.4.0.bb 
b/meta-python/recipes-devtools/python/python3-ntplib_0.4.0.bb
index e8620b14b5..d78bec046f 100644
--- a/meta-python/recipes-devtools/python/python3-ntplib_0.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ntplib_0.4.0.bb
@@ -1,13 +1,11 @@
 DESCRIPTION = "This module offers a simple interface to query NTP servers from 
Python."
+HOMEPAGE = "https://github.com/cf-natali/ntplib;
 SECTION = "devel/python"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://ntplib.py;beginline=1;endline=23;md5=afa07338a9595257e94c205c3e72224d"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=40707636fe237d725e2bd32cd949b7fe"
 
-SRC_URI = "git://github.com/cf-natali/ntplib.git;branch=master;protocol=https"
-SRCREV ?= "b9c11c5906bc802a20a2dab390e57c50be558808"
+SRC_URI[sha256sum] = 
"899d8fb5f8c2555213aea95efca02934c7343df6ace9d7628a5176b176906267"
 
-S = "${WORKDIR}/git"
-
-inherit setuptools3 python3native
+inherit pypi setuptools3
 
 RDEPENDS:${PN} += "${PYTHON_PN}-datetime ${PYTHON_PN}-io"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95658): 
https://lists.openembedded.org/g/openembedded-devel/message/95658
Mute This Topic: https://lists.openembedded.org/mt/89488508/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] python3-prctl: fix wheel build

2022-03-01 Thread Justin Bronder
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Also dropping '+git${SRCPV}' from PV as the SRCREV is pointing to the
1.8.1 tag.

Signed-off-by: Justin Bronder 
---
 meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb 
b/meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb
index 8426e48113..28d94ba5bf 100644
--- a/meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb
+++ b/meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb
@@ -11,12 +11,11 @@ S = "${WORKDIR}/git"
 B = "${S}"
 
 SRCREV = "5e12e398eb5c4e30d7b29b02458c76d2cc780700"
-PV = "1.8.1+git${SRCPV}"
-
 SRC_URI = "git://github.com/seveas/python-prctl;protocol=https;branch=main \
file://0001-support-cross-complication.patch \
 "
 inherit setuptools3 python3native
+PIP_INSTALL_PACKAGE = "python_prctl"
 
 DEPENDS += "libcap"
 
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95643): 
https://lists.openembedded.org/g/openembedded-devel/message/95643
Mute This Topic: https://lists.openembedded.org/mt/89482661/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] python3-gcovr: fix wheel build

2022-03-01 Thread Justin Bronder
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Justin Bronder 
---
 meta-python/recipes-devtools/python/python3-gcovr_5.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python3-gcovr_5.0.bb 
b/meta-python/recipes-devtools/python/python3-gcovr_5.0.bb
index 330831a0b3..27ae198139 100644
--- a/meta-python/recipes-devtools/python/python3-gcovr_5.0.bb
+++ b/meta-python/recipes-devtools/python/python3-gcovr_5.0.bb
@@ -10,6 +10,7 @@ SRCREV = "2b50284e8a6792b4ddcba14e2050c5c05f15deb6"
 S = "${WORKDIR}/git"
 
 inherit setuptools3
+PIP_INSTALL_PACKAGE = "gcovr"
 
 RDEPENDS:${PN} += "${PYTHON_PN}-jinja2 ${PYTHON_PN}-lxml 
${PYTHON_PN}-setuptools ${PYTHON_PN}-pygments"
 
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95640): 
https://lists.openembedded.org/g/openembedded-devel/message/95640
Mute This Topic: https://lists.openembedded.org/mt/89481199/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] python3-crcmod: use setuptools instead of distutils

2022-03-01 Thread Justin Bronder
Signed-off-by: Justin Bronder 
---
 ...-use-setuptools-instead-of-distutils.patch | 22 +++
 .../python/python3-crcmod_1.7.bb  |  2 +-
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-crcmod/0001-setup.py-use-setuptools-instead-of-distutils.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-crcmod/0001-setup.py-use-setuptools-instead-of-distutils.patch
 
b/meta-python/recipes-devtools/python/python3-crcmod/0001-setup.py-use-setuptools-instead-of-distutils.patch
new file mode 100644
index 00..9bcb871135
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-crcmod/0001-setup.py-use-setuptools-instead-of-distutils.patch
@@ -0,0 +1,22 @@
+From 3dc1e9584ed2ac81e7526b8dbf76b4a06ea8ac76 Mon Sep 17 00:00:00 2001
+From: Justin Bronder 
+Date: Tue, 1 Mar 2022 10:34:42 -0500
+Subject: [PATCH] setup.py use setuptools instead of distutils
+
+Upstream-Status: Pending
+Signed-off-by: Justin Bronder 
+---
+ setup.py | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index e3a524b..2f2bcfc 100644
+--- a/setup.py
 b/setup.py
+@@ -1,5 +1,4 @@
+-from distutils.core import setup
+-from distutils.extension import Extension
++from setuptools import Extension, setup
+ import sys,os
+ 
+ if sys.version_info[0] == 2:
diff --git a/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb 
b/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb
index df8f0d83d8..f8f1683601 100644
--- a/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb
+++ b/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
 SECTION = "devel/python"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a19291627cad2d1dfbfcf3c9fb85c2"
 
-SRC_URI[md5sum] = "2d5b92117d958dcead94f9e17f54cd32"
+SRC_URI += "file://0001-setup.py-use-setuptools-instead-of-distutils.patch"
 SRC_URI[sha256sum] = 
"dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e"
 
 inherit pypi setuptools3
-- 
2.35.1


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



Re: [oe] python3-configobj: drop recipe

2022-02-28 Thread Justin Bronder
On 28/02/22 14:38 -0800, Khem Raj wrote:
> oh well Tim already fixed it, I would suggest you use master-next for
> this work since it has latest collaborations from everyone.
> 
> https://patchwork.yoctoproject.org/project/oe/patch/20220227234254.1089695-1-tim.orl...@konsulko.com/

Ah, will do.  I was just searching subject lines for patches posted to this list
and missed the typo in the subject line ;)

> 
> On Mon, Feb 28, 2022 at 2:32 PM Khem Raj  wrote:
> >
> > Thanks for looking into this, Armin added this recipe in 2020, I would
> > like to hear from him as well on what this recipe's future plans are.
> >
> > On Mon, Feb 28, 2022 at 2:22 PM Justin Bronder  
> > wrote:
> > >
> > > The last official release, 5.0.6 is from 2014 and does not build with
> > > bdist_wheel.  The upstream repository does appear active but it's
> > > unclear if anyone has the ability/motivation to tag a new release or
> > > upload it to PyPI.  If you depend upon this recipe, please work with
> > > upstream to tag a PEP-517 compliant release.
> > >
> > > https://github.com/DiffSK/configobj/issues/160
> > > https://github.com/DiffSK/configobj/issues/197
> > > https://github.com/DiffSK/configobj/issues/204
> > >
> > > Signed-off-by: Justin Bronder 
> > > ---
> > >  .../packagegroups/packagegroup-meta-python.bb| 1 -
> > >  .../recipes-devtools/python/python3-configobj_5.0.6.bb   | 9 -
> > >  2 files changed, 10 deletions(-)
> > >  delete mode 100644 
> > > meta-python/recipes-devtools/python/python3-configobj_5.0.6.bb
> > >
> > > diff --git 
> > > a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
> > > b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> > > index dbfa991ebe..6b10913657 100644
> > > --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> > > +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> > > @@ -81,7 +81,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
> > >  python3-colorlog \
> > >  python3-colorzero \
> > >  python3-configargparse \
> > > -python3-configobj \
> > >  python3-configparser \
> > >  python3-configshell-fb \
> > >  python3-constantly \
> > > diff --git 
> > > a/meta-python/recipes-devtools/python/python3-configobj_5.0.6.bb 
> > > b/meta-python/recipes-devtools/python/python3-configobj_5.0.6.bb
> > > deleted file mode 100644
> > > index 1b85368105..00
> > > --- a/meta-python/recipes-devtools/python/python3-configobj_5.0.6.bb
> > > +++ /dev/null
> > > @@ -1,9 +0,0 @@
> > > -SUMMARY = "Config file reading, writing and validation."
> > > -SECTION = "devel/python"
> > > -LICENSE = "BSD-3-Clause"
> > > -LIC_FILES_CHKSUM = 
> > > "file://configobj.py;md5=a7c3968dd866dfd23e91e125b669ab21"
> > > -
> > > -PYPI_PACKAGE = "configobj"
> > > -SRC_URI[sha256sum] = 
> > > "a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902"
> > > -
> > > -inherit pypi setuptools3
> > > --
> > > 2.35.1
> > >
> > >
> > > 
> > >

-- 
Justin Bronder

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



Re: [oe] python3-termcolor: Use setuptools instead of distutils

2022-02-28 Thread Justin Bronder
So, am I right to stand corrected that patching stagnant projects to use
distutils over setuptools is preferable to dropping the recipe?  I had assumed
from other distribution work that cleaning things out when the opportunity arose
was the norm.  If so, I'll stop trying to figure out if upstream is active and
will fix the package along with sending patch upstream.

Regardless,

Signed-off-by: Justin Bronder 

On 28/02/22 14:48 -0800, Khem Raj wrote:
> Signed-off-by: Khem Raj 
> Cc: Justin Bronder 
> ---
>  ...-Use-setuptools-instead-of-distutils.patch | 27 +++
>  .../python/python3-termcolor_1.1.0.bb |  3 ++-
>  2 files changed, 29 insertions(+), 1 deletion(-)
>  create mode 100644 
> meta-python/recipes-devtools/python/python3-termcolor/0001-setup.py-Use-setuptools-instead-of-distutils.patch
> 
> diff --git 
> a/meta-python/recipes-devtools/python/python3-termcolor/0001-setup.py-Use-setuptools-instead-of-distutils.patch
>  
> b/meta-python/recipes-devtools/python/python3-termcolor/0001-setup.py-Use-setuptools-instead-of-distutils.patch
> new file mode 100644
> index 00..a55a6a914b
> --- /dev/null
> +++ 
> b/meta-python/recipes-devtools/python/python3-termcolor/0001-setup.py-Use-setuptools-instead-of-distutils.patch
> @@ -0,0 +1,27 @@
> +From e30308284c721210e2ba50d8b3d159cedf5eada8 Mon Sep 17 00:00:00 2001
> +From: Khem Raj 
> +Date: Mon, 28 Feb 2022 14:44:42 -0800
> +Subject: [PATCH] setup.py: Use setuptools instead of distutils
> +
> +Upstream-Status: Pending
> +Signed-off-by: Khem Raj 
> +---
> + setup.py | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/setup.py b/setup.py
> +index c4fe4ed..dad1d29 100755
> +--- a/setup.py
>  b/setup.py
> +@@ -23,7 +23,7 @@
> + # Author: Konstantin Lepa 
> + 
> + import os
> +-from distutils.core import setup
> ++from setuptools import setup
> + 
> + prjdir = os.path.dirname(__file__)
> + 
> +-- 
> +2.35.1
> +
> diff --git a/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb 
> b/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb
> index 17df7f983d..15bab622a6 100644
> --- a/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb
> @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = 
> "file://COPYING.txt;md5=809e8749b63567978acfbd81d9f6a27d"
>  
>  inherit pypi setuptools3
>  
> -SRC_URI[md5sum] = "043e89644f8909d462fbbfa511c768df"
> +SRC_URI += "file://0001-setup.py-Use-setuptools-instead-of-distutils.patch"
> +
>  SRC_URI[sha256sum] = 
> "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"
>  
>  BBCLASSEXTEND = "native"
> -- 
> 2.35.1
> 

-- 
Justin Bronder

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95607): 
https://lists.openembedded.org/g/openembedded-devel/message/95607
Mute This Topic: https://lists.openembedded.org/mt/89463744/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] python3-astor: fix wheel build

2022-02-28 Thread Justin Bronder
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Justin Bronder 
---
 meta-python/recipes-devtools/python/python3-astor_0.8.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb 
b/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb
index bc3315f751..54e43e3754 100644
--- a/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb
+++ b/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb
@@ -10,6 +10,7 @@ SRC_URI = 
"git://github.com/berkerpeksag/astor.git;branch=master;protocol=https
 SRCREV ?= "c7553c79f9222e20783fe9bd8a553f932e918072"
 
 inherit setuptools3
+PIP_INSTALL_PACKAGE = "astor"
 
 S = "${WORKDIR}/git"
 
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95605): 
https://lists.openembedded.org/g/openembedded-devel/message/95605
Mute This Topic: https://lists.openembedded.org/mt/89463465/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] python3-configobj: drop recipe

2022-02-28 Thread Justin Bronder
The last official release, 5.0.6 is from 2014 and does not build with
bdist_wheel.  The upstream repository does appear active but it's
unclear if anyone has the ability/motivation to tag a new release or
upload it to PyPI.  If you depend upon this recipe, please work with
upstream to tag a PEP-517 compliant release.

https://github.com/DiffSK/configobj/issues/160
https://github.com/DiffSK/configobj/issues/197
https://github.com/DiffSK/configobj/issues/204

Signed-off-by: Justin Bronder 
---
 .../packagegroups/packagegroup-meta-python.bb| 1 -
 .../recipes-devtools/python/python3-configobj_5.0.6.bb   | 9 -
 2 files changed, 10 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-configobj_5.0.6.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index dbfa991ebe..6b10913657 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -81,7 +81,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-colorlog \
 python3-colorzero \
 python3-configargparse \
-python3-configobj \
 python3-configparser \
 python3-configshell-fb \
 python3-constantly \
diff --git a/meta-python/recipes-devtools/python/python3-configobj_5.0.6.bb 
b/meta-python/recipes-devtools/python/python3-configobj_5.0.6.bb
deleted file mode 100644
index 1b85368105..00
--- a/meta-python/recipes-devtools/python/python3-configobj_5.0.6.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-SUMMARY = "Config file reading, writing and validation."
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://configobj.py;md5=a7c3968dd866dfd23e91e125b669ab21"
-
-PYPI_PACKAGE = "configobj"
-SRC_URI[sha256sum] = 
"a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902"
-
-inherit pypi setuptools3
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95601): 
https://lists.openembedded.org/g/openembedded-devel/message/95601
Mute This Topic: https://lists.openembedded.org/mt/89462996/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] python3-termcolor: drop recipe

2022-02-28 Thread Justin Bronder
No releases since 2011, no upstream repository and does not build with
bdist_wheel.  If you depend upon this recipe, please work with upstream
to update the package to PEP-517 packaging.

Note that there are alternatives on PyPI and numerous forks on github,
but none appear to have become canonical.

Signed-off-by: Justin Bronder 
---
 .../packagegroups/packagegroup-meta-python.bb|  1 -
 .../python/python3-termcolor_1.1.0.bb| 12 
 2 files changed, 13 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 9626231bba..dbfa991ebe 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -421,7 +421,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-sympy \
 python3-tabulate \
 python3-term \
-python3-termcolor \
 python3-textparser \
 python3-texttable \
 python3-thrift \
diff --git a/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb 
b/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb
deleted file mode 100644
index 17df7f983d..00
--- a/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-SUMMARY = "ANSII Color formatting for output in terminal"
-HOMEPAGE = "https://pypi.python.org/pypi/termcolor;
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=809e8749b63567978acfbd81d9f6a27d"
-
-inherit pypi setuptools3
-
-SRC_URI[md5sum] = "043e89644f8909d462fbbfa511c768df"
-SRC_URI[sha256sum] = 
"1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"
-
-BBCLASSEXTEND = "native"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95597): 
https://lists.openembedded.org/g/openembedded-devel/message/95597
Mute This Topic: https://lists.openembedded.org/mt/89462395/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] python3-kivy: fix wheel build

2022-02-28 Thread Justin Bronder
Recipe does not inherity pypi and the package name is capitalized
regardless.  Set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Justin Bronder 
---
 meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb 
b/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb
index 3daf13473a..38f5216f56 100644
--- a/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb
@@ -5,6 +5,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f0c851d60495c7e27225a819e179208a"
 
 inherit setuptools3 pkgconfig features_check
+PIP_INSTALL_PACKAGE = "Kivy"
 
 SRC_URI = "\
 git://github.com/kivy/kivy.git;protocol=https;branch=master \
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95596): 
https://lists.openembedded.org/g/openembedded-devel/message/95596
Mute This Topic: https://lists.openembedded.org/mt/89461713/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] python3-bitarray: switch to setuptools

2022-02-28 Thread Justin Bronder
Backported patch from https://github.com/ilanschnell/bitarray/pull/168,
committed upstream as
https://github.com/ilanschnell/bitarray/commit/947d364841954d60bab7a4cf1497a272b1bf73ca

Signed-off-by: Justin Bronder 
---
 ...-use-setuptools-instead-of-distutils.patch | 29 +++
 .../python/python3-bitarray_2.3.7.bb  |  3 ++
 2 files changed, 32 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch
 
b/meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch
new file mode 100644
index 00..cef7ce15a4
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch
@@ -0,0 +1,29 @@
+From 947d364841954d60bab7a4cf1497a272b1bf73ca Mon Sep 17 00:00:00 2001
+From: Konrad Weihmann 
+Date: Sun, 27 Feb 2022 11:57:09 +0100
+Subject: [PATCH] setup.py: use setuptools instead of distutils
+
+as distutils will be deprecated in python 3.12 and already produces
+a warning when run with python 3.10.x, it might be a good time to
+switch to setuptools.
+It offers the same interface, so results will be the same
+
+Signed-off-by: Konrad Weihmann 
+
+Upstream-Status: Backport 
[https://github.com/ilanschnell/bitarray/commit/947d364841954d60bab7a4cf1497a272b1bf73ca]
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 4dbdf859..c7787dad 100644
+--- a/setup.py
 b/setup.py
+@@ -1,5 +1,5 @@
+ import re
+-from distutils.core import setup, Extension
++from setuptools import setup, Extension
+ 
+ 
+ kwds = {}
diff --git a/meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb 
b/meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb
index cac003a4fb..6566f8d664 100644
--- a/meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb
+++ b/meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb
@@ -7,4 +7,7 @@ SRC_URI[sha256sum] = 
"4da790ab193e993107f3ff0aebc4f8d6ad5196a19071fbafad16b02898
 
 inherit setuptools3 pypi
 
+# Backported from 2.3.8
+SRC_URI += "file://setup.py-use-setuptools-instead-of-distutils.patch"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95595): 
https://lists.openembedded.org/g/openembedded-devel/message/95595
Mute This Topic: https://lists.openembedded.org/mt/89460243/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] python3-coloredlogs: fix location of coloredlogs.pth

2022-02-28 Thread Justin Bronder
When calling setup.py with bdist_wheel, the find_pth_directory() in
setup.py correctly install the pth file to
${D}${PYTHON_SITEPACKAGES_DIR}.  It's not clear why setup.py was being
patched original when the recipe was added in 2019, but it doesn't
appear to be necessary now.

This fixes the recipe to build with the recent PEP-517 changes.

Signed-off-by: Justin Bronder 
---
 .../recipes-devtools/python/python3-coloredlogs_15.0.1.bb | 4 
 1 file changed, 4 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb 
b/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb
index 9eafbaa3c6..d17ab87525 100644
--- a/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb
@@ -8,10 +8,6 @@ SRC_URI[sha256sum] = 
"7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5
 
 inherit pypi setuptools3
 
-do_compile:prepend() {
-sed -ie "s/find_pth_directory(),/'',/g" ${S}/setup.py
-}
-
 do_install:append() {
 rm -rf ${D}${datadir}
 }
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95593): 
https://lists.openembedded.org/g/openembedded-devel/message/95593
Mute This Topic: https://lists.openembedded.org/mt/89458040/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] python3-feedformatter: drop recipe

2022-02-28 Thread Justin Bronder
The current SRC_URI is pointing to a fork of an abandoned
code.google.com project, the latter being what is actually on pypi.
Aside from some activity in 2012 porting to python3, the fork hasn't
seen any real activity.

The package doesn't have wheel support and has no dependents in
meta-openembedded

Signed-off-by: Justin Bronder 
---
 .../packagegroups/packagegroup-meta-python.bb  |  1 -
 .../python/python3-feedformatter_0.4.bb| 18 --
 2 files changed, 19 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-feedformatter_0.4.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 2b20937f78..9626231bba 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -124,7 +124,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-fasteners \
 python3-fastjsonschema \
 python3-fastnumbers \
-python3-feedformatter \
 python3-fields \
 python3-flask \
 python3-flask-babel \
diff --git a/meta-python/recipes-devtools/python/python3-feedformatter_0.4.bb 
b/meta-python/recipes-devtools/python/python3-feedformatter_0.4.bb
deleted file mode 100644
index 6932b3b549..00
--- a/meta-python/recipes-devtools/python/python3-feedformatter_0.4.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-DESCRIPTION = "A Python library for generating news feeds in RSS and Atom 
formats"
-HOMEPAGE = "http://code.google.com/p/feedformatter/;
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;md5=258e3f39e2383fbd011035d04311008d"
-
-SRC_URI = 
"git://github.com/marianoguerra/feedformatter.git;branch=master;protocol=https"
-SRCREV = "7391193c83e10420b5a2d8ef846d23fc368c6d85"
-
-S = "${WORKDIR}/git"
-
-inherit setuptools3
-
-RDEPENDS:${PN} += "\
-${PYTHON_PN}-datetime \
-${PYTHON_PN}-io \
-${PYTHON_PN}-xml \
-"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95591): 
https://lists.openembedded.org/g/openembedded-devel/message/95591
Mute This Topic: https://lists.openembedded.org/mt/89457312/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] python3-crc32c: add 2.2.post0

2022-02-28 Thread Justin Bronder
Signed-off-by: Justin Bronder 
---
 meta-python/licenses/CRC32C-ADLER| 15 +++
 .../python/python3-crc32c_2.2.post0.bb   | 16 
 2 files changed, 31 insertions(+)
 create mode 100644 meta-python/licenses/CRC32C-ADLER
 create mode 100644 
meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb

diff --git a/meta-python/licenses/CRC32C-ADLER 
b/meta-python/licenses/CRC32C-ADLER
new file mode 100644
index 00..f1f0e94ee0
--- /dev/null
+++ b/meta-python/licenses/CRC32C-ADLER
@@ -0,0 +1,15 @@
+This software is provided 'as-is', without any express or implied
+warranty.  In no event will the author be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not
+   claim that you wrote the original software. If you use this software
+   in a product, an acknowledgment in the product documentation would be
+   appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+   misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
diff --git a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb 
b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
new file mode 100644
index 00..0d51420939
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
@@ -0,0 +1,16 @@
+SUMMARY = "A python package implementing the crc32c algorithmin hardware and 
software"
+HOMEPAGE = "https://github.com/ICRAR/crc32c;
+
+LICENSE = "BSD-2-Clause & BSD-3-Clause & CRC32C-ADLER & LGPL-2.0+"
+LIC_FILES_CHKSUM = " \
+file://LICENSE;md5=4fbd65380cdd255951079008b364516c \
+file://LICENSE.google-crc32c;md5=e9ed01b5e5ac9eae23fc2bb33701220c \
+file://LICENSE.slice-by-8;md5=6b3bc7709d6b2db6646ec2467310ff6b \
+
file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
 \
+"
+
+SRC_URI[sha256sum] = 
"3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead8b435e"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "python3-core"
-- 
2.35.1


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



[oe] [meta-oe][PATCH 2/2] python3-pytest-xdist: add 2.5.0

2022-02-15 Thread Justin Bronder
Adding a pytest plugin that enables distributed testing and loop-on-failing 
modes.

Signed-off-by: Justin Bronder 
---
 .../python/python3-pytest-xdist_2.5.0.bb| 17 +
 1 file changed, 17 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-pytest-xdist_2.5.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-pytest-xdist_2.5.0.bb 
b/meta-python/recipes-devtools/python/python3-pytest-xdist_2.5.0.bb
new file mode 100644
index 00..a10ac8cc49
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-xdist_2.5.0.bb
@@ -0,0 +1,17 @@
+SUMMARY = "pytest xdist plugin for distributed testing and loop-on-failing 
modes"
+HOMEPAGE = "https://github.com/pytest-dev/pytest-xdist;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e"
+
+SRC_URI[sha256sum] = 
"4580deca3ff04ddb2ac53eba39d76cb5dd5edeac050cb6fbc768b0dd712b4edf"
+
+inherit pypi setuptools3
+
+DEPENDS += "python3-setuptools-scm-native"
+
+# Note that the dependency on pytest-forked is scheduled to be dropped in 3.0
+RDEPENDS:${PN} += " \
+python3-execnet \
+python3-pytest \
+python3-pytest-forked \
+"
-- 
2.35.1


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



[oe] [meta-oe][PATCH 1/2] python3-pytest-forked: add 1.4.0

2022-02-15 Thread Justin Bronder
Adding as a dependency of python3-pytest-xdist (which allows parallel
execution of pytest test cases).

Signed-off-by: Justin Bronder 
---
 .../python/python3-pytest-forked_1.4.0.bb | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb 
b/meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb
new file mode 100644
index 00..c6f352bc61
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb
@@ -0,0 +1,15 @@
+SUMMARY = "run tests in isolated forked subprocesses"
+HOMEPAGE = "https://github.com/pytest-dev/pytest-forked;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e"
+
+SRC_URI[sha256sum] = 
"8b67587c8f98cbbadfdd804539ed5455b6ed03802203485dd2f53c1422d7440e"
+
+inherit pypi setuptools3
+
+DEPENDS += "python3-setuptools-scm-native"
+
+RDEPENDS:${PN} += " \
+python3-py \
+python3-pytest \
+"
-- 
2.35.1


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



[oe] [meta-oe][PATCH] googlebenchmark: add 1.6.1

2022-02-14 Thread Justin Bronder
As meta-oe already has googletest, it seems appropriate to me to also
add googlebenchmark which is structured quite similarly.

Signed-off-by: Justin Bronder 
---
 .../googlebenchmark/googlebenchmark_1.6.1.bb  | 20 +++
 1 file changed, 20 insertions(+)
 create mode 100644 
meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.6.1.bb

diff --git a/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.6.1.bb 
b/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.6.1.bb
new file mode 100644
index 00..b44d3bee27
--- /dev/null
+++ b/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.6.1.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "A microbenchmark support library"
+HOMEPAGE = "https://github.com/google/benchmark;
+SECTION = "libs"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI = "git://github.com/google/benchmark.git;protocol=https;branch=main"
+SRCREV = "0d98dba29d66e93259db7daa53a9327df767a415"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECMAKE = " \
+-DBUILD_SHARED_LIBS=yes \
+-DBENCHMARK_ENABLE_TESTING=no \
+-DCMAKE_BUILD_TYPE=Release \
+"
+
+inherit cmake
+
+FILES:${PN}-dev += "${libdir}/cmake"
-- 
2.35.1


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



[oe] [meta-oe][PATCH] yaml-cpp: bump 0.7.0

2022-02-10 Thread Justin Bronder
Signed-off-by: Justin Bronder 
---
 .../yaml-cpp/{yaml-cpp_0.6.3.bb => yaml-cpp_0.7.0.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/yaml-cpp/{yaml-cpp_0.6.3.bb => 
yaml-cpp_0.7.0.bb} (92%)

diff --git a/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.6.3.bb 
b/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.7.0.bb
similarity index 92%
rename from meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.6.3.bb
rename to meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.7.0.bb
index e38303781d..d3984abe8b 100644
--- a/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.6.3.bb
+++ b/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.7.0.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=6a8aaf0595c2efc1a9c2e0913e9c1a2c"
 # yaml-cpp releases are stored as archive files in github.
 # download the exact revision of release
 SRC_URI = "git://github.com/jbeder/yaml-cpp.git;branch=master;protocol=https"
-SRCREV = "9a3624205e8774953ef18f57067b3426c1c5ada6"
+SRCREV = "0579ae3d976091d7d664aa9d2527e0d0cff25763"
 
 S = "${WORKDIR}/git"
 
-- 
2.35.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95294): 
https://lists.openembedded.org/g/openembedded-devel/message/95294
Mute This Topic: https://lists.openembedded.org/mt/89057062/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] python3-mccabe: fix LICENSE and RDEPENDS

2021-10-26 Thread Justin Bronder
Signed-off-by: Justin Bronder 
---
 .../recipes-devtools/python/python3-mccabe_0.6.1.bb| 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb 
b/meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb
index f1190c36f..513a5a9f2 100644
--- a/meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = "McCabe checker, plugin for flake8"
 HOMEPAGE = "https://github.com/PyCQA/mccabe;
 SECTION = "devel/python"
-LICENSE = "Apache-2.0"
+LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a489dc62bacbdad3335c0f160a974f0f"
 
 SRC_URI[md5sum] = "723df2f7b1737b8887475bac4c763e1e"
@@ -10,8 +10,3 @@ SRC_URI[sha256sum] = 
"dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271
 inherit pypi setuptools3
 
 DEPENDS += "${PYTHON_PN}-pytest-runner-native"
-
-RDEPENDS:${PN} += "${PYTHON_PN}-prettytable \
-${PYTHON_PN}-cmd2 \
-${PYTHON_PN}-pyparsing \
-   "
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#93613): 
https://lists.openembedded.org/g/openembedded-devel/message/93613
Mute This Topic: https://lists.openembedded.org/mt/86612265/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] python3-pyflakes: fix LICENSE, HOMEPAGE and RDEPENDS

2021-10-26 Thread Justin Bronder
Signed-off-by: Justin Bronder 
---
 .../recipes-devtools/python/python3-pyflakes_2.4.0.bb| 9 ++---
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-pyflakes_2.4.0.bb 
b/meta-python/recipes-devtools/python/python3-pyflakes_2.4.0.bb
index 641bb2667..827ff0b29 100644
--- a/meta-python/recipes-devtools/python/python3-pyflakes_2.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyflakes_2.4.0.bb
@@ -1,15 +1,10 @@
 SUMMARY = "passive checker of Python programs"
-HOMEPAGE = "https://github.com/dreamhost/cliff;
-LICENSE = "Apache-2.0"
+HOMEPAGE = "https://github.com/PyCQA/pyflakes;
+LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=690c2d09203dc9e07c4083fc45ea981f"
 
 SRC_URI[sha256sum] = 
"05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c"
 
 inherit pypi setuptools3
 
-RDEPENDS:${PN} += " \
-${PYTHON_PN}-prettytable \
-${PYTHON_PN}-cmd2 \
-${PYTHON_PN}-pyparsing"
-
 BBCLASSEXTEND = "native nativesdk"
-- 
2.33.0


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



[oe] [meta-oe][PATCH v2] hidapi: add rdep on glibc-gconv-utf-16

2021-08-30 Thread Justin Bronder
libhidapi-libusb needs to convert from UTF-16LE to WCHAR_T in order to
read various libusb string descriptors.

Signed-off-by: Justin Bronder 
---
 meta-oe/recipes-support/hidapi/hidapi_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/hidapi/hidapi_git.bb 
b/meta-oe/recipes-support/hidapi/hidapi_git.bb
index 76f5dc762..e45445073 100644
--- a/meta-oe/recipes-support/hidapi/hidapi_git.bb
+++ b/meta-oe/recipes-support/hidapi/hidapi_git.bb
@@ -7,6 +7,7 @@ LICENSE = "BSD-3-Clause | GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7c3949a631240cb6c31c50f3eb696077"
 
 DEPENDS = "libusb udev"
+RDEPENDS:${PN}:append:libc-glibc = " glibc-gconv-utf-16"
 
 inherit autotools pkgconfig
 
-- 
2.33.0


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



[oe] [meta-oe][PATCH v3 1/2] cppzmq: 4.2.3 update

2018-03-02 Thread Justin Bronder
Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb 
b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
index a64745c94..4920bce8c 100644
--- a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
+++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
-SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
-PV = "4.1.5+git${SRCPV}"
+SRCREV = "6aa3ab686e916cb0e62df7fa7d12e0b13ae9fae6"
+PV = "4.2.3+git${SRCPV}"
 
 SRC_URI = "git://github.com/zeromq/cppzmq.git"
 
-- 
2.13.6

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


[oe] [meta-oe][PATCH v3 2/2] zeromq: 4.2.3 update

2018-03-02 Thread Justin Bronder
4.1.6 was released in late 2016 and upstream has moved on to the 4.2
series which has a number of new APIs but remains ABI compatible with
4.1.2+ per https://github.com/zeromq/libzmq/releases/tag/v4.2.0.

4.2.3 ChangeLog: https://github.com/zeromq/libzmq/releases/tag/v4.2.3

Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
---
 .../zeromq/{zeromq_4.1.6.bb => zeromq_4.2.3.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-connectivity/zeromq/{zeromq_4.1.6.bb => 
zeromq_4.2.3.bb} (78%)

diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb 
b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
similarity index 78%
rename from meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
rename to meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
index e126f3239..71d7e7cbf 100644
--- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
+++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = 
"file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
 PACKAGECONFIG ??= "libsodium"
 PACKAGECONFIG[libsodium] = "--with-libsodium, --without-libsodium, libsodium"
 
-SRC_URI = 
"http://github.com/zeromq/zeromq4-1/releases/download/v${PV}/zeromq-${PV}.tar.gz
 \
+SRC_URI = 
"http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \
 file://run-ptest \
 "
-SRC_URI[md5sum] = "c89db4dbc0b90c34c9f4983cbff6d321"
-SRC_URI[sha256sum] = 
"02ebf60a43011e770799336365bcbce2eb85569e9b5f52aa0d8cc04672438a0a"
+SRC_URI[md5sum] = "c4e18bd0584ccd34213f152c11f54d6c"
+SRC_URI[sha256sum] = 
"8f1e2b2aade4dbfde98d82366d61baef2f62e812530160d2e6d0a5bb24e40bc0"
 
 S = "${WORKDIR}/zeromq-${PV}"
 
-- 
2.13.6

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


Re: [oe] cppzmq: 4.2.3 update

2018-03-02 Thread Justin Bronder
Please ignore this, I pasted in the wrong sha.  I'll fix and resubmit.

On 02/03/18 15:31 -0500, Justin Bronder wrote:
> Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
> ---
>  meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb 
> b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> index a64745c94..b660b69da 100644
> --- a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> +++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> @@ -4,8 +4,8 @@ LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
>  DEPENDS = "zeromq"
>  
> -SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
> -PV = "4.1.5+git${SRCPV}"
> +SRCREV = "3226b8ebddd9c6c738ba42986822c26418a49afb"
> +PV = "4.2.3+git${SRCPV}"
>  
>  SRC_URI = "git://github.com/zeromq/cppzmq.git"
>  
> -- 
> 2.13.6
> 

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


Re: [oe] cppzmq: 4.2.3 update

2018-03-02 Thread Justin Bronder
On 01/03/18 17:14 +0100, Andreas Oberritter wrote:
> On Thu, 1 Mar 2018 10:47:02 -0500
> Justin Bronder <jsbron...@cold-front.org> wrote:
> 
> > On 01/03/18 16:36 +0100, Andreas Oberritter wrote:
> > > Hi Justin,
> > > 
> > > On Mon, 26 Feb 2018 15:16:04 -0500
> > > Justin Bronder <jsbron...@cold-front.org> wrote:
> > >   
> > > > Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
> > > > ---
> > > >  meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
> > > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > > 
> > > > diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb 
> > > > b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> > > > index a64745c94..9e8ad5151 100644
> > > > --- a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> > > > +++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> > > > @@ -4,8 +4,8 @@ LICENSE = "MIT"
> > > >  LIC_FILES_CHKSUM = 
> > > > "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
> > > >  DEPENDS = "zeromq"
> > > >  
> > > > -SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
> > > > -PV = "4.1.5+git${SRCPV}"
> > > > +PV = "4.2.3"
> > > > +SRCREV = "v${PV}"  
> > > 
> > > we usually don't use tags in SRCREV, because tags may change over time, 
> > > and
> > > therefore bitbake has to query the server each time it parses the recipe, 
> > > IIRC.  
> > 
> > Ok.  Should I submit a v2 with the file rename that akuster808 suggested and
> > pulling a tarball instead?
> 
> I'd say keep the filename and just update PV to 4.2.3+git${SRCPV} in v2. This
> reduces the number of changed lines in case SRCREV gets advanced to a commit
> between 4.2.3 and a future release.

Thanks, v2 sent.

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


[oe] [meta-oe][PATCH v2 2/2] zeromq: 4.2.3 update

2018-03-02 Thread Justin Bronder
4.1.6 was released in late 2016 and upstream has moved on to the 4.2
series which has a number of new APIs but remains ABI compatible with
4.1.2+ per https://github.com/zeromq/libzmq/releases/tag/v4.2.0.

4.2.3 ChangeLog: https://github.com/zeromq/libzmq/releases/tag/v4.2.3

Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
---
 .../zeromq/{zeromq_4.1.6.bb => zeromq_4.2.3.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-connectivity/zeromq/{zeromq_4.1.6.bb => 
zeromq_4.2.3.bb} (78%)

diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb 
b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
similarity index 78%
rename from meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
rename to meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
index e126f3239..71d7e7cbf 100644
--- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
+++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = 
"file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
 PACKAGECONFIG ??= "libsodium"
 PACKAGECONFIG[libsodium] = "--with-libsodium, --without-libsodium, libsodium"
 
-SRC_URI = 
"http://github.com/zeromq/zeromq4-1/releases/download/v${PV}/zeromq-${PV}.tar.gz
 \
+SRC_URI = 
"http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \
 file://run-ptest \
 "
-SRC_URI[md5sum] = "c89db4dbc0b90c34c9f4983cbff6d321"
-SRC_URI[sha256sum] = 
"02ebf60a43011e770799336365bcbce2eb85569e9b5f52aa0d8cc04672438a0a"
+SRC_URI[md5sum] = "c4e18bd0584ccd34213f152c11f54d6c"
+SRC_URI[sha256sum] = 
"8f1e2b2aade4dbfde98d82366d61baef2f62e812530160d2e6d0a5bb24e40bc0"
 
 S = "${WORKDIR}/zeromq-${PV}"
 
-- 
2.13.6

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


[oe] [meta-oe][PATCH v2 1/2] cppzmq: 4.2.3 update

2018-03-02 Thread Justin Bronder
Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb 
b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
index a64745c94..b660b69da 100644
--- a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
+++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
-SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
-PV = "4.1.5+git${SRCPV}"
+SRCREV = "3226b8ebddd9c6c738ba42986822c26418a49afb"
+PV = "4.2.3+git${SRCPV}"
 
 SRC_URI = "git://github.com/zeromq/cppzmq.git"
 
-- 
2.13.6

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


Re: [oe] cppzmq: 4.2.3 update

2018-03-01 Thread Justin Bronder
On 01/03/18 16:36 +0100, Andreas Oberritter wrote:
> Hi Justin,
> 
> On Mon, 26 Feb 2018 15:16:04 -0500
> Justin Bronder <jsbron...@cold-front.org> wrote:
> 
> > Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
> > ---
> >  meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb 
> > b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> > index a64745c94..9e8ad5151 100644
> > --- a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> > +++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> > @@ -4,8 +4,8 @@ LICENSE = "MIT"
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
> >  DEPENDS = "zeromq"
> >  
> > -SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
> > -PV = "4.1.5+git${SRCPV}"
> > +PV = "4.2.3"
> > +SRCREV = "v${PV}"
> 
> we usually don't use tags in SRCREV, because tags may change over time, and
> therefore bitbake has to query the server each time it parses the recipe, 
> IIRC.

Ok.  Should I submit a v2 with the file rename that akuster808 suggested and
pulling a tarball instead?


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


Re: [oe] zeromq: 4.2.3 update

2018-02-28 Thread Justin Bronder
On 27/02/18 21:52 -0800, akuster808 wrote:
> 
> 
> On 02/26/2018 12:16 PM, Justin Bronder wrote:
> > Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
> can you provide high-lights of what is in the update?

Just getting to 4.2 brings in quite a bit [1] with 4.2.3 providing a lot of bug
fixes.  The claim from upstream, validated by my own limited use, is that 4.2 is
backwards compatible all the way to 2.2.0 [2].

1. https://github.com/zeromq/libzmq/releases/tag/v4.2.0
2. http://zeromq.org/intro:get-the-software

> 
> - armin
> > ---
> >  .../zeromq/{zeromq_4.1.6.bb => zeromq_4.2.3.bb} | 6 
> > +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >  rename meta-oe/recipes-connectivity/zeromq/{zeromq_4.1.6.bb => 
> > zeromq_4.2.3.bb} (78%)
> >
> > diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb 
> > b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
> > similarity index 78%
> > rename from meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
> > rename to meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
> > index e126f3239..71d7e7cbf 100644
> > --- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
> > +++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
> > @@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = 
> > "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
> >  PACKAGECONFIG ??= "libsodium"
> >  PACKAGECONFIG[libsodium] = "--with-libsodium, --without-libsodium, 
> > libsodium"
> >  
> > -SRC_URI = 
> > "http://github.com/zeromq/zeromq4-1/releases/download/v${PV}/zeromq-${PV}.tar.gz
> >  \
> > +SRC_URI = 
> > "http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz
> >  \
> >  file://run-ptest \
> >  "
> > -SRC_URI[md5sum] = "c89db4dbc0b90c34c9f4983cbff6d321"
> > -SRC_URI[sha256sum] = 
> > "02ebf60a43011e770799336365bcbce2eb85569e9b5f52aa0d8cc04672438a0a"
> > +SRC_URI[md5sum] = "c4e18bd0584ccd34213f152c11f54d6c"
> > +SRC_URI[sha256sum] = 
> > "8f1e2b2aade4dbfde98d82366d61baef2f62e812530160d2e6d0a5bb24e40bc0"
> >  
> >  S = "${WORKDIR}/zeromq-${PV}"
> >  
> 

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


Re: [oe] cppzmq: 4.2.3 update

2018-02-28 Thread Justin Bronder
On 27/02/18 21:51 -0800, akuster808 wrote:
> 
> 
> On 02/26/2018 12:16 PM, Justin Bronder wrote:
> > Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
> > ---
> >  meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb 
> > b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> > index a64745c94..9e8ad5151 100644
> > --- a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> > +++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
> > @@ -4,8 +4,8 @@ LICENSE = "MIT"
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
> >  DEPENDS = "zeromq"
> >  
> > -SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
> > -PV = "4.1.5+git${SRCPV}"
> > +PV = "4.2.3"
> If the recipe is renamed to cppzmq_4.2.3.bb, will that work too?

Keep the patch and also rename?  Yeah, I'd find that more clear but I wasn't
sure if using the git checkout (and hence _git suffix) was a feature so I didn't
want to change it.

> 
> - armin
> > +SRCREV = "v${PV}"
> >  
> >  SRC_URI = "git://github.com/zeromq/cppzmq.git"
> >  
> 

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


[oe] [meta-oe][PATCH 2/2] zeromq: 4.2.3 update

2018-02-26 Thread Justin Bronder
Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
---
 .../zeromq/{zeromq_4.1.6.bb => zeromq_4.2.3.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-connectivity/zeromq/{zeromq_4.1.6.bb => 
zeromq_4.2.3.bb} (78%)

diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb 
b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
similarity index 78%
rename from meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
rename to meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
index e126f3239..71d7e7cbf 100644
--- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
+++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = 
"file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
 PACKAGECONFIG ??= "libsodium"
 PACKAGECONFIG[libsodium] = "--with-libsodium, --without-libsodium, libsodium"
 
-SRC_URI = 
"http://github.com/zeromq/zeromq4-1/releases/download/v${PV}/zeromq-${PV}.tar.gz
 \
+SRC_URI = 
"http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \
 file://run-ptest \
 "
-SRC_URI[md5sum] = "c89db4dbc0b90c34c9f4983cbff6d321"
-SRC_URI[sha256sum] = 
"02ebf60a43011e770799336365bcbce2eb85569e9b5f52aa0d8cc04672438a0a"
+SRC_URI[md5sum] = "c4e18bd0584ccd34213f152c11f54d6c"
+SRC_URI[sha256sum] = 
"8f1e2b2aade4dbfde98d82366d61baef2f62e812530160d2e6d0a5bb24e40bc0"
 
 S = "${WORKDIR}/zeromq-${PV}"
 
-- 
2.13.6

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


[oe] [meta-oe][PATCH 1/2] cppzmq: 4.2.3 update

2018-02-26 Thread Justin Bronder
Signed-off-by: Justin Bronder <jsbron...@cold-front.org>
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb 
b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
index a64745c94..9e8ad5151 100644
--- a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
+++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
-SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
-PV = "4.1.5+git${SRCPV}"
+PV = "4.2.3"
+SRCREV = "v${PV}"
 
 SRC_URI = "git://github.com/zeromq/cppzmq.git"
 
-- 
2.13.6

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