Commits
Renee Otten authored ebfebb6b5f2
1 1 | # -*- 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 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup python 1.0 |
5 5 | |
6 6 | name py-h2 |
7 - | version 3.0.1 |
7 + | version 3.1.1 |
8 + | revision 0 |
8 9 | |
9 10 | categories-append net www |
10 11 | platforms darwin |
11 12 | supported_archs noarch |
12 13 | license MIT |
13 - | |
14 14 | maintainers {petr @petrrr} openmaintainer |
15 15 | |
16 16 | description Hyper-h2: A pure-Python HTTP/2 protocol stack |
17 17 | long_description \ |
18 18 | Hyper-h2 is a HTTP/2 protocol stack, written entirely in Python. \ |
19 19 | The goal of Hyper-h2 is to be a 100% RFC 7540 compatible implementation \ |
20 20 | of a complete HTTP/2 protocol stack for the Python ecosystem, build on a \ |
21 21 | set of finite state machines. It should be usable in all programs \ |
22 22 | regardless of concurrency model or environment. To achieve this, Hyper-h2 \ |
23 23 | is entirely self-contained: it does no I/O of any kind, leaving that up \ |
24 24 | to a wrapper library to control. This ensures that it can seamlessly work \ |
25 25 | in all kinds of environments, from single-threaded code to Twisted. Its \ |
26 26 | secondary goals are to be fast, clear, and efficient. |
27 27 | |
28 - | homepage http://python-hyper.org/projects/${python.rootname}/ |
29 - | |
28 + | homepage https://python-hyper.org/projects/${python.rootname}/ |
30 29 | distname ${python.rootname}-${version} |
31 30 | master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}/ |
32 31 | |
33 - | checksums md5 586686662928c2851eb0f1fe99bf279d \ |
34 - | rmd160 209dbe04edb223e4408f4730cb7e0ef13a21c79e \ |
35 - | sha256 b2962f883fa392a23cbfcc4ad03c335bcc661be0cf9627657b589f0df2206e64 |
32 + | checksums rmd160 b65a0b4dcc2ad03b1021648eb35d01b364fc7e1c \ |
33 + | sha256 b8a32bd282594424c0ac55845377eea13fa54fe4a8db012f3a198ed923dc3ab4 \ |
34 + | size 2214612 |
36 35 | |
37 - | |
38 - | python.versions 27 34 35 36 37 38 |
36 + | python.versions 27 35 36 37 38 |
39 37 | |
40 38 | if {${name} ne ${subport}} { |
41 - | depends_build-append port:py${python.version}-setuptools |
42 - | |
43 - | depends_lib-append port:py${python.version}-hpack \ |
44 - | port:py${python.version}-hyperframe |
39 + | depends_build-append \ |
40 + | port:py${python.version}-setuptools |
45 41 | |
42 + | depends_lib-append \ |
43 + | port:py${python.version}-hpack \ |
44 + | port:py${python.version}-hyperframe |
46 45 | |
47 - | if { ${python.version} <= 33 } { |
48 - | depends_lib-append port:py${python.version}-enum34 |
46 + | if {${python.version} eq 27} { |
47 + | depends_lib-append \ |
48 + | port:py${python.version}-enum34 |
49 49 | } |
50 50 | |
51 51 | livecheck.type none |
52 - | } else { |
53 - | livecheck.type regex |
54 - | livecheck.url https://pypi.python.org/pypi/${python.rootname}/json |
55 - | livecheck.regex "\"${python.rootname}-(\[.\\d\]+)\\${extract.suffix}\"" |
56 52 | } |