python3-nacl: add 1.3.0 recipe

A regression was introduced by commit ab12e48a:
[ python3-docker-compose: uprev to 1.25.0 ]

python3-docker-compose depends on python3-paramiko hence also depends
on python3-nacl but that recipe does not exist.

Port it from meta-lmp layer.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Ming Liu 2019-12-07 14:21:28 +01:00 committed by Bruce Ashfield
parent 6dd323eb4a
commit 06ec74ad35

View File

@ -0,0 +1,26 @@
SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library"
HOMEPAGE = "https://github.com/pyca/pynacl"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f"
PYPI_PACKAGE = "PyNaCl"
inherit pypi setuptools3
SRC_URI[md5sum] = "3f3b1272287bc2de8efd8a5fa18bf728"
SRC_URI[sha256sum] = "0c6100edd16fefd1557da078c7a31e7b7d7a52ce39fdca2bec29d4f7b6e7600c"
DEPENDS += "\
libsodium \
python3-cffi-native \
python3-pip-native \
"
RDEPENDS_${PN}_class-target += " \
python3-cffi \
python3-pycparser \
"
export SODIUM_INSTALL = "system"
BBCLASSEXTEND = "native"