[SCM] Debian packaging of libtext-csv-xs-perl branch, master, updated. debian/0.92-1-3-ge13403d

Xavier Guimard x.guimard at free.fr
Wed Nov 28 05:39:25 UTC 2012


The following commit has been merged in the master branch:
commit e13403d9c3637efe2bac3735a43febd1c9943fa3
Author: Xavier Guimard <x.guimard at free.fr>
Date:   Wed Nov 28 06:38:38 2012 +0100

    Add little patch that change tests to really check Encode.pm version

diff --git a/debian/changelog b/debian/changelog
index 4e33c30..ddf6c4b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libtext-csv-xs-perl (0.93-1) unstable; urgency=low
+
+  * New upstream version
+  * Add little patch that change tests to really check Encode.pm version
+
+ -- Xavier Guimard <x.guimard at free.fr>  Wed, 28 Nov 2012 06:12:21 +0100
+
 libtext-csv-xs-perl (0.92-1) unstable; urgency=low
 
   * New upstream version
diff --git a/debian/patches/real-check-for-encode-version.patch b/debian/patches/real-check-for-encode-version.patch
new file mode 100644
index 0000000..7412181
--- /dev/null
+++ b/debian/patches/real-check-for-encode-version.patch
@@ -0,0 +1,20 @@
+Description: Check real version of Encode.pm
+ Encode.pm version is now 2.42_01 which is not a numeric value. This patch
+ extracts numeric part of it (needed to compare it to 2.47)
+Author: Xavier Guimard <x.guimard at free.fr>
+Bug: https://rt.cpan.org/Ticket/Display.html?id=81499
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=81499
+Last-Update: 2012-11-28
+
+--- libtext-csv-xs-perl-0.93.orig/t/70_rt.t
++++ libtext-csv-xs-perl-0.93/t/70_rt.t
+@@ -409,7 +409,8 @@ SKIP: {   # http://rt.cpan.org/Ticket/Di
+ 
+ SKIP: {   # http://rt.cpan.org/Ticket/Display.html?id=80680
+     $] < 5.008002           and skip "UTF8 unreliable in perl $]",        20000;
+-    $Encode::VERSION < 2.47 and skip "Encode is too old for these tests", 20000;
++    $Encode::VERSION =~ /^([\d\.]+)/;
++    $1 < 2.47 and skip "Encode is too old for these tests", 20000;
+ 
+     $rt = "80680"; # Text::CSV_XS produces garbage on some data
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a6956b3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+real-check-for-encode-version.patch

-- 
Debian packaging of libtext-csv-xs-perl



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