Changeset 139408


Ignore:
Timestamp:
Aug 16, 2015, 3:54:19 PM (4 years ago)
Author:
adfernandes@…
Message:

ansible: update to 1.9.2, include git submodules, close #48545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/ansible/Portfile

    r139387 r139408  
    44PortSystem      1.0
    55PortGroup       python 1.0
     6PortGroup       github 1.0
    67
    78name            ansible
     9version         1.9.2
    810epoch           1
    9 version         1.9.2
    1011categories      sysutils
    11 supported_archs noarch
    1212
    13 maintainers     blair gmail.com:pedro.salgado
     13github.setup    ${name} ${name} v${version}-${epoch}
     14fetch.type      git
     15
     16maintainers     adfernandes blair gmail.com:pedro.salgado
    1417
    1518homepage        https://github.com/ansible/ansible
     
    2225    be written in any language and are transferred to managed machines \
    2326    automatically.
    24 
    2527license         GPL-3+
    2628
    2729platforms       darwin
    28 
    29 master_sites    http://releases.ansible.com/ansible \
    30                 http://pypi.python.org/packages/source/a/ansible
    31 checksums       rmd160 71f8634c3f6cd7e07538f3813531ce6f087fa29b \
    32                 sha256 c25ef4738b08fdfb3094247c012f3fd1b29972acbd37f988070b2a85f5fbee00
     30supported_archs noarch
    3331
    3432python.default_version  27
     
    3836                        port:py${python.version}-yaml
    3937
     38post-fetch {
     39    # fetch submodules (https://github.com/ansible/ansible/issues/11199)
     40    system -W ${worksrcpath} "git submodule update --init"
     41}
     42
    4043patch {
    4144    fs-traverse f ${worksrcpath} {
    42         if {[file isfile ${f}]} {
     45        if {[file isfile ${f}] && ![regexp {\.(ico|png|eot|ttf|woff)$} ${f} match] && ![regexp {\.git} ${f} match] && ![regexp {v2/test/test.yml} ${f} match]} {
    4346            reinplace "s#/etc/ansible#${prefix}/etc/ansible#g" ${f}
    4447            reinplace "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f}
Note: See TracChangeset for help on using the changeset viewer.