From owner-freebsd-perl@FreeBSD.ORG Thu Feb 28 03:23:14 2008 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4137B106566C for ; Thu, 28 Feb 2008 03:23:14 +0000 (UTC) (envelope-from leeym@leeym.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id E89078FC15 for ; Thu, 28 Feb 2008 03:23:13 +0000 (UTC) (envelope-from leeym@leeym.com) Received: by an-out-0708.google.com with SMTP id c14so773226anc.13 for ; Wed, 27 Feb 2008 19:23:13 -0800 (PST) Received: by 10.100.137.11 with SMTP id k11mr14035381and.73.1204168993060; Wed, 27 Feb 2008 19:23:13 -0800 (PST) Received: by 10.100.172.11 with HTTP; Wed, 27 Feb 2008 19:23:12 -0800 (PST) Message-ID: <759236930802271923x465b987bta919cada5cd18ae2@mail.gmail.com> Date: Wed, 27 Feb 2008 19:23:12 -0800 From: "Yen-Ming Lee" To: "Lars Balker Rasmussen" In-Reply-To: <20080228020258.GQ13264@tux.nerdheaven.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> Cc: ports@freebsd.org, perl@freebsd.org, Anton Berezin Subject: Re: Port dependencies on p5-Test-* X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 03:23:14 -0000 2008/2/27, Lars Balker Rasmussen : > 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