mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
52 lines
1.5 KiB
Tcl
52 lines
1.5 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-fixture-config
|
||
version 1.8.0
|
||
revision 0
|
||
categories-append devel
|
||
|
||
license MIT
|
||
maintainers nomaintainer
|
||
platforms {darwin any}
|
||
supported_archs noarch
|
||
|
||
description Fixture configuration utils for py.test
|
||
|
||
long_description Simple configuration objects for Py.test \
|
||
fixtures. Allows you to skip tests when their \
|
||
required config variables aren’t set.
|
||
|
||
homepage https://github.com/manahl/pytest-plugins
|
||
|
||
checksums rmd160 1e38f99da7432a21cc9b6d6d63df43fe5cb1ebf0 \
|
||
sha256 c739895fe20851bdba53f246d0599aa389bc1a1cba48db2ecac0130576dc1b0e \
|
||
size 9975
|
||
|
||
python.versions 310 311 312 313
|
||
|
||
if {${name} ne ${subport}} {
|
||
depends_build-append \
|
||
port:py${python.version}-setuptools-git
|
||
|
||
depends_lib-append \
|
||
port:py${python.version}-setuptools
|
||
|
||
depends_run-append \
|
||
port:py${python.version}-pytest
|
||
|
||
depends_test-append \
|
||
port:py${python.version}-six
|
||
|
||
post-destroot {
|
||
set docdir ${prefix}/share/doc/${subport}
|
||
xinstall -d ${destroot}${docdir}
|
||
xinstall -m 0644 -W ${worksrcpath} README.md \
|
||
${destroot}${docdir}
|
||
}
|
||
|
||
test.run yes
|
||
}
|