python3-mypy-extensions: upgrade 0.4.3 -> 1.0.0
PATCH 1/5 python3-mypy-extensions: upgrade 0.4.3 -> 1.0.0
---
...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%)meta-python/recipes-devtools/python/python3-mypy-extensions_1.0.0.bb renamed from meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb +1 -1
@@ -7,6 +7,6 @@ PYPI_PACKAGE = "mypy_extensions" inherit pypi setuptools3 -SRC_URI[sha256sum] = "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8" +SRC_URI[sha256sum] = "75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782" BBCLASSEXTEND = "native"
Signature · 1 line
2.41.0
PATCH 2/5 python3-types-setuptools: add 68.0.0.3
Dependency of python3-mypy.
--- .../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
meta-python/recipes-devtools/python/python3-types-setuptools_68.0.0.3.bb new file +10 -0
@@ -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"
Signature · 1 line
2.41.0
PATCH 3/5 python3-types-psutil: add 5.9.5.16
In reply to Justin BronderDependency of python3-mypy.
--- .../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
meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.16.bb new file +10 -0
@@ -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"
Signature · 1 line
2.41.0
PATCH 4/5 python3-mypy: upgrade 0.971 -> 1.5.0
In reply to Justin BronderSwitched 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.
--- .../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
meta-python/recipes-devtools/python/python3-mypy_0.971.bb deleted +0 -23
@@ -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 \ -"
meta-python/recipes-devtools/python/python3-mypy_1.5.0.bb new file +23 -0
@@ -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 \ +"
Signature · 1 line
2.41.0
PATCH 5/5 python3-typed-ast: remove EOL package
In reply to Justin BronderNo longer required by python3-mypy and no longer maintained upstream.
https://github.com/python/typed_ast/issues/179
--- .../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
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -1
@@ -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 \
meta-python/recipes-devtools/python/python3-typed-ast_1.5.4.bb deleted +0 -12
@@ -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"
Signature · 1 line
2.41.0
Re: [oe] [meta-python][PATCH 5/5] python3-typed-ast: remove EOL package
Thanks for cleanup, I wish we did this with more recipes in this repo. Its a lot of energy to keep these going with newer toolchain and etc.
Quoted 53 lines · Justin Bronder
No longer required by python3-mypy and no longer maintained upstream.
https://github.com/python/typed_ast/issues/179Signed-off-by Justin Bronder <[email protected]>--- .../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.bbmeta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0
-1@@ -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 \meta-python/recipes-devtools/python/python3-typed-ast_1.5.4.bb deleted +0
-13@@ -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/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-