[libhtml-scrubber-perl] 01/02: Added requirement for perl 5.8

Florian Schlichting fsfs at moszumanska.debian.org
Sat Nov 11 13:46:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to annotated tag release/0.14
in repository libhtml-scrubber-perl.

commit e979e548cf3daf4c4b225ea423b7b991fdbd7491
Author: Nigel Metheringham <nigelm at cpan.org>
Date:   Thu Apr 2 17:14:17 2015 +0100

    Added requirement for perl 5.8
---
 .travis.yml          |  6 +-----
 Changes              |  3 +--
 README.pod           | 16 +++++++++++++++-
 lib/HTML/Scrubber.pm | 15 +++++++++++++++
 4 files changed, 32 insertions(+), 8 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index db4ed37..f818bc5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,11 +17,7 @@ install:
   - cpanm --quiet --notest --skip-satisfied Dist::Zilla
   
   - cpanm --quiet --notest --skip-satisfied Pod::Markdown
-  
-  - cpanm --quiet --notest --skip-satisfied Test::EOL
-  
-  - cpanm --quiet --notest --skip-satisfied Test::NoTabs
-  
+    
   - dzil authordeps | grep -vP '[^\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest --skip-satisfied
 
   - export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
diff --git a/Changes b/Changes
index 7e7fb5e..293f033 100644
--- a/Changes
+++ b/Changes
@@ -1,14 +1,13 @@
 Revision history for Perl extension HTML::Scrubber.
 
 {{$NEXT}}
-
-0.13      2015-03-19 16:29:53+00:00 Europe/London (TRIAL RELEASE)
     - Travis integration  (thanks to mrcaron)
     - Fix some packaging/dist-zilla issues (thanks to mrcaron)
     - check for definedness before calling ->parse (github #3 leejo)
     - Removed the link to HTML::Sanitizer  (github #4 avereha)
     - Removed circular reference (github #5 avereha)
     - Fixed up dependancies from dzil bundles
+    - Enforced minimum perl version of 5.8
 
 0.11      2013-10-11 15:11:59 Europe/London
     - Build/release changes only
diff --git a/README.pod b/README.pod
index e4c8184..40b134b 100644
--- a/README.pod
+++ b/README.pod
@@ -8,7 +8,7 @@ HTML::Scrubber - Perl extension for scrubbing/sanitizing html
 
 =head1 VERSION
 
-version 0.13
+version 0.14
 
 =head1 SYNOPSIS
 
@@ -310,6 +310,20 @@ L<HTML::Parser>, L<Test::Inline>.
 
 The C<HTML::Sanitizer> module is no longer available on CPAN.
 
+=head1 VERSION REQUIREMENTS
+
+As of version 0.14 I have added a perl minimum version requirement of 5.8. This
+is basically due to failures on the smokers perl 5.6 installations - which
+appears to be down to installation mechanisms and requirements.
+
+Since I don't want to spend the time supporting a version that is so old (and
+may not work for reasons on UTF support etc), I have added a C<use 5.008;> to
+the main module.
+
+If this is problematic I am very willing to accept patches to fix this up,
+although I do not personally see a good reason to support a release that has
+been obsolete for 13 years.
+
 =head1 CONTRIBUTING
 
 If you want to contribute to the development of this module, the code is on
diff --git a/lib/HTML/Scrubber.pm b/lib/HTML/Scrubber.pm
index 747337e..eb3aba0 100644
--- a/lib/HTML/Scrubber.pm
+++ b/lib/HTML/Scrubber.pm
@@ -55,6 +55,7 @@ If you're new to perl, good luck to you.
 
 =cut
 
+use 5.008;    # enforce minimum perl version of 5.8
 use strict;
 use warnings;
 use HTML::Parser 3.47 ();
@@ -681,6 +682,20 @@ L<HTML::Parser>, L<Test::Inline>.
 
 The C<HTML::Sanitizer> module is no longer available on CPAN.
 
+=head1 VERSION REQUIREMENTS
+
+As of version 0.14 I have added a perl minimum version requirement of 5.8. This
+is basically due to failures on the smokers perl 5.6 installations - which
+appears to be down to installation mechanisms and requirements.
+
+Since I don't want to spend the time supporting a version that is so old (and
+may not work for reasons on UTF support etc), I have added a C<use 5.008;> to
+the main module.
+
+If this is problematic I am very willing to accept patches to fix this up,
+although I do not personally see a good reason to support a release that has
+been obsolete for 13 years.
+
 =head1 CONTRIBUTING
 
 If you want to contribute to the development of this module, the code is on

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-scrubber-perl.git



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