void-packages/srcpkgs/python3-nacl/template

25 lines
708 B
Bash

# Template file for 'python3-nacl'
pkgname=python3-nacl
version=1.3.0
revision=3
wrksrc="PyNaCl-${version}"
build_style=python3-module
pycompile_module="nacl"
hostmakedepends="python3-setuptools python3-pycparser python3-cffi"
makedepends="libsodium-devel python3-devel libffi-devel"
depends="python3-six python3-cffi"
short_desc="Python3 bindings for the NaCl library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/pyca/pynacl/"
distfiles="${PYPI_SITE}/P/PyNaCl/PyNaCl-${version}.tar.gz"
checksum=0c6100edd16fefd1557da078c7a31e7b7d7a52ce39fdca2bec29d4f7b6e7600c
pre_build() {
export SODIUM_INSTALL=system
}
pre_install() {
export SODIUM_INSTALL=system
}