Revision: 145208 https://trac.macports.org/changeset/145208 Author: adfernandes@macports.org Date: 2016-01-28 07:13:09 -0800 (Thu, 28 Jan 2016) Log Message: ----------- sysutils/ansible: update to 2.0.0.2-1, updating dependencies and building docs Modified Paths: -------------- trunk/dports/sysutils/ansible/Portfile Modified: trunk/dports/sysutils/ansible/Portfile =================================================================== --- trunk/dports/sysutils/ansible/Portfile 2016-01-28 14:33:05 UTC (rev 145207) +++ trunk/dports/sysutils/ansible/Portfile 2016-01-28 15:13:09 UTC (rev 145208) @@ -9,7 +9,7 @@ epoch 1 categories sysutils -github.setup ${name} ${name} 1.9.4-1 v +github.setup ${name} ${name} 2.0.0.2-1 v version [string map {- .} ${version}] fetch.type git @@ -29,15 +29,21 @@ platforms darwin supported_archs noarch -python.default_version 27 -depends_lib-append port:py${python.version}-httplib2 \ +python.versions 27 + +depends_lib-append port:py${python.version}-six \ + port:py${python.version}-paramiko \ + port:py${python.version}-httplib2 \ port:py${python.version}-jinja2 \ - port:py${python.version}-paramiko \ - port:py${python.version}-yaml + port:py${python.version}-yaml \ + port:py${python.version}-setuptools \ + port:py${python.version}-crypto +depends_build-append port:asciidoc + post-fetch { # fetch submodules (https://github.com/ansible/ansible/issues/11199) - system -W ${worksrcpath} "git submodule update --init" + system -W "${worksrcpath}" "git submodule update --init" } patch { @@ -49,6 +55,10 @@ } } +post-build { + system -W "${worksrcpath}" "make docs" +} + post-destroot { # Documentation and examples. xinstall -m 644 -W ${worksrcpath} README.md COPYING \
participants (1)
-
adfernandes@macports.org