debian/0000755000000000000000000000000011633672135007175 5ustar debian/control0000644000000000000000000000337311633672135010606 0ustar Source: libdate-calc-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: libcarp-clan-perl (>= 6.04), libbit-vector-perl (>= 7.1) Maintainer: Debian Perl Group Uploaders: Christian Hammers , Martín Ferrari , Jonathan Yu , Damyan Ivanov , Salvatore Bonaccorso , Florian Schlichting Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/Date-Calc/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libdate-calc-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdate-calc-perl.git Package: libdate-calc-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libbit-vector-perl (>= 7.1), libcarp-clan-perl (>= 6.04) Recommends: libdate-calc-xs-perl Description: Perl library for accessing dates Date::Calc is a Perl module which provides a variety of date calculations based on the Gregorian calendar (the one used in Western countries today), complying with the ISO/R 2015-1971 and DIN 1355 standards which specify things such as what leap years are, when they occur, how the week numbers are defined, what's the first day of the week, how many weeks (52 or 53) a given year has, and so on. . Although the Gregorian calendar was only adopted 1582 by most (not all) European countries (some countries continued to use the Julian calendar until as late as the beginning of the 20th century!), this package allows you to extrapolate the Gregorian calendar back until the year 1. . If Date::Calc::XS (libdate-calc-xs-perl) is available, this package will automatically accelerate its operation using the C/XS implementation. debian/libdate-calc-perl.docs0000644000000000000000000000001411633672135013306 0ustar CREDITS.txt debian/copyright0000644000000000000000000000250111633672135011126 0ustar Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135 Maintainer: Steffen Beyer Source: http://search.cpan.org/dist/Date-Calc/ Name: Date-Calc Files: * Copyright: 1995-2009, Steffen Beyer License: Artistic or GPL-1+ Files: debian/* Copyright: 2011, Florian Schlichting 2009, Jonathan Yu 2009, Salvatore Bonaccorso 2009, Damyan Ivanov 2009, Martín Ferrari 1999-2006, Christian Hammers 1998, Martin Schulze License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000015611633672135010230 0ustar version=3 http://search.cpan.org/dist/Date-Calc/ .*/Date-Calc-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011633672135010624 5ustar debian/patches/spelling.patch0000644000000000000000000000345111633672135013465 0ustar From: Ansgar Burchardt Date: Thu, 26 Aug 2010 17:15:34 +0900 Origin: vendor Subject: Fix spelling errors in documentation --- a/lib/Date/Calendar/Year.pod +++ b/lib/Date/Calendar/Year.pod @@ -345,7 +345,7 @@ can be queried with the "labels()" and "search()" methods, and appears when printing a calendar, for instance. -The character ":" (mnemonic: divided into two halfs) specifies +The character ":" (mnemonic: divided into two halves) specifies that the date in question is only a "half" holiday, i.e., you only get half a day off instead of a full day. Some companies have this sort of thing. C<:-)> --- a/lib/Date/Calc/Object.pod +++ b/lib/Date/Calc/Object.pod @@ -483,7 +483,7 @@ Invalid Dates -Only "new()" allows to create objects containing possibly invalid +Only "new()" allows one to create objects containing possibly invalid dates (needed for reading in and evaluating user input, for example). =item * --- a/lib/Date/Calendar.pod +++ b/lib/Date/Calendar.pod @@ -398,7 +398,7 @@ which your profile contains "half" holidays, or when you add or subtract fractions of a day. -Sometimes it is not possible to accomodate the requested number +Sometimes it is not possible to accommodate the requested number of work days, and a rest remains. This rest can currently only assume the value "0.0" (zero), --- a/lib/Date/Calendar/Profiles.pod +++ b/lib/Date/Calendar/Profiles.pod @@ -62,7 +62,7 @@ responsible for parsing the calendar schemes contained here in the Date::Calendar::Profiles module. -This method offers a "mini-language" which allows to +This method offers a "mini-language" which allows one to specify common date formulas, like for instance a simple fixed date (in various different formats, e.g. american or european), or things like "the second Sunday of May" debian/patches/series0000644000000000000000000000001711633672135012037 0ustar spelling.patch debian/compat0000644000000000000000000000000211633672135010373 0ustar 8 debian/changelog0000644000000000000000000002530611633672135011055 0ustar libdate-calc-perl (6.3-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release + Date::Calc now provides a PurePerl implementation (identical to Date::Pcalc, which lives on in its separate namespace). + The XS part that previously differentiated Date::Calc from Date::Pcalc has been moved into Date::Calc::XS, which will automatically be used when available. * Added myself to Uploaders and Copyright * Now requires Bit::Vector 7.1 * Examples have been removed, remove 'examples' * Move .docs to libdate-calc-perl.docs * Remove override from rules (examples are gone) * Change control description to note that this is no longer based on an interface to C (it's PurePerl) * This package is now Arch: all because the XS is moved * Updated copyright information * Added a NEWS entry to explain that the XS is separated [ Ansgar Burchardt ] * Update patch spelling.patch. * Email change: Ansgar Burchardt -> ansgar@debian.org * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * Email change: Salvatore Bonaccorso -> carnil@debian.org * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ Florian Schlichting ] * Clarify the relationship between Date::Calc, Date::Calc::XS and Date::Pcalc above and in debian/NEWS. * Depend on the actual version of Carp::Clan that this module says it depends on. * Bump S-V and compat (no change). * Delete unnecessary d/clean and unused d/patches/SvPV.patch * Refresh spelling.patch. * Add myself to Uploaders and Copyright. -- Florian Schlichting Mon, 12 Sep 2011 22:25:54 +0000 libdate-calc-perl (6.0-2) unstable; urgency=low * Team Upload. * Use SvPV to stringify the SV in case it is not already a string. (Closes: #558272) + new patch: SvPV.patch + Add build-dep on perl (>= 5.10.1) | libtest-simple-perl (>= 0.88) and libtest-exception-perl for included test. * Use source format 3.0 (quilt). * debian/copyright: Formatting changes for current DEP-5 proposal; refer to /usr/share/common-licenses/GPL-1. * Bump Standards-Version to 3.9.1. -- Ansgar Burchardt Thu, 26 Aug 2010 17:18:17 +0900 libdate-calc-perl (6.0-1) unstable; urgency=low * New upstream release * Add debian/NEWS to refer to the backwards compatibility notes for new upstream version. -- Salvatore Bonaccorso Thu, 08 Oct 2009 22:33:02 +0200 libdate-calc-perl (5.8-1) unstable; urgency=low [ Ryan Niebur ] * Update jawnsy's email address [ Salvatore Bonaccorso ] * New upstream release * debian/control: - Add myself to Uploaders. - Correct Build-Depends on debhelper. We need (>= 7.0.50~) since debian/rules uses override target. * debian/copyright: Update upstream's email address. * debian/docs: Drop copy of EXAMPLES.txt since it is already in debian/examples. [ gregor herrmann ] * debian/watch: remove call to uupdate. -- Salvatore Bonaccorso Sun, 13 Sep 2009 16:27:05 +0200 libdate-calc-perl (5.7-1) unstable; urgency=low [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Jonathan Yu ] * New upstream release + Updated copyright years per upstream (1995-2009) + Documentation fixes * Standards-Version 3.8.2 (no changes) * Removed conflict/replaces on libdatecalc-perl (rmadison does not report it as available on anything) * Move to short debhelper 7 rules format * Bump compat and depends to debhelper 7 [ Damyan Ivanov ] * New upstream release + bump libbit-vector-perl (build) dependency to 7.0 + Made the days which form the weekend configurable in "Calendar.pm" and "Year.pm" (Closes: #494736) * also ship EXAMPLES.txt in the docs * drop the version from the libcarp-clan-perl (build) dependency; satisfyable by oldstable * Standards-Version: 3.8.3 (no changes needed) * add myself to Uploaders -- Damyan Ivanov Tue, 25 Aug 2009 11:53:33 +0300 libdate-calc-perl (5.4-6) unstable; urgency=low [ gregor herrmann ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Removed: XS- Vcs-Svn fields. * Split out changes in the files under examples to debian/patches/; add quilt framework. * debian/rules: remove patchlevel.h in clean target (gets created by Makefile.PL). * debian/watch: use dist-based URL. * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * debian/control: Added: ${misc:Depends} to Depends: field. [ Martín Ferrari ] * debian/control: set Maintainer to Perl group, added myself as Uploader, bumped S-V. Dependencies: updated debhelper version, removed cdbs and quilt, added missing runtime dep on libcarp-clan-perl and build dep on libbit-vector-perl (was skiping tests because of this), and set versioned deps as specified by upstream. Improved long description by naming the actual module. * debian/rules: from scratch with debhelper. * Deleted debian/patches, debian/README.source and quilt support: replaced by a Very Small Sed Script™. * Deleted outdated debian/README.Maintainer. * debian/copyright: new format. -- Martín Ferrari Mon, 16 Feb 2009 16:57:31 -0200 libdate-calc-perl (5.4-5) unstable; urgency=medium * Added ${shlibs:Depend} to control file to make checklib happy. -- Christian Hammers Tue, 26 Sep 2006 00:32:38 +0200 libdate-calc-perl (5.4-4) unstable; urgency=low * Updated watch file. -- Christian Hammers Fri, 16 Sep 2005 01:20:47 +0200 libdate-calc-perl (5.4-3) unstable; urgency=low * Rebuild with Sarge adjusted dependencies. -- Christian Hammers Mon, 20 Dec 2004 19:57:48 +0100 libdate-calc-perl (5.4-2) unstable; urgency=low * Adjusted build-dep to libcarp-clan-perl. -- Christian Hammers Mon, 25 Oct 2004 00:23:16 +0200 libdate-calc-perl (5.4-1) unstable; urgency=low * New upstream release -- Christian Hammers Mon, 11 Oct 2004 22:32:06 +0200 libdate-calc-perl (5.3-5) unstable; urgency=low * Last upload stalled, no changes to -4. -- Christian Hammers Mon, 2 Aug 2004 03:11:09 +0200 libdate-calc-perl (5.3-4) unstable; urgency=low * Explicit setting locale to C to fix FTBFS bug (thanks to Frederik Schueler). Closes: #262407 * Updated watch file to version 2. -- Christian Hammers Mon, 2 Aug 2004 01:31:54 +0200 libdate-calc-perl (5.3-3) unstable; urgency=low * Added cdbs to Build-Deps (thanks Lamont). Closes: #261149 -- Christian Hammers Sat, 24 Jul 2004 04:06:52 +0200 libdate-calc-perl (5.3-2) unstable; urgency=low * Switched to CDBS. * Changed section to "perl". -- Christian Hammers Fri, 23 Jul 2004 21:08:09 +0200 libdate-calc-perl (5.3-1) unstable; urgency=low * New upstream release * Added dependency to libbit-vector-perl and removed duplicate Carp.pm (Thanks Meik Hellmund). Closes: #198169 -- Christian Hammers Sun, 22 Jun 2003 16:59:07 +0200 libdate-calc-perl (5.0-6) unstable; urgency=low * Corrected build depends. -- Christian Hammers Sun, 25 Aug 2002 18:46:12 +0200 libdate-calc-perl (5.0-5) unstable; urgency=medium * Rebuild against perl-5.. -- Christian Hammers Sun, 25 Aug 2002 18:13:49 +0200 libdate-calc-perl (5.0-4) unstable; urgency=low * Corrected copyright file. Closes: #157566 -- Christian Hammers Fri, 23 Aug 2002 23:50:07 +0200 libdate-calc-perl (5.0-3) unstable; urgency=medium * Added replace to libbit-vector-perl because both provide Clan.pm, a mini module that's not worth to be a package alone. Closes: #148115 -- Christian Hammers Sat, 25 May 2002 22:36:14 +0200 libdate-calc-perl (5.0-2) unstable; urgency=low * Fixed rules file. Closes: #136278 -- Christian Hammers Sun, 3 Mar 2002 19:06:01 +0100 libdate-calc-perl (5.0-1) unstable; urgency=low * New upstream release - OOP extensions - some new functions - more languages -- Christian Hammers Tue, 25 Sep 2001 23:38:37 +0200 libdate-calc-perl (4.3-4) unstable; urgency=low * Adjusted to new perl policy and Debian policy. -- Christian Hammers Tue, 13 Feb 2001 23:35:29 +0100 libdate-calc-perl (4.3-3) unstable; urgency=low * reupload due to corrupted tar archive -- Christian Hammers Tue, 21 Nov 2000 21:00:53 +0100 libdate-calc-perl (4.3-2) unstable; urgency=low * Recompiled against Perl5.6. -- Christian Hammers Thu, 16 Nov 2000 18:00:55 +0100 libdate-calc-perl (4.3-1) unstable; urgency=low * New upstream release -- Christian Hammers Mon, 10 Apr 2000 21:10:48 +0200 libdate-calc-perl (4.2-2) unstable; urgency=low * Oups, forgot the replace/conflict line. -- Christian Hammers Sun, 18 Jul 1999 14:55:47 +0200 libdate-calc-perl (4.2-1) unstable; urgency=low * Renamed package to be compliant with the perl-policy -- Christian Hammers Fri, 16 Jul 1999 20:41:31 +0200 libdatecalc-perl (4.2-5) unstable; urgency=low * Recompiled for perl-5.005. -- Christian Hammers Tue, 6 Jul 1999 17:53:44 +0200 libdatecalc-perl (4.2-4) unstable; urgency=low * New maintainer release. -- Christian Hammers Mon, 19 Apr 1999 23:22:00 +0200 libdatecalc-perl (4.2-3) unstable; urgency=low * Added authors email address in copyright file * Removed files that were left over from former releases (closes: Bug#27216) -- Martin Schulze Wed, 30 Sep 1998 20:23:58 +0200 libdatecalc-perl (4.2-2) unstable; urgency=low * Whoops, I forgot the examples. Now they're included. (closes: Bug#27034) -- Martin Schulze Thu, 24 Sep 1998 12:33:23 +0200 libdatecalc-perl (4.2-1) unstable; urgency=low * New upstream release (closes: Bug#27034) -- Martin Schulze Thu, 24 Sep 1998 12:26:41 +0200 libdatecalc-perl (3.2-2) unstable; urgency=low * Removed perllocal.pod as it would override a system file and should not be there. (closes: Bug#24453) -- Martin Schulze Sun, 12 Jul 1998 22:09:27 +0200 libdatecalc-perl (3.2-1) unstable; urgency=low * First trial -- Martin Schulze Thu, 7 May 1998 00:35:13 +0200 debian/NEWS0000644000000000000000000000562111633672135007700 0ustar libdate-calc-perl (6.3-1) unstable; urgency=low Since version 6.2, Date::Calc only contains a pure Perl implementation. The XS-accelerated implementation was separated into its own package, libdate-calc-xs-perl, and will automatically be used when installed. -- Florian Schlichting Mon, 12 Sep 2011 21:44:37 +0200 libdate-calc-perl (6.0-1) unstable; urgency=low In version 6.0 of Date::Calc the interface to DateCalc.c has changed. Thus check for details `/usr/share/doc/lidate-calc-perl/README.txt.gz'. Backward compatibility: ----------------------- Module "Date::Calc" should be 100% backward compatible, meaning that no changes to existing code using reasonably recent versions of "Date::Calc" should be necessary (consult the changes history in file "CHANGES.txt" for possible incompatible changes between versions). Note that when you pass an invalid language number to any of the affected functions, you will get the previous behaviour, in which a global variable (set by the function "Language()") determines the language to be used. Note again that this new language parameter in the affected functions is optional; omitting it gives you the previous behaviour with the global variable as well (this is where the compatibility with existing code stems from). When using the C library "DateCalc.c", where omitting a parameter is not an option, passing a zero for the language is therefore the recommended way to guarantee backward compatibility and to keep changes to existing code to a minimum. Modules "Date::Calc::Object" and "Date::Calendar::Year" should be backward compatible as well (modules "Date::Calendar" and "Date::Calendar::Profiles" have not been changed). However, because the global variable (the one set by the function "Language()") is not set temporarily anymore by language-dependent methods and overridden operators (and restituted at the end, very similar to the "local" operator in Perl), you might perceive differences if your existing code relied on these implementation details (some test cases in the test suite of this package tested this and had therefore to be changed). The advantage to be gained by all this is that now, all modules in this package should be thread-safe and safe to be used by several concurrently executed modules, as long as you do not set the language using the global function "Language()" or the CLASS method "language()" (and as long as you do not use any other global setting, for that matter), but EXCLUSIVELY by passing the language parameter to all functions individually and by using the OBJECT method "language()". By exclusively using local settings, you are also making your code invulnerable against other, concurrent modules which still use global settings. -- Salvatore Bonaccorso Thu, 08 Oct 2009 22:28:18 +0200 debian/source/0000755000000000000000000000000011633672135010475 5ustar debian/source/format0000644000000000000000000000001411633672135011703 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611633672135010254 0ustar #!/usr/bin/make -f %: dh $@