# -*- 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
python.versions 27 34 35 36 37
maintainers {stromnov @stromnov} openmaintainer
description Python binding to the Networking and Cryptography (NaCl) library
long_description ${description}
homepage https://github.com/pyca/pynacl/
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname PyNaCl-${version}
checksums rmd160 3db2521fe97a2107fbf3e009d4b9c7b75a25ab34 \
sha256 0c6100edd16fefd1557da078c7a31e7b7d7a52ce39fdca2bec29d4f7b6e7600c \
# default clang version cannot build this port, see https://trac.macports.org/ticket/54407
# llvm-gcc does build it, but this is undesirable due to standard library issues
# the following leads to a build with clang-3.4, which succeeds
compiler.blacklist-append {clang}
compiler.blacklist-append *gcc*
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-cffi \
port:py${python.version}-six \
build.env-append SODIUM_INSTALL=system