pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Data-Page Added devel/p5-Data-Page version 2.00



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ab0c0630423
branches:  trunk
changeset: 544396:8ab0c0630423
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Jul 14 09:24:06 2008 +0000

description:
Added devel/p5-Data-Page version 2.00

When searching through large amounts of data, it is often the case that a
result set is returned that is larger than we want to display on one page. This
results in wanting to page through various pages of data. The maths behind this
is unfortunately fiddly, hence this module.

The main concept is that you pass in the number of total entries, the number of
entries per page, and the current page number. You can then call methods to
find out how many pages of information there are, and what number the first and
last entries on the current page really are.

diffstat:

 devel/p5-Data-Page/DESCR    |   9 +++++++++
 devel/p5-Data-Page/Makefile |  22 ++++++++++++++++++++++
 devel/p5-Data-Page/distinfo |   5 +++++
 3 files changed, 36 insertions(+), 0 deletions(-)

diffs (48 lines):

diff -r 1fcda47c1cfc -r 8ab0c0630423 devel/p5-Data-Page/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Data-Page/DESCR  Mon Jul 14 09:24:06 2008 +0000
@@ -0,0 +1,9 @@
+When searching through large amounts of data, it is often the case that a
+result set is returned that is larger than we want to display on one page. This
+results in wanting to page through various pages of data. The maths behind this
+is unfortunately fiddly, hence this module.
+
+The main concept is that you pass in the number of total entries, the number of
+entries per page, and the current page number. You can then call methods to
+find out how many pages of information there are, and what number the first and
+last entries on the current page really are.
diff -r 1fcda47c1cfc -r 8ab0c0630423 devel/p5-Data-Page/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Data-Page/Makefile       Mon Jul 14 09:24:06 2008 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/14 09:24:06 abs Exp $
+
+DISTNAME=      Data-Page-2.00
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    databases perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Data/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Data-Page/
+COMMENT=       Pager utility for Class::DBI
+
+DEPENDS+=      p5-Class-Accessor-Chained>=0:../../devel/p5-Class-Accessor-Chained
+BUILD_DEPENDS+=        p5-Test-Exception>=0:../../devel/p5-Test-Exception
+
+PERL5_MODULE_TYPE=     Module::Build
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Data/Page/.packlist
+
+PKG_DESTDIR_SUPPORT=    user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1fcda47c1cfc -r 8ab0c0630423 devel/p5-Data-Page/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Data-Page/distinfo       Mon Jul 14 09:24:06 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/14 09:24:06 abs Exp $
+
+SHA1 (Data-Page-2.00.tar.gz) = 729879502eedf01a4d0e92715ea17f74e591b213
+RMD160 (Data-Page-2.00.tar.gz) = 143814733b8efea6c682ce03b0efd28af5034dc3
+Size (Data-Page-2.00.tar.gz) = 6448 bytes



Home | Main Index | Thread Index | Old Index