Files
2026-03-25 18:17:19 +01:00

47 lines
1.4 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-pytest-metadata
version 3.1.1
revision 0
platforms {darwin any}
supported_archs noarch
categories-append devel
license MPL-2
maintainers nomaintainer
description Plugin for accessing test session metadata
long_description pytest-metadata is a plugin for pytest that\
provides access to test session metadata.
homepage https://github.com/pytest-dev/pytest-metadata
distname pytest_metadata-${version}
checksums rmd160 4398820f4b1fc76c529243963fa67921ad97c4b6 \
sha256 d2a29b0355fbc03f168aa96d41ff88b1a3b44a3b02acbe491801c98a048017c8 \
size 9952
python.versions 310 311 312 313 314
python.pep517_backend hatch
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-hatch-vcs
depends_run-append \
port:py${python.version}-pytest
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
${destroot}${docdir}
}
test.run yes
}