This mostly already exists: it’s currently only for packages that are installed.

port echo requested
port setrequested …

Presently, to get your between-installs behavior, you’d dump the output of echo 
requested to a file then read it back in. Hilariously, our Migration page (!!! 
this is something that should go away !!!) breaks even this! There’s the tiny 
after-the-fact note you notice once you’ve lost all the information that “oh, I 
could have done requested instead of everything".

On Mar 18, 2014, at 23:11, Kevin Reid <[email protected]> wrote:

> One of the things that would make even a manual rebuild much more convenient 
> is if MacPorts allowed a port to be “requested” even if it is not installed. 
> (I think I recall that the Debian package manager works in a way like this.)
> 
> Then the upgrade process would be closer to
> 
>   uninstall *
>   install requested
> 
> This would also be useful in cases like this where a port is broken (can't be 
> fetched/built/installed); I would like to be able to have a port 
> requested-but-not-installed as a reminder to install it when it is no longer 
> broken. OS upgrades are one of the ways ports end up broken, too.
> 
> (If this feature were to exist, it should also remember what variants were 
> requested; I don't know whether the requested-state information currently 
> includes this but I would assume not.)

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to