# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-h11
version             0.16.0
revision            0

categories-append   net www
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
long_description    \
    This is a little HTTP/1.1 library written from scratch in Python, heavily \
    inspired by hyper-h2.

homepage            https://github.com/python-hyper/h11

checksums           rmd160  1ab39ae411dbd4179a77d47129afd0f3e7365881 \
                    sha256  4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1 \
                    size    101250

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    test.run        yes
    test.target     h11
}
