meta-openembedded/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb
Derek Straka c089690f57
python3-*: Update recipes to correctly check the upstream packages
With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
   packages that use '_', CamelCase, or other deviations from PEP625 in
   the source archive

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-19 09:41:21 -08:00

40 lines
894 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"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
inherit pypi python_setuptools_build_meta
DEPENDS += "\
python3-cffi-native \
libsodium \
"
do_compile:prepend() {
export SODIUM_INSTALL=system
}
do_install:prepend() {
export SODIUM_INSTALL=system
}
RDEPENDS:${PN} = "\
python3-six \
python3-cffi \
libsodium \
"
RPROVIDES:${PN} = "python3-nacl"
# in meta-virtualization layer
#
RCONFLICTS:${PN} = "python3-nacl"
BBCLASSEXTEND = "native nativesdk"