[MacPorts] #55485: Update ansible dependency

MacPorts noreply at macports.org
Mon Dec 11 00:20:04 UTC 2017


#55485: Update ansible dependency
---------------------------+-----------------
  Reporter:  emiel         |      Owner:
      Type:  enhancement   |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  ansible-lint  |
---------------------------+-----------------

Comment (by ryandesign):

 You don't want to use `bin:ansible:py-ansible` because that would allow an
 `ansible` binary not installed by MacPorts to satisfy the dependency. To
 allow the binary to have been installed by one of several MacPorts ports,
 but not by something outside of MacPorts, use a `path:`-style dependency
 instead.

 Also, it tells MacPorts that if `ansible` does not exist, it should
 install py-ansible, and that py-ansible will provide the `ansible` binary.
 But that's false; in fact, one of the subports, such as py27-ansible,
 provides the binary.

 So it would be better to write `path:bin/ansible:py27-ansible`.

--
Ticket URL: <https://trac.macports.org/ticket/55485#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list