# -*- 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 python 1.0 name py-m2crypto version 0.33.0 categories-append crypto devel platforms darwin # demos include some Apache-2 and ZPL-2 files but are not installed license MIT maintainers {gmail.com:allan.que @aque} openmaintainer description Crypto and SSL toolkit for Python long_description M2Crypto is the most complete Python wrapper for OpenSSL. homepage https://pypi.python.org/pypi/${python.rootname} master_sites pypi:m/${python.rootname}/ distname M2Crypto-${version} checksums size 1297415 \ rmd160 7d366493b5563ddfad047a3b05ec7e7ad01b80cc \ sha256 75deaa3f6d25c8300c41da042a1abfa27154de5164c7073d68cb1809cedb8553 python.versions 27 35 36 37 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools depends_lib-append port:swig-python \ path:lib/libssl.dylib:openssl if {${python.version} < 35} { depends_lib-append \ port:py${python.version}-typing } patchfiles patch-setup.py build.env-append SWIG_FEATURES=-I${prefix}/include build.cmd-append build_ext --openssl=${prefix} test.run yes livecheck.type none }