summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
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