r28996 - in /trunk/libsys-gamin-perl/debian: ./ changelog compat control copyright gamin.t.old.test patches/ patches/better_test.patch patches/series rules watch

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Thu Jan 1 06:31:48 UTC 2009


Author: ceros-guest
Date: Thu Jan  1 06:31:45 2009
New Revision: 28996

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

Added:
    trunk/libsys-gamin-perl/debian/
    trunk/libsys-gamin-perl/debian/changelog
    trunk/libsys-gamin-perl/debian/compat
    trunk/libsys-gamin-perl/debian/control
    trunk/libsys-gamin-perl/debian/copyright
    trunk/libsys-gamin-perl/debian/gamin.t.old.test
    trunk/libsys-gamin-perl/debian/patches/
    trunk/libsys-gamin-perl/debian/patches/better_test.patch
    trunk/libsys-gamin-perl/debian/patches/series
    trunk/libsys-gamin-perl/debian/rules   (with props)
    trunk/libsys-gamin-perl/debian/watch

Added: trunk/libsys-gamin-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-gamin-perl/debian/changelog?rev=28996&op=file
==============================================================================
--- trunk/libsys-gamin-perl/debian/changelog (added)
+++ trunk/libsys-gamin-perl/debian/changelog Thu Jan  1 06:31:45 2009
@@ -1,0 +1,6 @@
+libsys-gamin-perl (0.1-1) unstable; urgency=low
+
+  [ Andres Mejia ]
+  * Initial release. (Closes: #464891)
+
+ -- Andres Mejia <mcitadel at gmail.com>  Wed, 31 Dec 2008 15:18:19 -0500

Added: trunk/libsys-gamin-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-gamin-perl/debian/compat?rev=28996&op=file
==============================================================================
--- trunk/libsys-gamin-perl/debian/compat (added)
+++ trunk/libsys-gamin-perl/debian/compat Thu Jan  1 06:31:45 2009
@@ -1,0 +1,1 @@
+7

Added: trunk/libsys-gamin-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-gamin-perl/debian/control?rev=28996&op=file
==============================================================================
--- trunk/libsys-gamin-perl/debian/control (added)
+++ trunk/libsys-gamin-perl/debian/control Thu Jan  1 06:31:45 2009
@@ -1,0 +1,19 @@
+Source: libsys-gamin-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 7), quilt, libgamin-dev
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Andres Mejia <mcitadel at gmail.com>
+Standards-Version: 3.8.0
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libsys-gamin-perl/
+Vcs-Browser:
+ http://svn.debian.org/viewsvn/pkg-perl/trunk/libsys-gamin-perl/
+Homepage: http://search.cpan.org/dist/Sys-Gamin/
+
+Package: libsys-gamin-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, libgamin0, ${misc:Depends}
+Description: Perl interface to Gamin (File Access Monitor implementation)
+ The Sys::Gamin module provides a somewhat higher-level and friendlier interface
+ to the Gamin File Access Monitor API. This allows one to monitor both local and
+ remote (NFS-mounted) files and directories for common filesystem events.

