r17527 - in /trunk/libcalendar-simple-perl: Build.PL COPYING Changes MANIFEST META.yml Makefile.PL README SIGNATURE debian/changelog debian/copyright debian/watch lib/Calendar/Simple.pm t/no_dt.t
roberto at users.alioth.debian.org
roberto at users.alioth.debian.org
Sun Mar 16 01:21:26 UTC 2008
Author: roberto
Date: Sun Mar 16 01:21:25 2008
New Revision: 17527
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17527
Log:
* New upstream version.
* debian/watch: User more sophisticated expression.
* debian/copyright: use dist-based URL.
Removed:
trunk/libcalendar-simple-perl/COPYING
Modified:
trunk/libcalendar-simple-perl/Build.PL
trunk/libcalendar-simple-perl/Changes
trunk/libcalendar-simple-perl/MANIFEST
trunk/libcalendar-simple-perl/META.yml
trunk/libcalendar-simple-perl/Makefile.PL
trunk/libcalendar-simple-perl/README
trunk/libcalendar-simple-perl/SIGNATURE
trunk/libcalendar-simple-perl/debian/changelog
trunk/libcalendar-simple-perl/debian/copyright
trunk/libcalendar-simple-perl/debian/watch
trunk/libcalendar-simple-perl/lib/Calendar/Simple.pm
trunk/libcalendar-simple-perl/t/no_dt.t
Modified: trunk/libcalendar-simple-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/Build.PL?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/Build.PL (original)
+++ trunk/libcalendar-simple-perl/Build.PL Sun Mar 16 01:21:25 2008
@@ -1,15 +1,27 @@
use Module::Build;
my $build = Module::Build->new(
- dist_author => 'Dave Cross <dave at dave.org.uk',
- module_name => 'Calendar::Simple',
- license => 'perl',
- requires => {
- Test::More => 0,
- },
- create_makefile_pl => 'traditional',
- script_files => [ 'bin/pcal' ],
- sign => 1,
- );
+ license => 'perl',
+ dist_version => '1.19',
+ dist_author => 'Dave Cross <dave at mag-sol.com>',
+ module_name => 'Calendar::Simple',
+ requires => {
+ Carp => 0,
+ 'Time::Local' => 0,
+ },
+ recommends => {
+ DateTime => 0,
+ },
+ build_requires => {
+ 'Test::More' => 0,
+ },
+ build_recommends => {
+ 'Test::Pod' => 0,
+ 'Test::Pod::Coverage' => 0,
+ },
+ create_makefile_pl => 'traditional',
+ script_files => [ 'bin/pcal' ],
+ sign => 1,
+);
$build->create_build_script;
Modified: trunk/libcalendar-simple-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/Changes?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/Changes (original)
+++ trunk/libcalendar-simple-perl/Changes Sun Mar 16 01:21:25 2008
@@ -1,123 +1,170 @@
-2005-05-31 18:52 dave
+2008-03-09 dave
- * Build.PL, lib/Calendar/Simple.pm: Fixes to Build.PL.
+ * [r50] Build.PL:
+ Incremented release number.
+ * [r49] Build.PL:
+ Added Licence.
+ Slightly rejigged dependencies.
+
+2008-03-08 dave
+
+ * [r47] MANIFEST:
+ Removed COPYING for MANIFEST.
+ * [r46] COPYING:
+ Remove COPYING.
+ * [r45] t/no_dt.t:
+ Skip 2100 test on 64-bit systems.
+ * [r44] lib/Calendar/Simple.pm:
+ Turn "licence" into a verb so CPANTS will recognise it.
+ * [r43] lib/Calendar/Simple.pm:
+ Require Perl 5.6 (and, hence, use "our" and "warnings").
+ Use svn revision number.
+ Create licence section.
+ * [r42] Build.PL, COPYING, MANIFEST:
+ Make files non-executable.
+ * [r41] Build.PL:
+ Correct dependencies.
+ Change email address to mag-sol.com.
+ Increment version number.
+
+2006-10-18 dave
+
+ * [r40] lib/Calendar/Simple.pm:
+ Fixed undef values in comparisons
+
+2006-10-16 dave
+
+ * [r39] lib/Calendar/Simple.pm:
+ Bump version for release.
+ * [r38] Build.PL:
+ Added pcal to Build.PL.
+
+2006-10-15 dave
+
+ * [r37] MANIFEST, lib/Calendar/Simple.pm:
+ Fixed MANIFEST, bumped version number.
+ * [r36] bin, bin/pcal, lib/Calendar/Simple.pm:
+ Added pcal to the distribution
+ * [r35] lib/Calendar/Simple.pm, t/date_span.t:
+ Added date_span function (and tests)
+
+2006-10-11 dave
+
+ * [r34] lib/Calendar/Simple.pm:
+ Removed excess parentheses
+ * [r33] t/no_dt.t, t/test.t:
+ Slightly improved some tests
+
+2006-09-10
+
+ * [r32] README.xml, lib/Calendar/Simple.pm:
+ Changed copywrite to Magnum Solutions.
+ Updated README to use Build.PL.
+
+2006-09-04
+
+ * [r31] lib/Calendar/Simple.pm:
+ Changed to manual version number
+
+2005-05-31 dave
+
+ * [r30] Build.PL, lib/Calendar/Simple.pm:
+ Fixes to Build.PL.
Small changes to Pod.
-2005-03-01 14:31 dave
+2005-03-01 dave
- * lib/Calendar/Simple.pm: Adding pod coverage tests
+ * [r29] lib/Calendar/Simple.pm:
+ Adding pod coverage tests
+ * [r28] MANIFEST, t/no_dt.t, t/pod_coverage.t, t/test.t:
+ Added pod coverage tests
-2005-03-01 14:23 dave
+2004-12-04 dave
- * MANIFEST, t/no_dt.t, t/pod_coverage.t, t/test.t: Added pod
- coverage tests
+ * [r27] lib/Calendar/Simple.pm:
+ Added 'see also' reference to DateTime
+ * [r26] t/test.t:
+ Don't run 2100 test if DateTime isn't installed
-2004-12-04 11:46 dave
+2004-10-30 dave
- * lib/Calendar/Simple.pm: Added 'see also' reference to DateTime
-
-2004-12-04 11:44 dave
-
- * t/test.t: Don't run 2100 test if DateTime isn't installed
-
-2004-10-30 19:08 dave
-
- * lib/Calendar/Simple.pm: Moved Simple.pm
-
-2004-10-30 19:06 dave
-
- * Build.PL, MANIFEST, Makefile.PL: Removed Makefile.PL (now
- generated by Build.PL)
+ * [r25] lib/Calendar/Simple.pm:
+ Moved Simple.pm
+ * [r24] Build.PL, MANIFEST, Makefile.PL:
+ Removed Makefile.PL (now generated by Build.PL)
Added Build.PL
Updated MANIFEST
-2004-10-23 09:04 dave
+2004-10-23 dave
- * lib/Calendar/Simple.pm, t/no_dt.t, t/pod.t, t/test.t: Improved
- test coverage
+ * [r23] lib/Calendar/Simple.pm, t/no_dt.t, t/pod.t, t/test.t:
+ Improved test coverage
-2004-05-23 09:32 dave
+2004-05-23 dave
- * README, README.xml: Replace README with README.xml
+ * [r22] README, README.xml:
+ Replace README with README.xml
-2004-05-22 19:37 dave
+2004-05-22 dave
- * t/test.t: Added more tests to increase coverage
+ * [r21] t/test.t:
+ Added more tests to increase coverage
-2003-05-14 21:17 dave
+2003-05-14 dave
- * t/pod.t, t/test.t: Added support for DateTime.pm (but only is
- it's installed).
+ * [r20] t/pod.t, t/test.t:
+ Added support for DateTime.pm (but only is it's installed).
Updated POD tests.
+ * [r19] lib/Calendar/Simple.pm:
+ Added support for DateTime.pm (but only is it's installed).
-2003-05-14 21:16 dave
+2003-02-19 dave
- * lib/Calendar/Simple.pm: Added support for DateTime.pm (but only
- is it's installed).
-
-2003-02-19 20:22 dave
-
- * Changes: Removed from CVS
-
-2003-02-19 20:20 dave
-
- * t, t/pod.t, t/test.t: New test files
-
-2003-02-19 20:19 dave
-
- * Makefile.PL: Added Test::More and Test::Pod as prereqs.
-
-2003-02-19 20:19 dave
-
- * MANIFEST: Removed test.pl
+ * [r18] Changes:
+ Removed from CVS
+ * [r17] t, t/pod.t, t/test.t:
+ New test files
+ * [r16] Makefile.PL:
+ Added Test::More and Test::Pod as prereqs.
+ * [r15] MANIFEST:
+ Removed test.pl
Added t/*
-
-2003-02-19 20:18 dave
-
- * test.pl: Moved tests to t/*
-
-2003-02-19 20:17 dave
-
- * lib/Calendar/Simple.pm: Ensure that all week arrays contain
- seven elements - previously the
+ * [r14] test.pl:
+ Moved tests to t/*
+ * [r13] lib/Calendar/Simple.pm:
+ Ensure that all week arrays contain seven elements - previously
+ the
last one ended on the last day of the month.
-2002-07-30 21:46 dave
+2002-07-30 dave
- * Changes, lib/Calendar/Simple.pm: Fixed the stupid error from the
- last fix.
+ * [r12] Changes, lib/Calendar/Simple.pm:
+ Fixed the stupid error from the last fix.
+ * [r11] lib/Calendar/Simple.pm:
+ Fixed undefined value errors
-2002-07-30 19:40 dave
+2002-07-13 dave
- * lib/Calendar/Simple.pm: Fixed undefined value errors
+ * [r10] lib/Calendar/Simple.pm:
+ Doc patches
-2002-07-13 14:07 dave
+2002-07-12 dave
- * lib/Calendar/Simple.pm: Doc patches
+ * [r9] COPYING, MANIFEST:
+ Added COPYING
+ * [r8] lib/Calendar/Simple.pm:
+ Added CVS tags
+ * [r7] lib/Calendar/Simple.pm, test.pl:
+ Added start day option
+ * [r6] Calendar-Simple-0.01.tar, Makefile:
+ Unnecessary Checkin
+ * [r2] Calendar-Simple-0.01.tar, Changes, MANIFEST, Makefile,
+ Makefile.PL, README, lib, lib/Calendar, lib/Calendar/Simple.pm,
+ test.pl:
+ Initial revision
-2002-07-12 18:27 dave
+2002-07-12
- * COPYING, MANIFEST: Added COPYING
+ * [r1] .:
+ New repository initialized by cvs2svn.
-2002-07-12 18:25 dave
-
- * lib/Calendar/Simple.pm: Added CVS tags
-
-2002-07-12 18:23 dave
-
- * lib/Calendar/Simple.pm, test.pl: Added start day option
-
-2002-07-12 18:15 dave
-
- * Calendar-Simple-0.01.tar, Makefile: Unnecessary Checkin
-
-2002-07-12 18:13 dave
-
- * Calendar-Simple-0.01.tar, Changes, MANIFEST, Makefile,
- Makefile.PL, README, lib, lib/Calendar, lib/Calendar/Simple.pm,
- test.pl: Initial revision
-
-2002-07-12 18:13
-
- * branches, tags, .: New repository initialized by cvs2svn.
-
Modified: trunk/libcalendar-simple-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/MANIFEST?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/MANIFEST (original)
+++ trunk/libcalendar-simple-perl/MANIFEST Sun Mar 16 01:21:25 2008
@@ -3,7 +3,6 @@
Build.PL
MANIFEST
README
-COPYING
lib/Calendar/Simple.pm
t/test.t
t/pod.t
Modified: trunk/libcalendar-simple-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/META.yml?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/META.yml (original)
+++ trunk/libcalendar-simple-perl/META.yml Sun Mar 16 01:21:25 2008
@@ -1,19 +1,24 @@
---
name: Calendar-Simple
-version: 1.17
+version: 1.19
author:
- - Dave Cross <dave at dave.org.uk
+ - 'Dave Cross <dave at mag-sol.com>'
abstract: Perl extension to create simple calendars
license: perl
resources:
license: http://dev.perl.org/licenses/
requires:
+ Carp: 0
+ Time::Local: 0
+build_requires:
Test::More: 0
+recommends:
+ DateTime: 0
provides:
Calendar::Simple:
file: lib/Calendar/Simple.pm
- version: 1.17
-generated_by: Module::Build version 0.2805
+ version: 44
+generated_by: Module::Build version 0.2808
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
version: 1.2
Modified: trunk/libcalendar-simple-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/Makefile.PL?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/Makefile.PL (original)
+++ trunk/libcalendar-simple-perl/Makefile.PL Sun Mar 16 01:21:25 2008
@@ -10,7 +10,9 @@
],
'VERSION_FROM' => 'lib/Calendar/Simple.pm',
'PREREQ_PM' => {
- 'Test::More' => 0
+ 'Test::More' => 0,
+ 'Time::Local' => 0,
+ 'Carp' => 0
}
)
;
Modified: trunk/libcalendar-simple-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/README?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/README (original)
+++ trunk/libcalendar-simple-perl/README Sun Mar 16 01:21:25 2008
@@ -14,11 +14,14 @@
To install this module type the following:
- perl Makefile.PL
- make
- make test
- make install
+ perl Build.PL
+ ./Build
+ ./Build test
+ ./Build install
+
+ Note: The older "perl Makefile.PL; make; make test; make install"
+ sequence will also work.
DEPENDENCIES
@@ -29,5 +32,5 @@
This script is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
- Copyright (C) 2002 Dave Cross, All rights reserved.
+ Copyright (C) 2002-2006 Magnum Solutions Ltd., All rights reserved.
Modified: trunk/libcalendar-simple-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/SIGNATURE?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/SIGNATURE (original)
+++ trunk/libcalendar-simple-perl/SIGNATURE Sun Mar 16 01:21:25 2008
@@ -14,24 +14,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 fb6f00625da3d095d7f472f2df36472246cc09dd Build.PL
-SHA1 7834569ee0baaefd28e5fd5114a52b6979d99f4d COPYING
-SHA1 5e33adb8b5d3b29035933dd270472bdfc21941a4 Changes
-SHA1 9169c821c4fcc79145aada7db19e7d338633c46c MANIFEST
-SHA1 93b4fa97c385489648b0cb5d6a2f87afe9bd2ee0 META.yml
-SHA1 b87531062e37d28e67b2c1c54a95b24562d425f4 Makefile.PL
-SHA1 f468a58e1b445d4ff9c8f7a6abfadfee2dc8e927 README
+SHA1 591e63b84b3e9c797d1b309a8f30e9f1900160b2 Build.PL
+SHA1 d36fe009be52c99f9fb6fad9bfaed38bdf8c27ee Changes
+SHA1 b31b69c19e0a447cfeed058ba1b2b398ad24c9dd MANIFEST
+SHA1 116bb3b5f56a19dc61c12afc7a5d56bb28fa8efe META.yml
+SHA1 c628f337300dcd8d815b0f33d15ad8ab5768475c Makefile.PL
+SHA1 173a7ec8f3a53ea802489542c6f314af4464c24b README
SHA1 2fc32b2fff88c61137dcbf3eea02819738918b8b bin/pcal
-SHA1 6bed100845fd69eb0db44ff384bd057602f96354 lib/Calendar/Simple.pm
+SHA1 477f35b60c32575dba3fa8a4fe0a02a64f3c47cf lib/Calendar/Simple.pm
SHA1 9d015a8aebc858d94f5721fc9fad66ac25ea940d t/date_span.t
-SHA1 879d86c37895757c937e2aff6b9d57ded967dc75 t/no_dt.t
+SHA1 e2075b99f21d75838b7e22c64c2b2f65058cd5ab t/no_dt.t
SHA1 e9c6a5881fc60173fbc8d479c1afd2ce3b43bef1 t/pod.t
SHA1 de1b8a6f043bb49463103b0fc02a65276f790a68 t/pod_coverage.t
SHA1 fd8a8e826e923cd76701f927193a915a71cdfb58 t/test.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFFM+DfhlYrNpFq+8ERAoGpAKCa1ZF9M7noK31q+xzwMyVY/IEojwCcD9pn
-j+zzg60mq/SFnRLlLKVvdW8=
-=TOif
+iD8DBQFH07GyhlYrNpFq+8ERAli0AKCOWaQWwaPU9jSD6Ub6MelKpxmKnwCbBxng
+34pZpoH+mJChQh9ByVvdGTA=
+=SSY7
-----END PGP SIGNATURE-----
Modified: trunk/libcalendar-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/debian/changelog?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/debian/changelog (original)
+++ trunk/libcalendar-simple-perl/debian/changelog Sun Mar 16 01:21:25 2008
@@ -1,11 +1,17 @@
-libcalendar-simple-perl (1.17-3) UNRELEASED; urgency=low
+libcalendar-simple-perl (1.19-1) unstable; urgency=low
+ [ Roberto C. Sanchez ]
+ * New upstream version.
+ * debian/watch: User more sophisticated expression.
+ * debian/copyright: use dist-based URL.
+
+ [ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
* debian/watch: use dist-based URL.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:27:41 +0200
+ -- Roberto C. Sanchez <roberto at debian.org> Sat, 15 Mar 2008 21:14:44 -0400
libcalendar-simple-perl (1.17-2) unstable; urgency=low
Modified: trunk/libcalendar-simple-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/debian/copyright?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/debian/copyright (original)
+++ trunk/libcalendar-simple-perl/debian/copyright Sun Mar 16 01:21:25 2008
@@ -1,7 +1,7 @@
This package was debianized by Stephen Quinney <sjq at debian.org> on
Fri, 09 Jan 2004 12:15:21 +0000
-It was downloaded from http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS/
+It was downloaded from http://search.cpan.org/dist/Calendar-Simple/
Author: Dave Cross <dave at dave.org.uk>
Modified: trunk/libcalendar-simple-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/debian/watch?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/debian/watch (original)
+++ trunk/libcalendar-simple-perl/debian/watch Sun Mar 16 01:21:25 2008
@@ -1,2 +1,2 @@
version=3
-http://search.cpan.org/dist/Calendar-Simple/ .*/Calendar-Simple-([[:digit:]].*)\.tar\.gz
+http://search.cpan.org/dist/Calendar-Simple/ .*/Calendar-Simple-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
Modified: trunk/libcalendar-simple-perl/lib/Calendar/Simple.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/lib/Calendar/Simple.pm?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/lib/Calendar/Simple.pm (original)
+++ trunk/libcalendar-simple-perl/lib/Calendar/Simple.pm Sun Mar 16 01:21:25 2008
@@ -1,4 +1,4 @@
-# $Id: Simple.pm 39 2006-10-16 19:41:18Z dave $
+# $Id: Simple.pm 44 2008-03-08 22:13:46Z dave $
=head1 NAME
@@ -23,16 +23,17 @@
package Calendar::Simple;
+use 5.006;
use strict;
-use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use warnings;
require Exporter;
- at ISA = qw(Exporter);
-
- at EXPORT = qw(calendar);
- at EXPORT_OK = qw(date_span);
-$VERSION = '1.17';
+our @ISA = qw(Exporter);
+
+our @EXPORT = qw(calendar);
+our @EXPORT_OK = qw(date_span);
+our $VERSION = sprintf "%d", '$Revision: 44 $ ' =~ /(\d+)/;
use Time::Local;
use Carp;
@@ -172,7 +173,7 @@
}
my $i = 0;
- while ($cal[0][$i] < $begin) {
+ while (defined $cal[0][$i] and $cal[0][$i] < $begin) {
$cal[0][$i++] = undef;
}
@@ -181,7 +182,7 @@
}
$i = -1;
- while ($cal[-1][$i] > $end) {
+ while (defined $cal[-1][$i] and $cal[-1][$i] > $end) {
$cal[-1][$i--] = undef;
}
@@ -254,7 +255,9 @@
=head1 COPYRIGHT
-Copyright (C) 2002-2006, Magnum Solutions Ltd.. All Rights Reserved.
+Copyright (C) 2002-2008, Magnum Solutions Ltd. All Rights Reserved.
+
+=head1 LICENSE
This script is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
Modified: trunk/libcalendar-simple-perl/t/no_dt.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcalendar-simple-perl/t/no_dt.t?rev=17527&op=diff
==============================================================================
--- trunk/libcalendar-simple-perl/t/no_dt.t (original)
+++ trunk/libcalendar-simple-perl/t/no_dt.t Sun Mar 16 01:21:25 2008
@@ -1,6 +1,7 @@
use Test::More tests => 33;
$ENV{CAL_SIMPLE_NO_DT} = 1;
use_ok('Calendar::Simple');
+use Config;
my @month = calendar(9, 2002);
@@ -51,8 +52,13 @@
@month = calendar(2, 2000);
ok(@month);
-eval { @month = calendar(2, 2100) };
-ok($@);
+SKIP: {
+ skip 'Not a problem on 64-bit systems', 1
+ if defined $Config{use64bitint};
+
+ eval { @month = calendar(2, 2100) };
+ ok($@);
+}
eval { @month = calendar(2, 1500) };
ok($@);
More information about the Pkg-perl-cvs-commits
mailing list