Date: Wed, 27 Feb 2008 19:23:12 -0800 From: "Yen-Ming Lee" <leeym@leeym.com> To: "Lars Balker Rasmussen" <lars@balker.dk> Cc: ports@freebsd.org, perl@freebsd.org Subject: Re: Port dependencies on p5-Test-* Message-ID: <759236930802271923x465b987bta919cada5cd18ae2@mail.gmail.com> In-Reply-To: <20080228020258.GQ13264@tux.nerdheaven.dk> References: <759236930802242324o614598d1i1a8ca3cc8c12478c@mail.gmail.com> <759236930802250245j646f5be5k8382bedbfb2a7c1e@mail.gmail.com> <868x19i6ky.fsf@ds4.des.no> <759236930802251702h694c4f5bn2c7c87c7c47c7cc@mail.gmail.com> <86zltnsxap.fsf@ds4.des.no> <759236930802261046h216da59fv2bfdd616f601c325@mail.gmail.com> <86ablmr94j.fsf@ds4.des.no> <759236930802270859y2d5014ccvc01caa3b043ff429@mail.gmail.com> <759236930802271259o5bc025d5s5117987ab54e2c77@mail.gmail.com> <20080228020258.GQ13264@tux.nerdheaven.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/2/27, Lars Balker Rasmussen <lars@balker.dk>: > There's nothing easy about it, but it's not a CATASTROPHE to put too much > in PERL_DEPENDS. And it's quite simple: Jifty is buggy, since it doesn't > put Test-modules in build_requires rather than requires, so do what you can > to send patches upstream - I've landed myself a Catalyst commit-bit, because > I've complained about the form of their modules too many times. > > When there are a few build_requires (instead of none), the developers tend > to begin thinking about where modules are needed, and the situation will > improve over time. > > As for Test-modules in Jifty - Jifty includes its own test-modules, so it > can't be fully installed without them. Okay. I do vote for PERL_DEPENDS family which help us to skip the dual-life modules, but just want to mention that we may expect some port maintainers follow the lazy module authors and put everything in PERL_DEPENDS. In that case we will still get Test::* or other modules-needed-for-tests-only in runtime dependency, and build a lot of ports we don't need. Remember the subject of this thread -- "Port dependencies on p5-Test-*". For Jifty, the following ones are used for tests only, and should be in PERL_TEST_DEPENDS. I'm not sure if the list is correct/complete or not, just give you some ideas that it might be hard to find out the dependency for tests only. p5-libwww p5-ExtUtils-Command p5-Test-Base p5-Test-MockModule p5-Test-MockObject p5-Module-CoreList [if PERL_LEVEL < 500902] And, p5-Test-HTTP-Server-Simple and p5-Test-WWW-Mechanize are needed for Jifty::Test, its own test module(s), so I think we should keep them in PERL_DEPENDS. I'd talked to much, and now it's time to back to code. Thanks and regards, -- Yen-Ming Lee <leeym@leeym.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?759236930802271923x465b987bta919cada5cd18ae2>