On Sat, Dec 15, 2018 at 10:37:30AM +0100, Sebastien Marie wrote: > Hi, > > The latest update of lang/rust (1.31) has stabilized clippy (linter) and > rustfmt (code formatter) and there are included in the rustc tarball > (there are strongly linked to rustc internals). > > The diff below enable the compilation of them (it added 20min build > time on my test - amd64 / 4 cores), and package them as subpackages. > > While here, I also packaged rust-gdb as a subpackage, in order to have > devel/gdb as RDEP only for it when installed. Currently, rust-lldb isn't > packaged as testsuite told me it doesn't work. It could be revisited > later. > > REVISION bumped on -main, as rust-gdb script moved to another > subpackage.
Looks good with one minor nit: > =================================================================== > RCS file: pkg/PLIST-clippy > diff -N pkg/PLIST-clippy > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ pkg/PLIST-clippy 15 Dec 2018 09:23:03 -0000 > @@ -0,0 +1,7 @@ > +@comment $OpenBSD: PLIST-clippy,v$ > +@bin bin/cargo-clippy > +@bin bin/clip${MODPY_PY_PREFIX}driver ^^^^^^^^^^^^^^^^^^ Not sure your want that :)