[SCM] Debian packaging of libcommon-sense-perl branch, master, updated. ec64bf591a96c56d99b34dc76513387a0dc82b42

Salvatore Bonaccorso carnil at debian.org
Sun Mar 25 07:56:53 UTC 2012


The following commit has been merged in the master branch:
commit 1b25759c62fef9fd3053ec50ed7a3db193f8a41a
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sun Mar 25 09:34:20 2012 +0200

    Imported Upstream version 3.5

diff --git a/Changes b/Changes
index 16c0283..f89bb1a 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,12 @@
 Revision history for perl pragma common::sense.
 
+3.5  Wed Mar  7 20:50:48 CET 2012
+        - localise $^W, as this causes warnings with 5.16 when some lost
+          soul uses -w. common::sense doesn't support $^W, but tries to
+          shield module authors and programs from its ill effects. If you
+          enable $^W, then you normally get to keep the pieces because you
+          change semantics of other people's code.
+
 3.4  Fri Jan 14 07:17:16 CET 2011
 	- remove "regexp" category. this is rather painful as it's a large
           class, but unfortunately, somebody thought emitting a warning when you
diff --git a/MANIFEST b/MANIFEST
index 2be2005..9deca76 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -5,4 +5,5 @@ MANIFEST
 Makefile.PL
 sense.pm.PL
 t/00_load.t
-META.json                                Module meta-data (added by MakeMaker)
+META.yml                                 Module YAML meta-data (added by MakeMaker)
+META.json                                Module JSON meta-data (added by MakeMaker)
diff --git a/META.json b/META.json
index a2c17fe..339bc60 100644
--- a/META.json
+++ b/META.json
@@ -1,26 +1,39 @@
 {
+   "abstract" : "unknown",
+   "author" : [
+      "unknown"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112150",
+   "license" : [
+      "unknown"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
+   },
+   "name" : "common-sense",
    "no_index" : {
       "directory" : [
          "t",
          "inc"
       ]
    },
-   "meta-spec" : {
-      "version" : 1.4,
-      "url" : "http://module-build.sourceforge.net/META-spec-v1.4.html"
-   },
-   "generated_by" : "ExtUtils::MakeMaker::JSONMETA version 7.000",
-   "distribution_type" : "module",
-   "version" : "3.4",
-   "name" : "common-sense",
-   "author" : [],
-   "license" : "unknown",
-   "build_requires" : {
-      "ExtUtils::MakeMaker" : 0
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : 0
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : 0
+         }
+      },
+      "runtime" : {
+         "requires" : {}
+      }
    },
-   "requires" : {},
-   "abstract" : null,
-   "configure_requires" : {
-      "ExtUtils::MakeMaker" : 0
-   }
+   "release_status" : "stable",
+   "version" : "3.5"
 }
diff --git a/META.yml b/META.yml
new file mode 100644
index 0000000..deaba18
--- /dev/null
+++ b/META.yml
@@ -0,0 +1,21 @@
+---
+abstract: unknown
+author:
+  - unknown
+build_requires:
+  ExtUtils::MakeMaker: 0
+configure_requires:
+  ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112150'
+license: unknown
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: common-sense
+no_index:
+  directory:
+    - t
+    - inc
+requires: {}
+version: 3.5
diff --git a/README b/README
index 21820c1..8b983af 100644
--- a/README
+++ b/README
@@ -307,6 +307,13 @@ WHAT OTHER PEOPLE HAD TO SAY ABOUT THIS MODULE
        [...]
        How come no one ever quotes me. :("
 
+    chip (not willing to explain his cryptic questions about links in
+    Changes files)
+
+       "I'm willing to ask the question I've asked. I'm not willing to go
+       through the whole dance you apparently have choreographed. Either
+       answer the completely obvious question, or tell me to fuck off again."
+
 FREQUENTLY ASKED QUESTIONS
     Or frequently-come-up confusions.
 
@@ -382,10 +389,6 @@ FREQUENTLY ASKED QUESTIONS
         is correctly parsed by CPAN, so if you have trouble with it, the
         problem is likely on your side.
 
-        Update: Since it turned out that most YAML parsers can't, in fact,
-        parse YAML at all(!), CPAN decided to go with a separate file called
-        META.json, which is what "common::sense" is now doing.
-
     But! But!
         Yeah, we know.
 
diff --git a/sense.pm.PL b/sense.pm.PL
index 308c954..032d9b0 100755
--- a/sense.pm.PL
+++ b/sense.pm.PL
@@ -271,11 +271,12 @@ often be modules that pull in the monster pragmas. But one can hope...
 
 package common::sense;
 
-our $VERSION = '3.4';
+our $VERSION = '3.5';
 
 # overload should be included
 
 sub import {
+   local $^W; # work around perl 5.16 spewing out warnings for next line
 IMPORT
    # use feature
    $^H{feature_switch} =
@@ -394,6 +395,12 @@ ew73
    [...]
    How come no one ever quotes me. :("
 
+chip (not willing to explain his cryptic questions about links in Changes files)
+
+   "I'm willing to ask the question I've asked. I'm not willing to go
+   through the whole dance you apparently have choreographed. Either
+   answer the completely obvious question, or tell me to fuck off again."
+
 =head1 FREQUENTLY ASKED QUESTIONS
 
 Or frequently-come-up confusions.

-- 
Debian packaging of libcommon-sense-perl



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