r18226 - in /trunk/libdevel-stacktrace-perl/debian: changelog control rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Mar 31 19:09:01 UTC 2008


Author: gregoa-guest
Date: Mon Mar 31 19:09:00 2008
New Revision: 18226

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18226
Log:
- add libmodule-build-perl to build dependencies
- add libtest-pod-perl, libtest-pod-coverage-perl to build dependencies
to enable additional tests
* debian/rules:
- update with dh-make-perl's help
- don't install README any more (text version of the POD documentation)

Modified:
    trunk/libdevel-stacktrace-perl/debian/changelog
    trunk/libdevel-stacktrace-perl/debian/control
    trunk/libdevel-stacktrace-perl/debian/rules

Modified: trunk/libdevel-stacktrace-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-stacktrace-perl/debian/changelog?rev=18226&op=diff
==============================================================================
--- trunk/libdevel-stacktrace-perl/debian/changelog (original)
+++ trunk/libdevel-stacktrace-perl/debian/changelog Mon Mar 31 19:09:00 2008
@@ -1,4 +1,4 @@
-libdevel-stacktrace-perl (1.11-2) UNRELEASED; urgency=low
+libdevel-stacktrace-perl (1.18-1) UNRELEASED; urgency=low
 
   * Take over for the Debian Perl Group with maintainer's permission.
     (cf. #473601)
@@ -15,8 +15,14 @@
   * Set Standards-Version to 3.7.3 (no changes).
   * Set debhelper compatibility level to 5.
   * debian/control: move perl to Build-Depends-Indep.
+    - add libmodule-build-perl to build dependencies
+    - add libtest-pod-perl, libtest-pod-coverage-perl to build dependencies
+      to enable additional tests
+  * debian/rules:
+    - update with dh-make-perl's help
+    - don't install README any more (text version of the POD documentation)
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 31 Mar 2008 21:00:20 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 31 Mar 2008 21:08:12 +0200
 
 libdevel-stacktrace-perl (1.11-1) unstable; urgency=low
 

Modified: trunk/libdevel-stacktrace-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-stacktrace-perl/debian/control?rev=18226&op=diff
==============================================================================
--- trunk/libdevel-stacktrace-perl/debian/control (original)
+++ trunk/libdevel-stacktrace-perl/debian/control Mon Mar 31 19:09:00 2008
@@ -1,8 +1,9 @@
 Source: libdevel-stacktrace-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: perl (>= 5.8.0)
+Build-Depends: debhelper (>= 5), libmodule-build-perl
+Build-Depends-Indep: perl (>= 5.8.0), libtest-pod-perl,
+ libtest-pod-coverage-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Ivan Kohler <ivan-debian at 420.am>,
  gregor herrmann <gregor+debian at comodo.priv.at>

Modified: trunk/libdevel-stacktrace-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-stacktrace-perl/debian/rules?rev=18226&op=diff
==============================================================================
--- trunk/libdevel-stacktrace-perl/debian/rules (original)
+++ trunk/libdevel-stacktrace-perl/debian/rules Mon Mar 31 19:09:00 2008
@@ -1,87 +1,63 @@
 #!/usr/bin/make -f
-#-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
+# 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.
+#
+# It was later modified by Jason Kohles <email at jasonkohles.com>
+# http://www.jasonkohles.com/ to support Module::Build installed modules
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PACKAGE=$(shell dh_listpackages)
+# 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
 
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-ifndef DESTDIR
-DESTDIR=..
-endif
-TMP     =`pwd`/debian/$(PACKAGE)
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
 	dh_testdir
-
-	
-	# Add here commands to compile the package.
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-
-	touch build-stamp
+	# Add commands to compile the package here
+	$(PERL) Build.PL installdirs=vendor
+	$(PERL) Build
+	IS_MAINTAINER=1 $(PERL) Build test
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp
+	dh_clean build-stamp install-stamp
+	# Add commands to clean up after the build process here
+	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
 
-	# Add here commands to clean up after the build process.
-	-$(MAKE) realclean
-
-	dh_clean
-
-install: 
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
+	# Add commands to install the package into $(TMP) here
+	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	touch $@
 
-	# Add here commands to install the package into debian/tmp.
-	#$(MAKE) install DESTDIR=`pwd`/debian/tmp
-	$(MAKE) install PREFIX=$(TMP)/usr
+binary-arch:
+# We have nothing to do here for an architecture-independent package
 
-
-# Build architecture-independent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
 binary-indep: build install
-#	dh_testversion
 	dh_testdir
 	dh_testroot
-	dh_installdocs README
-	dh_installexamples
-	dh_installmenu
-#	dh_installemacsen
-#	dh_installinit
-	dh_installcron
-	dh_installman
-#	dh_undocumented
+	dh_installdocs
 	dh_installchangelogs Changes
-	dh_link
-	dh_strip
+	dh_perl
 	dh_compress
 	dh_fixperms
-#	dh_makeshlibs
 	dh_installdeb
-	dh_perl 
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
-	dh_builddeb --destdir=$(DESTDIR)
-
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary install




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