r32554 - in /trunk/libpar-packer-perl/debian: changelog clean compat control docs rules

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Fri Apr 3 06:22:19 UTC 2009


Author: ryan52-guest
Date: Fri Apr  3 06:22:10 2009
New Revision: 32554

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=32554
Log:
debhelper 7

Added:
    trunk/libpar-packer-perl/debian/clean
    trunk/libpar-packer-perl/debian/docs
Modified:
    trunk/libpar-packer-perl/debian/changelog
    trunk/libpar-packer-perl/debian/compat
    trunk/libpar-packer-perl/debian/control
    trunk/libpar-packer-perl/debian/rules

Modified: trunk/libpar-packer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-packer-perl/debian/changelog?rev=32554&op=diff
==============================================================================
--- trunk/libpar-packer-perl/debian/changelog (original)
+++ trunk/libpar-packer-perl/debian/changelog Fri Apr  3 06:22:10 2009
@@ -3,8 +3,9 @@
   * New upstream release
   * update copyright
   * refresh patches
+  * debhelper 7
 
- -- Ryan Niebur <ryanryan52 at gmail.com>  Thu, 02 Apr 2009 22:27:45 -0700
+ -- Ryan Niebur <ryanryan52 at gmail.com>  Thu, 02 Apr 2009 23:21:57 -0700
 
 libpar-packer-perl (0.982-3) unstable; urgency=low
 

Added: trunk/libpar-packer-perl/debian/clean
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-packer-perl/debian/clean?rev=32554&op=file
==============================================================================
--- trunk/libpar-packer-perl/debian/clean (added)
+++ trunk/libpar-packer-perl/debian/clean Fri Apr  3 06:22:10 2009
@@ -1,0 +1,3 @@
+build-stamp
+install-stamp
+myldr/Makefile.old

Modified: trunk/libpar-packer-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-packer-perl/debian/compat?rev=32554&op=diff
==============================================================================
--- trunk/libpar-packer-perl/debian/compat (original)
+++ trunk/libpar-packer-perl/debian/compat Fri Apr  3 06:22:10 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libpar-packer-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-packer-perl/debian/control?rev=32554&op=diff
==============================================================================
--- trunk/libpar-packer-perl/debian/control (original)
+++ trunk/libpar-packer-perl/debian/control Fri Apr  3 06:22:10 2009
@@ -1,7 +1,7 @@
 Source: libpar-packer-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.8-11), libperl-dev,
+Build-Depends: debhelper (>= 7.2), perl (>= 5.8.8-11), libperl-dev,
  libarchive-zip-perl, libpar-perl (>= 0.977), libtest-pod-perl, quilt,
  libinline-perl, libmodule-scandeps-perl (>= 0.81)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>

Added: trunk/libpar-packer-perl/debian/docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-packer-perl/debian/docs?rev=32554&op=file
==============================================================================
--- trunk/libpar-packer-perl/debian/docs (added)
+++ trunk/libpar-packer-perl/debian/docs Fri Apr  3 06:22:10 2009
@@ -1,0 +1,3 @@
+TODO
+README
+contrib

Modified: trunk/libpar-packer-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-packer-perl/debian/rules?rev=32554&op=diff
==============================================================================
--- trunk/libpar-packer-perl/debian/rules (original)
+++ trunk/libpar-packer-perl/debian/rules Fri Apr  3 06:22:10 2009
@@ -1,88 +1,49 @@
 #!/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
 
 include /usr/share/quilt/quilt.make
 
-PERL   ?= /usr/bin/perl
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
-# Allow disabling build optimisation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
+override_dh_auto_test:
+	ln -sf par.pl blib/script/par-archive
+	PERL_TEST_POD=1 dh_auto_test
+	rm blib/script/par-archive
 
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	ln -sf par.pl blib/script/par-archive
-	PERL_TEST_POD=1 $(MAKE) test
-	rm blib/script/par-archive
+	dh build
 	touch $@
 
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp myldr/Makefile.old
+override_dh_auto_clean:
+	dh_clean
 	# dam: Makefile.PL is unpatched. It being newer that Makefile triggers
 	# Makefile rebuild, failing building twice in a row. To work around
 	# this, touch Makefile
-	[ ! -f Makefile ] || ( touch Makefile && $(MAKE) realclean )
-	rm -rf _Inline
+	[ ! -f Makefile ] || touch Makefile
+	dh_auto_clean
+	rm -fr _Inline
+
+clean: unpatch
+	dh clean
+	rm -fr contrib/automated_pp_test/pp_switch_tests
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
-	dh_link usr/share/man/man1/parl.1p \
-		usr/share/man/man1/parldyn.1p
-	rm $(TMP)/usr/share/man/man1/pp.1p
-	dh_link usr/share/man/man3/pp.3pm \
-		usr/share/man/man1/pp.1p
+	dh install
+	dh_link usr/share/man/man1/parl.1p.gz \
+		usr/share/man/man1/parldyn.1p.gz
+	rm $(TMP)/usr/share/man/man1/pp.1p.gz
+	dh_link usr/share/man/man3/pp.3pm.gz \
+		usr/share/man/man1/pp.1p.gz
 	prename s/\.pl/-archive/ \
-		$(TMP)/usr/bin/par.pl $(TMP)/usr/share/man/man1/par.pl.1p
+		$(TMP)/usr/bin/par.pl $(TMP)/usr/share/man/man1/par.pl.1p.gz
 	touch $@
 
-# Build architecture-independent files here.
 binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
 
-# Build architecture-dependent files here.
 binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs TODO README contrib
-	dh_installchangelogs ChangeLog
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh binary-arch
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install




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