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