I typically do not use either portupgrade nor portmaster for
those wholesale upgrades (the computer can not be on that long)
so have to do it manually.
The procedure is easy at first (py25 >> py26) then
gets tedious
Code:
#cd /var/db/pkg
# ls -lac | hgrep py25-a
but can be done a few per day. (a, b on Monday, c,d, on Tuesday, )
Code:
#cd /usr/ports/devel/py-[something/
#/bin/rm -rf work
#pkg_delete -f /var/db/pkg/py25-[something] && make install && yell
I doubt anyone knows of a speedier more reliable way if one only
can upgrade a few hours at a time. If not, someday someone
may devise one and include it along with the major 2 methods
in UPDATING.
...........
I found quite a few ports which depended upon python which
had to be reinstalled, whose versions were not bumped.
in /python2.5/site-packages/
...
one can pkg_which each subdir THEN the
remaining files with the wildcard "pkg_which * " (below)
.........
reinstalling as necc;
,.,,,,
in site-packages/ (once the subdir's have been cleaned out
) one can do the same for files within the subdir
/python2.5/site-packages# pkg_which *
may show something like
...................
?
?
gnome-menus
?
tel
?
libproxy
?
...................
so you would have a few rebuilds only remaining.
...
thereupon one can /bin/rm -rf site-packages (python2.5)
if no rebuilds remain within it.