# -*- 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.13.1 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 fc793a1246b119277c924643c341d841 \ rmd160 6eeece7262d8b57f0d7efca6e0825cfab3d83cfc \ sha256 f2b986ed2fa0125a88975d3f904a111c95b2925c3f553f7b1fc991f25bf4915b python.versions 27 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-asn1 \ port:py${python.version}-certifi \ port:py${python.version}-cryptography \ port:py${python.version}-hpack \ 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}\"" }