[MacPorts] #58161: portname not treated as exact name in `port echo depends:portname`

MacPorts noreply at macports.org
Mon Mar 4 15:57:19 UTC 2019


#58161: portname not treated as exact name in `port echo depends:portname`
--------------------------+--------------------
 Reporter:  chrstphrchvz  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  base          |    Version:  2.5.4
 Keywords:                |       Port:
--------------------------+--------------------
 Following up from https://github.com/macports/macports-ports/pull/3316:

 Prior to the deletion of `py-dns`, using `port echo depends:py-dns` output
 not only the dependencies of `py-dns` but also those of `py-dnspython`, a
 completely separate port, leading to some confusion. Effectively what
 happened was that `port echo` found the dependencies of any port with a
 name containing `py-dns`, which included `py-dnspython`.

 At a minimum, I believe this behavior is inconsistent with the documented
 usage of `port echo depends:portname` in the guide where `portname` is a
 single port's exact name rather than a pattern of some sort
 (https://guide.macports.org/#using.port.dependents and
 https://guide.macports.org/#using.common-tasks.finddepending).

 Maybe there are other commands that do not treat `portname` as something
 to match exactly, but this is the only one I'm aware of.

-- 
Ticket URL: <https://trac.macports.org/ticket/58161>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list