Revision: 140011 https://trac.macports.org/changeset/140011 Author: petr@macports.org Date: 2015-09-06 06:21:02 -0700 (Sun, 06 Sep 2015) Log Message: ----------- py-hpack: new port, closes #48770 Added Paths: ----------- trunk/dports/python/py-hpack/ trunk/dports/python/py-hpack/Portfile Added: trunk/dports/python/py-hpack/Portfile =================================================================== --- trunk/dports/python/py-hpack/Portfile (rev 0) +++ trunk/dports/python/py-hpack/Portfile 2015-09-06 13:21:02 UTC (rev 140011) @@ -0,0 +1,43 @@ +# -*- 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 1.1.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’s available. + +homepage https://pypi.python.org/pypi/${_name}/${version} + +distname ${_name}-${version} +master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ + +checksums md5 9928b4285029292db7fa8e16fcbdaa8d \ + rmd160 dbb3a6f060822e9cbd12c2e5205edf3d528b5fec \ + sha256 1a4832961ac0acb0d124d9db0bcb5ab44d61c8d8466c9a3b59d49aceeca91d11 + +python.versions 27 34 + +if {${name} ne ${subport}} { + livecheck.type none +} else { + livecheck.type regex + livecheck.url https://pypi.python.org/pypi/${_name}/json + livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" +} Property changes on: trunk/dports/python/py-hpack/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native
participants (1)
-
petr@macports.org