# -*- 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
maintainers {pixilla @pixilla} openmaintainer
description Universal Command Line Environment for AWS.
long_description ${description}
homepage https://aws.amazon.com/cli/
master_sites pypi:a/awscli
distname awscli-${version}
checksums rmd160 ed38043393c1243ff8fad4609e203cf4710a71f6 \
sha256 b1d3e2fd595a8917659a85f5fe94b7d1fddcfd0e1dcb343a1c4a0948741c83d8 \
python.versions 27 35 36 37
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
port:py${python.version}-botocore \
port:py${python.version}-colorama \
port:py${python.version}-docutils \
port:py${python.version}-rsa \
port:py${python.version}-s3transfer \
port:py${python.version}-yaml
depends_run-append port:awscli_select
select.file ${worksrcpath}/${subport}
copy -force ${filespath}/awscli ${worksrcpath}/${subport}
"s,@PYTHON_BRANCH@,${python.branch},g" \
${worksrcpath}/${subport}
set bash_compl_path ${prefix}/etc/bash_completion.d
xinstall -d ${destroot}${bash_compl_path}
xinstall -m 0644 ${worksrcpath}/bin/aws_bash_completer \
${destroot}${bash_compl_path}/aws_bash_completer-${python.branch}
set zsh_compl_path ${prefix}/share/zsh/site-functions
xinstall -d ${destroot}${zsh_compl_path}
xinstall -m 0644 ${worksrcpath}/bin/aws_zsh_completer.sh \
${destroot}${zsh_compl_path}