meta-openembedded/meta-python/recipes-devtools/python/python3-faker_40.18.0.bb
Wang Mingyu 4844eade22
python3-faker: upgrade 40.15.0 -> 40.18.0
Changelog:
===========
- Add automotive providers for ar_DZ and fr_DZ locales.
- Add phone_number provider for ar_DZ and fr_DZ locales.
- Add am_ET phone_number provider for Ethiopia.
- Fix duplicate phone number prefix 145 in zh_CN locale.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-20 21:18:34 -07:00

49 lines
1.3 KiB
BlitzBasic

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] = "2207575c0e8f90e6ccd6dbef764de875c614d16d3db4eee9712d9a00087f2e70"
inherit pypi setuptools3 ptest-python-pytest
SRC_URI += "file://pytest.ini"
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 ${UNPACKDIR}/pytest.ini ${D}${PTEST_PATH}/
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}