# -*- 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 github 1.0 PortGroup python 1.0 github.setup python-hyper hpack 3.0.0 v name py-hpack revision 1 categories-append net platforms darwin supported_archs noarch license MIT maintainers {petr @petrrr} openmaintainer description Pure-Python HPACK header compression long_description \ 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 \ size 5307313 python.versions 27 35 36 37 38 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools depends_test-append \ port:py${python.version}-pytest \ port:py${python.version}-hypothesis test.run yes test.cmd py.test-${python.branch} test.target test test.env PYTHONPATH=${worksrcpath}/build/lib post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \ HISTORY.rst CONTRIBUTORS.rst ${destroot}${docdir} } livecheck.type none }