r21300 - in /trunk/libio-all-perl: debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules t/chdir.t t/synopsis2.t

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Jun 15 14:09:38 UTC 2008


Author: gregoa
Date: Sun Jun 15 14:09:38 2008
New Revision: 21300

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21300
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libio-all-perl/debian/
    trunk/libio-all-perl/debian/changelog
    trunk/libio-all-perl/debian/compat
    trunk/libio-all-perl/debian/control
    trunk/libio-all-perl/debian/copyright
    trunk/libio-all-perl/debian/rules   (with props)
Modified:
    trunk/libio-all-perl/t/chdir.t
    trunk/libio-all-perl/t/synopsis2.t

Added: trunk/libio-all-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-all-perl/debian/changelog?rev=21300&op=file
==============================================================================
--- trunk/libio-all-perl/debian/changelog (added)
+++ trunk/libio-all-perl/debian/changelog Sun Jun 15 14:09:38 2008
@@ -1,0 +1,38 @@
+libio-all-perl (0.33-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with Perl 5.10.  Closes: #467903
+
+ -- Mark Hymers <mhy at debian.org>  Sat, 05 Apr 2008 21:09:12 +0100
+
+libio-all-perl (0.33-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * In t/synopsis2.t, sort the results from scanning the directories, as they
+    are not specified to come back in any given order. Fixes intermittent
+    FTBFS; patch backported from upstream. (Closes: #396379)
+
+ -- Steinar H. Gunderson <sesse at debian.org>  Sun, 12 Nov 2006 19:23:29 +0100
+
+libio-all-perl (0.33-3) unstable; urgency=low
+
+  * Skip t/spiffy.t as it fails because of libspiffy-perl changed its
+    interface (Closes: #353855).
+  * Use DH_COMPAT 5.
+  * Updated Maintainer address.
+
+ -- Florian Ragwitz <rafl at debian.org>  Sun, 26 Mar 2006 21:31:20 +0200
+
+libio-all-perl (0.33-2) unstable; urgency=low
+
+  * New Maintainer Address.
+  * Added missing libspiffy-perl dependency.
+
+ -- Florian Ragwitz <rafl at debianforum.de>  Thu,  8 Sep 2005 13:14:45 +0200
+
+libio-all-perl (0.33-1) unstable; urgency=low
+
+  * Initial release (Closes: #317110).
+
+ -- Florian Ragwitz <florian at mookooh.org>  Wed,  6 Jul 2005 13:39:16 +0200
+

Added: trunk/libio-all-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-all-perl/debian/compat?rev=21300&op=file
==============================================================================
--- trunk/libio-all-perl/debian/compat (added)
+++ trunk/libio-all-perl/debian/compat Sun Jun 15 14:09:38 2008
@@ -1,0 +1,1 @@
+5

Added: trunk/libio-all-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-all-perl/debian/control?rev=21300&op=file
==============================================================================
--- trunk/libio-all-perl/debian/control (added)
+++ trunk/libio-all-perl/debian/control Sun Jun 15 14:09:38 2008
@@ -1,0 +1,23 @@
+Source: libio-all-perl
+Section: perl
+Priority: optional
+Maintainer: Florian Ragwitz <rafl at debian.org>
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: perl, libspiffy-perl, libmldbm-perl, libfile-readbackwards-perl, libio-string-perl
+Standards-Version: 3.6.2
+
+Package: libio-all-perl
+Architecture: all
+Depends: ${perl:Depends}, libspiffy-perl
+Suggests: libmldbm-perl, libfile-readbackwards-perl, libio-string-perl, libdb-file-lock-perl, libfreezethaw-perl
+Description: Perl module for unified IO operations
+ IO::All combines all of the best Perl IO modules into a single Spiffy object
+ oriented interface to greatly simplify your everyday Perl IO idioms. It
+ exports a single function called io, which returns a new IO::All object. And
+ that object can do it all!
+ .
+ The IO::All object is a proxy for IO::File, IO::Dir, IO::Socket, IO::String,
+ Tie::File, File::Spec, File::Path and File::ReadBackwards; as well as all the
+ DBM and MLDBM modules. You can use most of the methods found in these classes
+ and in IO::Handle (which they inherit from). IO::All adds dozens of other
+ helpful idiomatic methods including file stat and manipulation functions.

Added: trunk/libio-all-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-all-perl/debian/copyright?rev=21300&op=file
==============================================================================
--- trunk/libio-all-perl/debian/copyright (added)
+++ trunk/libio-all-perl/debian/copyright Sun Jun 15 14:09:38 2008
@@ -1,0 +1,24 @@
+This package was debianized by Florian Ragwitz <florian.ragwitz at s2004.tu-chemnitz.de> on
+Wed,  6 Jul 2005 13:39:16 +0200.
+
+It was downloaded from http://search.cpan.org/~ingy/IO-All/
+
+Copyright Holder: Copyright (c) 2004. Brian Ingerson. All rights reserved.
+
+License:
+
+This program is free software; you can redistribute it and/or modify it under
+the same terms as Perl itself.
+
+This perl itself is free software; you can redistribute it and/or modify it
+under the terms of either:
+
+a) the GNU General Public License as published by the Free Software
+   Foundation; either version 1, or (at your option) any later
+   version, or
+
+b) the "Artistic License" which comes with Perl.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL' and
+the Artistic Licence in `/usr/share/common-licenses/Artistic'.

Added: trunk/libio-all-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-all-perl/debian/rules?rev=21300&op=file
==============================================================================
--- trunk/libio-all-perl/debian/rules (added)
+++ trunk/libio-all-perl/debian/rules Sun Jun 15 14:09:38 2008
@@ -1,0 +1,58 @@
+#!/usr/bin/make -f
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	-$(MAKE) distclean
+	dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	mv t/spiffy.t t/spiffy.t.dontuse
+	$(MAKE) test
+	mv t/spiffy.t.dontuse t/spiffy.t 
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+	touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_perl
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary

Propchange: trunk/libio-all-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Modified: trunk/libio-all-perl/t/chdir.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-all-perl/t/chdir.t?rev=21300&op=diff
==============================================================================
--- trunk/libio-all-perl/t/chdir.t (original)
+++ trunk/libio-all-perl/t/chdir.t Sun Jun 15 14:09:38 2008
@@ -11,4 +11,4 @@
     my $dir = io('t')->chdir;
     is((io(io->curdir->absolute->pathname)->splitdir)[-1], 't');
 }
-like((io(io->curdir->absolute->pathname)->splitdir)[-1], qr'^IO-All');
+like((io(io->curdir->absolute->pathname)->splitdir)[-1], qr'^libio-all-perl');

Modified: trunk/libio-all-perl/t/synopsis2.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-all-perl/t/synopsis2.t?rev=21300&op=diff
==============================================================================
--- trunk/libio-all-perl/t/synopsis2.t (original)
+++ trunk/libio-all-perl/t/synopsis2.t Sun Jun 15 14:09:38 2008
@@ -8,16 +8,21 @@
 # Print name and first line of all files in a directory
 my $dir = io('t/mydir'); 
 ok($dir->is_dir);
+my @results;
 while (my $io = $dir->next) {
     if ($io->is_file) {
-        my $line = $io->name . ' - ' . $io->getline;
-        is($line, flip_slash scalar <DATA>);
+        push @results, $io->name . ' - ' . $io->getline;
     }
+}
+
+for my $line (sort @results) {
+    is($line, flip_slash scalar <DATA>);
 }
 
 # Print name of all files recursively
 is("$_\n", flip_slash scalar <DATA>)
-  for grep {! /CVS|\.svn/} io('t/mydir')->all_files(0);
+  for sort {$a->name cmp $b->name}
+    grep {! /CVS|\.svn/} io('t/mydir')->all_files(0);
 
 __END__
 t/mydir/file1 - file1 is fun




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