summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb b/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
new file mode 100644
index 0000000000..69db7e6189
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-trustme_1.2.0.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=d5a7af1a4b73e57431e25d15a2da745a"
6
7SRC_URI[sha256sum] = "ed2264fb46c35459e6de9e454ed4bab73be44b6a2a26ad417f9b6854aebb644a"
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}