summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorTim Orling <tim.orling@konsulko.com>2026-02-03 11:13:51 -0800
committerKhem Raj <raj.khem@gmail.com>2026-02-06 10:06:18 -0800
commit64139e703be26855614ae0781b93b431b35343b3 (patch)
tree4fd8f3f1b5475dd000ebc80a6086ca5b3c2a1275 /meta-python/recipes-devtools/python
parent5ccbf5d55250c5ff9d4c87719373b627311c16d8 (diff)
downloadmeta-openembedded-64139e703be26855614ae0781b93b431b35343b3.tar.gz
python3-faker: add v40.1.2
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. * Skip tests/pytest as this causes the 'pytests --automake' parser to fail for some reason [1] and the handful of tests are of questionable extra value. Testsuite summary TOTAL: 2151 PASS: 2146 SKIP: 5 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 39 Dependency for python3-orjson ptest. [1] https://gitlab.com/rossburton/python-unittest-automake-output/-/issues/9 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-faker/pytest.ini3
-rw-r--r--meta-python/recipes-devtools/python/python3-faker_40.1.2.bb48
2 files changed, 51 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-faker/pytest.ini b/meta-python/recipes-devtools/python/python3-faker/pytest.ini
new file mode 100644
index 0000000000..26f64467ce
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-faker/pytest.ini
@@ -0,0 +1,3 @@
1[pytest]
2addopts =
3 --ignore=tests/pytest
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..2a9970a91c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-faker_40.1.2.bb
@@ -0,0 +1,48 @@
1SUMMARY = "Faker is a Python package that generates fake data for you."
2DESCRIPTION = "Faker is a Python package that generates fake data for you. \
3Whether you need to bootstrap your database, create good-looking XML documents, \
4fill-in your persistence to stress test it, or anonymize data taken from a \
5production service, Faker is for you."
6HOMEPAGE = "https://github.com/joke2k/faker"
7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=53360c4126f7d03b63cb79b0dab9e9e1"
9
10SRC_URI[sha256sum] = "b76a68163aa5f171d260fc24827a8349bc1db672f6a665359e8d0095e8135d30"
11
12inherit pypi setuptools3 ptest-python-pytest
13
14SRC_URI += "file://pytest.ini"
15
16PACKAGECONFIG ?= "tzdata"
17PACKAGECONFIG[tzdata] = ",,,python3-tzdata"
18
19RDEPENDS:${PN} += "\
20 python3-compression \
21 python3-core \
22 python3-crypt \
23 python3-datetime \
24 python3-image \
25 python3-json \
26 python3-logging \
27 python3-math \
28 python3-netclient \
29 python3-numbers \
30 python3-pickle \
31 python3-pytest \
32 python3-stringold \
33 python3-unittest \
34 python3-xml \
35 python3-zoneinfo \
36 "
37
38RDEPENDS:${PN}-ptest += "\
39 python3-freezegun \
40 python3-validators \
41"
42
43do_install_ptest:append() {
44 install ${UNPACKDIR}/pytest.ini ${D}${PTEST_PATH}/
45 install -d ${D}${PTEST_PATH}/tests
46 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
47}
48