diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-trustme_0.9.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-trustme_0.9.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-trustme_0.9.0.bb b/meta-python/recipes-devtools/python/python3-trustme_0.9.0.bb new file mode 100644 index 0000000000..641512c46c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-trustme_0.9.0.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 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 | |||
| 17 | RDEPENDS:${PN}-ptest += " \ | ||
| 18 | ${PYTHON_PN}-pytest \ | ||
| 19 | ${PYTHON_PN}-service-identity \ | ||
| 20 | ${PYTHON_PN}-pyasn1-modules \ | ||
| 21 | " | ||
| 22 | |||
| 23 | do_install_ptest() { | ||
| 24 | install -d ${D}${PTEST_PATH}/tests | ||
| 25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 26 | cp -rf ${S}/setup.py ${D}${PTEST_PATH} | ||
| 27 | } | ||
