From 155df32a2d2db5e4a790d589b2e5298939a32378 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 4 Mar 2025 15:54:14 +0200 Subject: python3-typer: Upgrade 0.15.1 -> 0.15.2 Upgrade to release 0.15.2: - Allow custom styles for commands in help output. - Avoid the unnecessary import of typing_extensions in newer Python versions. - Fix shell completions for the fish shell. - Rename test to corner-cases to make it more explicit. - Fix small typos in the tutorial documentation. - Update optional CLI argument section in tutorial with Annotated. - Clarify the need for mix_stderr when accessing the output of stderr in tests. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-typer_0.15.1.bb | 45 ---------------------- .../python/python3-typer_0.15.2.bb | 45 ++++++++++++++++++++++ 2 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-typer_0.15.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-typer_0.15.2.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-typer_0.15.1.bb b/meta-python/recipes-devtools/python/python3-typer_0.15.1.bb deleted file mode 100644 index 6206427a70..0000000000 --- a/meta-python/recipes-devtools/python/python3-typer_0.15.1.bb +++ /dev/null @@ -1,45 +0,0 @@ -SUMMARY = "Typer, build great CLIs. Easy to code. Based on Python type hints." -DESCRIPTION = "\ - Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python type hints. \ - It's also a command line tool to run scripts, automatically converting them to CLI applications. \ -" -HOMEPAGE = "https://github.com/tiangolo/typer" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617" - -SRC_URI[sha256sum] = "a0588c0a7fa68a1978a069818657778f86abe6ff5ea6abf472f940a08bfe4f0a" - -inherit pypi python_setuptools_build_meta ptest - -DEPENDS += "\ - python3-pdm-backend-native \ - python3-pdm-native \ -" - -SRC_URI:append = " \ - file://run-ptest \ -" - -PYPI_PACKAGE = "typer" - -RDEPENDS:${PN} += "\ - python3-click \ - python3-typing-extensions \ -" -# python3-misc for webbrowser module -RDEPENDS:${PN}-ptest += "\ - python3-misc \ - python3-mypy \ - python3-pytest \ - python3-pytest-cov \ - python3-pytest-xdist \ - python3-rich \ - python3-shellingham \ - python3-toml \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-python/recipes-devtools/python/python3-typer_0.15.2.bb b/meta-python/recipes-devtools/python/python3-typer_0.15.2.bb new file mode 100644 index 0000000000..48d88502ff --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-typer_0.15.2.bb @@ -0,0 +1,45 @@ +SUMMARY = "Typer, build great CLIs. Easy to code. Based on Python type hints." +DESCRIPTION = "\ + Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python type hints. \ + It's also a command line tool to run scripts, automatically converting them to CLI applications. \ +" +HOMEPAGE = "https://github.com/tiangolo/typer" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617" + +SRC_URI[sha256sum] = "ab2fab47533a813c49fe1f16b1a370fd5819099c00b119e0633df65f22144ba5" + +inherit pypi python_setuptools_build_meta ptest + +DEPENDS += "\ + python3-pdm-backend-native \ + python3-pdm-native \ +" + +SRC_URI:append = " \ + file://run-ptest \ +" + +PYPI_PACKAGE = "typer" + +RDEPENDS:${PN} += "\ + python3-click \ + python3-typing-extensions \ +" +# python3-misc for webbrowser module +RDEPENDS:${PN}-ptest += "\ + python3-misc \ + python3-mypy \ + python3-pytest \ + python3-pytest-cov \ + python3-pytest-xdist \ + python3-rich \ + python3-shellingham \ + python3-toml \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf