[med-svn] r3282 - trunk/packages/bioperl-run/trunk/debian

Charles Plessy plessy at alioth.debian.org
Sat Apr 11 04:01:12 UTC 2009


Author: plessy
Date: 2009-04-11 04:01:12 +0000 (Sat, 11 Apr 2009)
New Revision: 3282

Modified:
   trunk/packages/bioperl-run/trunk/debian/changelog
   trunk/packages/bioperl-run/trunk/debian/control
   trunk/packages/bioperl-run/trunk/debian/rules
Log:
Corrected build depndancies, and simplified debian/rules.


Modified: trunk/packages/bioperl-run/trunk/debian/changelog
===================================================================
--- trunk/packages/bioperl-run/trunk/debian/changelog	2009-04-11 00:09:57 UTC (rev 3281)
+++ trunk/packages/bioperl-run/trunk/debian/changelog	2009-04-11 04:01:12 UTC (rev 3282)
@@ -1,16 +1,15 @@
 bioperl-run (1.6.1-1) UNRELEASED; urgency=low
 
-TODO: it downloads CPAN stuff when built by cowbuilder. This is wrong.
+  TODO: Eponine test fails.
 
   * New upstream release.
   * debian/patches/10-wrong-path-for-interpreter.patch: removed
     (fixed upstream).
   * debian/watch updated (bioperl -> BioPerl).
-  * debian/rules:
+  * debian/rules refreshed with dh-make-perl 0.53.
     - Disabled installation of examples (removed upstream).
     - Removed the correction of file permission of Pise documentation
       (removed upstream).
-    - Replaced `dh_clean -k` by dephelper 7's `dh_prep`.
     - Removed patching facilities (no patches anymore).
   * debian/copyright:
     - Removed vanity lines about debianization.
@@ -21,8 +20,12 @@
       (no changes needed).
     - Removed build-dependancy on quilt (no patches anymore).
     - Depend and Build-Depend on bioperl versions superior or equal to 1.6.0.
+    - Build-depends on, and Recommdnes libalgorithm-diff-perl, libipc-run-perl,
+      libio-string-perl and libxml-twig-perl, that are listed in DEPENDANCIES.
+    - Build-depends on libarray-compare-perl and libtree-dagnode-perl
+      (otherwise tests fail). 
 
- -- Charles Plessy <plessy at debian.org>  Tue, 31 Mar 2009 20:29:19 +0900
+ -- Charles Plessy <plessy at debian.org>  Sat, 11 Apr 2009 12:59:00 +0900
 
 bioperl-run (1.5.2.100-1) unstable; urgency=low
 

Modified: trunk/packages/bioperl-run/trunk/debian/control
===================================================================
--- trunk/packages/bioperl-run/trunk/debian/control	2009-04-11 00:09:57 UTC (rev 3281)
+++ trunk/packages/bioperl-run/trunk/debian/control	2009-04-11 04:01:12 UTC (rev 3282)
@@ -2,7 +2,8 @@
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 7), libmodule-build-perl
-Build-Depends-Indep: perl (>= 5.6.1), bioperl (>= 1.6.0)
+Build-Depends-Indep: perl (>= 5.6.1), bioperl (>= 1.6.0), libalgorithm-diff-perl, libipc-run-perl, libio-string-perl, libxml-twig-perl,
+ libarray-compare-perl, libtree-dagnode-perl
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Charles Plessy <plessy at debian.org>
@@ -14,6 +15,7 @@
 Package: bioperl-run
 Architecture: all
 Depends: perl (>= 5.6.1), ${misc:Depends}, bioperl (>= 1.6.0)
+Recommends: libalgorithm-diff-perl, libipc-run-perl, libio-string-perl, libxml-twig-perl
 Suggests: emboss, hmmer, wise, molphy, phylip, clustalw, sim4, t-coffee, blast2, exonerate, amap
 Description: Wrapper modules for BioPerl
  Contains modules that provide a Perl interface to various

Modified: trunk/packages/bioperl-run/trunk/debian/rules
===================================================================
--- trunk/packages/bioperl-run/trunk/debian/rules	2009-04-11 00:09:57 UTC (rev 3281)
+++ trunk/packages/bioperl-run/trunk/debian/rules	2009-04-11 04:01:12 UTC (rev 3282)
@@ -1,68 +1,23 @@
 #!/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.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
 
-# 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
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
 build: build-stamp
 build-stamp:
-	dh_testdir
-	# Add commands to compile the package here
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	# disabled tests because they depend on too much external programs
-	# $(PERL) Build test
+	dh build
 	touch $@
 
-clean: 
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	# Add commands to clean up after the build process here
-	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
+clean:
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_prep
-	# Add commands to install the package into $(TMP) here
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
-	# prename is the rename utility written in perl usually available as /usr/bin/rename in Debian.
-	prename s/.pl$$// debian/bioperl-run/usr/bin/*pl
-	prename s/.pl.1p$$/.1p/ debian/bioperl-run/usr/share/man/man1/*1p
+	dh install
 	touch $@
 
 binary-arch:
-# We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-#	dh_installexamples examples/*
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build




More information about the debian-med-commit mailing list