r41943 - in /trunk/libtest-tempdir-perl: SIGNATURE debian/changelog debian/control debian/copyright debian/rules debian/watch t/factory.t

iulian-guest at users.alioth.debian.org iulian-guest at users.alioth.debian.org
Sun Aug 16 09:05:39 UTC 2009


Author: iulian-guest
Date: Sun Aug 16 09:05:33 2009
New Revision: 41943

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41943
Log:
* New upstream release
* Run dh-make-perl --refresh.
* debian/control:
  - Bump Standards-Version to 3.8.2; no changes required.
  - Improve the single line synopsis.
  - Add myself to Uploaders.
* Update debian/copyright.
* debian/rules: Shorten to only 3 lines.
* debian/watch: Remove unneeded lines.

Modified:
    trunk/libtest-tempdir-perl/SIGNATURE
    trunk/libtest-tempdir-perl/debian/changelog
    trunk/libtest-tempdir-perl/debian/control
    trunk/libtest-tempdir-perl/debian/copyright
    trunk/libtest-tempdir-perl/debian/rules
    trunk/libtest-tempdir-perl/debian/watch
    trunk/libtest-tempdir-perl/t/factory.t

Modified: trunk/libtest-tempdir-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tempdir-perl/SIGNATURE?rev=41943&op=diff
==============================================================================
--- trunk/libtest-tempdir-perl/SIGNATURE (original)
+++ trunk/libtest-tempdir-perl/SIGNATURE Sun Aug 16 09:05:33 2009
@@ -14,21 +14,24 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 90f6402727c73a12b7a388630b09ad9321ab24aa MANIFEST
-SHA1 e8482690dad0ff3aaa335aa5b8b650851e504871 MANIFEST.SKIP
-SHA1 aea50868f304f01fc026858b933a10b1ac1c4891 META.yml
-SHA1 48bed2739dd21bd2554286785d82ffc1442aaac5 Makefile.PL
-SHA1 a37ac9d4051933d91884df5123993c228fc7b755 lib/Test/TempDir.pm
-SHA1 4b4ec4bfce5a9f4e5226116871fdf10a0ac27c0e lib/Test/TempDir/Factory.pm
-SHA1 39b5ff35cc6c90f61f280c418c096514f7ca8274 lib/Test/TempDir/Handle.pm
+SHA1 2c810917d24f3ed11b2cc4f324569ad698a6a7fa .gitignore
+SHA1 7f493931150a9687c32f1ac1bab0c03dbd83faeb Changes
+SHA1 fcdb634fa9717bffe95e404c1381d8b33bc22489 MANIFEST
+SHA1 dd1d84cda990b3f7c4ad0a1ed7690d3bff2eaefd MANIFEST.SKIP
+SHA1 99464dccbce43aa22d2f4fbcc15aff1e30ef6977 META.yml
+SHA1 baa9bfd1156e6a17fe23e39449189988d3f04bff Makefile.PL
+SHA1 89f47a4a1b188d75ad74df03289176e47227e8fc README
+SHA1 61d3e1c865346ca1f6a5c360ca47e8ff60586dc0 lib/Test/TempDir.pm
+SHA1 efbb432305df2de949d9dfb74cc40eabbca21938 lib/Test/TempDir/Factory.pm
+SHA1 ee78337e66c190e8c115c614409433ca22b9dcc5 lib/Test/TempDir/Handle.pm
 SHA1 309b503ae2fb188d6329a99c77fff1f26f5130af t/00_load.t
 SHA1 ff5768d09781f96bad90ac0d9b204434593d3d2b t/basic.t
-SHA1 fec74f380524777572ea4412c42c90d4e619ed42 t/factory.t
+SHA1 30f6c4626ebdd4c2dd34ec5cb43423256574bae0 t/factory.t
 SHA1 e944e3373485fec1418c0ac616aab11904b5bff5 t/handle.t
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (Darwin)
+Version: GnuPG v1.4.9 (GNU/Linux)
 
-iD8DBQFIaeMmVCwRwOvSdBgRAoeHAJ4ki/tBaFR58fMJTZim1LBka5bc9ACeJidT
-MWBUsOUnDn8GtuiguoEYPmA=
-=HQFq
+iEYEARECAAYFAkqAtWwACgkQdC8qQo5jWl7NCQCgiS6pfaKnpcw6UGixH51Gk2l8
+hfIAn2MR58VjH39Qb7kJEIFz0PVYtAWp
+=zXq4
 -----END PGP SIGNATURE-----

