# -*- 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_match_hostname version 3.5.0.1 revision 0 categories-append devel platforms darwin license PSF supported_archs noarch python.versions 27 33 34 maintainers stromnov openmaintainer description The ssl.match_hostname() function from Python 3.5 long_description ${description} homepage http://bitbucket.org/brandon/backports.ssl_match_hostname master_sites pypi:b/backports.ssl_match_hostname/ distname backports.ssl_match_hostname-${version} checksums rmd160 3e7112fd62bcef2bb526b7c60e782aa75ee5daac \ sha256 502ad98707319f4a51fa2ca1c677bd659008d27ded9f6380c79e8932e38dcdf2 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-backports \ port:py${python.version}-setuptools 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_match_hostname/json livecheck.regex {backports\.ssl_match_hostname-(\d+(?:\.\d+)*)\.[tz]} }