diff -Nru libfilesys-notify-simple-perl-0.12/Changes libfilesys-notify-simple-perl-0.13/Changes --- libfilesys-notify-simple-perl-0.12/Changes 2013-06-13 21:45:38.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/Changes 2018-03-08 07:02:17.000000000 +0000 @@ -1,5 +1,9 @@ Revision history for Perl extension Filesys::Notify::Simple +0.13 2018-03-07 23:02:15 PST + - Add OpenBSD support #22 + - Fix for a new Mac::FSEvents API #25 + 0.12 2013-06-13 14:45:27 PDT - Fix GH#12, Tests should no longer fail under HARNESS_OPTIONS=j10 (Kent Frederic) diff -Nru libfilesys-notify-simple-perl-0.12/debian/changelog libfilesys-notify-simple-perl-0.13/debian/changelog --- libfilesys-notify-simple-perl-0.12/debian/changelog 2013-06-16 10:13:00.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/debian/changelog 2018-03-18 16:54:05.000000000 +0000 @@ -1,3 +1,30 @@ +libfilesys-notify-simple-perl (0.13-1) unstable; urgency=medium + + * Team upload. + + [ gregor herrmann ] + * Strip trailing slash from metacpan URLs. + + [ Salvatore Bonaccorso ] + * Update Vcs-Browser URL to cgit web frontend + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + * Remove Jonathan Yu from Uploaders. Thanks for your work! + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ gregor herrmann ] + * Add debian/upstream/metadata. + * Import upstream version 0.13. + * Update years of upstream copyright. + * Declare compliance with Debian Policy 4.1.3. + * Bump debhelper compatibility level to 10. + + -- gregor herrmann Sun, 18 Mar 2018 17:54:05 +0100 + libfilesys-notify-simple-perl (0.12-1) unstable; urgency=low * Imported Upstream version 0.12 diff -Nru libfilesys-notify-simple-perl-0.12/debian/compat libfilesys-notify-simple-perl-0.13/debian/compat --- libfilesys-notify-simple-perl-0.12/debian/compat 2013-06-16 10:09:55.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/debian/compat 2018-03-18 16:54:05.000000000 +0000 @@ -1 +1 @@ -8 +10 diff -Nru libfilesys-notify-simple-perl-0.12/debian/control libfilesys-notify-simple-perl-0.13/debian/control --- libfilesys-notify-simple-perl-0.12/debian/control 2013-06-16 10:10:32.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/debian/control 2018-03-18 16:54:05.000000000 +0000 @@ -1,21 +1,22 @@ Source: libfilesys-notify-simple-perl +Maintainer: Debian Perl Group +Uploaders: Angel Abad , + Xavier Guimard Section: perl +Testsuite: autopkgtest-pkg-perl Priority: optional -Maintainer: Debian Perl Group -Uploaders: Jonathan Yu , - Angel Abad , - Xavier Guimard -Build-Depends: debhelper (>= 8) +Build-Depends: debhelper (>= 10) Build-Depends-Indep: libtest-sharedfork-perl, - perl -Standards-Version: 3.9.4 -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libfilesys-notify-simple-perl.git -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libfilesys-notify-simple-perl.git -Homepage: https://metacpan.org/release/Filesys-Notify-Simple/ + perl +Standards-Version: 4.1.3 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfilesys-notify-simple-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfilesys-notify-simple-perl.git +Homepage: https://metacpan.org/release/Filesys-Notify-Simple Package: libfilesys-notify-simple-perl Architecture: all -Depends: ${misc:Depends}, ${perl:Depends} +Depends: ${misc:Depends}, + ${perl:Depends} Description: simple file system monitor Filesys::Notify::Simple is a Perl module that provides a simple and unified interface to get notifications of changes for a given filesystem path. It can diff -Nru libfilesys-notify-simple-perl-0.12/debian/copyright libfilesys-notify-simple-perl-0.13/debian/copyright --- libfilesys-notify-simple-perl-0.12/debian/copyright 2013-06-16 10:12:26.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/debian/copyright 2018-03-18 16:54:05.000000000 +0000 @@ -1,17 +1,11 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Filesys-Notify-Simple -Source: https://metacpan.org/release/Filesys-Notify-Simple/ +Source: https://metacpan.org/release/Filesys-Notify-Simple Upstream-Contact: Tatsuhiko Miyagawa Files: * -Copyright: 2009-2013, Tatsuhiko Miyagawa +Copyright: 2009-2018, Tatsuhiko Miyagawa License: Artistic or GPL-1+ -Comment: Rationale from the author was: - All of my modules available at http://search.cpan.org/~miyagawa/ with the - statement "AUTHOR: Tatsuhiko Miyagawa" are, unless otherwise noted, - Copyright (c) Tatsuhiiko Miyagawa. - Source: http://bulknews.net/debian.txt (author's web site) - The exact year comes from the CPAN upload date. Files: debian/* Copyright: 2010-2011 2013, Angel Abad diff -Nru libfilesys-notify-simple-perl-0.12/debian/upstream/metadata libfilesys-notify-simple-perl-0.13/debian/upstream/metadata --- libfilesys-notify-simple-perl-0.12/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/debian/upstream/metadata 2018-03-18 16:54:05.000000000 +0000 @@ -0,0 +1,7 @@ +--- +Archive: CPAN +Bug-Database: https://github.com/miyagawa/Filesys-Notify-Simple/issues +Contact: Tatsuhiko Miyagawa +Name: Filesys-Notify-Simple +Repository: https://github.com/miyagawa/Filesys-Notify-Simple.git +Repository-Browse: https://github.com/miyagawa/Filesys-Notify-Simple diff -Nru libfilesys-notify-simple-perl-0.12/debian/watch libfilesys-notify-simple-perl-0.13/debian/watch --- libfilesys-notify-simple-perl-0.12/debian/watch 2013-06-16 10:09:55.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/debian/watch 2018-03-18 16:54:05.000000000 +0000 @@ -1,2 +1,2 @@ version=3 -https://metacpan.org/release/Filesys-Notify-Simple/ .*/Filesys-Notify-Simple-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +https://metacpan.org/release/Filesys-Notify-Simple .*/Filesys-Notify-Simple-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ diff -Nru libfilesys-notify-simple-perl-0.12/lib/Filesys/Notify/Simple.pm libfilesys-notify-simple-perl-0.13/lib/Filesys/Notify/Simple.pm --- libfilesys-notify-simple-perl-0.12/lib/Filesys/Notify/Simple.pm 2013-06-13 21:45:38.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/lib/Filesys/Notify/Simple.pm 2018-03-08 07:02:17.000000000 +0000 @@ -2,7 +2,7 @@ use strict; use 5.008_001; -our $VERSION = '0.12'; +our $VERSION = '0.13'; use Carp (); use Cwd; @@ -36,7 +36,7 @@ $self->{watcher_cb} = \&wait_inotify2; } elsif ($^O eq 'darwin' && !NO_OPT && eval { require Mac::FSEvents; 1 }) { $self->{watcher_cb} = \&wait_fsevents; - } elsif ($^O eq 'freebsd' && !NO_OPT && eval { require Filesys::Notify::KQueue; 1 }) { + } elsif (($^O eq 'freebsd' || $^O eq 'openbsd') && !NO_OPT && eval { require Filesys::Notify::KQueue; 1 }) { $self->{watcher_cb} = \&wait_kqueue; } elsif ($^O eq 'MSWin32' && !NO_OPT && eval { require Win32::ChangeNotify; 1 }) { $self->{watcher_cb} = mk_wait_win32(0); # Not cygwin @@ -55,7 +55,8 @@ my $fs = _full_scan(@path); for my $path (keys %$fs) { - $inotify->watch($path, &IN_MODIFY|&IN_CREATE|&IN_DELETE|&IN_DELETE_SELF|&IN_MOVE_SELF|&IN_MOVE); + $inotify->watch($path, &IN_MODIFY|&IN_CREATE|&IN_DELETE|&IN_DELETE_SELF|&IN_MOVE_SELF|&IN_MOVE) + or Carp::croak("watch failed: $!"); } return sub { @@ -75,7 +76,7 @@ my %events; for my $path (@path) { - my $fsevents = Mac::FSEvents->new({ path => $path, latency => 1 }); + my $fsevents = Mac::FSEvents->new({ path => $path, latency => 1, file_events => 1 }); my $fh = $fsevents->watch; $sel->add($fh); $events{fileno $fh} = $fsevents; diff -Nru libfilesys-notify-simple-perl-0.12/LICENSE libfilesys-notify-simple-perl-0.13/LICENSE --- libfilesys-notify-simple-perl-0.12/LICENSE 2013-06-13 21:45:38.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/LICENSE 2018-03-08 07:02:17.000000000 +0000 @@ -1,4 +1,4 @@ -This software is copyright (c) 2013 by Tatsuhiko Miyagawa . +This software is copyright (c) 2018 by Tatsuhiko Miyagawa . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2013 by Tatsuhiko Miyagawa . +This software is Copyright (c) 2018 by Tatsuhiko Miyagawa . This is free software, licensed under: @@ -22,7 +22,7 @@ Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2013 by Tatsuhiko Miyagawa . +This software is Copyright (c) 2018 by Tatsuhiko Miyagawa . This is free software, licensed under: diff -Nru libfilesys-notify-simple-perl-0.12/Makefile.PL libfilesys-notify-simple-perl-0.13/Makefile.PL --- libfilesys-notify-simple-perl-0.12/Makefile.PL 2013-06-13 21:45:38.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/Makefile.PL 2018-03-08 07:02:17.000000000 +0000 @@ -1,23 +1,20 @@ - +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.009. use strict; use warnings; use 5.008001; -use ExtUtils::MakeMaker 6.30; - - +use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( "ABSTRACT" => "Simple and dumb file system watcher", "AUTHOR" => "Tatsuhiko Miyagawa ", - "BUILD_REQUIRES" => {}, "CONFIGURE_REQUIRES" => { - "ExtUtils::MakeMaker" => "6.30" + "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "Filesys-Notify-Simple", - "EXE_FILES" => [], "LICENSE" => "perl", + "MIN_PERL_VERSION" => "5.008001", "NAME" => "Filesys::Notify::Simple", "PREREQ_PM" => {}, "TEST_REQUIRES" => { @@ -25,43 +22,27 @@ "Test::More" => 0, "Test::SharedFork" => 0 }, - "VERSION" => "0.12", + "VERSION" => "0.13", "test" => { "TESTS" => "t/*.t" } ); -unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { - my $tr = delete $WriteMakefileArgs{TEST_REQUIRES}; - my $br = $WriteMakefileArgs{BUILD_REQUIRES}; - for my $mod ( keys %$tr ) { - if ( exists $br->{$mod} ) { - $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod}; - } - else { - $br->{$mod} = $tr->{$mod}; - } - } -} +my %FallbackPrereqs = ( + "File::Temp" => 0, + "Test::More" => 0, + "Test::SharedFork" => 0 +); -unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { - my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; - my $pp = $WriteMakefileArgs{PREREQ_PM}; - for my $mod ( keys %$br ) { - if ( exists $pp->{$mod} ) { - $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod}; - } - else { - $pp->{$mod} = $br->{$mod}; - } - } + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + delete $WriteMakefileArgs{TEST_REQUIRES}; + delete $WriteMakefileArgs{BUILD_REQUIRES}; + $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); - - - diff -Nru libfilesys-notify-simple-perl-0.12/MANIFEST libfilesys-notify-simple-perl-0.13/MANIFEST --- libfilesys-notify-simple-perl-0.12/MANIFEST 2013-06-13 21:45:38.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/MANIFEST 2018-03-08 07:02:17.000000000 +0000 @@ -1,3 +1,4 @@ +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.009. Changes LICENSE MANIFEST @@ -9,8 +10,8 @@ dist.ini lib/Filesys/Notify/Simple.pm t/00_compile.t +t/author-pod-syntax.t t/move.t t/non_existent_path.t -t/release-pod-syntax.t t/rm_create.t t/x/placeholder diff -Nru libfilesys-notify-simple-perl-0.12/META.json libfilesys-notify-simple-perl-0.13/META.json --- libfilesys-notify-simple-perl-0.12/META.json 2013-06-13 21:45:38.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/META.json 2018-03-08 07:02:17.000000000 +0000 @@ -4,33 +4,34 @@ "Tatsuhiko Miyagawa " ], "dynamic_config" : 0, - "generated_by" : "Dist::Milla version v1.0.2, Dist::Zilla version 4.300034, CPAN::Meta::Converter version 2.131560", + "generated_by" : "Dist::Milla version v1.0.18, Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Filesys-Notify-Simple", "no_index" : { "directory" : [ - "t", - "xt", + "eg", + "examples", "inc", "share", - "eg", - "examples" + "t", + "xt" ] }, "prereqs" : { "configure" : { "requires" : { - "ExtUtils::MakeMaker" : "6.30" + "ExtUtils::MakeMaker" : "0" } }, "develop" : { "requires" : { + "Dist::Milla" : "v1.0.18", "Test::Pod" : "1.41" } }, @@ -59,15 +60,19 @@ "web" : "https://github.com/miyagawa/Filesys-Notify-Simple" } }, - "version" : "0.12", + "version" : "0.13", "x_contributors" : [ "Chia-liang Kao ", "Christiaan Kras ", - "Kent Fredric ", + "Ilya ", "Kenta Sato ", + "Kent Fredric ", "Masahiro Chiba ", + "Matthew Somerville ", + "mono ", "Tatsuhiko Miyagawa ", "Yasutaka ATARASHI " - ] + ], + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233" } diff -Nru libfilesys-notify-simple-perl-0.12/META.yml libfilesys-notify-simple-perl-0.13/META.yml --- libfilesys-notify-simple-perl-0.12/META.yml 2013-06-13 21:45:38.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/META.yml 2018-03-08 07:02:17.000000000 +0000 @@ -3,38 +3,42 @@ author: - 'Tatsuhiko Miyagawa ' build_requires: - File::Temp: 0 - Test::More: 0 - Test::SharedFork: 0 + File::Temp: '0' + Test::More: '0' + Test::SharedFork: '0' configure_requires: - ExtUtils::MakeMaker: 6.30 + ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Milla version v1.0.2, Dist::Zilla version 4.300034, CPAN::Meta::Converter version 2.131560' +generated_by: 'Dist::Milla version v1.0.18, Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Filesys-Notify-Simple no_index: directory: - - t - - xt - - inc - - share - eg - examples + - inc + - share + - t + - xt requires: - perl: 5.008001 + perl: '5.008001' resources: bugtracker: https://github.com/miyagawa/Filesys-Notify-Simple/issues homepage: https://github.com/miyagawa/Filesys-Notify-Simple repository: https://github.com/miyagawa/Filesys-Notify-Simple.git -version: 0.12 +version: '0.13' x_contributors: - 'Chia-liang Kao ' - 'Christiaan Kras ' - - 'Kent Fredric ' + - 'Ilya ' - 'Kenta Sato ' + - 'Kent Fredric ' - 'Masahiro Chiba ' + - 'Matthew Somerville ' + - 'mono ' - 'Tatsuhiko Miyagawa ' - 'Yasutaka ATARASHI ' +x_serialization_backend: 'YAML::Tiny version 1.70' diff -Nru libfilesys-notify-simple-perl-0.12/README libfilesys-notify-simple-perl-0.13/README --- libfilesys-notify-simple-perl-0.12/README 2013-06-13 21:45:38.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/README 2018-03-08 07:02:17.000000000 +0000 @@ -1,9 +1,11 @@ NAME + Filesys::Notify::Simple - Simple and dumb file system watcher SYNOPSIS - use Filesys::Notify::Simple; + use Filesys::Notify::Simple; + my $watcher = Filesys::Notify::Simple->new([ "." ]); $watcher->wait(sub { for my $event (@_) { @@ -12,6 +14,7 @@ }); DESCRIPTION + Filesys::Notify::Simple is a simple but unified interface to get notifications of changes to a given filesystem path. It utilizes inotify2 on Linux, fsevents on OS X, kqueue on FreeBSD and @@ -21,11 +24,11 @@ There are some limitations in this module. If you don't like it, use File::ChangeNotify. - * There is no file name based filter. Do it in your own code. + * There is no file name based filter. Do it in your own code. - * You can not get types of events (created, updated, deleted). + * You can not get types of events (created, updated, deleted). - * Currently "wait" method blocks. + * Currently wait method blocks. In return, this module doesn't depend on any non-core modules. Platform specific optimizations with Linux::Inotify2, Mac::FSEvents, @@ -33,22 +36,25 @@ NOTE: Using Win32::ChangeNotify may put additional limitations. - * Win32::ChangeNotify uses FindFirstChangeNotificationA so that - Unicode characters can not be handled. On cygwin (1.7 or later), - Unicode characters should be able to be handled when - Win32::ChangeNotify is not used. + * Win32::ChangeNotify uses FindFirstChangeNotificationA so that + Unicode characters can not be handled. On cygwin (1.7 or later), + Unicode characters should be able to be handled when + Win32::ChangeNotify is not used. - * If more than 64 directories are included under the specified paths, - an error occurrs. + * If more than 64 directories are included under the specified paths, + an error occurrs. AUTHOR + Tatsuhiko Miyagawa LICENSE + This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO - File::ChangeNotify Mac::FSEvents Linux::Inotify2 Filesys::Notify::KQueue - Win32::ChangeNotify + + File::ChangeNotify Mac::FSEvents Linux::Inotify2 + Filesys::Notify::KQueue Win32::ChangeNotify diff -Nru libfilesys-notify-simple-perl-0.12/t/author-pod-syntax.t libfilesys-notify-simple-perl-0.13/t/author-pod-syntax.t --- libfilesys-notify-simple-perl-0.12/t/author-pod-syntax.t 1970-01-01 00:00:00.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/t/author-pod-syntax.t 2018-03-08 07:02:17.000000000 +0000 @@ -0,0 +1,15 @@ +#!perl + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit + } +} + +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use strict; use warnings; +use Test::More; +use Test::Pod 1.41; + +all_pod_files_ok(); diff -Nru libfilesys-notify-simple-perl-0.12/t/release-pod-syntax.t libfilesys-notify-simple-perl-0.13/t/release-pod-syntax.t --- libfilesys-notify-simple-perl-0.12/t/release-pod-syntax.t 2013-06-13 21:45:38.000000000 +0000 +++ libfilesys-notify-simple-perl-0.13/t/release-pod-syntax.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -use Test::More; - -eval "use Test::Pod 1.41"; -plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; - -all_pod_files_ok();