[med-svn] r3171 - trunk/packages/libbio-graphics-perl/trunk/debian

plessy at alioth.debian.org plessy at alioth.debian.org
Wed Mar 11 02:24:02 UTC 2009


Author: plessy
Date: 2009-03-11 02:24:01 +0000 (Wed, 11 Mar 2009)
New Revision: 3171

Removed:
   trunk/packages/libbio-graphics-perl/trunk/debian/docs
   trunk/packages/libbio-graphics-perl/trunk/debian/examples
Modified:
   trunk/packages/libbio-graphics-perl/trunk/debian/changelog
   trunk/packages/libbio-graphics-perl/trunk/debian/rules
Log:
Reverted refreshment of debian/rules and uploaded.

The compact form of debian/rules lets Makemaker generate some
unwanted files.


Modified: trunk/packages/libbio-graphics-perl/trunk/debian/changelog
===================================================================
--- trunk/packages/libbio-graphics-perl/trunk/debian/changelog	2009-03-10 12:55:16 UTC (rev 3170)
+++ trunk/packages/libbio-graphics-perl/trunk/debian/changelog	2009-03-11 02:24:01 UTC (rev 3171)
@@ -1,17 +1,12 @@
-libbio-graphics-perl (1.85-1) UNRELEASED; urgency=low
+libbio-graphics-perl (1.85-1) unstable; urgency=low
 
-  TODO:
-    - Wait for bioperl 1.6 in main.
-    - fix the build problem with DH7, or revert to old makefile.
-
   * New upstream release:
     - Adds including capacities in the configuration files.
     - New object: Bio::Graphics::Glyph::hybrid_plot.
-  * debian/copyright: incremented year and added new holder. 
-  * Refreshed build system with dh-make-perl 0.52.
-    (debian/rules, debian/examples, debian/docs)
+  * debian/copyright: incremented year and added new holder.
+  * debian/rules: replaced deprecated `dh_clean -k' by `dh_prep'. 
 
- -- Charles Plessy <plessy at debian.org>  Sun, 08 Mar 2009 16:30:17 +0900
+ -- Charles Plessy <plessy at debian.org>  Wed, 11 Mar 2009 10:23:12 +0900
 
 libbio-graphics-perl (1.84-1) unstable; urgency=low
 

Deleted: trunk/packages/libbio-graphics-perl/trunk/debian/docs
===================================================================
--- trunk/packages/libbio-graphics-perl/trunk/debian/docs	2009-03-10 12:55:16 UTC (rev 3170)
+++ trunk/packages/libbio-graphics-perl/trunk/debian/docs	2009-03-11 02:24:01 UTC (rev 3171)
@@ -1 +0,0 @@
-README

Deleted: trunk/packages/libbio-graphics-perl/trunk/debian/examples
===================================================================
--- trunk/packages/libbio-graphics-perl/trunk/debian/examples	2009-03-10 12:55:16 UTC (rev 3170)
+++ trunk/packages/libbio-graphics-perl/trunk/debian/examples	2009-03-11 02:24:01 UTC (rev 3171)
@@ -1 +0,0 @@
-eg/*

Modified: trunk/packages/libbio-graphics-perl/trunk/debian/rules
===================================================================
--- trunk/packages/libbio-graphics-perl/trunk/debian/rules	2009-03-10 12:55:16 UTC (rev 3170)
+++ trunk/packages/libbio-graphics-perl/trunk/debian/rules	2009-03-11 02:24:01 UTC (rev 3171)
@@ -1,23 +1,64 @@
 #!/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 build
+	dh_testdir
+	# Add commands to compile the package here
+	$(PERL) Build.PL installdirs=vendor
+	$(PERL) Build
+	$(PERL) Build test
 	touch $@
 
 clean:
-	dh $@
+	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
 
 install: install-stamp
 install-stamp: build-stamp
-	dh install
+	dh_testdir
+	dh_testroot
+	dh_prep
+	# Add commands to install the package into $(TMP) here
+	$(PERL) Build install destdir=$(TMP) create_packlist=0
 	touch $@
 
 binary-arch:
+# We have nothing to do here for an architecture-independent package
 
-binary-indep: install
-	dh $@
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installexamples eg/*
+	dh_installchangelogs Changes
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
 
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install




More information about the debian-med-commit mailing list