Files
macports-ports/python/py-pytest-env/Portfile
T

45 lines
1.3 KiB
Tcl
Raw Normal View History

2024-01-31 15:18:34 +01:00
# -*- 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-env
2024-12-02 20:57:34 +01:00
version 1.1.5
2024-01-31 15:18:34 +01:00
revision 0
categories-append devel
platforms {darwin any}
supported_archs noarch
license MIT
maintainers nomaintainer
description pytest plugin to set environment variables
long_description {*}${description} in pytest.ini or pyproject.toml file
homepage https://github.com/pytest-dev/pytest-env
distname [string map {- _} ${python.rootname}]-${version}
2024-12-02 20:57:34 +01:00
checksums rmd160 20bec45ee4d805c18f09155cc276cb924e45a044 \
sha256 91209840aa0e43385073ac464a554ad2947cc2fd663a9debf88d03b01e0cc1cf \
size 8911
2024-01-31 15:18:34 +01:00
python.versions 310 311 312
python.pep517_backend \
hatch
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-hatch-vcs
depends_run-append \
port:py${python.version}-pytest
if {${python.version} < 311} {
depends_run-append \
port:py${python.version}-tomli
}
test.run yes
}