Files
2021-03-23 12:44:28 -04:00

36 lines
985 B
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 github 1.0
PortGroup python 1.0
github.setup pytest-dev pytest-timeout 1.4.2
revision 0
name py-${github.project}
fetch.type git
platforms darwin
license MIT
maintainers nomaintainer
supported_archs noarch
description py.test plugin to abort hanging tests
long_description {*}${description}
python.versions 37 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.cmd py.test-${python.branch}
test.target test_pytest_timeout.py
test.env PYTHONPATH=${build.dir}/build/lib
livecheck.type none
}