r20823 - in /trunk/libchemistry-elements-perl: Makefile.PL debian/changelog debian/control debian/patches/ debian/patches/man-section.patch debian/patches/series debian/rules debian/watch

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jun 7 15:05:05 UTC 2008


Author: gregoa
Date: Sat Jun  7 15:05:04 2008
New Revision: 20823

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20823
Log:
* debian/watch: use dist-based URL.
* Split out the fix for the man section into man-section.patch; add quilt
  framework.
* Set Standards-Version to 3.7.3 (no changes).
* Refresh debian/rules, no functional changes (except for dropping README).

Added:
    trunk/libchemistry-elements-perl/debian/patches/
    trunk/libchemistry-elements-perl/debian/patches/man-section.patch
    trunk/libchemistry-elements-perl/debian/patches/series
Modified:
    trunk/libchemistry-elements-perl/Makefile.PL
    trunk/libchemistry-elements-perl/debian/changelog
    trunk/libchemistry-elements-perl/debian/control
    trunk/libchemistry-elements-perl/debian/rules
    trunk/libchemistry-elements-perl/debian/watch

Modified: trunk/libchemistry-elements-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchemistry-elements-perl/Makefile.PL?rev=20823&op=diff
==============================================================================
--- trunk/libchemistry-elements-perl/Makefile.PL (original)
+++ trunk/libchemistry-elements-perl/Makefile.PL Sat Jun  7 15:05:04 2008
@@ -19,7 +19,7 @@
 		},
 		
 	'MAN3PODS'		=> {
-		'Elements.pm' => '$(INST_MAN3DIR)/Chemistry::Elements.3pm',
+		'Elements.pm' => '$(INST_MAN3DIR)/Chemistry::Elements.3',
 		},
 
 	clean  => { FILES    => q|Chemistry-Elements-*| },

Modified: trunk/libchemistry-elements-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchemistry-elements-perl/debian/changelog?rev=20823&op=diff
==============================================================================
--- trunk/libchemistry-elements-perl/debian/changelog (original)
+++ trunk/libchemistry-elements-perl/debian/changelog Sat Jun  7 15:05:04 2008
@@ -1,6 +1,11 @@
 libchemistry-elements-perl (1.05-2) UNRELEASED; urgency=low
 
   * debian/rules: delete /usr/lib/perl5 only if it exists.
+  * debian/watch: use dist-based URL.
+  * Split out the fix for the man section into man-section.patch; add quilt
+    framework.
+  * Set Standards-Version to 3.7.3 (no changes).
+  * Refresh debian/rules, no functional changes (except for dropping README).
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 09 Jan 2008 21:16:56 +0100
 

Modified: trunk/libchemistry-elements-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchemistry-elements-perl/debian/control?rev=20823&op=diff
==============================================================================
--- trunk/libchemistry-elements-perl/debian/control (original)
+++ trunk/libchemistry-elements-perl/debian/control Sat Jun  7 15:05:04 2008
@@ -5,9 +5,9 @@
 Uploaders: Carlo Segre <segre at debian.org>, Gunnar Wolf <gwolf at gwolf.org>,
  gregor herrmann <gregor+debian at comodo.priv.at>,
  Damyan Ivanov <dmn at debian.org>
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 5.0.0), quilt (>= 0.40)
 Build-Depends-Indep: perl, libtest-pod-perl, libtest-pod-coverage-perl
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Chemistry-Elements/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libchemistry-elements-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libchemistry-elements-perl/

Added: trunk/libchemistry-elements-perl/debian/patches/man-section.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchemistry-elements-perl/debian/patches/man-section.patch?rev=20823&op=file
==============================================================================
--- trunk/libchemistry-elements-perl/debian/patches/man-section.patch (added)
+++ trunk/libchemistry-elements-perl/debian/patches/man-section.patch Sat Jun  7 15:05:04 2008
@@ -1,0 +1,11 @@
+--- libchemistry-elements-perl-1.05.orig/Makefile.PL
++++ libchemistry-elements-perl-1.05/Makefile.PL
+@@ -19,7 +19,7 @@
+ 		},
+ 		
+ 	'MAN3PODS'		=> {
+-		'Elements.pm' => '$(INST_MAN3DIR)/Chemistry::Elements.3',
++		'Elements.pm' => '$(INST_MAN3DIR)/Chemistry::Elements.3pm',
+ 		},
+ 
+ 	clean  => { FILES    => q|Chemistry-Elements-*| },

Added: trunk/libchemistry-elements-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchemistry-elements-perl/debian/patches/series?rev=20823&op=file
==============================================================================
--- trunk/libchemistry-elements-perl/debian/patches/series (added)
+++ trunk/libchemistry-elements-perl/debian/patches/series Sat Jun  7 15:05:04 2008
@@ -1,0 +1,1 @@
+man-section.patch

Modified: trunk/libchemistry-elements-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchemistry-elements-perl/debian/rules?rev=20823&op=diff
==============================================================================
--- trunk/libchemistry-elements-perl/debian/rules (original)
+++ trunk/libchemistry-elements-perl/debian/rules Sat Jun  7 15:05:04 2008
@@ -1,44 +1,57 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# 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 dh_listpackages)
-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 ] || ( touch 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 chart_test
+	dh_installdocs
 	dh_installchangelogs Changes
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -46,7 +59,5 @@
 	dh_md5sums
 	dh_builddeb
 
-binary-arch: build install
-
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install

Modified: trunk/libchemistry-elements-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchemistry-elements-perl/debian/watch?rev=20823&op=diff
==============================================================================
--- trunk/libchemistry-elements-perl/debian/watch (original)
+++ trunk/libchemistry-elements-perl/debian/watch Sat Jun  7 15:05:04 2008
@@ -1,3 +1,2 @@
 version=3
-http://www.cpan.org/authors/id/B/BD/BDFOY/Chemistry-Elements-(.*)\.tar\.gz \
-	debian
+http://search.cpan.org/dist/Chemistry-Elements/   .*/Chemistry-Elements-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)




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