# -*- 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 PortSystem 1.0 PortGroup github 1.0 PortGroup python 1.0 github.setup saltstack libnacl 1.6.1 v revision 0 name py-libnacl categories-append net platforms darwin maintainers nomaintainer license Apache-2 supported_archs noarch description Python binding for libsodium long_description Libnacl is a Python binding for the libsodium NaCl crypto \ library. python.versions 27 34 35 36 37 checksums rmd160 b599de9196c6f53fd2005b17846ead2c1cb1b557 \ sha256 adea4684460ab67c63b04b4f5b70802534e76fadd1f27ba4f9e68d96f8846dde \ size 39803 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools \ depends_lib-append \ port:libsodium \ port:py${python.version}-six patchfiles libsodium-path.patch post-patch { reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/libnacl/__init__.py } test.run yes test.cmd ${python.bin} tests/runtests.py test.target test.env PYTHONPATH=${worksrcpath}/build/lib post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS LICENSE \ README.rst ${destroot}${docdir} } livecheck.type none }