1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

Adding port databases/p5-Iterator-DBI, An iterator for returning DBI query results.

Committed by:	aaron
Approved by:	tobez (implicit)
This commit is contained in:
Aaron Dalton 2006-02-18 21:55:07 +00:00
parent 3bb02f4273
commit f0798c9693
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156327
5 changed files with 54 additions and 0 deletions

View File

@ -235,6 +235,7 @@
SUBDIR += p5-GDBM
SUBDIR += p5-GraphViz-DBI
SUBDIR += p5-Ima-DBI
SUBDIR += p5-Iterator-DBI
SUBDIR += p5-Jifty-DBI
SUBDIR += p5-MLDBM
SUBDIR += p5-MLDBM-Sync

View File

@ -0,0 +1,30 @@
# New ports collection makefile for: Iterator-DBI
# Date created: 18 Feb 2006
# Whom: Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Iterator-DBI
PORTVERSION= 0.02
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Iterator
PKGNAMEPREFIX= p5-
MAINTAINER= aaron@FreeBSD.org
COMMENT= An iterator for returning DBI query results
BUILD_DEPENDS= ${SITE_PERL}/Iterator.pm:${PORTSDIR}/devel/p5-Iterator
MAN3= Iterator::DBI.3
PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires at least Perl5.8 due to dependencies
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Iterator-DBI-0.02.tar.gz) = 2901bb0b52cb52d48a71b1cf42f8a2aa
SHA256 (Iterator-DBI-0.02.tar.gz) = 1dc59488d3b3117787bff1ae8b81227dbb6d92a0efcb35877912f9289b012f1b
SIZE (Iterator-DBI-0.02.tar.gz) = 7699

View File

@ -0,0 +1,15 @@
his module contains a function to return an iterator (see the Iterator
module) that returns the rows of a database query, one at a time.
This is marginally more useful than simply calling prepare and execute,
and then repeatedly calling fetchrow_hashref; since this one function
bundles up the calls to all three of those DBI methods.
But the real usefulness of this interface is that it can be chained
together with other Iterator functions. The "idb_rows" iterator has the
same interface as any other interface, making it interchangeable with
iterators of any other source (for example, files), and usable with the
iterator manipulation functions in the Iterator::Util module.
WWW: http://search.cpan.org/dist/Iterator-DBI
Author: Eric J. Roode <roode@cpan.org>

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/Iterator/DBI.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Iterator/DBI/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Iterator/DBI
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Iterator
@dirrmtry %%SITE_PERL%%/Iterator