# -*- 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
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 ce6bb7cc294678bb74859ce6fbb79d20c709287a \
sha256 2c7255fcda31b696b5501f28e68bd4db3c99ba5e73990a720c71f096f0a5f2e1 \
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}