/
Portfile
41 lines (31 loc) · 1.31 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- 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 5.0.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
checksums rmd160 d8142ff665e73ddc22f1e34fcbfd63e6712d20da \
sha256 5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857 \
size 63042
python.versions 37 38 39 310 311 312
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-toml
depends_lib-append \
port:py${python.version}-coverage \
port:py${python.version}-pytest
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}
}
}