mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-23 06:37:12 +00:00
python3-faker: upgrade 40.23.0 -> 40.28.1
Changelog: =========== - Fix: compute valid ISO 7064 Mod 11,10 check digit for de_DE vat_id - Add es_MX automotive license plate provider - Add sr_BA SSN provider - Update providers job, phone_number, bank and ssn - Update phone number test regex - Update outdated Korean locale names - Fix: prevent infinite recursion in _safe_random_int when both bounds collapse to the same integer - Add mk_MK (Macedonian) locale - CI: run PR checks against PR code instead of base branch. - Fix: raise NotImplementedError in bank() for locales without banks data - Fix outdated links in README credits section - Bump actions/cache from 5 to 6 - Bump actions/checkout from 6 to 7 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
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] = "2a63fb51abab8790636d4030a094cf942404cbccc9c288d1cad70e2e3e9ecd58"
|
||||
|
||||
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/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user