[138572] trunk/dports/python/py-awscli
pixilla at macports.org
pixilla at macports.org
Sun Jul 12 13:53:29 PDT 2015
Revision: 138572
https://trac.macports.org/changeset/138572
Author: pixilla at macports.org
Date: 2015-07-12 13:53:29 -0700 (Sun, 12 Jul 2015)
Log Message:
-----------
python/py-awscli: add port select files and revbump.
Modified Paths:
--------------
trunk/dports/python/py-awscli/Portfile
Added Paths:
-----------
trunk/dports/python/py-awscli/files/
trunk/dports/python/py-awscli/files/awscli
Modified: trunk/dports/python/py-awscli/Portfile
===================================================================
--- trunk/dports/python/py-awscli/Portfile 2015-07-12 20:51:29 UTC (rev 138571)
+++ trunk/dports/python/py-awscli/Portfile 2015-07-12 20:53:29 UTC (rev 138572)
@@ -6,6 +6,7 @@
name py-awscli
version 1.7.22
+revision 1
platforms darwin
license Apache-2
maintainers pixilla openmaintainer
@@ -23,6 +24,9 @@
python.versions 27 34
if {${name} ne ${subport}} {
+
+ PortGroup select 1.0
+
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append \
@@ -34,6 +38,21 @@
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, at PYTHON_BRANCH@,${python.branch},g" \
+ ${worksrcpath}/${subport}
+ }
+
livecheck.type none
} else {
livecheck.type regex
Added: trunk/dports/python/py-awscli/files/awscli
===================================================================
--- trunk/dports/python/py-awscli/files/awscli (rev 0)
+++ trunk/dports/python/py-awscli/files/awscli 2015-07-12 20:53:29 UTC (rev 138572)
@@ -0,0 +1,4 @@
+bin/aws- at PYTHON_BRANCH@
+bin/aws.cmd- at PYTHON_BRANCH@
+bin/aws_completer- at PYTHON_BRANCH@
+bin/aws_zsh_completer.sh- at PYTHON_BRANCH@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150712/f75ea69f/attachment.html>
More information about the macports-changes
mailing list