# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-backports-ssl version 0.0.6 revision 0 categories-append devel platforms darwin license BSD supported_archs noarch python.versions 27 33 maintainers stromnov openmaintainer description The Python 3.4 standard `ssl` module API implemented on top of pyOpenSSL. long_description ${description} homepage https://github.com/alekstorm/backports.ssl master_sites https://pypi.python.org/packages/source/b/backports.ssl/ distname backports.ssl-${version} checksums rmd160 7d883cdadbeef4fa03b7bb191382154efc0652ee \ sha256 ff0c12f7dc0977c156866273ebbcc286262e04b8cf7c4fa2efcc47453226ea43 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-backports \ port:py${python.version}-six \ port:py${python.version}-asn1 \ port:py${python.version}-openssl post-destroot { foreach f {__init__.py __init__.pyc __init__.pyo __pycache__} { set fp "${destroot}${python.pkgd}/backports/$f" if {[file exists ${fp}]} { file delete -force ${fp} } } } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/backports.ssl/json livecheck.regex {backports\.ssl-(\d+(?:\.\d+)*)\.[tz]} }