# -*- 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
github.setup python-hyper hpack 3.0.0 v
maintainers {petr @petrrr} openmaintainer
description Pure-Python HPACK header compression
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 is available.
homepage https://python-hyper.org/hpack/
# Need this as I switched from pypi to github for files required by tests
dist_subdir ${name}/${version}_1
checksums rmd160 b9a96210a7713ad5dfbbabf78118cc2ba8d05a44 \
sha256 184bb68e6a4c421cef59c96e6ef788ea7dac86127cf2a0af51d096a5477417c4 \
python.versions 27 35 36 37 38
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
port:py${python.version}-pytest \
port:py${python.version}-hypothesis
test.cmd py.test-${python.branch}
test.env PYTHONPATH=${worksrcpath}/build/lib
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
HISTORY.rst CONTRIBUTORS.rst ${destroot}${docdir}