On Mon, Jan 28, 2019 at 11:08:32PM +0000, Olivier Cherrier wrote: > Hi Andrew, > > On Sun, Jan 27, 2019 at 08:24:59PM -0700, and...@afresh1.com wrote: > > On Sun, Dec 09, 2018 at 01:57:58PM +0000, Olivier Cherrier wrote: > > > Following https://marc.info/?l=openbsd-ports&m=146753658609587&w=2, > > > here is a port for p5-Rex. > > > > I see an empty share/examples/p5-Rex directory in the PLIST but don't > > see anything in the distribution that seems like it should live there, > > and I'm not actually sure what's creating it. Probably it should be > > @comment'ed out. > > Here is a small update … with an example included :) > > > It looks like it needs a TEST_DEPENDS on devel/p5-Test-Deep as well as a > > new port (attached) of p5-Test-UseAllModules to pass tests. > > Thanks ! > I added them. It is still failing for me because I have Hash::Merge in > version 0.300: > ---8<--- > # Failed test 'use Rex::CMDB::YAML;' > # at /usr/local/libdata/perl5/site_perl/Test/UseAllModules.pm line 71. > # Tried to use 'Rex::CMDB::YAML'. > # Error: Can't locate Clone/Choose.pm in @INC …… > ---8<--- > > It comes from: > $ grep Choose /usr/local/libdata/perl5/site_perl/Hash/Merge.pm > use Clone::Choose 0.008; > $ > > With Clone::Choose installed, it ends up successfully. > This new port is attached
This needs some TEST_DEPENDS for `make test` to pass, but with that OK afresh1@ TEST_DEPENDS = devel/p5-Test-Without-Module \ devel/p5-Clone-PP \ devel/p5-Clone > and an update of Hash::Merge as well. This also could use a TEST_DEPENDS=devel/p5-Clone-PP to make all the tests pass. With that and Clone::Choose, the reverse depends don't seem to have any fallout so this too is OK afresh1@ after Clone::Choose goes in. Thanks! I'll look at Rex again, but if sthen fixed it I'm sure it's OK