r68975 - in /trunk/libthread-queue-perl: ./ debian/ examples/ lib/Thread/ t/

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Fri Feb 18 09:13:38 UTC 2011


Author: periapt-guest
Date: Fri Feb 18 09:13:05 2011
New Revision: 68975

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=68975
Log:
New upstream release (Closes: #603252)

Added:
    trunk/libthread-queue-perl/examples/callback.pl
      - copied unchanged from r68974, branches/upstream/libthread-queue-perl/current/examples/callback.pl
Modified:
    trunk/libthread-queue-perl/Changes
    trunk/libthread-queue-perl/MANIFEST
    trunk/libthread-queue-perl/META.yml
    trunk/libthread-queue-perl/Makefile.PL
    trunk/libthread-queue-perl/README
    trunk/libthread-queue-perl/debian/changelog
    trunk/libthread-queue-perl/lib/Thread/Queue.pm
    trunk/libthread-queue-perl/t/01_basic.t
    trunk/libthread-queue-perl/t/02_refs.t
    trunk/libthread-queue-perl/t/03_peek.t
    trunk/libthread-queue-perl/t/04_errs.t
    trunk/libthread-queue-perl/t/05_extract.t
    trunk/libthread-queue-perl/t/06_insert.t
    trunk/libthread-queue-perl/t/07_lock.t
    trunk/libthread-queue-perl/t/08_nothreads.t
    trunk/libthread-queue-perl/t/99_pod.t

Modified: trunk/libthread-queue-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/Changes?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/Changes (original)
+++ trunk/libthread-queue-perl/Changes Fri Feb 18 09:13:05 2011
@@ -1,4 +1,10 @@
 Revision history for Perl extension Thread::Queue.
+
+2.12 Fri Dec 24 17:52:51 2010
+	- Install in 'site' for Perl >= 5.011
+	- Test file changes for core
+	- Added new example (examples/callback.pl) to distribution
+	- POD update
 
 2.11 Thu Jun 12 13:41:45 2008
 	- End all tests with exit(0) and fix SKIPs

Modified: trunk/libthread-queue-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/MANIFEST?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/MANIFEST (original)
+++ trunk/libthread-queue-perl/MANIFEST Fri Feb 18 09:13:05 2011
@@ -14,5 +14,6 @@
 t/08_nothreads.t
 t/99_pod.t
 t/test.pl
+examples/callback.pl
 examples/queue.pl
 META.yml                                 Module meta-data (added by MakeMaker)

Modified: trunk/libthread-queue-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/META.yml?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/META.yml (original)
+++ trunk/libthread-queue-perl/META.yml Fri Feb 18 09:13:05 2011
@@ -1,17 +1,25 @@
 --- #YAML:1.0
-name:                Thread-Queue
-version:             2.11
-abstract:            Thread-safe queues
-license:             perl
-author:              
+name:               Thread-Queue
+version:            2.12
+abstract:           Thread-safe queues
+author:
     - Jerry D. Hedden <jdhedden AT cpan DOT org>
-generated_by:        ExtUtils::MakeMaker version 6.44
-distribution_type:   module
-requires:     
-    Scalar::Util:                  1.1
-    Test::More:                    0.5
-    Thread::Semaphore:             0
-    threads::shared:               1.21
+license:            perl
+distribution_type:  module
+configure_requires:
+    ExtUtils::MakeMaker:  0
+build_requires:
+    ExtUtils::MakeMaker:  0
+requires:
+    Scalar::Util:       1.1
+    Test::More:         0.5
+    Thread::Semaphore:  0
+    threads::shared:    1.21
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.5601
 meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
-    version: 1.3
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4

Modified: trunk/libthread-queue-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/Makefile.PL?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/Makefile.PL (original)
+++ trunk/libthread-queue-perl/Makefile.PL Fri Feb 18 09:13:05 2011
@@ -19,7 +19,7 @@
         'Test::More'        => 0.50,
         'Thread::Semaphore' => 0,
     },
-    'INSTALLDIRS'   => 'perl',
+    'INSTALLDIRS'   => (($] < 5.011) ? 'perl' : 'site'),
 
     ((ExtUtils::MakeMaker->VERSION() lt '6.25') ?
         ('PL_FILES' => { })            : ()),

