From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 18 18:10:03 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A4BE16A400 for ; Sun, 18 Feb 2007 18:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7528F13C4A7 for ; Sun, 18 Feb 2007 18:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1IIA3o9052357 for ; Sun, 18 Feb 2007 18:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1IIA3hg052356; Sun, 18 Feb 2007 18:10:03 GMT (envelope-from gnats) Resent-Date: Sun, 18 Feb 2007 18:10:03 GMT Resent-Message-Id: <200702181810.l1IIA3hg052356@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, chinsan Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B31816A400 for ; Sun, 18 Feb 2007 18:06:37 +0000 (UTC) (envelope-from chinsan@chinsan.twbbs.org) Received: from chinsan.twbbs.org (220-132-119-51.HINET-IP.hinet.net [220.132.119.51]) by mx1.freebsd.org (Postfix) with ESMTP id BFD2B13C461 for ; Sun, 18 Feb 2007 18:06:36 +0000 (UTC) (envelope-from chinsan@chinsan.twbbs.org) Received: by chinsan.twbbs.org (Postfix, from userid 1001) id 0209311461; Mon, 19 Feb 2007 02:06:47 +0800 (CST) Message-Id: <20070218180647.0209311461@chinsan.twbbs.org> Date: Mon, 19 Feb 2007 02:06:46 +0800 (CST) From: chinsan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/109293: [NEW PORT] misc/p5-List-Rotation-Cycle: Cycle through a list of values X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2007 18:10:03 -0000 >Number: 109293 >Category: ports >Synopsis: [NEW PORT] misc/p5-List-Rotation-Cycle: Cycle through a list of values >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 18 18:10:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: chinsan >Release: FreeBSD 6.2-STABLE i386 >Organization: Taiwan >Environment: System: FreeBSD chinsan.twbbs.org 6.2-STABLE FreeBSD 6.2-STABLE #6: Mon Feb 5 23:22:25 CST >Description: Use List::Rotation::Cycle to loop through a list of values. Once you get to the end of the list, you go back to the beginning. List::Rotation::Cycle is implemented as a Singleton Pattern. You always just get 1 (the very same) Cycle object even if you use the new method several times. This is done by using Memoize on the new method. It returns the same object for every use of new that comes with the same List of parameters. WWW: http://search.cpan.org/dist/List-Rotation-Cycle/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-List-Rotation-Cycle-1.004.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-List-Rotation-Cycle # p5-List-Rotation-Cycle/Makefile # p5-List-Rotation-Cycle/distinfo # p5-List-Rotation-Cycle/pkg-descr # p5-List-Rotation-Cycle/pkg-plist # echo c - p5-List-Rotation-Cycle mkdir -p p5-List-Rotation-Cycle > /dev/null 2>&1 echo x - p5-List-Rotation-Cycle/Makefile sed 's/^X//' >p5-List-Rotation-Cycle/Makefile << 'END-of-p5-List-Rotation-Cycle/Makefile' X# New ports collection makefile for: p5-List-Rotation-Cycle X# Date created: 2007/02/14 X# Whom: chinsan X# X# $FreeBSD$ X# X XPORTNAME= List-Rotation-Cycle XPORTVERSION= 1.004 XCATEGORIES= misc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= List XPKGNAMEPREFIX= p5- X XMAINTAINER= chinsan@FreeBSD.org XCOMMENT= Cycle through a list of values X XMAN3= List::Rotation::Cycle.3 X XPERL_CONFIGURE= yes X X.include END-of-p5-List-Rotation-Cycle/Makefile echo x - p5-List-Rotation-Cycle/distinfo sed 's/^X//' >p5-List-Rotation-Cycle/distinfo << 'END-of-p5-List-Rotation-Cycle/distinfo' XMD5 (List-Rotation-Cycle-1.004.tar.gz) = fc8cf4f49d6bff0ea819690de72ced11 XSHA256 (List-Rotation-Cycle-1.004.tar.gz) = 4038ca59341998d20ee9fd2388e8d829e1a89aa9df28eac58fd32564a6083f7a XSIZE (List-Rotation-Cycle-1.004.tar.gz) = 2936 END-of-p5-List-Rotation-Cycle/distinfo echo x - p5-List-Rotation-Cycle/pkg-descr sed 's/^X//' >p5-List-Rotation-Cycle/pkg-descr << 'END-of-p5-List-Rotation-Cycle/pkg-descr' XUse List::Rotation::Cycle to loop through a list of values. Once you get to Xthe end of the list, you go back to the beginning. X XList::Rotation::Cycle is implemented as a Singleton Pattern. You always just Xget 1 (the very same) Cycle object even if you use the new method several Xtimes. This is done by using Memoize on the new method. It returns the same Xobject for every use of new that comes with the same List of parameters. X XWWW: http://search.cpan.org/dist/List-Rotation-Cycle/ END-of-p5-List-Rotation-Cycle/pkg-descr echo x - p5-List-Rotation-Cycle/pkg-plist sed 's/^X//' >p5-List-Rotation-Cycle/pkg-plist << 'END-of-p5-List-Rotation-Cycle/pkg-plist' X%%SITE_PERL%%/%%PERL_ARCH%%/auto/List/Rotation/Cycle/.packlist X%%SITE_PERL%%/List/Rotation/Cycle.pm X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/List/Rotation/Cycle X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/List/Rotation X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/List X@dirrmtry %%SITE_PERL%%/List/Rotation X@dirrmtry %%SITE_PERL%%/List END-of-p5-List-Rotation-Cycle/pkg-plist exit --- p5-List-Rotation-Cycle-1.004.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: