Files
2025-12-02 11:51:38 -05:00

55 lines
1.7 KiB
Tcl
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- 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-virtualenv
version 1.8.0
revision 0
categories-append devel
license MIT
maintainers nomaintainer
platforms {darwin any}
supported_archs noarch
description Python virtual environment for pytest
long_description Create a Python virtual environment in your test \
that cleans up on teardown. The fixture has utility \
methods to install packages and list whats installed.
homepage https://github.com/man-group/pytest-plugins
checksums rmd160 c1fc8be49063ed7db0e8ce58ef90f2273cc537c7 \
sha256 54991039df31b23e82f59da2d08ab3ab809cf6eecf89905bdf2927a41f97e1c5 \
size 18669
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 \
port:py${python.version}-pytest-fixture-config \
port:py${python.version}-pytest-shutil \
port:py${python.version}-virtualenv
depends_test-append \
port:py${python.version}-mock
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.md \
${destroot}${docdir}
}
test.run yes
}