Skip to contentSkip to conversation

python3-typer: add new recipe

PATCH In review Jan Vermaete 2 participants 2 messages Jun 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-typer: add new recipe

---
 .../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
meta-python/recipes-devtools/python/python3-typer_0.12.3.bb new file +23 -0
new file mode 100644
index 000000000..a4b45f367
@@ -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 \
+"
Signature · 1 line
2.39.2
#1 lore raw

Can you look into adding ptest? We need to not keep adding that technical debt when adding new recipes.

Quoted 56 lines · Jan Vermaete via lists.openembedded.org
---
 .../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

meta-python/recipes-devtools/python/python3-typer_0.12.3.bb new file +1 -0
new file mode 100644
index 000000000..a4b45f367
@@ -0,0 +1,23 @@
+SUMMARY = "Typer, build great CLIs. Easy to code. Based on Python type

hints."

meta-python/recipes-devtools/python/python3-typer_0.12.3.bb new file +2 -0
+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. \
+"

meta-python/recipes-devtools/python/python3-typer_0.12.3.bb new file +5 -0
+HOMEPAGE = "https://github.com/tiangolo/typer"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617"
+
+SRC_URI[sha256sum] =

"49e73131481d804288ef62598d97a1ceef3058905aa536a1134f90891ba35482"

meta-python/recipes-devtools/python/python3-typer_0.12.3.bb new file +13 -1
+
+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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-