r49039 - in /trunk/libdatetime-format-dateparse-perl/debian: README.source changelog control patches/ patches/nanoseconds.patch patches/series rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Dec 20 15:19:57 UTC 2009


Author: gregoa
Date: Sun Dec 20 15:19:36 2009
New Revision: 49039

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=49039
Log:
Add patch nanoseconds.patch to handle newer DateTime behaviour regarding
nanoseconds; add quilt framework (closes: #560637).

Added:
    trunk/libdatetime-format-dateparse-perl/debian/README.source
    trunk/libdatetime-format-dateparse-perl/debian/patches/
    trunk/libdatetime-format-dateparse-perl/debian/patches/nanoseconds.patch
    trunk/libdatetime-format-dateparse-perl/debian/patches/series
Modified:
    trunk/libdatetime-format-dateparse-perl/debian/changelog
    trunk/libdatetime-format-dateparse-perl/debian/control
    trunk/libdatetime-format-dateparse-perl/debian/rules

Added: trunk/libdatetime-format-dateparse-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-format-dateparse-perl/debian/README.source?rev=49039&op=file
==============================================================================
--- trunk/libdatetime-format-dateparse-perl/debian/README.source (added)
+++ trunk/libdatetime-format-dateparse-perl/debian/README.source Sun Dec 20 15:19:36 2009
@@ -1,0 +1,6 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.
+

Modified: trunk/libdatetime-format-dateparse-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-format-dateparse-perl/debian/changelog?rev=49039&op=diff
==============================================================================
--- trunk/libdatetime-format-dateparse-perl/debian/changelog (original)
+++ trunk/libdatetime-format-dateparse-perl/debian/changelog Sun Dec 20 15:19:36 2009
@@ -15,6 +15,8 @@
   [ gregor herrmann ]
   * debian/control: Changed: (build-)depend on perl instead of perl-
     modules.
+  * Add patch nanoseconds.patch to handle newer DateTime behaviour regarding
+    nanoseconds; add quilt framework (closes: #560637).
 
  -- Ryan Niebur <ryan at debian.org>  Fri, 25 Sep 2009 00:24:28 -0700
 

Modified: trunk/libdatetime-format-dateparse-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-format-dateparse-perl/debian/control?rev=49039&op=diff
==============================================================================
--- trunk/libdatetime-format-dateparse-perl/debian/control (original)
+++ trunk/libdatetime-format-dateparse-perl/debian/control Sun Dec 20 15:19:36 2009
@@ -3,7 +3,7 @@
 Priority: optional
 Build-Depends: debhelper (>= 7.2.10), perl (>= 5.10) | libmodule-build-perl
 Build-Depends-Indep: perl, libdatetime-timezone-perl (>= 0.27),
- libdatetime-perl (>= 0.29), libtimedate-perl (>= 1.16)
+ libdatetime-perl (>= 0.29), libtimedate-perl (>= 1.16), quilt (>= 0.46-7)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jonathan Yu <jawnsy at cpan.org>, Ryan Niebur <ryan at debian.org>
 Standards-Version: 3.8.1

Added: trunk/libdatetime-format-dateparse-perl/debian/patches/nanoseconds.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-format-dateparse-perl/debian/patches/nanoseconds.patch?rev=49039&op=file
==============================================================================
--- trunk/libdatetime-format-dateparse-perl/debian/patches/nanoseconds.patch (added)
+++ trunk/libdatetime-format-dateparse-perl/debian/patches/nanoseconds.patch Sun Dec 20 15:19:36 2009
@@ -1,0 +1,23 @@
+Author: ANDK (Andreas Koenig)
+Description: DateTime used to silently accept non-integer arguments and not do anything
+ intelligent with them. Since 0.52 it insists on integers.
+Origin: ftp://cpan.cpantesters.org/CPAN/authors/id/A/AN/ANDK/patches/DateTime-Format-DateParse-0.04-ANDK-01.patch.gz
+Bugs: http://rt.cpan.org/Public/Bug/Display.html?id=52598
+Bugs-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560637
+
+--- a/lib/DateTime/Format/DateParse.pm
++++ b/lib/DateTime/Format/DateParse.pm
+@@ -30,9 +30,10 @@
+ 
+     my %p;
+     if ( $ss ) {
+-        my $fraction = $ss - int( $ss );
+-        $p{ nanosecond } = $fraction * 1e9 if $fraction;
+-        $p{ second } = int $ss;
++        ($p{"second"},my $nanosecond) = split /\./, $ss;
++        if ( $nanosecond ){
++            $p{ nanosecond } = $nanosecond . "0"x(9-length($nanosecond));
++        }
+     }
+     $p{ minute }    = $mm if $mm;
+     $p{ hour }      = $hh if $hh;

Added: trunk/libdatetime-format-dateparse-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-format-dateparse-perl/debian/patches/series?rev=49039&op=file
==============================================================================
--- trunk/libdatetime-format-dateparse-perl/debian/patches/series (added)
+++ trunk/libdatetime-format-dateparse-perl/debian/patches/series Sun Dec 20 15:19:36 2009
@@ -1,0 +1,1 @@
+nanoseconds.patch

Modified: trunk/libdatetime-format-dateparse-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-format-dateparse-perl/debian/rules?rev=49039&op=diff
==============================================================================
--- trunk/libdatetime-format-dateparse-perl/debian/rules (original)
+++ trunk/libdatetime-format-dateparse-perl/debian/rules Sun Dec 20 15:19:36 2009
@@ -1,4 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@
+	dh --with quilt $@




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