r77940 - in /trunk/libsvn-hooks-perl: Changes META.yml Makefile.PL README debian/changelog debian/control debian/copyright lib/SVN/Hooks.pm
angelabad-guest at users.alioth.debian.org
angelabad-guest at users.alioth.debian.org
Thu Jul 28 08:54:26 UTC 2011
Author: angelabad-guest
Date: Thu Jul 28 08:54:25 2011
New Revision: 77940
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77940
Log:
* New upstream release
* debian/control:
- {Build-}Depends on liburi-perl
- Bump minimum libsvn-look-perl version to 0.21
Modified:
trunk/libsvn-hooks-perl/Changes
trunk/libsvn-hooks-perl/META.yml
trunk/libsvn-hooks-perl/Makefile.PL
trunk/libsvn-hooks-perl/README
trunk/libsvn-hooks-perl/debian/changelog
trunk/libsvn-hooks-perl/debian/control
trunk/libsvn-hooks-perl/debian/copyright
trunk/libsvn-hooks-perl/lib/SVN/Hooks.pm
Modified: trunk/libsvn-hooks-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/Changes?rev=77940&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/Changes (original)
+++ trunk/libsvn-hooks-perl/Changes Thu Jul 28 08:54:25 2011
@@ -1,4 +1,11 @@
Revision history for SVN-Hooks. -*- text -*-
+
+1.02 2011-07-27
+
+ Porting Makefile.PL to Windows.
+ Adjusting dependency from SVN::Look version.
+ Supporting absolute file names for SVN::Hooks configuration files.
+ Adding URI::file to the dependencies.
1.01 2011-07-21
Modified: trunk/libsvn-hooks-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/META.yml?rev=77940&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/META.yml (original)
+++ trunk/libsvn-hooks-perl/META.yml Thu Jul 28 08:54:25 2011
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: SVN-Hooks
-version: 1.01
+version: 1.02
abstract: A framework for implementing Subversion hooks.
author:
- Gustavo Chaves <gnustavo at cpan.org>
@@ -15,9 +15,10 @@
Email::Simple: 0
Email::Simple::Creator: 0
JIRA::Client: 0
- SVN::Look: 0
+ SVN::Look: 0.21
SVN::Notify: 0
Test::More: 0
+ URI::file: 0
XMLRPC::Lite: 0
no_index:
directory:
Modified: trunk/libsvn-hooks-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/Makefile.PL?rev=77940&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/Makefile.PL (original)
+++ trunk/libsvn-hooks-perl/Makefile.PL Thu Jul 28 08:54:25 2011
@@ -1,11 +1,14 @@
use strict;
use warnings;
+use File::Spec::Functions;
use ExtUtils::MakeMaker qw(WriteMakefile prompt);
use IO::Socket ();
use Getopt::Long qw(GetOptions);
# clean up the testing flag files.
-unlink('t/online.enabled', 't/author.enabled');
+my $t_online = catfile('t', 'online.enabled');
+my $t_author = catfile('t', 'author.enabled');
+unlink($t_online, $t_author);
my $usage = "$0 [--online-tests] [--author-tests]\n";
my $online_tests = 0;
@@ -37,28 +40,31 @@
}
if ($online_tests) {
- open(ENABLED, ">t/online.enabled") or die "Can't touch ./t/online.enabled: $!";
- close(ENABLED) or die "Can't touch ./t/online.enabled: $!";
+ open(ENABLED, '>', $t_online) or die "Can't touch $t_online: $!\n";
+ close(ENABLED) or die "Can't touch $t_online: $!\n";
}
if ($author_tests) {
- open(ENABLED, ">t/author.enabled") or die "Can't touch ./t/author.enabled: $!";
- close(ENABLED) or die "Can't touch ./t/author.enabled: $!";
+ open(ENABLED, '>', $t_author) or die "Can't touch $t_author: $!\n";
+ close(ENABLED) or die "Can't touch $t_author: $!\n";
}
+
+my $hooks_pm = catfile('lib', 'SVN', 'Hooks.pm');
WriteMakefile(
NAME => 'SVN::Hooks',
AUTHOR => 'Gustavo Chaves <gnustavo at cpan.org>',
- VERSION_FROM => 'lib/SVN/Hooks.pm',
- ABSTRACT_FROM => 'lib/SVN/Hooks.pm',
+ VERSION_FROM => $hooks_pm,
+ ABSTRACT_FROM => $hooks_pm,
PL_FILES => {},
PREREQ_PM => {
'Email::Send' => 0,
'Email::Simple' => 0,
'Email::Simple::Creator' => 0,
- 'SVN::Look' => 0,
+ 'SVN::Look' => '0.21',
'SVN::Notify' => 0,
'Test::More' => 0,
+ 'URI::file' => 0,
'XMLRPC::Lite' => 0,
'JIRA::Client' => 0,
},
Modified: trunk/libsvn-hooks-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/README?rev=77940&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/README (original)
+++ trunk/libsvn-hooks-perl/README Thu Jul 28 08:54:25 2011
@@ -1,6 +1,6 @@
Name: SVN-Hooks
What: Framework for Subversion hooks
-Version: 1.01
+Version: 1.02
Author: Gustavo Chaves <gnustavo at cpan.org>
SVN-Hooks is a framework for creating Subversion hooks
Modified: trunk/libsvn-hooks-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/debian/changelog?rev=77940&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/debian/changelog (original)
+++ trunk/libsvn-hooks-perl/debian/changelog Thu Jul 28 08:54:25 2011
@@ -1,8 +1,15 @@
-libsvn-hooks-perl (1.01-2) UNRELEASED; urgency=low
-
+libsvn-hooks-perl (1.02-1) unstable; urgency=low
+
+ [ Angel Abad ]
+ * New upstream release
+ * debian/control:
+ - {Build-}Depends on liburi-perl
+ - Bump minimum libsvn-look-perl version to 0.21
+
+ [ Ansgar Burchardt ]
* debian/control: Convert Vcs-* fields to Git.
- -- Ansgar Burchardt <ansgar at debian.org> Wed, 27 Jul 2011 18:48:02 +0200
+ -- Angel Abad <angelabad at gmail.com> Thu, 28 Jul 2011 10:54:12 +0200
libsvn-hooks-perl (1.01-1) unstable; urgency=low
Modified: trunk/libsvn-hooks-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/debian/control?rev=77940&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/debian/control (original)
+++ trunk/libsvn-hooks-perl/debian/control Thu Jul 28 08:54:25 2011
@@ -11,8 +11,9 @@
libemail-simple-perl (>= 2.100) | libemail-simple-creator-perl,
libjira-client-perl,
libsoap-lite-perl,
- libsvn-look-perl,
+ libsvn-look-perl (>= 0.21),
libsvn-notify-perl,
+ liburi-perl,
perl,
subversion
Standards-Version: 3.9.2
@@ -27,8 +28,9 @@
libemail-simple-perl (>= 2.100) | libemail-simple-creator-perl,
libjira-client-perl,
libsoap-lite-perl,
- libsvn-look-perl,
+ libsvn-look-perl (>= 0.21),
libsvn-notify-perl,
+ liburi-perl,
subversion
Description: framework for implementing Subversion hooks
SVN::Hooks is a Perl-based framework for creating Subversion hooks. It comes
Modified: trunk/libsvn-hooks-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/debian/copyright?rev=77940&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/debian/copyright (original)
+++ trunk/libsvn-hooks-perl/debian/copyright Thu Jul 28 08:54:25 2011
@@ -12,6 +12,7 @@
2009-2010, Salvatore Bonaccorso <carnil at debian.org>
2009, gregor herrmann <gregoa at debian.org>
2010, Jonathan Yu <jawnsy at cpan.org>
+ 2011, Ansgar Burchardt <ansgar at debian.org>
License: Artistic or GPL-1+
License: Artistic
Modified: trunk/libsvn-hooks-perl/lib/SVN/Hooks.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/lib/SVN/Hooks.pm?rev=77940&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/lib/SVN/Hooks.pm (original)
+++ trunk/libsvn-hooks-perl/lib/SVN/Hooks.pm Thu Jul 28 08:54:25 2011
@@ -18,11 +18,11 @@
=head1 VERSION
-Version 1.01
+Version 1.02
=cut
-our $VERSION = '1.01';
+our $VERSION = '1.02';
our @Conf_Files = (catfile('conf', 'svn-hooks.conf'));
our $Repo = undef;
@@ -39,7 +39,7 @@
# Reload all configuration files
foreach my $conf (@Conf_Files) {
- my $conffile = catfile($Repo, $conf);
+ my $conffile = file_name_is_absolute($conf) ? $conf : catfile($Repo, $conf);
next unless -e $conffile; # Configuration files are optional
package main;
unless (my $return = do $conffile) {
More information about the Pkg-perl-cvs-commits
mailing list