diff options
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.bb | 39 |
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 @@ | |||
| 1 | SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library" | ||
| 2 | DESCRIPTION = "Python binding to the Networking and Cryptography (NaCl) library" | ||
| 3 | HOMEPAGE = "https://github.com/pyca/pynacl" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "018494d6d696ae03c7e656e5e74cdfd8ea1326962cc401bcf018f1ed8436811c" | ||
| 8 | |||
| 9 | PYPI_PACKAGE = "pynacl" | ||
| 10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
| 11 | |||
| 12 | inherit pypi python_setuptools_build_meta | ||
| 13 | |||
| 14 | DEPENDS += "\ | ||
| 15 | python3-cffi-native \ | ||
| 16 | libsodium \ | ||
| 17 | " | ||
| 18 | |||
| 19 | do_compile:prepend() { | ||
| 20 | export SODIUM_INSTALL=system | ||
| 21 | } | ||
| 22 | |||
| 23 | do_install:prepend() { | ||
| 24 | export SODIUM_INSTALL=system | ||
| 25 | } | ||
| 26 | |||
| 27 | RDEPENDS:${PN} = "\ | ||
| 28 | python3-six \ | ||
| 29 | python3-cffi \ | ||
| 30 | libsodium \ | ||
| 31 | " | ||
| 32 | |||
| 33 | RPROVIDES:${PN} = "python3-nacl" | ||
| 34 | |||
| 35 | # in meta-virtualization layer | ||
| 36 | # | ||
| 37 | RCONFLICTS:${PN} = "python3-nacl" | ||
| 38 | |||
| 39 | BBCLASSEXTEND = "native nativesdk" | ||
