summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb b/meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb
new file mode 100644
index 0000000000..d72d2be2f1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb
@@ -0,0 +1,39 @@
1SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library"
2DESCRIPTION = "Python binding to the Networking and Cryptography (NaCl) library"
3HOMEPAGE = "https://github.com/pyca/pynacl"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f"
6
7SRC_URI[sha256sum] = "018494d6d696ae03c7e656e5e74cdfd8ea1326962cc401bcf018f1ed8436811c"
8
9PYPI_PACKAGE = "pynacl"
10UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
11
12inherit pypi python_setuptools_build_meta
13
14DEPENDS += "\
15 python3-cffi-native \
16 libsodium \
17"
18
19do_compile:prepend() {
20 export SODIUM_INSTALL=system
21}
22
23do_install:prepend() {
24 export SODIUM_INSTALL=system
25}
26
27RDEPENDS:${PN} = "\
28 python3-six \
29 python3-cffi \
30 libsodium \
31"
32
33RPROVIDES:${PN} = "python3-nacl"
34
35# in meta-virtualization layer
36#
37RCONFLICTS:${PN} = "python3-nacl"
38
39BBCLASSEXTEND = "native nativesdk"