r27050 - in /trunk/libhook-lexwrap-perl: ./ debian/ debian/patches/ lib/Hook/ t/

rmayorga-guest at users.alioth.debian.org rmayorga-guest at users.alioth.debian.org
Sat Nov 22 05:50:54 UTC 2008


Author: rmayorga-guest
Date: Sat Nov 22 05:50:48 2008
New Revision: 27050

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27050
Log:
* New upstream release
* debian/control
  + Set debhelper version to 7
  + move standards-version to 3.8.0 (no changes needed)
  + add myself to uploaders
  + add libtest-pod-perl to B-D-I
  + adding quilt to B-D-I
* debian/rules
  + refresh debian rules to dh7 using dh-make-perl
  + install demo/* as examples
  + Add quilt 
* debian/copyright
  + updated to the (new)format
* debian/patches/adding_shebang.patch
  + add shebang to examples

Added:
    trunk/libhook-lexwrap-perl/META.yml
      - copied unchanged from r27049, branches/upstream/libhook-lexwrap-perl/current/META.yml
    trunk/libhook-lexwrap-perl/debian/libhook-lexwrap-perl.examples
    trunk/libhook-lexwrap-perl/debian/patches/
    trunk/libhook-lexwrap-perl/debian/patches/adding_shebang.patch
    trunk/libhook-lexwrap-perl/debian/patches/series
    trunk/libhook-lexwrap-perl/t/
      - copied from r27049, branches/upstream/libhook-lexwrap-perl/current/t/
Removed:
    trunk/libhook-lexwrap-perl/test.pl
Modified:
    trunk/libhook-lexwrap-perl/Changes
    trunk/libhook-lexwrap-perl/MANIFEST
    trunk/libhook-lexwrap-perl/Makefile.PL
    trunk/libhook-lexwrap-perl/debian/changelog
    trunk/libhook-lexwrap-perl/debian/compat
    trunk/libhook-lexwrap-perl/debian/control
    trunk/libhook-lexwrap-perl/debian/copyright
    trunk/libhook-lexwrap-perl/debian/rules
    trunk/libhook-lexwrap-perl/lib/Hook/LexWrap.pm

Modified: trunk/libhook-lexwrap-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/Changes?rev=27050&op=diff
==============================================================================
--- trunk/libhook-lexwrap-perl/Changes (original)
+++ trunk/libhook-lexwrap-perl/Changes Sat Nov 22 05:50:48 2008
@@ -29,3 +29,15 @@
 	- Fixed various problems in handling C<wantarray> (thanks Marcel)
 
 	- Fixed C<caller> (thanks everyone)
+
+0.21    Nov 6 2008
+
+        - Added 'See also: Sub::Prepend'
+
+        - Makefile.PL rewritten
+
+        - support of 5.6+ only made explicit
+
+        - Moved tests to t/. Silenced warnings.
+
+        - Added pod.t

Modified: trunk/libhook-lexwrap-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/MANIFEST?rev=27050&op=diff
==============================================================================
--- trunk/libhook-lexwrap-perl/MANIFEST (original)
+++ trunk/libhook-lexwrap-perl/MANIFEST Sat Nov 22 05:50:48 2008
@@ -3,6 +3,8 @@
 Makefile.PL
 README
 lib/Hook/LexWrap.pm
-test.pl
+t/test.t
+t/pod.t
 demo/demo_memo.pl
 demo/demo_temp.pl
+META.yml                                 Module meta-data (added by MakeMaker)

Modified: trunk/libhook-lexwrap-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/Makefile.PL?rev=27050&op=diff
==============================================================================
--- trunk/libhook-lexwrap-perl/Makefile.PL (original)
+++ trunk/libhook-lexwrap-perl/Makefile.PL Sat Nov 22 05:50:48 2008
@@ -1,7 +1,19 @@
-
-use ExtUtils::MakeMaker;
-WriteMakefile(
-		NAME	=> 'Hook::LexWrap',
-		VERSION => '0.20',
-
-	     );
+use 5.006;
+use strict;
+use warnings;
+use ExtUtils::MakeMaker;
+
+WriteMakefile(
+    NAME                => 'Hook::LexWrap',
+    AUTHOR              => 'Damian Conway (damian at conway.org)',
+    VERSION_FROM        => 'lib/Hook/LexWrap.pm',
+    ABSTRACT_FROM       => 'lib/Hook/LexWrap.pm',
+    PL_FILES            => {},
+    PREREQ_PM => {
+    },
+    ($ExtUtils::MakeMaker::VERSION ge '6.31'? 
+     ('LICENSE'		=> 'perl', ) : ()),
+    ($ExtUtils::MakeMaker::VERSION ge '6.48'? 
+     ('MIN_PERL_VERSION' => 5.006,) : ()),
+    clean               => { FILES => 'Hook-LexWrap-*' },
+);

Modified: trunk/libhook-lexwrap-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/debian/changelog?rev=27050&op=diff
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/changelog (original)
+++ trunk/libhook-lexwrap-perl/debian/changelog Sat Nov 22 05:50:48 2008
@@ -1,10 +1,28 @@
-libhook-lexwrap-perl (0.20-3) UNRELEASED; urgency=low
+libhook-lexwrap-perl (0.21-1) unstable; urgency=low
 
+  [ gregor herrmann ]
   * debian/watch: use dist-based URL.
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
     (source stanza).
 
- -- gregor herrmann <gregoa at debian.org>  Wed, 06 Aug 2008 18:23:33 -0300
+  [ Rene Mayorga ]
+  * New upstream release
+  * debian/control
+    + Set debhelper version to 7
+    + move standards-version to 3.8.0 (no changes needed)
+    + add myself to uploaders
+    + add libtest-pod-perl to B-D-I
+    + adding quilt to B-D-I
+  * debian/rules
+    + refresh debian rules to dh7 using dh-make-perl
+    + install demo/* as examples
+    + Add quilt 
+  * debian/copyright
+    + updated to the (new)format
+  * debian/patches/adding_shebang.patch
+    + add shebang to examples
+
+ -- Rene Mayorga <rmayorga at debian.org.sv>  Fri, 21 Nov 2008 23:23:06 -0600
 
 libhook-lexwrap-perl (0.20-2) unstable; urgency=low
 

Modified: trunk/libhook-lexwrap-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/debian/compat?rev=27050&op=diff
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/compat (original)
+++ trunk/libhook-lexwrap-perl/debian/compat Sat Nov 22 05:50:48 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libhook-lexwrap-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/debian/control?rev=27050&op=diff
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/control (original)
+++ trunk/libhook-lexwrap-perl/debian/control Sat Nov 22 05:50:48 2008
@@ -1,11 +1,11 @@
 Source: libhook-lexwrap-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
-Build-Depends-Indep: perl (>= 5.8.8-7)
+Build-Depends: debhelper (>= 7), quilt
+Build-Depends-Indep: perl (>= 5.8.8-7), libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Michael Mende <debian at menole.net>
-Standards-Version: 3.7.3
+Uploaders: Michael Mende <debian at menole.net>, Rene Mayorga <rmayorga at debian.org.sv>
+Standards-Version: 3.8.0
 Homepage: http://search.cpan.org/dist/Hook-LexWrap/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhook-lexwrap-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libhook-lexwrap-perl/

Modified: trunk/libhook-lexwrap-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/debian/copyright?rev=27050&op=diff
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/copyright (original)
+++ trunk/libhook-lexwrap-perl/debian/copyright Sat Nov 22 05:50:48 2008
@@ -1,18 +1,28 @@
-This is the debian package for the Hook::LexWrap module.
-It was created by Michael Mende <debian at menole.net> using dh-make-perl.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Damian Conway (damian at conway.org)
+Upstream-Source: http://search.cpan.org/dist/Hook-LexWrap/
+Upstream-Name: Hook-LexWrap
 
-The upstream author is: Damian Conway <damian at conway.org>
+Files: *
+Copyright: 2001 Damian Conway <damian at conway.org>
+License-Alias: Perl
+License: Artistic | GPL-1+
 
-It was downloaded from: http://www.cpan.org/modules/by-module/Hook/
+Files: debian/*
+Copyright: 2007-2008, Michael Mende <debian at menole.net>
+License: Artistic | GPL-1+
 
-Copyright (c) 2001, Damian Conway. All Rights Reserved.
-    This module is free software. It may be used, redistributed
-        and/or modified under the same terms as Perl itself.
+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
 
-Perl is distributed under your choice of the GNU General Public License or
-the Artistic License.  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'.
-
-The Debian packaging is (C) 2007, Michael Mende <debian at menole.net> and is 
-licensed under the same terms as Perl itself, see above.
+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/libhook-lexwrap-perl/debian/libhook-lexwrap-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/debian/libhook-lexwrap-perl.examples?rev=27050&op=file
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/libhook-lexwrap-perl.examples (added)
+++ trunk/libhook-lexwrap-perl/debian/libhook-lexwrap-perl.examples Sat Nov 22 05:50:48 2008
@@ -1,0 +1,1 @@
+demo/*

Added: trunk/libhook-lexwrap-perl/debian/patches/adding_shebang.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/debian/patches/adding_shebang.patch?rev=27050&op=file
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/patches/adding_shebang.patch (added)
+++ trunk/libhook-lexwrap-perl/debian/patches/adding_shebang.patch Sat Nov 22 05:50:48 2008
@@ -1,0 +1,14 @@
+--- libhook-lexwrap-perl.orig/demo/demo_memo.pl
++++ libhook-lexwrap-perl/demo/demo_memo.pl
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use Hook::LexWrap;
+ 
+ sub fibonacci {
+--- libhook-lexwrap-perl.orig/demo/demo_temp.pl
++++ libhook-lexwrap-perl/demo/demo_temp.pl
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use Hook::LexWrap;
+ 
+ my $temp;

Added: trunk/libhook-lexwrap-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/debian/patches/series?rev=27050&op=file
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/patches/series (added)
+++ trunk/libhook-lexwrap-perl/debian/patches/series Sat Nov 22 05:50:48 2008
@@ -1,0 +1,1 @@
+adding_shebang.patch

Modified: trunk/libhook-lexwrap-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/debian/rules?rev=27050&op=diff
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/rules (original)
+++ trunk/libhook-lexwrap-perl/debian/rules Sat Nov 22 05:50:48 2008
@@ -1,78 +1,25 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
+include /usr/share/quilt/quilt.make
 
 build: build-stamp
-build-stamp:
-	dh_testdir
+build-stamp: $(QUILT_STAMPFN)
+	dh build
+	touch $@
 
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
+clean: unpatch
+	dh $@
 
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-	dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(MAKE) test
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
-	touch install-stamp
+install: install-stamp
+install-stamp: build-stamp
+	dh install
+	touch $@
 
 binary-arch:
-# We have nothing to do by default.
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary: binary-arch binary-indep
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: binary binary-arch binary-indep install clean build

Modified: trunk/libhook-lexwrap-perl/lib/Hook/LexWrap.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhook-lexwrap-perl/lib/Hook/LexWrap.pm?rev=27050&op=diff
==============================================================================
--- trunk/libhook-lexwrap-perl/lib/Hook/LexWrap.pm (original)
+++ trunk/libhook-lexwrap-perl/lib/Hook/LexWrap.pm Sat Nov 22 05:50:48 2008
@@ -1,6 +1,6 @@
 package Hook::LexWrap;
-our $VERSION = '0.20';
 use 5.006;
+our $VERSION = '0.21';
 use Carp;
 
 *CORE::GLOBAL::caller = sub {
@@ -31,7 +31,7 @@
 			qw(pre post);
 	no warnings 'redefine';
 	my ($caller, $unwrap) = *CORE::GLOBAL::caller{CODE};
-	$imposter = sub {
+	my $imposter = sub {
 		if ($unwrap) { goto &$original }
 		my ($return, $prereturn);
 		if (wantarray) {
@@ -92,8 +92,8 @@
 
 =head1 VERSION
 
-This document describes version 0.20 of Hook::LexWrap,
-released October  1, 2001.
+This document describes version 0.21 of Hook::LexWrap,
+released November  6, 2008.
 
 =head1 SYNOPSIS
 
@@ -318,6 +318,10 @@
 Bug reports and other feedback are most welcome.
 
 
+=head1 SEE ALSO
+
+Sub::Prepend
+
 =head1 COPYRIGHT
 
       Copyright (c) 2001, Damian Conway. All Rights Reserved.




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