Date: Thu, 14 Aug 2003 20:32:51 +1000 (EST) From: Andrew McNaughton <andrew@scoop.co.nz> To: FreeBSD-gnats-submit@FreeBSD.org Cc: andrew@scoop.co.nz Subject: ports/55574: New port: p5-Algorithm-Numerical-Shuffle.shar Message-ID: <200308141032.h7EAWp1l068407@weka.zoo.tapsentertainment.com> Resent-Message-ID: <200308141040.h7EAeKSv030616@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 55574 >Category: ports >Synopsis: New port: p5-Algorithm-Numerical-Shuffle.shar >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: Thu Aug 14 03:40:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Andrew McNaughton >Release: FreeBSD 4.8-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD weka.tapsentertainment.com 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #1: Mon Aug 11 23:02:55 EST 2003 andrew@weka.tapsentertainment.com:/usr/obj/usr/src/sys/weka i386 >Description: Algorithm::Numerical::Shuffle ============================= Shuffle is a perl module which performs a one pass, fair shuffle on a list. If the list is passed as a reference to an array, the shuffle is done in situ. The running time of the algorithm is linear in the size of the list. For an in situ shuffle, the memory overhead is constant; otherwise, linear extra memory is used. The algorithm used is discussed by Knuth [3]. It was first published by Fisher and Yates [2], and later by Durstenfeld [1]. >How-To-Repeat: >Fix: # 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-Algorithm-Numerical-Shuffle # p5-Algorithm-Numerical-Shuffle/Makefile # p5-Algorithm-Numerical-Shuffle/distinfo # p5-Algorithm-Numerical-Shuffle/pkg-plist # p5-Algorithm-Numerical-Shuffle/pkg-descr # echo c - p5-Algorithm-Numerical-Shuffle mkdir -p p5-Algorithm-Numerical-Shuffle > /dev/null 2>&1 echo x - p5-Algorithm-Numerical-Shuffle/Makefile sed 's/^X//' >p5-Algorithm-Numerical-Shuffle/Makefile << 'END-of-p5-Algorithm-Numerical-Shuffle/Makefile' X# New ports collection makefile for: p5-Algorithm-Numerical-Shuffle X# Date created: 14 August 2003 X# Whom: andrew@scoop.co.nz X# X# $FreeBSD: $ X# X XPORTNAME= Algorithm-Numerical-Shuffle XPORTVERSION= 1.4 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= ../by-authors/id/A/AB/ABIGAIL XPKGNAMEPREFIX= p5- XDISTNAME= Shuffle-${PORTVERSION} XEXTRACT_SUFX= .tgz X XMAINTAINER= andrew@scoop.co.nz XCOMMENT= Shuffle a list X XPERL_CONFIGURE= yes X XMAN3= Algorithm::Numerical::Shuffle.3 X X.include <bsd.port.mk> END-of-p5-Algorithm-Numerical-Shuffle/Makefile echo x - p5-Algorithm-Numerical-Shuffle/distinfo sed 's/^X//' >p5-Algorithm-Numerical-Shuffle/distinfo << 'END-of-p5-Algorithm-Numerical-Shuffle/distinfo' XMD5 (Shuffle-1.4.tgz) = 199d2adad2d4b40291a7d1bf53285279 END-of-p5-Algorithm-Numerical-Shuffle/distinfo echo x - p5-Algorithm-Numerical-Shuffle/pkg-plist sed 's/^X//' >p5-Algorithm-Numerical-Shuffle/pkg-plist << 'END-of-p5-Algorithm-Numerical-Shuffle/pkg-plist' X%%SITE_PERL%%/Algorithm/Numerical/Shuffle.pm END-of-p5-Algorithm-Numerical-Shuffle/pkg-plist echo x - p5-Algorithm-Numerical-Shuffle/pkg-descr sed 's/^X//' >p5-Algorithm-Numerical-Shuffle/pkg-descr << 'END-of-p5-Algorithm-Numerical-Shuffle/pkg-descr' XAlgorithm::Numerical::Shuffle X============================= X XShuffle is a perl module which performs a one pass, fair shuffle on a Xlist. If the list is passed as a reference to an array, the shuffle Xis done in situ. X XThe running time of the algorithm is linear in the size of the list. XFor an in situ shuffle, the memory overhead is constant; otherwise, Xlinear extra memory is used. X XThe algorithm used is discussed by Knuth [3]. It was first published Xby Fisher and Yates [2], and later by Durstenfeld [1]. END-of-p5-Algorithm-Numerical-Shuffle/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308141032.h7EAWp1l068407>