summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb b/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb
new file mode 100644
index 0000000000..519c6b8922
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb
@@ -0,0 +1,35 @@
1DESCRIPTION = "A utility provides a fake certificate authority (CA)"
2HOMEPAGE = "https://pypi.org/project/trustme"
3
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=fb59582a4d7ecbb79dfeefa0f69932e1"
6
7SRC_URI[sha256sum] = "6528ba2bbc7f2db41f33825c8dd13e3e3eb9d334ba0f909713c8c3139f4ae47f"
8
9inherit pypi python_hatchling python_setuptools_build_meta ptest
10
11SRC_URI += " \
12 file://run-ptest \
13"
14
15RDEPENDS:${PN} += " \
16 python3-cryptography \
17 python3-datetime \
18 python3-idna \
19 python3-io \
20"
21
22RDEPENDS:${PN}-ptest += " \
23 python3-attrs \
24 python3-pyopenssl \
25 python3-pyasn1-modules \
26 python3-pytest \
27 python3-service-identity \
28 python3-six \
29 python3-unittest-automake-output \
30"
31
32do_install_ptest() {
33 install -d ${D}${PTEST_PATH}/tests
34 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
35}