Modified: trunk/libtest-tempdir-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tempdir-perl/debian/changelog?rev=41943&op=diff
==============================================================================
--- trunk/libtest-tempdir-perl/debian/changelog (original)
+++ trunk/libtest-tempdir-perl/debian/changelog Sun Aug 16 09:05:33 2009
@@ -1,3 +1,17 @@
+libtest-tempdir-perl (0.05-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * Run dh-make-perl --refresh.
+  * debian/control:
+    - Bump Standards-Version to 3.8.2; no changes required.
+    - Improve the single line synopsis.
+    - Add myself to Uploaders.
+  * Update debian/copyright.
+  * debian/rules: Shorten to only 3 lines.
+  * debian/watch: Remove unneeded lines.
+
+ -- Iulian Udrea <iulian at ubuntu.com>  Sun, 16 Aug 2009 09:48:31 +0100
+
 libtest-tempdir-perl (0.04-1) unstable; urgency=low
 
   * Initial Release (Closes: #531404).

Modified: trunk/libtest-tempdir-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tempdir-perl/debian/control?rev=41943&op=diff
==============================================================================
--- trunk/libtest-tempdir-perl/debian/control (original)
+++ trunk/libtest-tempdir-perl/debian/control Sun Aug 16 09:05:33 2009
@@ -2,13 +2,13 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: libfile-nfslock-perl, libmoose-perl (>= 0.50),
-  libnamespace-clean-perl (>= 0.08), libpath-class-perl,
-  libmoosex-types-path-class-perl (>= 0.05), libsub-exporter-perl,
-  libtest-use-ok-perl, perl (>= 5.6.0-12), libdirectory-scratch-perl
+Build-Depends-Indep: libdirectory-scratch-perl, libfile-nfslock-perl,
+ libmoose-perl (>= 0.50), libmoosex-types-path-class-perl (>= 0.05),
+ libnamespace-clean-perl (>= 0.08), libpath-class-perl, libsub-exporter-perl,
+ libtest-use-ok-perl, perl (>= 5.6.0-12)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: franck cuny <franck at lumberjaph.net>
-Standards-Version: 3.8.1
+Uploaders: franck cuny <franck at lumberjaph.net>, Iulian Udrea <iulian at ubuntu.com>
+Standards-Version: 3.8.2
 Homepage: http://search.cpan.org/dist/Test-TempDir/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtest-tempdir-perl
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtest-tempdir-perl
@@ -16,10 +16,9 @@
 Package: libtest-tempdir-perl
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends}, libfile-nfslock-perl,
-  libmoose-perl (>= 0.50), libnamespace-clean-perl (>= 0.08),
-  libpath-class-perl, libsub-exporter-perl, 
-  libmoosex-types-path-class-perl (>= 0.05)
-Description: module that creates temporary files for testing
+ libmoose-perl (>= 0.50), libmoosex-types-path-class-perl (>= 0.05),
+ libnamespace-clean-perl (>= 0.08), libpath-class-perl, libsub-exporter-perl
+Description: Perl module that creates temporary files for testing
  Test::TempDir provides temporary directory creation with testing in mind. 
  . 
  The differences between this module and File::Temp are:

Modified: trunk/libtest-tempdir-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tempdir-perl/debian/copyright?rev=41943&op=diff
==============================================================================
--- trunk/libtest-tempdir-perl/debian/copyright (original)
+++ trunk/libtest-tempdir-perl/debian/copyright Sun Aug 16 09:05:33 2009
@@ -1,7 +1,6 @@
 Format-Specification:
     http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
 Upstream-Maintainer: Yuval Kogman <nothingmuch at woobling.org>
-Upstream-Author: Yuval Kogman <nothingmuch at woobling.org>
 Upstream-Source: http://search.cpan.org/dist/Test-TempDir/
 Upstream-Name: Test-TempDir
 
@@ -12,6 +11,7 @@
 
 Files: debian/*
 Copyright: 2009, franck cuny <franck at lumberjaph.net>
+ 2009, Iulian Udrea <iulian at ubuntu.com>
 License: Artistic | GPL-1+
 
 License: Artistic

Modified: trunk/libtest-tempdir-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tempdir-perl/debian/rules?rev=41943&op=diff
==============================================================================
--- trunk/libtest-tempdir-perl/debian/rules (original)
+++ trunk/libtest-tempdir-perl/debian/rules Sun Aug 16 09:05:33 2009
@@ -1,23 +1,4 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
-
-clean:
+%:
 	dh $@
-
-install: install-stamp
-install-stamp: build-stamp
-	dh install
-	touch $@
-
-binary-arch:
-
-binary-indep: install
-	dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build

Modified: trunk/libtest-tempdir-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tempdir-perl/debian/watch?rev=41943&op=diff
==============================================================================
--- trunk/libtest-tempdir-perl/debian/watch (original)
+++ trunk/libtest-tempdir-perl/debian/watch Sun Aug 16 09:05:33 2009
@@ -1,4 +1,2 @@
-# format version number, currently 3; this line is compulsory!
 version=3
-# URL to the package page followed by a regex to search
 http://search.cpan.org/dist/Test-TempDir/   .*/Test-TempDir-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$

Modified: trunk/libtest-tempdir-perl/t/factory.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-tempdir-perl/t/factory.t?rev=41943&op=diff
==============================================================================
--- trunk/libtest-tempdir-perl/t/factory.t (original)
+++ trunk/libtest-tempdir-perl/t/factory.t Sun Aug 16 09:05:33 2009
@@ -22,75 +22,75 @@
 
 use ok 'Test::TempDir::Factory';
 
-delete @ENV{qw(TEST_TEMPDIR TEST_TMPDIR TEST_TEMPDIR_CLEANUP)};
+delete @ENV{qw(TEST_TEMPDIR TEST_TMPDIR TEST_TEMPDIR_CLEANUP TEST_TEMPDIR_USE_SUBDIR)};
 
-my $f = Test::TempDir::Factory->new;
+foreach my $use_subdir ( 1, 0 ) {
+	my $f = Test::TempDir::Factory->new( use_subdir => $use_subdir );
 
-isa_ok( $f, "Test::TempDir::Factory" );
+	isa_ok( $f, "Test::TempDir::Factory" );
 
-is( $f->dir_name, dir("tmp"), "default dir_name" );
-is( $f->t_dir, dir("t"), "default t_dir" );
+	is( $f->dir_name, dir("tmp"), "default dir_name" );
+	is( $f->t_dir, dir("t"), "default t_dir" );
 
-$f->t_dir($tmp);
+	$f->t_dir($tmp);
 
-my $subdir = $tmp->subdir($f->dir_name);
+	my $subdir = $tmp->subdir($f->dir_name);
 
-is( $f->base_path, $subdir, "base path" );
+	is( $f->base_path, $subdir, "base path" );
 
-ok( not(-d $f->base_path), "base path doesn't exist yet" );
+	ok( not(-d $f->base_path), "base path doesn't exist yet" );
 
-ok( $f->use_subdir, "subdirs enabled" );
+	my ( $path, $lock ) = $f->create_and_lock($f->base_path);
 
-my ( $path, $lock ) = $f->create_and_lock($f->base_path);
+	isa_ok( $path, "Path::Class::Dir" );
 
-isa_ok( $path, "Path::Class::Dir" );
+	ok( $subdir->contains($path), "preferred path used" );
 
-ok( $subdir->contains($path), "preferred path used" );
+	ok( -d $path, "created" );
 
-ok( -d $path, "created" );
+	isa_ok( $lock, "File::NFSLock", "lock" );
 
-isa_ok( $lock, "File::NFSLock", "lock" );
+	my ( $fallback_path, $fallback_lock ) = $f->create_and_lock_fallback($f->base_path);
 
-my ( $fallback_path, $fallback_lock ) = $f->create_and_lock_fallback($f->base_path);
+	isa_ok( $fallback_path, "Path::Class::Dir" );
 
-isa_ok( $fallback_path, "Path::Class::Dir" );
+	isnt( $fallback_path, $path, "fallback path is different" );
 
-isnt( $fallback_path, $path, "fallback path is different" );
+	isa_ok( $fallback_lock, "File::NFSLock" );
 
-isa_ok( $fallback_lock, "File::NFSLock" );
+	{
+		$f->lock(0);
 
-{
-	$f->lock(0);
+		my ( $new_fb ) = $f->create_and_lock_fallback($f->base_path);
 
-	my ( $new_fb ) = $f->create_and_lock_fallback($f->base_path);
+		isnt( $new_fb, $path, "second fallback is different from base path" );
+		isnt( $new_fb, $fallback_path, "and from first fallback path" );
 
-	isnt( $new_fb, $path, "second fallback is different from base path" );
-	isnt( $new_fb, $fallback_path, "and from first fallback path" );
-
-	rmdir $new_fb;
-}
+		rmdir $new_fb;
+	}
 
 
-$f->lock(1);
+	$f->lock(1);
 
-isa_ok( my $dir = $f->create, "Test::TempDir::Handle" );
+	isa_ok( my $dir = $f->create, "Test::TempDir::Handle" );
 
-isa_ok( $dir->dir, "Path::Class::Dir" );
+	isa_ok( $dir->dir, "Path::Class::Dir" );
 
-ok( $subdir->contains( $dir->dir ), "created in the right place" );
+	ok( $subdir->contains( $dir->dir ), "created in the right place" );
 
-isa_ok( $dir->lock, "File::NFSLock" );
+	isa_ok( $dir->lock, "File::NFSLock" );
 
-SKIP: {
-	my $lockfile = $dir->lock->{lock_file} or skip "no lockfile", 2;
+	SKIP: {
+		my $lockfile = $dir->lock->{lock_file} or skip "no lockfile", 2;
 
-	ok( -f $lockfile, "lockfile exists" );
+		ok( -f $lockfile, "lockfile exists" );
 
-	$dir->empty;
+		$dir->empty;
 
-	ok( -f $lockfile, "lockfile exists after ->empty" );
+		ok( -f $lockfile, "lockfile exists after ->empty" );
+	}
+
+	rmdir $fallback_path;
+
+	$f->base_path->rmtree({ keep_root => 0 });
 }
-
-rmdir $fallback_path;
-
-




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