Files
macports-ports/python/py-tox/Portfile
T
2025-05-04 16:55:53 -05:00

66 lines
2.3 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
PortGroup select 1.0
name py-tox
version 4.25.0
revision 0
categories-append devel
maintainers {gmail.com:pedro.salgado @steenzout} openmaintainer
supported_archs noarch
platforms {darwin any}
license MIT
description tox: virtualenv-based automation of test activities
long_description Tox as is a generic virtualenv management and test command line tool
homepage https://tox.readthedocs.io/en/latest/
checksums rmd160 2a229fe6026b8ab1b4cb580a6f7a690763b97871 \
sha256 dd67f030317b80722cf52b246ff42aafd3ed27ddf331c415612d084304cf5e52 \
size 196255
python.versions 39 310 311 312 313
if {${name} ne ${subport}} {
python.pep517_backend \
hatch
depends_build-append \
port:py${python.version}-hatch-vcs
depends_lib-append \
port:py${python.version}-cachetools \
port:py${python.version}-chardet \
port:py${python.version}-colorama \
port:py${python.version}-filelock \
port:py${python.version}-packaging \
port:py${python.version}-platformdirs \
port:py${python.version}-pluggy \
port:py${python.version}-pyproject_api \
port:py${python.version}-setuptools \
port:py${python.version}-six \
port:py${python.version}-toml \
port:py${python.version}-virtualenv \
port:tox_select
if {${python.version} < 311} {
depends_lib-append \
port:py${python.version}-tomli \
port:py${python.version}-typing_extensions
}
select.group tox
select.file ${filespath}/tox${python.version}
notes "
To make the Python ${python.branch} version of tox the one that is run\
when you execute the commands without a version suffix, e.g. 'tox', run:
port select --set ${select.group} [file tail ${select.file}]
"
}