Skip to content

Commit

Permalink
py-pytest-env: new port, version 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Feb 1, 2024
1 parent 7ff5fd6 commit 4a6c997
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions python/py-pytest-env/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# -*- 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
version 1.1.3
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}

checksums rmd160 d92e54bb1b755877683dc41b3a62d9b15ced3f30 \
sha256 fcd7dc23bb71efd3d35632bde1bbe5ee8c8dc4489d6617fb010674880d96216b \
size 8627

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
}

0 comments on commit 4a6c997

Please sign in to comment.