#34457: Let hdf5-18 maintainer revision bump all its dependents ---------------------------------------------+------------------------------ Reporter: florian@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: hdf5-18, py-h5py, gdal, netcdf | ---------------------------------------------+------------------------------ Comment(by florian@…): Replying to [comment:8 takeshi@…]:
The revision field has dual task. Let it represent the true revision of Portfile and add another filed for the library update. How about forcing port -R when the library version in Portfile (say, library_version) is incremented?
Do you mean this as a feature request to the port command? Say, the Portfile of hdf5-18 has an entry library_version and whenever this is incremented, all dependents will be rebuild as in 'port -R upgrade hdf5-18'? Indeed then the maintainer of the library does not have to bother about revbumping all dependents. Good idea. But this doesn't answer my other question: As a maintainer how do I (1) find out which are the dependents of hdf5-18 and (2) how would I bulk increment the revision number in each of the dependents Portfiles. For (1) it might be tempting to call: {{{ port search --line --depends_lib hdf5-18 }}} but this misses out all depends_lib-append in variants. Unfortunately neither of these constructs work: {{{ port search --line --depends_lib-append hdf5-18 port search --line --depends_lib hdf5-18 +hdf5 }}} -- Ticket URL: <https://trac.macports.org/ticket/34457#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS