# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup saltstack libnacl 1.6.1 v
description Python binding for libsodium
long_description Libnacl is a Python binding for the libsodium NaCl crypto \
python.versions 27 34 35 36 37
checksums rmd160 b599de9196c6f53fd2005b17846ead2c1cb1b557 \
sha256 adea4684460ab67c63b04b4f5b70802534e76fadd1f27ba4f9e68d96f8846dde \
if {${name} ne ${subport}} {
port:py${python.version}-setuptools \
port:py${python.version}-six
patchfiles libsodium-path.patch
reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/libnacl/__init__.py
test.cmd ${python.bin} tests/runtests.py
test.env PYTHONPATH=${worksrcpath}/build/lib
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} AUTHORS LICENSE \
README.rst ${destroot}${docdir}