diff mbox series

[meta-python,2/3] python3-faker: add v40.1.2

Message ID af4b928c2acc59078b5860be35f23ac18b000126.1769715106.git.tim.orling@konsulko.com
State New
Headers show
Series [meta-python,1/3] python3-orjson: upgrade 3.10.17 -> 3.11.6 | expand

Commit Message

Tim Orling Jan. 30, 2026, 1:07 a.m. UTC
From: Tim Orling <tim.orling@konsulko.com>

Faker is a Python package that generates fake data for you. Whether you
need to bootstrap your database, create good-looking XML documents,
fill-in your persistence to stress test it, or anonymize data
taken from a production service, Faker is for you.

Dependency for pyton3-orjson ptest.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 .../ptest-packagelists-meta-python.inc        |  1 +
 .../python/python3-faker_40.1.2.bb            | 45 +++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-faker_40.1.2.bb
diff mbox series

Patch

diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 15172e7f22..a84718b704 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -130,6 +130,7 @@  PTESTS_SLOW_META_PYTHON = "\
     python3-arrow \
     python3-django \
     python3-ecdsa \
+    python3-faker \
     python3-fastapi \
     python3-google-auth \
     python3-lz4 \
diff --git a/meta-python/recipes-devtools/python/python3-faker_40.1.2.bb b/meta-python/recipes-devtools/python/python3-faker_40.1.2.bb
new file mode 100644
index 0000000000..61063fa10e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-faker_40.1.2.bb
@@ -0,0 +1,45 @@ 
+SUMMARY = "Faker is a Python package that generates fake data for you."
+DESCRIPTION = "Faker is a Python package that generates fake data for you. \
+Whether you need to bootstrap your database, create good-looking XML documents, \
+fill-in your persistence to stress test it, or anonymize data taken from a \
+production service, Faker is for you."
+HOMEPAGE = "https://github.com/joke2k/faker"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=53360c4126f7d03b63cb79b0dab9e9e1"
+
+SRC_URI[sha256sum] = "b76a68163aa5f171d260fc24827a8349bc1db672f6a665359e8d0095e8135d30"
+
+inherit pypi setuptools3 ptest-python-pytest
+
+PACKAGECONFIG ?= "tzdata"
+PACKAGECONFIG[tzdata] = ",,,python3-tzdata"
+
+RDEPENDS:${PN} += "\
+    python3-compression \
+    python3-core \
+    python3-crypt \
+    python3-datetime \
+    python3-image \
+    python3-json \
+    python3-logging \
+    python3-math \
+    python3-netclient \
+    python3-numbers \
+    python3-pickle \
+    python3-pytest \
+    python3-stringold \
+    python3-unittest \
+    python3-xml \
+    python3-zoneinfo \
+    "
+
+RDEPENDS:${PN}-ptest += "\
+    python3-freezegun \
+    python3-validators \
+"
+
+do_install_ptest:append() {
+    install -d ${D}${PTEST_PATH}/tests
+    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+