Files
2021-04-10 17:10:08 -04:00

36 lines
1.1 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-priority
version 1.3.0
platforms darwin
license MIT
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
description A pure Python implementation of the HTTP/2 priority tree
long_description {*}${description}
homepage https://pypi.org/project/priority/
checksums rmd160 65e0bab05dd5452489c266f7405dcf4ce5801ed2 \
sha256 6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe \
size 13827
python.versions 38 39
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_test-append port:py${python.version}-pytest
test.run yes
test.dir ${build.dir}/test
test.cmd py.test-${python.branch} test_priority.py
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
}