You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
a0692b4a51
In preparation for changing the default.
37 lines
1.2 KiB
Tcl
37 lines
1.2 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 github 1.0
|
|
PortGroup python 1.0
|
|
|
|
github.setup pytest-dev pytest-timeout 2.3.1
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 0
|
|
name py-${github.project}
|
|
|
|
checksums rmd160 a6621617829993406c4fec395a228a5a276b0cdf \
|
|
sha256 fb5d247616358687090aed4e54139b0d7166cd1c796b68708e843ed29a0f98c9 \
|
|
size 16837
|
|
|
|
license MIT
|
|
maintainers nomaintainer
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
|
|
description py.test plugin to abort hanging tests
|
|
long_description {*}${description}
|
|
|
|
python.versions 38 39 310 311 312 313
|
|
|
|
if {${name} ne ${subport}} {
|
|
test.run yes
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib \
|
|
PYTEST_PLUGINS=pytest_timeout
|
|
|
|
pre-test {
|
|
# See https://docs.pytest.org/en/stable/pythonpath.html
|
|
delete ${test.dir}/${test.target}/__init__.py
|
|
}
|
|
}
|