Files
2021-01-24 21:36:13 -08:00

60 lines
1.9 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.7.0
revision 0
categories-append devel
license MIT
maintainers nomaintainer
platforms darwin
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 cb64069d33b247d2a7c67abc5a14dc1f6e4f1b71 \
sha256 2270ee8822111ec25db48e9d9f2efec32e68483a015b14cd0d92aeccc6ff820f \
size 15767
python.versions 37 38
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
test.cmd py.test-${python.branch}
test.target tests
test.env PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
}