meta-openembedded/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb
Ross Burton ff7312f048 meta-python: migrate away from setuptool3 where possible
Many recipes are currently building with setuptools3 but can use a more
modern tool: typically setuptools_build_meta but ordered-set can use
flit_core and pyrad can use poetry_core.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00

31 lines
716 B
BlitzBasic

SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library"
DESCRIPTION = "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"
SRC_URI[sha256sum] = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba"
PYPI_PACKAGE = "PyNaCl"
inherit pypi setuptools_build_meta
DEPENDS += "\
${PYTHON_PN}-cffi-native \
libsodium \
"
RDEPENDS:${PN} = "\
${PYTHON_PN}-six \
${PYTHON_PN}-cffi \
libsodium \
"
do_compile:prepend() {
export SODIUM_INSTALL=system
}
do_install:prepend() {
export SODIUM_INSTALL=system
}