Now it looks like this:
$ xbps-bin -r ~/blah install initscripts
Finding/sorting required binary packages...
Checking binary package file(s) integrity...
The following new packages will be installed:
xbps-base-files-0.8_1 gcc-libgcc-4.3.3 glibc-locales-2.9
ncurses-base-5.7 glibc-2.9 ncurses-libs-5.7 gawk-3.1.6 grep-2.5.4
coreutils-7.1 sed-4.1.5 ncurses-5.7 kbd-1.15 findutils-4.4.0_1
net-tools-1.60 rcorder-2009.01 minilogd-2009.01 dhcpcd-4.0.12
bash-4.0 procps-3.2.7 udev-140_2 initscripts-2009.03_2
Total download size: 16M
Total installed size: 48M
Do you want to continue? [y/N]
...
--HG--
extra : convert_revision : e32a136ee882160637c1930d998c0f5ae3a6b108
The library is only responsible now to find all binary packages
from repositories, sort them and create a dictionary with all
details. The frontend (xbps-bin) provides support for this,
and this allows for more flexibility and removes some stuff
that didn't belong in the library.
While here implemented support to show total download/installed
size for all packages that are going to be installed.
Next step will be to implement user interactivity before
installing/removing/updating packages.
--HG--
extra : convert_revision : 858e9a89bc6a60b348435f2416a8af3ebb6ea5c9