[150129] trunk/dports/python
petr at macports.org
petr at macports.org
Tue Jul 12 15:02:16 PDT 2016
Revision: 150129
https://trac.macports.org/changeset/150129
Author: petr at macports.org
Date: 2016-07-12 15:02:16 -0700 (Tue, 12 Jul 2016)
Log Message:
-----------
py-h2: new port, related to #51562.
Added Paths:
-----------
trunk/dports/python/py-h2/
trunk/dports/python/py-h2/Portfile
Added: trunk/dports/python/py-h2/Portfile
===================================================================
--- trunk/dports/python/py-h2/Portfile (rev 0)
+++ trunk/dports/python/py-h2/Portfile 2016-07-12 22:02:16 UTC (rev 150129)
@@ -0,0 +1,57 @@
+# -*- 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-h2
+version 2.4.0
+
+categories-append net www
+platforms darwin
+supported_archs noarch
+license MIT
+
+maintainers petr openmaintainer
+
+description Hyper-h2: A pure-Python HTTP/2 protocol stack
+long_description \
+ Hyper-h2 is a HTTP/2 protocol stack, written entirely in Python. \
+ The goal of Hyper-h2 is to be a 100% RFC 7540 compatible implementation \
+ of a complete HTTP/2 protocol stack for the Python ecosystem, build on a \
+ set of finite state machines. It should be usable in all programs \
+ regardless of concurrency model or environment. To achieve this, Hyper-h2 \
+ is entirely self-contained: it does no I/O of any kind, leaving that up \
+ to a wrapper library to control. This ensures that it can seamlessly work \
+ in all kinds of environments, from single-threaded code to Twisted. Its \
+ secondary goals are to be fast, clear, and efficient.
+
+homepage http://python-hyper.org/projects/${python.rootname}/
+
+distname ${python.rootname}-${version}
+master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}/
+
+checksums md5 23cd835a4779da5645cd753b201a1ae4 \
+ rmd160 aa3c161eb7460978fa251cc46ec6cd6aca19603b \
+ sha256 c673efad0b8ee3c3c604375dd5e0c3dbc74f3c4e0385dae120d22b7d6f6ec301
+
+
+python.versions 27 34 35
+
+if {${name} ne ${subport}} {
+ depends_build-append port:py${python.version}-setuptools
+
+ depends_lib-append port:py${python.version}-hpack \
+ port:py${python.version}-hyperframe
+
+
+ if { ${python.version} <= 33 } {
+ depends_lib-append port:py${python.version}-enum34
+ }
+
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url https://pypi.python.org/pypi/${python.rootname}/json
+ livecheck.regex "\"${python.rootname}-(\[.\\d\]+)\\${extract.suffix}\""
+}
Property changes on: trunk/dports/python/py-h2/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160712/b395fcc7/attachment.html>
More information about the macports-changes
mailing list