[MacPorts] #43959: upgrade icu and all of its dependents
MacPorts
noreply at macports.org
Mon Jun 9 12:45:08 PDT 2014
#43959: upgrade icu and all of its dependents
-------------------------+--------------------------------
Reporter: mcalhoun@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.0
Resolution: | Keywords: haspatch
Port: icu |
-------------------------+--------------------------------
Comment (by devans@…):
Replying to [comment:3 ryandesign@…]:
> You added a comment in your patchfile:
>
> {{{
> # port echo depends:icu finds dependencies
> }}}
>
> Note first of all that this finds dependents of icu (i.e. those that
have a dependency on icu), not dependencies of icu. Second, note that more
precisely, this finds ports that have dependencies whose names match the
regular expression "icu"; this is more than just those that depend on the
port icu. For example, it would find py-pyicu and gramps (which depend on
py27-pyicu, not icu) and the webkit-gtk ports (which depend on harfbuzz-
icu, not icu). Finally, note that this only finds dependencies declared by
default; it does not find dependencies in non-default variants or that
vary by platform or other conditionals; for example, if you run the
command on Mavericks or later, you'll miss sword, which depends on icu,
but clears its dependencies on Mavericks and later so that it can more
quickly inform the user of the fact that it is not Mavericks-compatible. I
usually just grep the portfiles, which doesn't have these shortcomings.
>
> {{{
> port file all | sort -u | xargs grep -E ':icu( |$)' | cut -d / -f 7 |
sort -u
> }}}
>
> However, this produces slightly different output: where "`port echo
depends:icu`" will print the names of affected subports, this `grep`
pipeline will print the name of the directory the portfile is in.
A example is gramps which has no direct dependency on icu but rather
depends on py2[67]-pyicu. Gramps is pure python and does not need to be
revbumped for this upgrade.
--
Ticket URL: <https://trac.macports.org/ticket/43959#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list