# -*- 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
maintainers 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 13166aecf61c866786a9add9e3be4fc127be833a \
sha256 e0d38fa0a75f65f556fb912f2c6790d1fa29b7dd27a1d9cc5591b281321eaaa9
# 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 \