xbps: some implemented features for 0.4

0 views
Skip to first unread message

Juan RP

unread,
Jan 13, 2010, 8:36:38 PM1/13/10
to xb...@googlegroups.com
Hi,

I've just implemented the blueprint 'install-pkg-by-pkgmatch'
as specified in:

https://blueprints.launchpad.net/xbps/+spec/install-pkg-by-pkgmatch

That means that you can now do the following (please note that these
are some basic examples, the pkgmatch code is able to do a lot more!):

$ xbps-bin install 'bash>=4.0<4.1'
$ xbps-bin install coreutils-5.1
$ xbps-bin install 'kernel==2.6.32.[45]'

Don't forget that you have to quote the pattern, otherwise the shell
will think it's a redirection or a shell expression!

Some time ago I also implemented support to be able to specify multiple
package arguments to the xbps-bin(8) and xbps-repo(8) commands, as
specified in:

https://blueprints.launchpad.net/xbps/+spec/arbitrary-pkgname-args

That means that with these two blueprints implemented you can mix
both features like:

$ xbps-bin install bash 'coreutils>=5.0' 'kernel>=2.6.32.1<2.6.32.4'

This code will appear in the next 0.4 version, it's planned to
be released in 2 weeks approximately.

Enjoy.

Reply all
Reply to author
Forward
0 new messages