[MacPorts] #61083: port info --depends repeats lines when more than one port specified

MacPorts noreply at macports.org
Sat Aug 29 05:13:42 UTC 2020


#61083: port info --depends repeats lines when more than one port specified
------------------------+--------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  base        |    Version:  2.6.99
 Keywords:              |       Port:
------------------------+--------------------
 If `port info --depends` is invoked on a single port, the output is fine:

 {{{
 $ port info --depends zlib
 depends_fetch:
 depends_extract: xz
 depends_patch:
 depends_build:
 depends_lib:
 depends_run:
 depends_test:
 }}}

 If info is requested for two ports, the first port's output is fine, but
 the second port's output is printed twice:

 {{{
 $ port info --depends zlib xz
 depends_fetch:
 depends_extract: xz
 depends_patch:
 depends_build:
 depends_lib:
 depends_run:
 depends_test:
 --
 depends_fetch:
 depends_extract: lbzip2
 depends_patch:
 depends_build:
 depends_lib: libiconv, gettext
 depends_run:
 depends_test:
 depends_fetch:
 depends_extract: lbzip2
 depends_patch:
 depends_build:
 depends_lib: libiconv, gettext
 depends_run:
 depends_test:
 }}}

 With three ports, the second port's output is printed twice and the third
 port's output is printed three times:

 {{{
 $ port info --depends zlib xz libiconv
 depends_fetch:
 depends_extract: xz
 depends_patch:
 depends_build:
 depends_lib:
 depends_run:
 depends_test:
 --
 depends_fetch:
 depends_extract: lbzip2
 depends_patch:
 depends_build:
 depends_lib: libiconv, gettext
 depends_run:
 depends_test:
 depends_fetch:
 depends_extract: lbzip2
 depends_patch:
 depends_build:
 depends_lib: libiconv, gettext
 depends_run:
 depends_test:
 --
 depends_fetch:
 depends_extract:
 depends_patch:
 depends_build: gperf
 depends_lib:
 depends_run:
 depends_test:
 depends_fetch:
 depends_extract:
 depends_patch:
 depends_build: gperf
 depends_lib:
 depends_run:
 depends_test:
 depends_fetch:
 depends_extract:
 depends_patch:
 depends_build: gperf
 depends_lib:
 depends_run:
 depends_test:
 }}}

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


More information about the macports-tickets mailing list