r20914 - in /trunk/libmath-derivative-perl: Derivative.pm debian/changelog debian/control debian/patches/ debian/patches/fix-pod.patch debian/patches/series debian/rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Tue Jun 10 18:24:55 UTC 2008


Author: gregoa
Date: Tue Jun 10 18:24:55 2008
New Revision: 20914

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20914
Log:
* Split out POD fixes into a separate patch; add quilt framework.
* Set Standards-Version to 3.7.3 (no changes).
* Refresh debian/rules, no functional changes, except: don't install README
  and Release any more.

Added:
    trunk/libmath-derivative-perl/debian/patches/
    trunk/libmath-derivative-perl/debian/patches/fix-pod.patch
    trunk/libmath-derivative-perl/debian/patches/series
Modified:
    trunk/libmath-derivative-perl/Derivative.pm
    trunk/libmath-derivative-perl/debian/changelog
    trunk/libmath-derivative-perl/debian/control
    trunk/libmath-derivative-perl/debian/rules

Modified: trunk/libmath-derivative-perl/Derivative.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-derivative-perl/Derivative.pm?rev=20914&op=diff
==============================================================================
--- trunk/libmath-derivative-perl/Derivative.pm (original)
+++ trunk/libmath-derivative-perl/Derivative.pm Tue Jun 10 18:24:55 2008
@@ -1,9 +1,8 @@
 # functions for calculating derivatives of data
 # $Id: Derivative.pm,v 1.1 1995/12/26 16:26:59 willijar Exp $
-
 =head1 NAME
 
-Math::Derivative - Numeric 1st and 2nd order differentiation
+ Math::Derivative - Numeric 1st and 2nd order differentiation
 
 =head1 SYNOPSIS
 

Modified: trunk/libmath-derivative-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-derivative-perl/debian/changelog?rev=20914&op=diff
==============================================================================
--- trunk/libmath-derivative-perl/debian/changelog (original)
+++ trunk/libmath-derivative-perl/debian/changelog Tue Jun 10 18:24:55 2008
@@ -17,6 +17,12 @@
 
   [ Joachim Breitner ]
   * Removed myself from uploaders.
+
+  [ gregor herrmann ]
+  * Split out POD fixes into a separate patch; add quilt framework.
+  * Set Standards-Version to 3.7.3 (no changes).
+  * Refresh debian/rules, no functional changes, except: don't install README
+    and Release any more.
 
  -- Joachim Breitner <nomeata at debian.org>  Mon, 11 Feb 2008 20:29:29 +0000
 

Modified: trunk/libmath-derivative-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-derivative-perl/debian/control?rev=20914&op=diff
==============================================================================
--- trunk/libmath-derivative-perl/debian/control (original)
+++ trunk/libmath-derivative-perl/debian/control Tue Jun 10 18:24:55 2008
@@ -4,8 +4,8 @@
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Carlo Segre <segre at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>
 Build-Depends-Indep: perl
-Build-Depends: debhelper (>= 5.0.0)
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5.0.0), quilt (>= 0.40)
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Math-Derivative/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmath-derivative-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-derivative-perl/

Added: trunk/libmath-derivative-perl/debian/patches/fix-pod.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-derivative-perl/debian/patches/fix-pod.patch?rev=20914&op=file
==============================================================================
--- trunk/libmath-derivative-perl/debian/patches/fix-pod.patch (added)
+++ trunk/libmath-derivative-perl/debian/patches/fix-pod.patch Tue Jun 10 18:24:55 2008
@@ -1,0 +1,13 @@
+--- libmath-derivative-perl-0.01.orig/Derivative.pm
++++ libmath-derivative-perl-0.01/Derivative.pm
+@@ -1,8 +1,9 @@
+ # functions for calculating derivatives of data
+ # $Id: Derivative.pm,v 1.1 1995/12/26 16:26:59 willijar Exp $
++
+ =head1 NAME
+ 
+- Math::Derivative - Numeric 1st and 2nd order differentiation
++Math::Derivative - Numeric 1st and 2nd order differentiation
+ 
+ =head1 SYNOPSIS
+ 

Added: trunk/libmath-derivative-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-derivative-perl/debian/patches/series?rev=20914&op=file
==============================================================================
--- trunk/libmath-derivative-perl/debian/patches/series (added)
+++ trunk/libmath-derivative-perl/debian/patches/series Tue Jun 10 18:24:55 2008
@@ -1,0 +1,1 @@
+fix-pod.patch

Modified: trunk/libmath-derivative-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-derivative-perl/debian/rules?rev=20914&op=diff
==============================================================================
--- trunk/libmath-derivative-perl/debian/rules (original)
+++ trunk/libmath-derivative-perl/debian/rules Tue Jun 10 18:24:55 2008
@@ -1,44 +1,56 @@
 #!/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
 
-package := $(shell grep Package debian/control | sed 's/^Package: //')
-version := $(shell head -1 debian/changelog | \
-                        perl -nle 'm/\S+\s+\((\S+)\)/ && print $$1')
-debtmp  := $(CURDIR)/debian/$(package)
+# 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)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
-	perl Makefile.PL verbose INSTALLDIRS=vendor
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	$(MAKE) test
+	touch $@
 
-	touch build-stamp
-
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
-	dh_clean build-stamp
-	[ ! -f Makefile ] || $(MAKE) clean
-	rm -f Makefile.old
+	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
-	$(MAKE) DESTDIR=$(debtmp) PREFIX=/usr install
-	[ ! -d $(debtmp)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(debtmp)/usr/lib/perl5
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
 
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_perl	
-	dh_installdocs	README
-	dh_installexamples
-	dh_installchangelogs	Release
+	dh_installdocs
+	dh_installchangelogs
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -46,7 +58,5 @@
 	dh_md5sums
 	dh_builddeb
 
-binary-arch: build install
-
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install




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