r13595 - in /trunk/libtest-mockmodule-perl/debian: ./ changelog compat control copyright rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Jan 26 08:14:14 UTC 2008


Author: dmn
Date: Sat Jan 26 08:14:14 2008
New Revision: 13595

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

Added:
    trunk/libtest-mockmodule-perl/debian/
    trunk/libtest-mockmodule-perl/debian/changelog
    trunk/libtest-mockmodule-perl/debian/compat
    trunk/libtest-mockmodule-perl/debian/control
    trunk/libtest-mockmodule-perl/debian/copyright
    trunk/libtest-mockmodule-perl/debian/rules   (with props)

Added: trunk/libtest-mockmodule-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtest-mockmodule-perl/debian/changelog?rev=13595&op=file
==============================================================================
--- trunk/libtest-mockmodule-perl/debian/changelog (added)
+++ trunk/libtest-mockmodule-perl/debian/changelog Sat Jan 26 08:14:14 2008
@@ -1,0 +1,5 @@
+libtest-mockmodule-perl (0.05-1) unstable; urgency=low
+
+  * Initial release - closes: #345397
+
+ -- Ben Hutchings <ben at decadentplace.org.uk>  Sat, 31 Dec 2005 03:47:11 +0000

Added: trunk/libtest-mockmodule-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libtest-mockmodule-perl/debian/compat?rev=13595&op=file
==============================================================================
--- trunk/libtest-mockmodule-perl/debian/compat (added)
+++ trunk/libtest-mockmodule-perl/debian/compat Sat Jan 26 08:14:14 2008
@@ -1,0 +1,1 @@
+4

Added: trunk/libtest-mockmodule-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libtest-mockmodule-perl/debian/control?rev=13595&op=file
==============================================================================
--- trunk/libtest-mockmodule-perl/debian/control (added)
+++ trunk/libtest-mockmodule-perl/debian/control Sat Jan 26 08:14:14 2008
@@ -1,0 +1,21 @@
+Source: libtest-mockmodule-perl
+Maintainer: Ben Hutchings <ben at decadentplace.org.uk>
+Section: perl
+Priority: extra
+Build-Depends-Indep: debhelper (>= 4), perl (>= 5.6.0-16), libtest-pod-perl, libtest-pod-coverage-perl
+Standards-Version: 3.6.2
+
+Package: libtest-mockmodule-perl
+Architecture: all
+Depends: ${perl:Depends}
+Description: Test::MockModule - Override subroutines in a module for unit testing
+ Test::MockModule lets you temporarily redefine subroutines in other
+ packages for the purposes of unit testing.
+ .
+ A Test::MockModule object is set up to mock subroutines for a given
+ module. The object remembers the original subroutine so it can be
+ easily restored. This happens automatically when all MockModule
+ objects for the given module go out of scope, or when you unmock()
+ the subroutine.
+ .
+ Homepage: http://search.cpan.org/~simonflk/Test-MockModule/

Added: trunk/libtest-mockmodule-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libtest-mockmodule-perl/debian/copyright?rev=13595&op=file
==============================================================================
--- trunk/libtest-mockmodule-perl/debian/copyright (added)
+++ trunk/libtest-mockmodule-perl/debian/copyright Sat Jan 26 08:14:14 2008
@@ -1,0 +1,14 @@
+This is the Debian-packaged version of Test::MockModule, put
+together by Ben Hutchings <ben at decadentplace.org.uk> using source
+from:
+
+  http://search.cpan.org/~simonflk/Test-MockModule/
+
+Copyright 2004 Simon Flack <simonflk at cpan.org>.
+
+You may distribute under the terms of either the GNU General Public
+License or the Artistic License, as specified in the Perl README file.
+
+On Debian 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'.

Added: trunk/libtest-mockmodule-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtest-mockmodule-perl/debian/rules?rev=13595&op=file
==============================================================================
--- trunk/libtest-mockmodule-perl/debian/rules (added)
+++ trunk/libtest-mockmodule-perl/debian/rules Sat Jan 26 08:14:14 2008
@@ -1,0 +1,29 @@
+#!/usr/bin/make -f
+
+build : build-stamp
+
+build-stamp : Makefile.PL
+	perl Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) test
+	touch build-stamp
+
+binary : binary-arch binary-indep
+
+binary-arch :
+
+binary-indep : build-stamp
+	dh_testroot
+	$(MAKE) PREFIX=$(CURDIR)/debian/libtest-mockmodule-perl/usr install
+	dh_perl
+	dh_installchangelogs Changes
+	dh_installdocs
+	dh_compress
+	dh_fixperms
+	dh_gencontrol
+	dh_builddeb
+
+clean : 
+	if [ -f Makefile ]; then $(MAKE) clean; fi
+	dh_clean Makefile Makefile.old build-stamp
+
+.PHONY : build binary binary-arch binary-dep clean

Propchange: trunk/libtest-mockmodule-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




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