# -*- 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 hpack set _n [string index ${_name} 0] name py-${_name} version 2.2.0 categories-append net platforms darwin supported_archs noarch license MIT maintainers mdeaudelin.net:macports openmaintainer description Pure-Python HPACK header compression long_description \ This module contains a pure-Python HTTP/2 header encoding (HPACK) \ logic for use in Python programs that implement HTTP/2. It also \ contains a compatibility layer that automatically enables the use \ of nghttp2 if it is available. homepage https://pypi.python.org/pypi/${_name}/${version} distname ${_name}-${version} master_sites pypi:${_n}/${_name}/ checksums md5 b9df089cf5a47298a9166e89f06cc30c \ rmd160 19c7a4f0e6302976b5facaa04ba4a1d6512eff0a \ sha256 f2917b3f003c7c76c1aa17e89c1fc27a80d2175d6283131890253609f5f370ef python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }