diff options
| author | Colin McAllister <colinmca242@gmail.com> | 2020-07-22 20:33:55 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-08-11 09:42:55 -0700 |
| commit | 3b2c058ca988fcbf643567cf75082ca374ded1b4 (patch) | |
| tree | aaca3d3df2f9195bbca969d4420a331cf36c0422 /meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb | |
| parent | f9617f1f8ad8f84908077e636a6298cd39213407 (diff) | |
| download | meta-openembedded-3b2c058ca988fcbf643567cf75082ca374ded1b4.tar.gz | |
python3-pynacl: Added recipe
Created Python3 recipe for PyNaCl.
Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb b/meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb new file mode 100644 index 0000000000..6fd42ebf81 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 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[md5sum] = "8c6c57893327a694c72510fb620e4744" | ||
| 8 | SRC_URI[sha256sum] = "54e9a2c849c742006516ad56a88f5c74bf2ce92c9f67435187c3c5953b346505" | ||
| 9 | |||
| 10 | PYPI_PACKAGE = "PyNaCl" | ||
| 11 | |||
| 12 | inherit pypi setuptools3 | ||
| 13 | |||
| 14 | DEPENDS += "\ | ||
| 15 | ${PYTHON_PN}-wheel-native \ | ||
| 16 | ${PYTHON_PN}-cffi-native \ | ||
| 17 | libsodium \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS_${PN} = "\ | ||
| 21 | ${PYTHON_PN}-six \ | ||
| 22 | ${PYTHON_PN}-cffi \ | ||
| 23 | libsodium \ | ||
| 24 | " | ||
| 25 | |||
| 26 | do_compile_prepend() { | ||
| 27 | export SODIUM_INSTALL=system | ||
| 28 | } | ||
| 29 | |||
| 30 | do_install_prepend() { | ||
| 31 | export SODIUM_INSTALL=system | ||
| 32 | } | ||
