r36141 - in /trunk/libmocked-perl/debian: ./ changelog compat control copyright rules watch

myon at users.alioth.debian.org myon at users.alioth.debian.org
Fri May 22 12:19:23 UTC 2009


Author: myon
Date: Fri May 22 12:19:19 2009
New Revision: 36141

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

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

Added: trunk/libmocked-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmocked-perl/debian/changelog?rev=36141&op=file
==============================================================================
--- trunk/libmocked-perl/debian/changelog (added)
+++ trunk/libmocked-perl/debian/changelog Fri May 22 12:19:19 2009
@@ -1,0 +1,5 @@
+libmocked-perl (0.09-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Christoph Berg <myon at debian.org>  Fri, 22 May 2009 14:16:57 +0200

Added: trunk/libmocked-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmocked-perl/debian/compat?rev=36141&op=file
==============================================================================
--- trunk/libmocked-perl/debian/compat (added)
+++ trunk/libmocked-perl/debian/compat Fri May 22 12:19:19 2009
@@ -1,0 +1,1 @@
+5

Added: trunk/libmocked-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmocked-perl/debian/control?rev=36141&op=file
==============================================================================
--- trunk/libmocked-perl/debian/control (added)
+++ trunk/libmocked-perl/debian/control Fri May 22 12:19:19 2009
@@ -1,0 +1,19 @@
+Source: libmocked-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: perl (>= 5.8.8-12), libtest-exception-perl
+Maintainer: Christoph Berg <myon at debian.org>
+Standards-Version: 3.8.1
+Homepage: http://search.cpan.org/dist/mocked/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmocked-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmocked-perl/
+
+Package: libmocked-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+Description: use real libraries from within mocked libraries
+ When mocking modules using 'mocked', you are certain that no extra "real"
+ libraries are being loaded.  But sometimes you don't want to use real
+ libraries from within your mocked library.  This module allows you to load
+ real libraries using your previous include paths.

Added: trunk/libmocked-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmocked-perl/debian/copyright?rev=36141&op=file
==============================================================================
--- trunk/libmocked-perl/debian/copyright (added)
+++ trunk/libmocked-perl/debian/copyright Fri May 22 12:19:19 2009
@@ -1,0 +1,18 @@
+This is the debian package for the Perl mocked module.
+It was created by Christoph Berg <myon at debian.org> using dh-make-perl.
+
+It was downloaded from http://search.cpan.org/dist/mocked/
+
+The upstream authors are:
+  Luke Closs <cpan at 5thplane.com>
+  Scott McWhirter <kungfuftr at cpan.org>
+
+License:
+
+This program is free software; you can redistribute it and/or modify it
+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'.

Added: trunk/libmocked-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmocked-perl/debian/rules?rev=36141&op=file
==============================================================================
--- trunk/libmocked-perl/debian/rules (added)
+++ trunk/libmocked-perl/debian/rules Fri May 22 12:19:19 2009
@@ -1,0 +1,81 @@
+#!/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
+
+	# As this is a architecture independent package, we are not
+	# supposed to install stuff to /usr/lib. MakeMaker creates
+	# the dirs, we prevent this by setting the INSTALLVENDORARCH
+	# and VENDORARCHEXP environment variables.
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor \
+		INSTALLVENDORARCH=/usr/share/perl5/ \
+		VENDORARCHEXP=/usr/share/perl5/
+	$(MAKE)
+	$(MAKE) test
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	dh_clean build-stamp install-stamp
+
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+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) install DESTDIR=$(TMP) PREFIX=/usr
+
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installexamples
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	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/libmocked-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libmocked-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmocked-perl/debian/watch?rev=36141&op=file
==============================================================================
--- trunk/libmocked-perl/debian/watch (added)
+++ trunk/libmocked-perl/debian/watch Fri May 22 12:19:19 2009
@@ -1,0 +1,3 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+http://search.cpan.org/dist/mocked/ .*/mocked-v?([\.\d]+)\.(?:tar\.gz|tar|tgz)$




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