diff --git a/srcpkgs/python3-nacl/template b/srcpkgs/python3-nacl/template new file mode 100644 index 00000000000..621be4193dc --- /dev/null +++ b/srcpkgs/python3-nacl/template @@ -0,0 +1,24 @@ +# Template file for 'python3-nacl' +pkgname=python3-nacl +version=1.3.0 +revision=1 +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="maxice8 " +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 +}