r8569 - in /trunk/liblingua-es-numeros-perl: Changes MANIFEST META.yml Makefile.PL Numeros.pm README debian/changelog lib/ t/ test.pl

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Thu Oct 25 16:55:22 UTC 2007


Author: gregoa-guest
Date: Thu Oct 25 16:55:21 2007
New Revision: 8569

URL: http://svn.debian.org/wsvn/?sc=1&rev=8569
Log:
New upstream release.

Added:
    trunk/liblingua-es-numeros-perl/META.yml
      - copied unchanged from r8568, branches/upstream/liblingua-es-numeros-perl/current/META.yml
    trunk/liblingua-es-numeros-perl/lib/
      - copied from r8568, branches/upstream/liblingua-es-numeros-perl/current/lib/
    trunk/liblingua-es-numeros-perl/t/
      - copied from r8568, branches/upstream/liblingua-es-numeros-perl/current/t/
Removed:
    trunk/liblingua-es-numeros-perl/Numeros.pm
    trunk/liblingua-es-numeros-perl/test.pl
Modified:
    trunk/liblingua-es-numeros-perl/Changes
    trunk/liblingua-es-numeros-perl/MANIFEST
    trunk/liblingua-es-numeros-perl/Makefile.PL
    trunk/liblingua-es-numeros-perl/README
    trunk/liblingua-es-numeros-perl/debian/changelog

Modified: trunk/liblingua-es-numeros-perl/Changes
URL: http://svn.debian.org/wsvn/trunk/liblingua-es-numeros-perl/Changes?rev=8569&op=diff
==============================================================================
--- trunk/liblingua-es-numeros-perl/Changes (original)
+++ trunk/liblingua-es-numeros-perl/Changes Thu Oct 25 16:55:21 2007
@@ -1,5 +1,6 @@
 Revision history for Perl extension Lingua::ES::Numeros.
 
-0.01  Sun Sep 16 10:51:55 2001
-	- original version; created by h2xs 1.19
+0.01  Tue Oct 23 15:49:18 2007
+	- original version; created by h2xs 1.23 with options
+		-AX --skip-exporter --use-new-tests -n Lingua::ES::Numeros
 

Modified: trunk/liblingua-es-numeros-perl/MANIFEST
URL: http://svn.debian.org/wsvn/trunk/liblingua-es-numeros-perl/MANIFEST?rev=8569&op=diff
==============================================================================
--- trunk/liblingua-es-numeros-perl/MANIFEST (original)
+++ trunk/liblingua-es-numeros-perl/MANIFEST Thu Oct 25 16:55:21 2007
@@ -1,6 +1,12 @@
 Changes
+lib/Lingua/ES/Numeros.pm
+Makefile.PL
 MANIFEST
-Makefile.PL
-Numeros.pm
 README
-test.pl
+t/CardinalsTest.pm
+t/OrdinalsTest.pm
+t/t01_init.t
+t/t02_cardinals.t
+t/t03_fractions.t
+t/t04_ordinals.t
+META.yml                                 Module meta-data (added by MakeMaker)

Modified: trunk/liblingua-es-numeros-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/liblingua-es-numeros-perl/Makefile.PL?rev=8569&op=diff
==============================================================================
--- trunk/liblingua-es-numeros-perl/Makefile.PL (original)
+++ trunk/liblingua-es-numeros-perl/Makefile.PL Thu Oct 25 16:55:21 2007
@@ -1,13 +1,12 @@
+use 5.006000;
 use ExtUtils::MakeMaker;
-BEGIN { require 5.0 }
-
+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
+# the contents of the Makefile that is written.
 WriteMakefile(
-	'NAME'		=> 'Lingua::ES::Numeros',
-	'VERSION_FROM'	=> "Numeros.pm",
-	'ABSTRACT'	=> 'Convierte números cardinales en texto castellano',
-	'AUTHOR'	=> 'Jose Rey (jrey at mercared.com)',
-        'INSTALLVENDORMAN3DIR' => '/usr/share/man/es/man3',
-	'PM'		=> {
-		'Numeros.pm' => '${INST_LIBDIR}/Numeros.pm'
-		}
+    NAME              => 'Lingua::ES::Numeros',
+    VERSION_FROM      => 'lib/Lingua/ES/Numeros.pm', # finds $VERSION
+    PREREQ_PM         => {}, # e.g., Module::Name => 1.1
+    ($] >= 5.006 ?     ## Add these new keywords supported since 5.005
+      (ABSTRACT_FROM  => 'lib/Lingua/ES/Numeros.pm', # retrieve abstract from module
+       AUTHOR         => 'opr <opr@>') : ()),
 );

Modified: trunk/liblingua-es-numeros-perl/README
URL: http://svn.debian.org/wsvn/trunk/liblingua-es-numeros-perl/README?rev=8569&op=diff
==============================================================================
--- trunk/liblingua-es-numeros-perl/README (original)
+++ trunk/liblingua-es-numeros-perl/README Thu Oct 25 16:55:21 2007
@@ -1,8 +1,46 @@
-Este es el módulo Lingua::ES::Numeros, que convierte números a su
-representación textual en castellano.
+Lingua-ES-Numeros version 0.02
+==============================
 
-Este módulo esta siendo probado y probablemente contiene errores, las
-correcciones son bienvenidas.
+NAME
+    Lingua::ES::Numeros - Translates numbers to spanish text
 
-José Luis Rey Barreira
-jrey at linuxsis.net
+SYNOPSIS
+       use Lingua::ES::Numeros
+
+       $obj = new Lingua::ES::Numeros ('MAYUSCULAS' => 1)
+       print $obj->Cardinal(124856), "\n";
+       print $obj->Real(124856.531), "\n";
+       $obj->{GENERO} = 'a';
+       print $obj->Ordinal(124856), "\n";
+
+DESCRIPTION
+    Lingua::ES::Numeros converts arbitrary numbers into human-oriented
+    Spanish text.
+
+    This module supports the translation of cardinal, ordinal and, real
+    numbers, the module handles integer numbers up to vigintillions (that's
+    1e120), since Perl does not handle such numbers natively, numbers are
+    kept as text strings because processing does not justify using bigint.
+
+
+INSTALLATION
+
+To install this module type the following:
+
+   perl Makefile.PL
+   make
+   make test
+   make install
+
+DEPENDENCIES
+
+This module requires Perl 5.6 and Carp
+
+COPYRIGHT AND LICENCE
+
+Copyright (C) 2001-2007 by Jose Rey
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself, either Perl version 5.6 or,
+at your option, any later version of Perl 5 you may have available.
+

Modified: trunk/liblingua-es-numeros-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/liblingua-es-numeros-perl/debian/changelog?rev=8569&op=diff
==============================================================================
--- trunk/liblingua-es-numeros-perl/debian/changelog (original)
+++ trunk/liblingua-es-numeros-perl/debian/changelog Thu Oct 25 16:55:21 2007
@@ -1,3 +1,9 @@
+liblingua-es-numeros-perl (0.05-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Thu, 25 Oct 2007 18:54:47 +0200
+
 liblingua-es-numeros-perl (0.01-4) UNRELEASED; urgency=low
 
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser




More information about the Pkg-perl-cvs-commits mailing list