blob: 97f0e6e8f65cb85fd0814d7917a3849c929ccd20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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] = "a0751c84c3abac17327d7bb4c98e8afe70ebf7821e01dd7d0b15cd8856415525"
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/
}
|