[libtest-bdd-cucumber-perl] 01/06: New (backport specific) patch: use JSON::XS instead of JSON::MaybeXS.
Intrigeri
intrigeri at moszumanska.debian.org
Thu Jun 19 10:18:17 UTC 2014
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to branch wheezy-backports
in repository libtest-bdd-cucumber-perl.
commit a5725ea36015c09b19da48f83c820a9902c050a0
Author: intrigeri <intrigeri at boum.org>
Date: Sat Jun 7 21:58:32 2014 +0000
New (backport specific) patch: use JSON::XS instead of JSON::MaybeXS.
---
.../0001-Replace-JSON-MaybeXS-with-JSON-XS.patch | 79 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 80 insertions(+)
diff --git a/debian/patches/0001-Replace-JSON-MaybeXS-with-JSON-XS.patch b/debian/patches/0001-Replace-JSON-MaybeXS-with-JSON-XS.patch
new file mode 100644
index 0000000..e4f2617
--- /dev/null
+++ b/debian/patches/0001-Replace-JSON-MaybeXS-with-JSON-XS.patch
@@ -0,0 +1,79 @@
+From: intrigeri <intrigeri at boum.org>
+Date: Sat, 7 Jun 2014 21:54:49 +0000
+Subject: Replace JSON::MaybeXS with JSON::XS.
+
+JSON::MaybeXS is a very tiny wrapper that loads Cpanel::JSON::XS, then JSON::XS,
+then JSON::PP in order, and provides the two main functions from the
+loaded module.
+
+JSON::XS can safely be used directly, and since among the three ones, it is the
+only one that's available in Wheezy, let's do that to save some
+backporting overhead.
+---
+ META.yml | 2 +-
+ Makefile.PL | 4 ++--
+ dist.ini | 2 +-
+ lib/Test/BDD/Cucumber/I18N/Data.pm | 2 +-
+ 4 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/META.yml b/META.yml
+index 42f3721..0ae3225 100644
+--- a/META.yml
++++ b/META.yml
+@@ -18,7 +18,7 @@ requires:
+ File::Slurp: '0'
+ FindBin::libs: '0'
+ Getopt::Long: '0'
+- JSON::MaybeXS: '0'
++ JSON::XS: '0'
+ List::MoreUtils: '0'
+ List::Util: '0'
+ Module::Runtime: '0'
+diff --git a/Makefile.PL b/Makefile.PL
+index bc9f050..339858c 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -28,7 +28,7 @@ my %WriteMakefileArgs = (
+ "File::Slurp" => 0,
+ "FindBin::libs" => 0,
+ "Getopt::Long" => 0,
+- "JSON::MaybeXS" => 0,
++ "JSON::XS" => 0,
+ "List::MoreUtils" => 0,
+ "List::Util" => 0,
+ "Module::Runtime" => 0,
+@@ -55,7 +55,7 @@ my %FallbackPrereqs = (
+ "File::Slurp" => 0,
+ "FindBin::libs" => 0,
+ "Getopt::Long" => 0,
+- "JSON::MaybeXS" => 0,
++ "JSON::XS" => 0,
+ "List::MoreUtils" => 0,
+ "List::Util" => 0,
+ "Module::Runtime" => 0,
+diff --git a/dist.ini b/dist.ini
+index de0d179..46070bd 100644
+--- a/dist.ini
++++ b/dist.ini
+@@ -26,7 +26,7 @@ File::Find::Rule = 0
+ File::Slurp = 0
+ FindBin::libs = 0
+ Getopt::Long = 0
+-JSON::MaybeXS = 0
++JSON::XS = 0
+ Module::Runtime = 0
+ Moose = 0
+ Path::Class = 0
+diff --git a/lib/Test/BDD/Cucumber/I18N/Data.pm b/lib/Test/BDD/Cucumber/I18N/Data.pm
+index a747040..bfe8f86 100644
+--- a/lib/Test/BDD/Cucumber/I18N/Data.pm
++++ b/lib/Test/BDD/Cucumber/I18N/Data.pm
+@@ -3,7 +3,7 @@ $Test::BDD::Cucumber::I18N::Data::VERSION = '0.24';
+ use strict;
+ use warnings;
+
+-use JSON::MaybeXS qw/decode_json/;
++use JSON::XS qw/decode_json/;
+
+ =encoding utf8
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fafea37
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Replace-JSON-MaybeXS-with-JSON-XS.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-bdd-cucumber-perl.git
More information about the Pkg-perl-cvs-commits
mailing list