ports/90230: New port: databases/p5-DBIx-Simple - Another|Simplified object oriented interface to Perl DBI

parv at pair.com parv at pair.com
Sun Dec 11 10:20:06 UTC 2005


>Number:         90230
>Category:       ports
>Synopsis:       New port: databases/p5-DBIx-Simple - Another|Simplified object oriented interface to Perl DBI
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 11 10:20:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Parv
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD holestein.holy.cow 5.4-STABLE FreeBSD 5.4-STABLE #10: Sun Nov 27 21:50:44 EST 2005 root at holestein.holy.cow:/work/obj/misc/src-5/sys/BOVINE-T42 i386

>Description:

DBIx::Simple module aims to be a simplified object oriented interface
to Perl DBI.  From its description ...

  Query preparation and execution are combined in a single method, the
  result object (which is a wrapper around the statement handle)
  provides easy row-by-row and slurping methods.

  The "query" method returns either a result object, or a dummy
  object.  The dummy object returns undef (or an empty list) for all
  methods and when used in boolean context, is false. The dummy object
  lets you postpone (or skip) error checking, but it also makes
  immediate error check simply " $db->query(...) or die $db->error".

This port depends on devel/p5-Data-Swap for which I have submitted a
PR few moments ago.

>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-DBIx-Simple
#	p5-DBIx-Simple/Makefile
#	p5-DBIx-Simple/pkg-descr
#	p5-DBIx-Simple/pkg-plist
#	p5-DBIx-Simple/distinfo
#
echo c - p5-DBIx-Simple
mkdir -p p5-DBIx-Simple > /dev/null 2>&1
echo x - p5-DBIx-Simple/Makefile
sed 's/^X//' >p5-DBIx-Simple/Makefile << 'END-of-p5-DBIx-Simple/Makefile'
X# New ports collection makefile for:	DBIx::Simple
X# Date created:				10 December 2005
X# Whom:					Parv <parv at pair.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	DBIx-Simple
XPORTVERSION=	1.26
XCATEGORIES=	databases perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	DBIx
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	parv at pair.com
XCOMMENT=	Simplified object oriented interface to Perl DBI
X
XRUN_DEPENDS=	p5-DBI>=1.21:${PORTSDIR}/databases/p5-DBI \
X		p5-Data-Swap>=0.02:${PORTSDIR}/devel/p5-Data-Swap
X
X.if defined(WITH_SQL_ABSTRACT)
XRUN_DEPENDS+=	p5-SQL-Abstract>=0:${PORTSDIR}/databases/p5-SQL-Abstract
X.endif
X
X.if defined(WITH_DBIX_XHTML_TABLE)
XRUN_DEPENDS+=	p5-DBIx-XHTML_Table>=0:${PORTSDIR}/databases/p5-DBIx-XHTML_Table
X.endif
X
X.if defined(WITH_TEXT_TABLE)
XRUN_DEPENDS+=	p5-Text-Table>=0:${PORTSDIR}/textproc/p5-Text-Table
X.endif
X
XPERL_CONFIGURE=	yes
X
XMAN3=	DBIx::Simple.3 \
X	DBIx::Simple::Examples.3 \
X	DBIx::Simple::Comparison.3 \
X	DBIx::Simple::SQE.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE=		need at least Perl 5.6; install lang/perl or lang/perl5.8
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-DBIx-Simple/Makefile
echo x - p5-DBIx-Simple/pkg-descr
sed 's/^X//' >p5-DBIx-Simple/pkg-descr << 'END-of-p5-DBIx-Simple/pkg-descr'
XDBIx::Simple module aims to be a simplified object oriented interface to Perl
XDBI.  From its description ...
X
X  Query preparation and execution are combined in a single method, the result
X  object (which is a wrapper around the statement handle) provides easy
X  row-by-row and slurping methods.
X
X  The "query" method returns either a result object, or a dummy object.  The
X  dummy object returns undef (or an empty list) for all methods and when used in
X  boolean context, is false. The dummy object lets you postpone (or skip) error
X  checking, but it also makes immediate error check simply " $db->query(...) or
X  die $db->error".
X
XWWW: http://search.cpan.org/dist/DBIx-Simple/
END-of-p5-DBIx-Simple/pkg-descr
echo x - p5-DBIx-Simple/pkg-plist
sed 's/^X//' >p5-DBIx-Simple/pkg-plist << 'END-of-p5-DBIx-Simple/pkg-plist'
X%%SITE_PERL%%/DBIx/Simple.pm
X%%SITE_PERL%%/DBIx/Simple/Comparison.pod
X%%SITE_PERL%%/DBIx/Simple/Examples.pod
X%%SITE_PERL%%/DBIx/Simple/SQE.pm
X at unexec rmdir %D/%%SITE_PERL%%/DBIx/Simple
X at unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true
END-of-p5-DBIx-Simple/pkg-plist
echo x - p5-DBIx-Simple/distinfo
sed 's/^X//' >p5-DBIx-Simple/distinfo << 'END-of-p5-DBIx-Simple/distinfo'
XMD5 (DBIx-Simple-1.26.tar.gz) = 47e4a2780fb27139e4b8d2c13c28ba13
XSHA256 (DBIx-Simple-1.26.tar.gz) = cf69682d844b313fbe68c003704d102c22df995367033a6da4e11ef5789af63c
XSIZE (DBIx-Simple-1.26.tar.gz) = 15869
END-of-p5-DBIx-Simple/distinfo
exit

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



More information about the freebsd-ports-bugs mailing list