1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-awscli |
---|
8 | version 1.11.21 |
---|
9 | revision 2 |
---|
10 | platforms darwin |
---|
11 | license Apache-2 |
---|
12 | maintainers pixilla openmaintainer |
---|
13 | |
---|
14 | description Universal Command Line Environment for AWS. |
---|
15 | long_description ${description} |
---|
16 | |
---|
17 | homepage http://aws.amazon.com/cli/ |
---|
18 | master_sites pypi:a/awscli |
---|
19 | distname awscli-${version} |
---|
20 | |
---|
21 | checksums rmd160 bc3bb70ac70c7b157e27563085e062d585fab5e8 \ |
---|
22 | sha256 6eac3a744d49166e11ffb8f225e14669865cc4538e24a9451908b53f962bb61f |
---|
23 | |
---|
24 | python.versions 27 34 |
---|
25 | |
---|
26 | if {${name} ne ${subport}} { |
---|
27 | |
---|
28 | PortGroup select 1.0 |
---|
29 | |
---|
30 | depends_build-append \ |
---|
31 | port:py${python.version}-setuptools |
---|
32 | depends_lib-append \ |
---|
33 | port:py${python.version}-asn1 \ |
---|
34 | port:py${python.version}-bcdoc \ |
---|
35 | port:py${python.version}-botocore \ |
---|
36 | port:py${python.version}-colorama \ |
---|
37 | port:py${python.version}-dateutil \ |
---|
38 | port:py${python.version}-docutils \ |
---|
39 | port:py${python.version}-jmespath \ |
---|
40 | port:py${python.version}-rsa \ |
---|
41 | port:py${python.version}-six |
---|
42 | |
---|
43 | depends_run-append port:awscli_select |
---|
44 | |
---|
45 | select.group awscli |
---|
46 | select.file ${worksrcpath}/${subport} |
---|
47 | |
---|
48 | post-extract { |
---|
49 | copy -force ${filespath}/awscli ${worksrcpath}/${subport} |
---|
50 | } |
---|
51 | |
---|
52 | post-patch { |
---|
53 | reinplace \ |
---|
54 | "s,@PYTHON_BRANCH@,${python.branch},g" \ |
---|
55 | ${worksrcpath}/${subport} |
---|
56 | } |
---|
57 | |
---|
58 | livecheck.type none |
---|
59 | } else { |
---|
60 | livecheck.type pypi |
---|
61 | } |
---|