Files

104 lines
4.7 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
name salt
version 3007.3
revision 0
categories-prepend sysutils
platforms {darwin any}
supported_archs noarch
license Apache-2
maintainers {gmail.com:jeremy.mcmillan @aphor} openmaintainer
description Salt is a Python-based remote execution, automation, \
configuration, and orchestration engine.
long_description SaltStack is fast, scalable and flexible software for data \
center automation, from infrastructure and any cloud, \
to the entire application stack.
homepage https://saltstack.com/
checksums rmd160 1d6f2c89e0f214e15509ebba3fe8f30aaec8f15d \
sha256 36f80214e7c35d70f79909768b873adbd578bf9194c2f23a0d0dc7abb3ca297a \
size 19481245
python.default_version 310
depends_lib-append port:py${python.version}-cherrypy \
port:py${python.version}-importlib-metadata \
port:py${python.version}-cryptography \
port:py${python.version}-contextvars \
port:py${python.version}-distro \
port:py${python.version}-gnupg \
port:py${python.version}-jinja2 \
port:py${python.version}-jmespath \
port:py${python.version}-msgpack \
port:py${python.version}-markupsafe \
port:py${python.version}-requests \
port:py${python.version}-psutil \
port:py${python.version}-packaging \
port:py${python.version}-looseversion \
port:py${python.version}-tornado \
port:py${python.version}-aiohttp \
port:py${python.version}-urllib3 \
port:py${python.version}-jaraco.text \
port:py${python.version}-jaraco.functools \
port:py${python.version}-croniter \
port:py${python.version}-setproctitle \
port:py${python.version}-timelib \
port:py${python.version}-openssl \
port:py${python.version}-dateutil \
port:py${python.version}-pycryptodomex \
port:py${python.version}-yaml \
port:py${python.version}-zmq
##destroot.cmd-append --with-salt-version=${version}
##
##patchfiles patch-macports_syspaths.diff
##
##post-patch {
## reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.cfg
## reinplace "s|msgpack-python==.*|msgpack >= 1.0.0|" ${worksrcpath}/pkg/osx/req.txt
## reinplace "s|backports.ssl_match_hostname==.*||" ${worksrcpath}/pkg/osx/req.txt
## reinplace "s|ipaddress==.*||" ${worksrcpath}/pkg/osx/req.txt
## reinplace "s|timelib==.*||" ${worksrcpath}/pkg/osx/req.txt
## reinplace "s|linode-python==.*||" ${worksrcpath}/pkg/osx/req.txt
## reinplace "s|vultr==.*||" ${worksrcpath}/pkg/osx/req.txt
## reinplace "s|==| >= |" ${worksrcpath}/pkg/osx/req.txt
## reinplace "s|==| >= |" ${worksrcpath}/pkg/osx/req_ext.txt
## reinplace "s|pyobjc==.*||" ${worksrcpath}/pkg/osx/req_pyobjc.txt
## reinplace "s|==| >= |" ${worksrcpath}/pkg/osx/req_pyobjc.txt
##}
##
##pre-test {
## copy ${worksrcpath}/conf ${worksrcpath}/test
## file mkdir ${worksrcpath}/test/cache
## reinplace -E "s|^#?cachedir:.*$|cachedir: ${worksrcpath}/test/cache|" \
## ${worksrcpath}/test/minion
##}
##
##test.run yes
##test.env PYTHONPATH=${worksrcpath}/build/lib
##test.dir ${worksrcpath}/build
##test.cmd ${python.bin} scripts-${python.branch}/salt-call
##test.target test.versions_information
##test.args --log-file=${worksrcpath}/build/minion.log \
## --config-dir=${worksrcpath}/test \
## --hard-crash \
## --local \
## --id=local
##
##startupitem.create yes
##startupitem.netchange yes
##startupitem.logevents yes
##set daemons {minion master syndic api}
##foreach daemon ${daemons} {
## startupitems-append \
## name ${name}-${daemon} \
## logfile ${prefix}/var/log/${name}/${daemon} \
## executable "${prefix}/bin/${name}-${daemon} --config-dir=${prefix}/etc/${name} --pid-file=${prefix}/var/run/${name}-${daemon}.pid"
##}