Added: trunk/libsys-gamin-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-gamin-perl/debian/copyright?rev=28996&op=file
==============================================================================
--- trunk/libsys-gamin-perl/debian/copyright (added)
+++ trunk/libsys-gamin-perl/debian/copyright Thu Jan  1 06:31:45 2009
@@ -1,0 +1,31 @@
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=420
+Upstream-Maintainer: Carlos Garnacho <carlosg at gnome.org>
+Upstream-Source: http://search.cpan.org/dist/Sys-Gamin/
+Upstream-Name: Sys-Gamin
+
+Files: *
+Copyright: (c) 1997 Strategic Interactive Group. All rights reserved.
+ (c) 2005, J. Glick <jglick at sig.bsh.com>
+ (c) 2005, Carlos Garnacho <carlosg at gnome.org>
+License-Alias: Perl
+License: Artistic | GPL-1+
+
+Files: debian/*
+Copyright: 2008, Andres Mejia <mcitadel at gmail.com>
+License-Alias: Perl
+License: Artistic | GPL-1+
+
+License: Artistic
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Artistic License, which comes with Perl.
+    On Debian GNU/Linux systems, the complete text of the Artistic License
+    can be found in /usr/share/common-licenses/Artistic
+
+License: GPL-1+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 1, or (at your option)
+    any later version.
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'

Added: trunk/libsys-gamin-perl/debian/gamin.t.old.test
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-gamin-perl/debian/gamin.t.old.test?rev=28996&op=file
==============================================================================
--- trunk/libsys-gamin-perl/debian/gamin.t.old.test (added)
+++ trunk/libsys-gamin-perl/debian/gamin.t.old.test Thu Jan  1 06:31:45 2009
@@ -1,0 +1,6 @@
+use Test;
+use SGI::FAM;
+
+plan tests => 1;
+
+ok (SGI::FAM::FAMChanged != SGI::FAM::FAMDeleted);

Added: trunk/libsys-gamin-perl/debian/patches/better_test.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-gamin-perl/debian/patches/better_test.patch?rev=28996&op=file
==============================================================================
--- trunk/libsys-gamin-perl/debian/patches/better_test.patch (added)
+++ trunk/libsys-gamin-perl/debian/patches/better_test.patch Thu Jan  1 06:31:45 2009
@@ -1,0 +1,54 @@
+Provide a more meaningful test for this module
+==========================================================================
+--- libsys-gamin-perl-0.1/t/gamin.t.bak	2008-12-31 22:32:36.000000000 -0500
++++ libsys-gamin-perl-0.1/t/gamin.t	2009-01-01 01:15:21.000000000 -0500
+@@ -1,6 +1,45 @@
+-use Test;
+-use SGI::FAM;
++use strict;
++use Test::More tests => 13;
++use File::Temp qw( tempfile );
+ 
+-plan tests => 1;
++BEGIN { use_ok('Sys::Gamin'); }
+ 
+-ok (SGI::FAM::FAMChanged != SGI::FAM::FAMDeleted);
++my $tmpdir = $ENV{TMP};
++if (! defined $tmpdir) { $tmpdir = '/tmp'; }
++
++my $fm = new Sys::Gamin;
++ok( defined $fm,                'new connection test' );
++
++$fm->monitor($tmpdir);
++my $event = $fm->next_event;
++ok( defined $event,             'next_event() test' );
++ok( defined $event->filename,   'event pathname() test' );
++ok( defined $event->type,       'event type() test' );
++
++SKIP: {
++    my $host = $event->hostname;
++    skip "event hostname() doesn't seem to be supported", 1 if ! $host;
++    ok( defined $host,          'event hostname() test' );
++}
++
++my ($fh, $file) = tempfile( UNLINK => 1, DIR => $tmpdir );
++ok( defined $fm->pending,       'pending() test' );
++my @monitored = $fm->monitored;
++ok( @monitored,             'monitored() test');
++ok( defined $fm->which($event), 'which() test');
++
++SKIP: {
++    eval { $fm->suspend };
++    my $reason = "suspend() is unsupported, in which case suspended() and ";
++    $reason .= "resume() will have no purpose.";
++    skip $reason, 3 if $@;
++    ok( ! $@,               'suspend() test' );
++    my @suspended = $fm->suspended;
++    ok( @suspended,         'suspended() test' );
++    eval { $fm->resume };
++    ok( ! $@,               'resume() test' );
++}
++
++$fm->cancel($tmpdir);
++ at monitored = $fm->monitored;
++ok( ! @monitored,           'cancel() test' );

Added: trunk/libsys-gamin-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-gamin-perl/debian/patches/series?rev=28996&op=file
==============================================================================
--- trunk/libsys-gamin-perl/debian/patches/series (added)
+++ trunk/libsys-gamin-perl/debian/patches/series Thu Jan  1 06:31:45 2009
@@ -1,0 +1,1 @@
+better_test.patch

Added: trunk/libsys-gamin-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-gamin-perl/debian/rules?rev=28996&op=file
==============================================================================
--- trunk/libsys-gamin-perl/debian/rules (added)
+++ trunk/libsys-gamin-perl/debian/rules Thu Jan  1 06:31:45 2009
@@ -1,0 +1,38 @@
+#!/usr/bin/make -f
+
+patch: patch-stamp
+patch-stamp:
+	dh_testdir
+	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+	touch $@
+
+build: patch build-stamp
+build-stamp:
+	dh build
+	touch $@
+
+clean: clean-patched unpatch
+clean-patched:
+	dh clean
+
+unpatch:
+	dh_testdir
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+	rm -rf .pc patch-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh install
+	touch $@
+
+binary-arch: install
+	dh $@ --before dh_shlibdeps
+	# Ensure dependency on libgamin0, not libfam0. See bug #510368.
+	dh_shlibdeps -- -xlibfam0
+	dh $@ --remaining
+
+binary-indep:
+
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build

Propchange: trunk/libsys-gamin-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libsys-gamin-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-gamin-perl/debian/watch?rev=28996&op=file
==============================================================================
--- trunk/libsys-gamin-perl/debian/watch (added)
+++ trunk/libsys-gamin-perl/debian/watch Thu Jan  1 06:31:45 2009
@@ -1,0 +1,3 @@
+version=3
+# URL to the package page followed by a regex to search
+http://search.cpan.org/dist/Sys-Gamin/   .*/Sys-Gamin-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)




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