diff mbox series

[meta-python] python3-typer: add new recipe

Message ID 20240602123659.254606-1-jan.vermaete@gmail.com
State Under Review
Headers show
Series [meta-python] python3-typer: add new recipe | expand

Commit Message

Jan Vermaete June 2, 2024, 12:36 p.m. UTC
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
---
 .../python/python3-typer_0.12.3.bb            | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-typer_0.12.3.bb

Comments

Tim Orling June 2, 2024, 8:19 p.m. UTC | #1
Can you look into adding ptest? We need to not keep adding that technical
debt when adding new recipes.


On Sun, Jun 2, 2024 at 5:39 AM Jan Vermaete via lists.openembedded.org
<jan.vermaete=gmail.com@lists.openembedded.org> wrote:

> Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
> ---
>  .../python/python3-typer_0.12.3.bb            | 23 +++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-typer_0.12.3.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-typer_0.12.3.bb
> b/meta-python/recipes-devtools/python/python3-typer_0.12.3.bb
> new file mode 100644
> index 000000000..a4b45f367
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-typer_0.12.3.bb
> @@ -0,0 +1,23 @@
> +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] =
> "49e73131481d804288ef62598d97a1ceef3058905aa536a1134f90891ba35482"
> +
> +inherit pypi python_setuptools_build_meta
> +
> +DEPENDS += "\
> +        python3-pdm-backend-native \
> +        python3-pdm-native \
> +"
> +
> +PYPI_PACKAGE = "typer"
> +
> +RDEPENDS:${PN} += "\
> +    python3-click \
> +"
> --
> 2.39.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#110661):
> https://lists.openembedded.org/g/openembedded-devel/message/110661
> Mute This Topic: https://lists.openembedded.org/mt/106442651/924729
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-typer_0.12.3.bb b/meta-python/recipes-devtools/python/python3-typer_0.12.3.bb
new file mode 100644
index 000000000..a4b45f367
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-typer_0.12.3.bb
@@ -0,0 +1,23 @@ 
+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] = "49e73131481d804288ef62598d97a1ceef3058905aa536a1134f90891ba35482"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "\
+        python3-pdm-backend-native \
+        python3-pdm-native \
+"
+
+PYPI_PACKAGE = "typer"
+
+RDEPENDS:${PN} += "\
+    python3-click \
+"