Modified: trunk/libthread-queue-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/README?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/README (original)
+++ trunk/libthread-queue-perl/README Fri Feb 18 09:13:05 2011
@@ -1,4 +1,4 @@
-Thread::Queue version 2.11
+Thread::Queue version 2.12
 ==========================
 
 Thread-safe queues

Modified: trunk/libthread-queue-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/debian/changelog?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/debian/changelog (original)
+++ trunk/libthread-queue-perl/debian/changelog Fri Feb 18 09:13:05 2011
@@ -1,4 +1,4 @@
-libthread-queue-perl (2.11-2) UNRELEASED; urgency=low
+libthread-queue-perl (2.12-1) UNRELEASED; urgency=low
 
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
@@ -16,8 +16,9 @@
 
   [ Nicholas Bamber ]
   * Added myself to Uploaders 
+  * New upstream release (Closes: #603252)
 
- -- Nathan Handler <nhandler at ubuntu.com>  Sat, 06 Jun 2009 01:37:51 +0000
+ -- Nicholas Bamber <nicholas at periapt.co.uk>  Fri, 18 Feb 2011 09:14:07 +0000
 
 libthread-queue-perl (2.11-1) unstable; urgency=low
 

Modified: trunk/libthread-queue-perl/lib/Thread/Queue.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/lib/Thread/Queue.pm?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/lib/Thread/Queue.pm (original)
+++ trunk/libthread-queue-perl/lib/Thread/Queue.pm Fri Feb 18 09:13:05 2011
@@ -3,7 +3,8 @@
 use strict;
 use warnings;
 
-our $VERSION = '2.11';
+our $VERSION = '2.12';
+$VERSION = eval $VERSION;
 
 use threads::shared 1.21;
 use Scalar::Util 1.10 qw(looks_like_number blessed reftype refaddr);
@@ -209,7 +210,7 @@
 
 =head1 VERSION
 
-This document describes Thread::Queue version 2.11
+This document describes Thread::Queue version 2.12
 
 =head1 SYNOPSIS
 
@@ -461,12 +462,6 @@
 Thread::Queue Discussion Forum on CPAN:
 L<http://www.cpanforum.com/dist/Thread-Queue>
 
-Annotated POD for Thread::Queue:
-L<http://annocpan.org/~JDHEDDEN/Thread-Queue-2.11/lib/Thread/Queue.pm>
-
-Source repository:
-L<http://code.google.com/p/thread-queue/>
-
 L<threads>, L<threads::shared>
 
 =head1 MAINTAINER

Modified: trunk/libthread-queue-perl/t/01_basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/t/01_basic.t?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/t/01_basic.t (original)
+++ trunk/libthread-queue-perl/t/01_basic.t Fri Feb 18 09:13:05 2011
@@ -2,10 +2,6 @@
 use warnings;
 
 BEGIN {
-    if ($ENV{'PERL_CORE'}){
-        chdir('t');
-        unshift(@INC, '../lib');
-    }
     use Config;
     if (! $Config{'useithreads'}) {
         print("1..0 # SKIP Perl not compiled with 'useithreads'\n");

Modified: trunk/libthread-queue-perl/t/02_refs.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/t/02_refs.t?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/t/02_refs.t (original)
+++ trunk/libthread-queue-perl/t/02_refs.t Fri Feb 18 09:13:05 2011
@@ -2,10 +2,6 @@
 use warnings;
 
 BEGIN {
-    if ($ENV{'PERL_CORE'}){
-        chdir('t');
-        unshift(@INC, '../lib');
-    }
     use Config;
     if (! $Config{'useithreads'}) {
         print("1..0 # SKIP Perl not compiled with 'useithreads'\n");

Modified: trunk/libthread-queue-perl/t/03_peek.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/t/03_peek.t?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/t/03_peek.t (original)
+++ trunk/libthread-queue-perl/t/03_peek.t Fri Feb 18 09:13:05 2011
@@ -2,10 +2,6 @@
 use warnings;
 
 BEGIN {
-    if ($ENV{'PERL_CORE'}){
-        chdir('t');
-        unshift(@INC, '../lib');
-    }
     use Config;
     if (! $Config{'useithreads'}) {
         print("1..0 # SKIP Perl not compiled with 'useithreads'\n");

Modified: trunk/libthread-queue-perl/t/04_errs.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/t/04_errs.t?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/t/04_errs.t (original)
+++ trunk/libthread-queue-perl/t/04_errs.t Fri Feb 18 09:13:05 2011
@@ -1,12 +1,5 @@
 use strict;
 use warnings;
-
-BEGIN {
-    if ($ENV{'PERL_CORE'}){
-        chdir('t');
-        unshift(@INC, '../lib');
-    }
-}
 
 use Thread::Queue;
 

Modified: trunk/libthread-queue-perl/t/05_extract.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/t/05_extract.t?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/t/05_extract.t (original)
+++ trunk/libthread-queue-perl/t/05_extract.t Fri Feb 18 09:13:05 2011
@@ -2,10 +2,6 @@
 use warnings;
 
 BEGIN {
-    if ($ENV{'PERL_CORE'}){
-        chdir('t');
-        unshift(@INC, '../lib');
-    }
     use Config;
     if (! $Config{'useithreads'}) {
         print("1..0 # SKIP Perl not compiled with 'useithreads'\n");

Modified: trunk/libthread-queue-perl/t/06_insert.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/t/06_insert.t?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/t/06_insert.t (original)
+++ trunk/libthread-queue-perl/t/06_insert.t Fri Feb 18 09:13:05 2011
@@ -2,10 +2,6 @@
 use warnings;
 
 BEGIN {
-    if ($ENV{'PERL_CORE'}){
-        chdir('t');
-        unshift(@INC, '../lib');
-    }
     use Config;
     if (! $Config{'useithreads'}) {
         print("1..0 # SKIP Perl not compiled with 'useithreads'\n");

Modified: trunk/libthread-queue-perl/t/07_lock.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/t/07_lock.t?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/t/07_lock.t (original)
+++ trunk/libthread-queue-perl/t/07_lock.t Fri Feb 18 09:13:05 2011
@@ -2,10 +2,6 @@
 use warnings;
 
 BEGIN {
-    if ($ENV{'PERL_CORE'}){
-        chdir('t');
-        unshift(@INC, '../lib');
-    }
     use Config;
     if (! $Config{'useithreads'}) {
         print("1..0 # SKIP Perl not compiled with 'useithreads'\n");

Modified: trunk/libthread-queue-perl/t/08_nothreads.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/t/08_nothreads.t?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/t/08_nothreads.t (original)
+++ trunk/libthread-queue-perl/t/08_nothreads.t Fri Feb 18 09:13:05 2011
@@ -1,12 +1,5 @@
 use strict;
 use warnings;
-
-BEGIN {
-    if ($ENV{'PERL_CORE'}){
-        chdir('t');
-        unshift(@INC, '../lib');
-    }
-}
 
 use Test::More 'tests' => 32;
 

Modified: trunk/libthread-queue-perl/t/99_pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libthread-queue-perl/t/99_pod.t?rev=68975&op=diff
==============================================================================
--- trunk/libthread-queue-perl/t/99_pod.t (original)
+++ trunk/libthread-queue-perl/t/99_pod.t Fri Feb 18 09:13:05 2011
@@ -9,15 +9,17 @@
 }
 
 SKIP: {
-    eval 'use Test::Pod 1.26';
-    skip('Test::Pod 1.26 required for testing POD', 1) if $@;
+    if (! eval 'use Test::Pod 1.26; 1') {
+        skip('Test::Pod 1.26 required for testing POD', 1);
+    }
 
     pod_file_ok('lib/Thread/Queue.pm');
 }
 
 SKIP: {
-    eval 'use Test::Pod::Coverage 1.08';
-    skip('Test::Pod::Coverage 1.08 required for testing POD coverage', 1) if $@;
+    if (! eval 'use Test::Pod::Coverage 1.08; 1') {
+        skip('Test::Pod::Coverage 1.08 required for testing POD coverage', 1);
+    }
 
     pod_coverage_ok('Thread::Queue',
                     {
@@ -31,8 +33,9 @@
 }
 
 SKIP: {
-    eval 'use Test::Spelling';
-    skip("Test::Spelling required for testing POD spelling", 1) if $@;
+    if (! eval 'use Test::Spelling; 1') {
+        skip('Test::Spelling required for testing POD spelling', 1);
+    }
     if (system('aspell help >/dev/null 2>&1')) {
         skip("'aspell' required for testing POD spelling", 1);
     }




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