r6663 - in /trunk/libhook-lexwrap-perl/debian: ./ changelog compat control copyright rules watch

menole-guest at users.alioth.debian.org menole-guest at users.alioth.debian.org
Wed Aug 15 14:27:43 UTC 2007


Author: menole-guest
Date: Wed Aug 15 14:27:43 2007
New Revision: 6663

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

Added:
    trunk/libhook-lexwrap-perl/debian/
    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   (with props)
    trunk/libhook-lexwrap-perl/debian/watch

Added: trunk/libhook-lexwrap-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libhook-lexwrap-perl/debian/changelog?rev=6663&op=file
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/changelog (added)
+++ trunk/libhook-lexwrap-perl/debian/changelog Wed Aug 15 14:27:43 2007
@@ -1,0 +1,5 @@
+libhook-lexwrap-perl (0.20-1) unstable; urgency=low
+
+  * Initial Release (Closes: #433924).
+
+ -- Michael Mende <debian at menole.net>  Wed, 15 Aug 2007 16:04:54 +0000

Added: trunk/libhook-lexwrap-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libhook-lexwrap-perl/debian/compat?rev=6663&op=file
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/compat (added)
+++ trunk/libhook-lexwrap-perl/debian/compat Wed Aug 15 14:27:43 2007
@@ -1,0 +1,1 @@
+5

Added: trunk/libhook-lexwrap-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libhook-lexwrap-perl/debian/control?rev=6663&op=file
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/control (added)
+++ trunk/libhook-lexwrap-perl/debian/control Wed Aug 15 14:27:43 2007
@@ -1,0 +1,28 @@
+Source: libhook-lexwrap-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: perl (>= 5.8.8-7)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Michael Mende <debian at menole.net>
+Standards-Version: 3.7.2
+
+Package: libhook-lexwrap-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, 
+Description:  Lexically scoped subroutine wrappers
+ Hook::LexWrap allows you to install a pre- or post-wrapper (or both)
+ around an existing subroutine. Unlike other modules that provide this
+ capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap
+ implements wrappers in such a way that the standard caller function
+ works correctly within the wrapped subroutine.
+ .
+ To install a prewrappers, you write:
+ .
+ use Hook::LexWrap;
+ .
+ wrap 'subroutine_name', pre => \&some_other_sub;
+ .
+ #or: wrap *subroutine_name,  pre => \&some_other_sub;
+ .
+ This description was automagically extracted from the module by dh-make-perl.

Added: trunk/libhook-lexwrap-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libhook-lexwrap-perl/debian/copyright?rev=6663&op=file
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/copyright (added)
+++ trunk/libhook-lexwrap-perl/debian/copyright Wed Aug 15 14:27:43 2007
@@ -1,0 +1,18 @@
+This is the debian package for the Hook::LexWrap module.
+It was created by Michael Mende <debian at menole.net> using dh-make-perl.
+
+The upstream author is: Damian Conway <damian at conway.org>
+
+It was downloaded from: http://www.cpan.org/modules/by-module/Hook/
+
+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.
+
+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.

Added: trunk/libhook-lexwrap-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libhook-lexwrap-perl/debian/rules?rev=6663&op=file
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/rules (added)
+++ trunk/libhook-lexwrap-perl/debian/rules Wed Aug 15 14:27:43 2007
@@ -1,0 +1,79 @@
+#!/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)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="-Wall -O2 -g"
+
+	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:
+	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+
+	touch install-stamp
+
+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_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary

Propchange: trunk/libhook-lexwrap-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libhook-lexwrap-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libhook-lexwrap-perl/debian/watch?rev=6663&op=file
==============================================================================
--- trunk/libhook-lexwrap-perl/debian/watch (added)
+++ trunk/libhook-lexwrap-perl/debian/watch Wed Aug 15 14:27:43 2007
@@ -1,0 +1,2 @@
+version=3
+http://www.cpan.org/modules/by-module/Hook/Hook-LexWrap-(.*)\.tar\.gz




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