blob: 6622f6220ac5cc181571d86c64c52405a32c7ed7 [file] [log] [blame]
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05001DESCRIPTION = "A utility provides a fake certificate authority (CA)"
2HOMEPAGE = "https://pypi.org/project/trustme"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05003
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d5a7af1a4b73e57431e25d15a2da745a"
6
7SRC_URI[md5sum] = "0e4d698e5aecaf8306cf440bf3dcbbe0"
8SRC_URI[sha256sum] = "5e07b23d70ceed64f3bb36ae4b9abc52354c16c98d45ab037bee2b5fbffe586c"
9
10inherit pypi setuptools3 ptest
11
12SRC_URI += " \
13 file://run-ptest \
14"
15
Patrick Williamsb542dec2023-06-09 01:26:37 -050016RDEPENDS:${PN} += " \
17 python3-cryptography \
18 python3-datetime \
19 python3-idna \
20 python3-io \
21"
22
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050023RDEPENDS:${PN}-ptest += " \
24 ${PYTHON_PN}-pytest \
25 ${PYTHON_PN}-service-identity \
26 ${PYTHON_PN}-pyasn1-modules \
27"
28
29do_install_ptest() {
30 install -d ${D}${PTEST_PATH}/tests
31 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
32 cp -rf ${S}/setup.py ${D}${PTEST_PATH}
33}