-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
64 lines (51 loc) · 2.23 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# -*- 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.11.4
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 05bf155ca6ce2d233ef21ee96cadcac2e8c91d49 \
sha256 73a7240778fabf305aeb05ab8ea26e575e042ab5a18d71d0ed13e343a51d6ce1 \
size 176168
python.versions 38 39 310 311 312
if {${name} ne ${subport}} {
python.pep517 yes
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}-py \
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
}
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}]
"
}