[med-svn] r8900 - trunk/packages/emboss-explorer/trunk/debian

Charles Plessy plessy at alioth.debian.org
Sun Dec 11 06:26:36 UTC 2011


Author: plessy
Date: 2011-12-11 06:26:36 +0000 (Sun, 11 Dec 2011)
New Revision: 8900

Added:
   trunk/packages/emboss-explorer/trunk/debian/docs
Modified:
   trunk/packages/emboss-explorer/trunk/debian/changelog
   trunk/packages/emboss-explorer/trunk/debian/compat
   trunk/packages/emboss-explorer/trunk/debian/control
   trunk/packages/emboss-explorer/trunk/debian/rules
Log:
Swithch to Debhelper's tiny mode, compatibility level 8.


Modified: trunk/packages/emboss-explorer/trunk/debian/changelog
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/changelog	2011-12-11 05:09:12 UTC (rev 8899)
+++ trunk/packages/emboss-explorer/trunk/debian/changelog	2011-12-11 06:26:36 UTC (rev 8900)
@@ -11,6 +11,8 @@
   * Conforms with Policy 3.9.2 (debian/control, no other changes needed).
   * Corrected VCS URLs in debian/control. 
   * Updated debian/copyright to latest machine-readable format.
+  * Switch to Debhelpers compatibility level 8 (debian/compat, debian/control).
+  * Convert to Debhelper's tiny mode (debian/rules, debian/docs).
 
  -- David Paleino <d.paleino at gmail.com>  Sat, 23 May 2009 14:43:42 +0200
 

Modified: trunk/packages/emboss-explorer/trunk/debian/compat
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/compat	2011-12-11 05:09:12 UTC (rev 8899)
+++ trunk/packages/emboss-explorer/trunk/debian/compat	2011-12-11 06:26:36 UTC (rev 8900)
@@ -1 +1 @@
-7
+8

Modified: trunk/packages/emboss-explorer/trunk/debian/control
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/control	2011-12-11 05:09:12 UTC (rev 8899)
+++ trunk/packages/emboss-explorer/trunk/debian/control	2011-12-11 06:26:36 UTC (rev 8900)
@@ -4,7 +4,7 @@
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Charles Plessy <plessy at debian.org>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: libparse-recdescent-perl, libmailtools-perl
 Standards-Version: 3.9.2
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/emboss-explorer/trunk/

Added: trunk/packages/emboss-explorer/trunk/debian/docs
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/emboss-explorer/trunk/debian/docs	2011-12-11 06:26:36 UTC (rev 8900)
@@ -0,0 +1 @@
+README

Modified: trunk/packages/emboss-explorer/trunk/debian/rules
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/rules	2011-12-11 05:09:12 UTC (rev 8899)
+++ trunk/packages/emboss-explorer/trunk/debian/rules	2011-12-11 06:26:36 UTC (rev 8900)
@@ -1,77 +1,24 @@
 #!/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
-
 PERL   ?= /usr/bin/perl
-# was: $(shell dh_listpackages)
 PACKAGE = emboss-explorer
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
-build: build-stamp
-build-stamp:
-	dh_testdir
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-#	$(MAKE) test # disabled because of http://sourceforge.net/tracker/index.php?func=detail&aid=1994385&group_id=124389&atid=699414
-	touch $@
+%:
+	dh $@
 
-clean: 
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || ( touch Makefile && $(MAKE) realclean )
+override_dh_auto_test:
+# disabled because of http://sourceforge.net/tracker/index.php?func=detail&aid=1994385&group_id=124389&atid=699414
 
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	# Add commands to install the package into $(TMP) here
+override_dh_install:
+	dh_install
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
-	install -m 755 -o www-data -g www-data -d $(CURDIR)/debian/emboss-explorer/var/lib/emboss-explorer/output
 	# Move ACD.pm to a separate package, that is useful for making
 	# manpages from EMBOSS ACD files without being bothered by the
 	# dependancy on web servers.
-	mv $(CURDIR)/debian/emboss-explorer/usr/share/perl5/EMBOSS/ACD.pm $(CURDIR)/debian/libemboss-acd-perl/usr/share/perl5/EMBOSS/
-	mv $(CURDIR)/debian/emboss-explorer/usr/share/man/man3/EMBOSS::ACD.3pm $(CURDIR)/debian/libemboss-acd-perl/usr/share/man/man3/
-	touch $@
+	mv $(CURDIR)/debian/tmp/usr/share/perl5/EMBOSS/ACD.pm $(CURDIR)/debian/libemboss-acd-perl/usr/share/perl5/EMBOSS/
+	mv $(CURDIR)/debian/tmp/usr/share/man/man3/EMBOSS::ACD.3pm $(CURDIR)/debian/libemboss-acd-perl/usr/share/man/man3/
 
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_install
-	dh_installdocs README debian/README.Debian
-	dh_installchangelogs debian/changelog
-	dh_installmenu
-	dh_desktop
-	dh_installcron
-	dh_installexamples
-	dh_link
-	dh_perl
-	dh_compress
-	dh_fixperms -Xoutput
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+override_dh_fixperms:
+	dh_fixperms
+	install -m 755 -o www-data -g www-data -d $(CURDIR)/debian/emboss-explorer/var/lib/emboss-explorer/output




More information about the debian-med-commit mailing list