diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-faker/pytest.ini | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-faker_40.1.2.bb | 48 |
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] | ||
| 2 | addopts = | ||
| 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 @@ | |||
| 1 | SUMMARY = "Faker is a Python package that generates fake data for you." | ||
| 2 | DESCRIPTION = "Faker is a Python package that generates fake data for you. \ | ||
| 3 | Whether you need to bootstrap your database, create good-looking XML documents, \ | ||
| 4 | fill-in your persistence to stress test it, or anonymize data taken from a \ | ||
| 5 | production service, Faker is for you." | ||
| 6 | HOMEPAGE = "https://github.com/joke2k/faker" | ||
| 7 | LICENSE = "MIT" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=53360c4126f7d03b63cb79b0dab9e9e1" | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "b76a68163aa5f171d260fc24827a8349bc1db672f6a665359e8d0095e8135d30" | ||
| 11 | |||
| 12 | inherit pypi setuptools3 ptest-python-pytest | ||
| 13 | |||
| 14 | SRC_URI += "file://pytest.ini" | ||
| 15 | |||
| 16 | PACKAGECONFIG ?= "tzdata" | ||
| 17 | PACKAGECONFIG[tzdata] = ",,,python3-tzdata" | ||
| 18 | |||
| 19 | RDEPENDS:${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 | |||
| 38 | RDEPENDS:${PN}-ptest += "\ | ||
| 39 | python3-freezegun \ | ||
| 40 | python3-validators \ | ||
| 41 | " | ||
| 42 | |||
| 43 | do_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 | |||
