From c2e447dac97a0f18270353cb5ba638cee361d7e6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 20 Nov 2024 17:24:14 -0800 Subject: python3-typer: Upgrade to 0.13.1 Changes https://github.com/fastapi/typer/releases/tag/0.13.1 Signed-off-by: Khem Raj --- .../python/python3-typer_0.13.0.bb | 41 ------------------- .../python/python3-typer_0.13.1.bb | 46 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 41 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-typer_0.13.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-typer_0.13.1.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-typer_0.13.0.bb b/meta-python/recipes-devtools/python/python3-typer_0.13.0.bb deleted file mode 100644 index 958c823545..0000000000 --- a/meta-python/recipes-devtools/python/python3-typer_0.13.0.bb +++ /dev/null @@ -1,41 +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] = "f1c7198347939361eec90139ffa0fd8b3df3a2259d5852a0f7400e476d95985c" - -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-shellingham \ -" - -RDEPENDS:${PN}-ptest += "\ - python3-coverage \ - python3-pytest \ - python3-typing-extensions \ - 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.13.1.bb b/meta-python/recipes-devtools/python/python3-typer_0.13.1.bb new file mode 100644 index 0000000000..465d747829 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-typer_0.13.1.bb @@ -0,0 +1,46 @@ +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] = "9d444cb96cc268ce6f8b94e13b4335084cef4c079998a9f4851a90229a3bd25c" + +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-rich \ + python3-shellingham \ + python3-typing-extensions \ +" +# python3-misc for webbrowser module +RDEPENDS:${PN}-ptest += "\ + python3-coverage \ + python3-misc \ + python3-mypy \ + python3-pytest \ + python3-pytest-cov \ + python3-pytest-xdist \ + 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