Files
2020-10-23 11:33:26 -04:00

52 lines
1.7 KiB
Tcl

# -*- 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-hyperframe
version 5.2.0
revision 0
categories-append net www
platforms darwin
supported_archs noarch
license MIT
maintainers {petr @petrrr} openmaintainer
description HTTP/2 framing layer for Python
long_description \
This library contains the HTTP/2 framing code used in the hyper project. \
It provides a pure-Python codebase that is capable of decoding a binary \
stream into HTTP/2 frames. \
This library is used directly by hyper and a number of other projects to \
provide HTTP/2 frame decoding logic.
homepage https://python-hyper.org/hyperframe
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 0c7914243dead0a0fcd40fe06642f25f02979f83 \
sha256 a9f5c17f2cc3c719b917c4f33ed1c61bd1f8dfac4b1bd23b7c80b3400971b41f \
size 19115
python.versions 27 35 36 37 38 39
if {${name} ne ${subport}} {
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst CONTRIBUTORS.rst \
HISTORY.rst LICENSE ${destroot}${docdir}
}
depends_test-append \
port:py${python.version}-pytest
test.run yes
test.cmd py.test-${python.branch}
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
}