summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2025-01-07 17:01:43 +0800
committerKhem Raj <raj.khem@gmail.com>2025-01-07 09:33:16 -0800
commit9743f4dd719a0891eb455b499b102bc9fbe2c8fb (patch)
tree40f8d63e391e90c535d659f6f83381a9fcb1a888 /meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb
parentb5a92a5182b76ff34cea3fd44ad15e29184279ac (diff)
downloadmeta-openembedded-9743f4dd719a0891eb455b499b102bc9fbe2c8fb.tar.gz
python3-trustme: upgrade 1.2.0 -> 1.2.1
Changelog: Update from deprecated pyOpenSSL APIs to non-deprecated cryptography APIs. License-Update: format of LICENSE changed from "ASCII text" to "ASCII text, with CRLF line terminators" Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
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}