pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/p5-Lingua-EN-Number-IsOrdinal Adding package ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6c704f4e1a65
branches: trunk
changeset: 620995:6c704f4e1a65
user: sno <sno%pkgsrc.org@localhost>
date: Wed Jul 03 16:11:42 2013 +0000
description:
Adding package for CPAN distribution Lingua-EN-Number-IsOrdinal version
0.04 into textproc/p5-Lingua-EN-Number-IsOrdinal.
This module will tell you if a number, either in words or as digits, is a
cardinal or ordinal number.
This is useful if you e.g. want to distinguish these types of numbers found
with Lingua::EN::FindNumber and take different actions.
diffstat:
textproc/p5-Lingua-EN-Number-IsOrdinal/DESCR | 5 ++++
textproc/p5-Lingua-EN-Number-IsOrdinal/Makefile | 27 +++++++++++++++++++++++++
textproc/p5-Lingua-EN-Number-IsOrdinal/distinfo | 5 ++++
3 files changed, 37 insertions(+), 0 deletions(-)
diffs (49 lines):
diff -r 04a36b75d339 -r 6c704f4e1a65 textproc/p5-Lingua-EN-Number-IsOrdinal/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Lingua-EN-Number-IsOrdinal/DESCR Wed Jul 03 16:11:42 2013 +0000
@@ -0,0 +1,5 @@
+This module will tell you if a number, either in words or as digits, is a
+cardinal or ordinal number.
+
+This is useful if you e.g. want to distinguish these types of numbers found
+with Lingua::EN::FindNumber and take different actions.
diff -r 04a36b75d339 -r 6c704f4e1a65 textproc/p5-Lingua-EN-Number-IsOrdinal/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Lingua-EN-Number-IsOrdinal/Makefile Wed Jul 03 16:11:42 2013 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2013/07/03 16:11:42 sno Exp $
+
+DISTNAME= Lingua-EN-Number-IsOrdinal-0.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Lingua/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://search.cpan.org/dist/Lingua-EN-Number-IsOrdinal/
+COMMENT= Perl module to detect if English number is ordinal or cardinal
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-Lingua-EN-FindNumber-[0-9]*:../../textproc/p5-Lingua-EN-FindNumber
+
+BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
+BUILD_DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_LANGUAGES= # empty
+
+PERL5_PACKLIST= auto/Lingua/EN/Number/IsOrdinal/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
+
+# TODO: also package Lingua-DE-Sentence, Lingua-HE-Sentence
diff -r 04a36b75d339 -r 6c704f4e1a65 textproc/p5-Lingua-EN-Number-IsOrdinal/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Lingua-EN-Number-IsOrdinal/distinfo Wed Jul 03 16:11:42 2013 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/03 16:11:42 sno Exp $
+
+SHA1 (Lingua-EN-Number-IsOrdinal-0.04.tar.gz) = 4824e31cd634cf39dfb45e5e2b380fc7524a30f9
+RMD160 (Lingua-EN-Number-IsOrdinal-0.04.tar.gz) = ee36dc06fa5bba05978ad6e270c28f0c67293010
+Size (Lingua-EN-Number-IsOrdinal-0.04.tar.gz) = 11367 bytes
Home |
Main Index |
Thread Index |
Old Index