ports/150528: New port: devel/p5-Hash-AutoHash Object-oriented access to real and tied hashes

Frederic Culot frederic at culot.org
Mon Sep 13 12:50:01 UTC 2010


>Number:         150528
>Category:       ports
>Synopsis:       New port: devel/p5-Hash-AutoHash Object-oriented access to real and tied hashes
>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:   Mon Sep 13 12:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Frederic Culot
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD 0xd0.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
This is yet another module that lets you access or change the elements
of a hash using methods with the same name as the element's key.  It
follows in the footsteps of Hash::AsObject, Hash::Inflator,
Data::OpenStruct::Deep, Object::AutoAccessor, and probably others. The
main difference between this module and its forebears is that it
supports tied hashes, in addition to regular hashes. This allows a
modular division of labor: this class is generic and treats all hashes
the same; any special semantics come from the tied hash.

WWW: http://search.cpan.org/dist/Hash-AutoHash/
>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-Hash-AutoHash
#	p5-Hash-AutoHash/pkg-plist
#	p5-Hash-AutoHash/distinfo
#	p5-Hash-AutoHash/Makefile
#	p5-Hash-AutoHash/pkg-descr
#
echo c - p5-Hash-AutoHash
mkdir -p p5-Hash-AutoHash > /dev/null 2>&1
echo x - p5-Hash-AutoHash/pkg-plist
sed 's/^X//' >p5-Hash-AutoHash/pkg-plist << '46a93b3eebd665260ad909c296a5ef85'
X%%SITE_PERL%%/Hash/AutoHash.pm
X at dirrmtry %%SITE_PERL%%/Hash
46a93b3eebd665260ad909c296a5ef85
echo x - p5-Hash-AutoHash/distinfo
sed 's/^X//' >p5-Hash-AutoHash/distinfo << '4fbfc7c9b74a07836d713b40de9347f0'
XMD5 (Hash-AutoHash-1.12.tar.gz) = a203fd797f4479bf5e52ca8847f7771d
XSHA256 (Hash-AutoHash-1.12.tar.gz) = 7ca24f4cd3ea6e6cb62fadd7709fa0bc56713acbdd68a66aedbc5c39c6067203
XSIZE (Hash-AutoHash-1.12.tar.gz) = 51234
4fbfc7c9b74a07836d713b40de9347f0
echo x - p5-Hash-AutoHash/Makefile
sed 's/^X//' >p5-Hash-AutoHash/Makefile << 'ae1cf0185ae1bbaace810c73296f28cd'
X# New ports collection makefile for:	p5-Hash-AutoHash
X# Date created:				2010-09-13
X# Whom:					Frederic Culot <frederic at culot.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Hash-AutoHash
XPORTVERSION=	1.12
XCATEGORIES=	devel perl5
XMASTER_SITES=	CPAN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	frederic at culot.org
XCOMMENT=	Object-oriented access to real and tied hashes
X
XBUILD_DEPENDS=	p5-Tie-Hash-MultiValue>0:${PORTSDIR}/devel/p5-Tie-Hash-MultiValue
XRUN_DEPENDS=	${BUILD_DEPENDS}
XRUN_DEPENDS+	p5-List-MoreUtils>=0.09:${PORTSDIR}/lang/p5-List-MoreUtils \
X		p5-Tie-ToObject>0:${PORTSDIR}/devel/p5-Tie-ToObject
XTEST_DEPENDS=	p5-Test-Deep>0:${PORTSDIR}/devel/p5-Test-Deep
X
XPERL_MODBUILD=	5.8.3+
X
XMAN3=		Hash::AutoHash.3
X
X.include <bsd.port.mk>
ae1cf0185ae1bbaace810c73296f28cd
echo x - p5-Hash-AutoHash/pkg-descr
sed 's/^X//' >p5-Hash-AutoHash/pkg-descr << '815c01b19108e2e2abc087dd9d1a9f4d'
XThis is yet another module that lets you access or change the elements
Xof a hash using methods with the same name as the element's key.  It
Xfollows in the footsteps of Hash::AsObject, Hash::Inflator,
XData::OpenStruct::Deep, Object::AutoAccessor, and probably others. The
Xmain difference between this module and its forebears is that it
Xsupports tied hashes, in addition to regular hashes. This allows a
Xmodular division of labor: this class is generic and treats all hashes
Xthe same; any special semantics come from the tied hash.
X
XWWW: http://search.cpan.org/dist/Hash-AutoHash/
815c01b19108e2e2abc087dd9d1a9f4d
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list