Yes, the option on `opam install` is still there. It differs in that it won't 
list depexts of already installed packages (it resolves the installation first, 
then extracts depexts).

The `--external` option on `opam list` also accepts the same tag arguments, but 
will list everything by tags if none are given:

$ opam install -e ubuntu google-drive-ocamlfuse
libcurl4-gnutls-dev libfuse-dev libsqlite3-dev

$ opam list -e ubuntu google-drive-ocamlfuse   
# Known external dependencies for google-drive-ocamlfuse.0.5.3 on ubuntu
libcurl4-gnutls-dev

$ opam list -e ubuntu --required-by google-drive-ocamlfuse --rec
# Known external dependencies for biniou.1.0.9, camlidl.1.05, camlp4.4.01.0, 
cppo.0.9.4, cryptokit.1.9, cryptokit-sha512.1.6.3, easy-format.1.0.2, 
extlib.1.6.1, extlib-compat.1.6.1, gapi-ocaml.0.2.1, 
google-drive-ocamlfuse.0.5.3, ocamlfind.1.5.1, ocamlfuse.2.7.1-cvs2, 
ocamlnet.3.7.4, ocurl.0.7.1, sqlite3-ocaml.2.0.6, xmlm.1.2.0 and yojson.1.1.8 
on ubuntu
libcurl4-gnutls-dev
libfuse-dev
libsqlite3-dev
zlib1g-dev


Le jeudi 14 août 2014, 16:55:36 Anil Madhavapeddy a écrit :
> On 14 Aug 2014, at 16:51, Louis Gesbert <[email protected]> wrote:
> 
> > We are still improving on handling of dependencies towards system packages, 
> > but in OPAM 1.2 you can get an overview of the documented system 
> > dependecies of a package with:
> >  
> > $ opam list google-drive-ocamlfuse --external
> >  
> >  
> > Or to get it recursively for all (OPAM) dependencies:
> >  
> > $ opam list --required-by google-drive-ocamlfuse --rec --external
> 
> Is there an equivalent of:
> 
> $ opam install -e ubuntu google-drive-ocamlfuse
> libcurl4-gnutls-dev libfuse-dev libsqlite3-dev zlib1g-dev
> 
> In the new `opam list` syntax?  Specifically, filtering by tag and getting 
> the short form output that can be piped into a shell script?
> 
> -anil
> 

_______________________________________________
Platform mailing list
[email protected]
http://lists.ocaml.org/listinfo/platform

Reply via email to