r66090 - in /trunk/libchart-perl/debian: README.source changelog compat control libchart-perl.doc rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Tue Dec 21 21:55:51 UTC 2010


Author: gregoa
Date: Tue Dec 21 21:55:45 2010
New Revision: 66090

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

Added:
    trunk/libchart-perl/debian/libchart-perl.doc
Removed:
    trunk/libchart-perl/debian/README.source
Modified:
    trunk/libchart-perl/debian/changelog
    trunk/libchart-perl/debian/compat
    trunk/libchart-perl/debian/control
    trunk/libchart-perl/debian/rules

Modified: trunk/libchart-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchart-perl/debian/changelog?rev=66090&op=diff
==============================================================================
--- trunk/libchart-perl/debian/changelog (original)
+++ trunk/libchart-perl/debian/changelog Tue Dec 21 21:55:45 2010
@@ -1,8 +1,6 @@
 libchart-perl (2.4.2-1) UNRELEASED; urgency=low
 
   [ gregor herrmann ]
-  * Add debian/README.source to document quilt usage, as required by
-    Debian Policy since 3.8.0.
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
     (source stanza).
   * debian/control: Added: ${misc:Depends} to Depends: field.
@@ -18,6 +16,7 @@
 
   [ gregor herrmann ]
   * Switch to source format 3.0 (quilt).
+  * Switch to debhelper 7.
 
  -- Jotam Jr. Trejo <jotamjr at debian.org.sv>  Tue, 07 Dec 2010 22:08:39 -0600
 

Modified: trunk/libchart-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchart-perl/debian/compat?rev=66090&op=diff
==============================================================================
--- trunk/libchart-perl/debian/compat (original)
+++ trunk/libchart-perl/debian/compat Tue Dec 21 21:55:45 2010
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libchart-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchart-perl/debian/control?rev=66090&op=diff
==============================================================================
--- trunk/libchart-perl/debian/control (original)
+++ trunk/libchart-perl/debian/control Tue Dec 21 21:55:45 2010
@@ -8,7 +8,7 @@
 Homepage: http://search.cpan.org/dist/Chart/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libchart-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libchart-perl/
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: perl (>> 5.8), libgd-gd2-perl
 
 Package: libchart-perl

Added: trunk/libchart-perl/debian/libchart-perl.doc
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchart-perl/debian/libchart-perl.doc?rev=66090&op=file
==============================================================================
--- trunk/libchart-perl/debian/libchart-perl.doc (added)
+++ trunk/libchart-perl/debian/libchart-perl.doc Tue Dec 21 21:55:45 2010
@@ -1,0 +1,3 @@
+TODO
+rgb.txt
+Documentation.pdf

Modified: trunk/libchart-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchart-perl/debian/rules?rev=66090&op=diff
==============================================================================
--- trunk/libchart-perl/debian/rules (original)
+++ trunk/libchart-perl/debian/rules Tue Dec 21 21:55:45 2010
@@ -1,72 +1,11 @@
 #!/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
+%:
+	dh $@
 
-# 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
+override_dh_installchangelog:
+	dh_installchangelogs -k README
 
-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
-	$(MAKE)
-	$(MAKE) test
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-	[ ! -d $(CURDIR)/samples ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/samples
-	[ ! -f Makefile ] || ( $(PERL) Makefile.PL && $(MAKE) distclean )
-
-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
-
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples
-	dh_installdocs TODO rgb.txt Documentation.pdf
-	dh_installchangelogs -k README
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	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
+override_dh_clean:
+	dh_clean
+	$(RM) $(CURDIR)/samples




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