Add p5-Data-Page-Pageset 1.02

Pages number can be very high, and it is not comfortable to show user from
the first page to the last page list. Sometimes we need split the page list
into some sets to shorten the page list, the form is like:

 1-6 7-12 13 14 15 16 17 18 19-24 25-30 31-36 37-41

the first two part indicats the two pagesets, and in current pageset, we
provide the normal page list from the first one to the last one, and provide
the rest pagesets to indicate the pages scope.

In this module, you can specify the pages_per_set or max_pagesets for fine
showing.
This commit is contained in:
markd 2016-08-24 23:59:05 +00:00
parent 444e612448
commit 32e98e1913
3 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,12 @@
Pages number can be very high, and it is not comfortable to show user from
the first page to the last page list. Sometimes we need split the page list
into some sets to shorten the page list, the form is like:
1-6 7-12 13 14 15 16 17 18 19-24 25-30 31-36 37-41
the first two part indicats the two pagesets, and in current pageset, we
provide the normal page list from the first one to the last one, and provide
the rest pagesets to indicate the pages scope.
In this module, you can specify the pages_per_set or max_pagesets for fine
showing.

View file

@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.1 2016/08/24 23:59:05 markd Exp $
DISTNAME= Data-Page-Pageset-1.02
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/C/CH/CHUNZI/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Data-Page-Pageset
COMMENT= Change long page list to be shorter and well navigate
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Class-Accessor-[0-9]*:../../devel/p5-Class-Accessor
DEPENDS+= p5-Data-Page>=2:../../devel/p5-Data-Page
PERL5_PACKLIST= auto/Data/Page/Pageset/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2016/08/24 23:59:05 markd Exp $
SHA1 (Data-Page-Pageset-1.02.tar.gz) = d62c1b1fd5d9e6656617cbeb84b03dc0b0b26403
RMD160 (Data-Page-Pageset-1.02.tar.gz) = e695d90bbc613c2f69febf73c91d44fc2e0f8211
SHA512 (Data-Page-Pageset-1.02.tar.gz) = d6676511e6b9cb0c110d6f535120e04f110e53a18bf9ce65e6f346d616d9020cea6f7d9514e264fee0220ef100a1bce2e863d276fbaaa113ba8f920cf5bd2610
Size (Data-Page-Pageset-1.02.tar.gz) = 4220 bytes