diff options
author | Aaron Dalton <aaron@FreeBSD.org> | 2006-02-18 21:55:07 +0000 |
---|---|---|
committer | Aaron Dalton <aaron@FreeBSD.org> | 2006-02-18 21:55:07 +0000 |
commit | f0798c969392a75533d74954c16abd300020368a (patch) | |
tree | 44af7d314c15d6d0a0a4ffd96bdf682a3c98ff9d /databases/p5-Iterator-DBI | |
parent | 3bb02f4273d5d70b1416a8b7f4e73cb4b08194fc (diff) |
Adding port databases/p5-Iterator-DBI, An iterator for returning DBI query results.
Committed by: aaron
Approved by: tobez (implicit)
Notes
Notes:
svn path=/head/; revision=156327
Diffstat (limited to 'databases/p5-Iterator-DBI')
-rw-r--r-- | databases/p5-Iterator-DBI/Makefile | 30 | ||||
-rw-r--r-- | databases/p5-Iterator-DBI/distinfo | 3 | ||||
-rw-r--r-- | databases/p5-Iterator-DBI/pkg-descr | 15 | ||||
-rw-r--r-- | databases/p5-Iterator-DBI/pkg-plist | 5 |
4 files changed, 53 insertions, 0 deletions
diff --git a/databases/p5-Iterator-DBI/Makefile b/databases/p5-Iterator-DBI/Makefile new file mode 100644 index 000000000000..5149520cfeff --- /dev/null +++ b/databases/p5-Iterator-DBI/Makefile @@ -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> diff --git a/databases/p5-Iterator-DBI/distinfo b/databases/p5-Iterator-DBI/distinfo new file mode 100644 index 000000000000..6e54d01f093f --- /dev/null +++ b/databases/p5-Iterator-DBI/distinfo @@ -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 diff --git a/databases/p5-Iterator-DBI/pkg-descr b/databases/p5-Iterator-DBI/pkg-descr new file mode 100644 index 000000000000..7f5dec6cb5b0 --- /dev/null +++ b/databases/p5-Iterator-DBI/pkg-descr @@ -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> diff --git a/databases/p5-Iterator-DBI/pkg-plist b/databases/p5-Iterator-DBI/pkg-plist new file mode 100644 index 000000000000..79750c141529 --- /dev/null +++ b/databases/p5-Iterator-DBI/pkg-plist @@ -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 |