aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorVesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>2021-08-28 18:44:30 +0300
committerKhem Raj <raj.khem@gmail.com>2021-08-30 08:10:12 -0700
commit5301d617553df9fa8a36eaff88c7c30c677acdf5 (patch)
tree1ed01c6d5845b3028afcc0c55476252fadb2ec05 /meta-python
parent78922a3621fd63b064e2fa14bae70588ad4de0c1 (diff)
downloadmeta-openembedded-5301d617553df9fa8a36eaff88c7c30c677acdf5.tar.gz
meta-openembedded-5301d617553df9fa8a36eaff88c7c30c677acdf5.tar.bz2
meta-openembedded-5301d617553df9fa8a36eaff88c7c30c677acdf5.zip
python3-pkcs11: Add recipe for version 0.7.0
"A high level, “more Pythonic” interface to the PKCS#11 (Cryptoki) standard to support HSM and Smartcard devices in Python." Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb25
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 2fd056de7..ea5683ce6 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -272,6 +272,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-pika \
python3-pillow \
python3-pint \
+ python3-pkcs11 \
python3-pkgconfig \
python3-ply \
python3-pocketsphinx \
diff --git a/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb b/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb
new file mode 100644
index 000000000..816b728dc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb
@@ -0,0 +1,25 @@
+SUMMARY = "PKCS#11 (Cryptoki) support for Python"
+DESCRIPTION = "A high level, “more Pythonic” interface to the PKCS#11 (Cryptoki) standard to support HSM and Smartcard devices in Python."
+HOMEPAGE = "https://pypi.org/project/python-pkcs11/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://README.rst;beginline=337;endline=358;md5=f68bda54505b4002e6ec86e08125ef79"
+
+SRC_URI[sha256sum] = "9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9e46bf7"
+
+PYPI_PACKAGE = "python-pkcs11"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native"
+
+DEPENDS += " \
+ python3-cython-native \
+ python3-setuptools-scm-native \
+ python3 \
+"
+
+RDEPENDS:${PN} += " \
+ python3-asn1crypto \
+ python3-cached-property \
+"