From: Ben Gampe <[email protected]>

Add recipe for python3-pydantic: data validation and settings
management using python 3.6 type hinting

Signed-off-by: Ben Gampe <[email protected]>
---
 .../packagegroups/packagegroup-meta-python.bb       |  1 +
 .../python/python3-pydantic_1.7.3.bb                | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-pydantic_1.7.3.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index fd78ee0a2..c0132abaa 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -498,6 +498,7 @@ RDEPENDS_packagegroup-meta-python3-ptest = "\
     python3-prettytable-ptest \
     python3-ptyprocess-ptest \
     python3-pyasn1-modules-ptest \
+    python3-pydantic \
     python3-pyroute2-ptest \
     python3-pyserial-ptest \
     python3-pytoml-ptest \
diff --git a/meta-python/recipes-devtools/python/python3-pydantic_1.7.3.bb 
b/meta-python/recipes-devtools/python/python3-pydantic_1.7.3.bb
new file mode 100644
index 000000000..637561c8e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pydantic_1.7.3.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Data validation and settings management using python 3.6 type 
hinting"
+HOMEPAGE = "https://github.com/samuelcolvin/pydantic";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=215ca7f54cdc98f95ee96c7511d64158"
+
+RDEPENDS_${PN} += "\
+    python3-image \
+    python3-typing \
+"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = 
"213125b7e9e64713d16d988d10997dabc6a1f73f3991e1ff8e35ebb1409c7dc9"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90430): 
https://lists.openembedded.org/g/openembedded-devel/message/90430
Mute This Topic: https://lists.openembedded.org/mt/81689055/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to