# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-awscli version 1.7.22 revision 1 platforms darwin license Apache-2 maintainers pixilla openmaintainer description Universal Command Line Environment for AWS. long_description ${description} homepage http://aws.amazon.com/cli/ master_sites https://pypi.python.org/packages/source/a/awscli distname awscli-${version} checksums rmd160 6e5c4845a697c3cae545f0df4b99293e6cb28c1d \ sha256 2fb351c22b5f7b2c91a821ffdd1eddf88c9bf26206b18476d126fd17d304ba3e python.versions 27 34 if {${name} ne ${subport}} { PortGroup select 1.0 depends_build-append \ port:py${python.version}-setuptools depends_lib-append \ port:py${python.version}-botocore \ port:py${python.version}-six \ port:py${python.version}-dateutil \ port:py${python.version}-jmespath \ port:py${python.version}-colorama \ port:py${python.version}-bcdoc \ port:py${python.version}-rsa depends_run-append port:awscli_select select.group awscli select.file ${worksrcpath}/${subport} post-extract { copy -force ${filespath}/awscli ${worksrcpath}/${subport} } post-patch { reinplace \ "s,@PYTHON_BRANCH@,${python.branch},g" \ ${worksrcpath}/${subport} } livecheck.type none } else { livecheck.type regex livecheck.url ${master_sites} }