[SCM] Packaging for padre-plugin-perlcritic branch, master, updated. upstream/0.06-7-g8a0fadc

Ryan Niebur ryanryan52 at gmail.com
Thu Jun 18 04:34:34 UTC 2009


The following commit has been merged in the master branch:
commit 8a0fadc644ce11dc800e06d1280e7322b3c3fc23
Author: Ryan Niebur <ryanryan52 at gmail.com>
Date:   Wed Jun 17 21:34:27 2009 -0700

    run the tests under xvfb

diff --git a/debian/control b/debian/control
index d112962..c910816 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7), libmodule-build-perl
 Build-Depends-Indep: perl (>= 5.8), perl-modules, libperl-critic-perl,
-  padre-plugin-api-0
+  padre-plugin-api-0, xvfb, xauth, xfonts-base
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Ryan Niebur <ryanryan52 at gmail.com>
 Standards-Version: 3.8.1
diff --git a/debian/rules b/debian/rules
index 2d33f6a..b3015fc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,8 @@
 
 %:
 	dh $@
+
+CMD=$(shell echo $@ | sed 's/^override_//')
+
+override_dh_auto_test:
+	xvfb-run $(CMD)

-- 
Packaging for padre-plugin-perlcritic



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