r14199 - in /trunk/libb-keywords-perl/debian: changelog compat control rules watch

rmayorga-guest at users.alioth.debian.org rmayorga-guest at users.alioth.debian.org
Wed Feb 6 01:29:07 UTC 2008


Author: rmayorga-guest
Date: Wed Feb  6 01:29:07 2008
New Revision: 14199

URL: http://svn.debian.org/wsvn/?sc=1&rev=14199
Log:
* Make package ready for perl 5.10 update
* debian/control
  + Raise debhelper version to 6
  + Set standard-versions to 3.7.3 ( no changes needed )
* debian/rules: sync it with dh-make-perl rules template
  to follow the DPG best-practices
* Improve debian/watch

Modified:
    trunk/libb-keywords-perl/debian/changelog
    trunk/libb-keywords-perl/debian/compat
    trunk/libb-keywords-perl/debian/control
    trunk/libb-keywords-perl/debian/rules
    trunk/libb-keywords-perl/debian/watch

Modified: trunk/libb-keywords-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libb-keywords-perl/debian/changelog?rev=14199&op=diff
==============================================================================
--- trunk/libb-keywords-perl/debian/changelog (original)
+++ trunk/libb-keywords-perl/debian/changelog Wed Feb  6 01:29:07 2008
@@ -1,12 +1,22 @@
-libb-keywords-perl (1.08-2) UNRELEASED; urgency=low
+libb-keywords-perl (1.08-2) unstable; urgency=low
 
+  [ gregor herrmann ]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza). Removed: XS-Vcs-Svn fields.
   * debian/rules: don't wrap "rmdir ... /usr/lib/perl5" to make later
     substitution easier.
   * debian/rules: delete /usr/lib/perl5 only if it exists.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:27:30 +0200
+  [ Rene Mayorga ]
+  * Make package ready for perl 5.10 update
+  * debian/control
+    + Raise debhelper version to 6
+    + Set standard-versions to 3.7.3 ( no changes needed )
+  * debian/rules: sync it with dh-make-perl rules template
+    to follow the DPG best-practices
+  * Improve debian/watch
+
+ -- Rene Mayorga <rmayorga at debian.org.sv>  Tue, 05 Feb 2008 18:54:26 -0600
 
 libb-keywords-perl (1.08-1) unstable; urgency=low
 

Modified: trunk/libb-keywords-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libb-keywords-perl/debian/compat?rev=14199&op=diff
==============================================================================
--- trunk/libb-keywords-perl/debian/compat (original)
+++ trunk/libb-keywords-perl/debian/compat Wed Feb  6 01:29:07 2008
@@ -1,1 +1,1 @@
-5
+6

Modified: trunk/libb-keywords-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libb-keywords-perl/debian/control?rev=14199&op=diff
==============================================================================
--- trunk/libb-keywords-perl/debian/control (original)
+++ trunk/libb-keywords-perl/debian/control Wed Feb  6 01:29:07 2008
@@ -2,10 +2,10 @@
 Section: perl
 Priority: optional
 Build-Depends-Indep: perl (>= 5.8)
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 6)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Joey Hess <joeyh at debian.org>, Rene Mayorga <rmayorga at debian.org.sv>
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libb-keywords-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-keywords-perl/
 Homepage: http://search.cpan.org/dist/B-Keywords/

Modified: trunk/libb-keywords-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libb-keywords-perl/debian/rules?rev=14199&op=diff
==============================================================================
--- trunk/libb-keywords-perl/debian/rules (original)
+++ trunk/libb-keywords-perl/debian/rules Wed Feb  6 01:29:07 2008
@@ -1,38 +1,65 @@
 #!/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.
 
-build:
+# 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
-	perl Makefile.PL INSTALLDIRS=vendor
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	$(MAKE) test
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	if [ -e Makefile ]; then $(MAKE) realclean; fi
-	dh_clean
+	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
-	$(MAKE) install PREFIX=$(CURDIR)/debian/`dh_listpackages`/usr
-	[ ! -d $(CURDIR)/debian/`dh_listpackages`/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/`dh_listpackages`/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: build install
+binary-arch:
+# We have nothing to do here for an architecture-independent package
 
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs README
+	dh_installdocs 
 	dh_installchangelogs Changes
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl
 	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 install
+.PHONY: build clean binary-indep binary-arch binary

Modified: trunk/libb-keywords-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libb-keywords-perl/debian/watch?rev=14199&op=diff
==============================================================================
--- trunk/libb-keywords-perl/debian/watch (original)
+++ trunk/libb-keywords-perl/debian/watch Wed Feb  6 01:29:07 2008
@@ -1,2 +1,2 @@
 version=3
-http://www.cpan.org/modules/by-module/B/B-Keywords-(.*)\.tar\.gz
+http://search.cpan.org/dist/B-Keywords/ .*/B-Keywords-([[:digit:]].*)\.tar\.gz




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