# -*- 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 set _name netlib set _n [string index ${_name} 0] name py-${_name} version 0.11.2 categories-append net platforms darwin supported_archs noarch license MIT maintainers petr openmaintainer description A collection of network utilities from mitmproxy project long_description \ Netlib is a collection of network utility classes, used by the pathod \ and mitmproxy projects. It differs from other projects in some \ fundamental respects, because both pathod and mitmproxy often need to \ violate standards. This means that protocols are implemented as small, \ well-contained and flexible functions, and are designed to allow \ misbehaviour when needed. homepage https://pypi.python.org/pypi/${_name}/${version} distname ${_name}-${version} master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ checksums md5 b4f811a7b3170906bbaca206ba63071e \ rmd160 83e4befe9aee98fe48aa665d74e790c0885d5466 \ sha256 66dac408eccb528b284e6a6fa5bc52aa40d1c2a53d74179d3cb2253b3120851e python.versions 27 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-asn1 \ port:py${python.version}-openssl \ port:py${python.version}-passlib livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }