pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Sort-Naturally Import p5-Sort-Naturally-1.03 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df0ec4414a4e
branches:  trunk
changeset: 610792:df0ec4414a4e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Nov 07 10:13:15 2012 +0000

description:
Import p5-Sort-Naturally-1.03 as devel/p5-Sort-Naturally.

This module exports two functions, nsort and ncmp; they are used
in implementing my idea of a "natural sorting" algorithm. Under
natural sorting, numeric substrings are compared numerically, and
other word-characters are compared lexically.

diffstat:

 devel/p5-Sort-Naturally/DESCR    |   4 ++++
 devel/p5-Sort-Naturally/Makefile |  16 ++++++++++++++++
 devel/p5-Sort-Naturally/distinfo |   5 +++++
 3 files changed, 25 insertions(+), 0 deletions(-)

diffs (37 lines):

diff -r 80fc4e62399c -r df0ec4414a4e devel/p5-Sort-Naturally/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Sort-Naturally/DESCR     Wed Nov 07 10:13:15 2012 +0000
@@ -0,0 +1,4 @@
+This module exports two functions, nsort and ncmp; they are used
+in implementing my idea of a "natural sorting" algorithm. Under
+natural sorting, numeric substrings are compared numerically, and
+other word-characters are compared lexically.
diff -r 80fc4e62399c -r df0ec4414a4e devel/p5-Sort-Naturally/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Sort-Naturally/Makefile  Wed Nov 07 10:13:15 2012 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2012/11/07 10:13:15 wiz Exp $
+
+DISTNAME=              Sort-Naturally-1.03
+PKGNAME=               p5-${DISTNAME}
+CATEGORIES=            devel perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Sort/}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://search.cpan.org/dist/Sort-Naturally/
+COMMENT=               Perl5 module for sorting numerical parts numerically, rest lexically
+
+USE_LANGUAGES=         # empty
+PERL5_PACKLIST=                auto/Sort/Naturally/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 80fc4e62399c -r df0ec4414a4e devel/p5-Sort-Naturally/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Sort-Naturally/distinfo  Wed Nov 07 10:13:15 2012 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/11/07 10:13:15 wiz Exp $
+
+SHA1 (Sort-Naturally-1.03.tar.gz) = 5eaa967aecf438300c3d68788f74b6a686cc6914
+RMD160 (Sort-Naturally-1.03.tar.gz) = f2d05d9b4809e0ddc7a152c95cf5e9dc89554a8c
+Size (Sort-Naturally-1.03.tar.gz) = 11150 bytes



Home | Main Index | Thread Index | Old Index