You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
51 lines
1.6 KiB
Tcl
51 lines
1.6 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-cov
|
|
version 7.1.0
|
|
revision 0
|
|
|
|
categories-append devel
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license MIT
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description Pytest plugin for measuring coverage.
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/pytest-dev/pytest-cov
|
|
|
|
distname pytest_cov-${version}
|
|
|
|
checksums rmd160 f09f6619cb198c049e3f4fd34348911cc23786e8 \
|
|
sha256 30674f2b5f6351aa09702a9c8c364f6a01c27aae0c1366ae8016160d1efc56b2 \
|
|
size 55592
|
|
|
|
python.versions 310 311 312 313 314
|
|
python.pep517_backend hatch
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-hatch-fancy-pypi-readme
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-coverage \
|
|
port:py${python.version}-pytest \
|
|
port:py${python.version}-pluggy
|
|
|
|
if {${python.version} < 311} {
|
|
depends_lib-append \
|
|
port:py${python.version}-toml
|
|
}
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE CONTRIBUTING.rst \
|
|
AUTHORS.rst CHANGELOG.rst README.rst ${destroot}${docdir}
|
|
}
|
|
}
|