[SCM] Packaging for padre-plugin-svn branch, master, updated. upstream/0.01-18-gef54f01

Dominique Dumont dod at debian.org
Wed Feb 1 17:33:48 UTC 2012


The following commit has been merged in the master branch:
commit b6ec3c3acd8505f6cc497b7a2050ed2891eae255
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Jan 28 15:06:09 2012 +0100

    use xvfb to test

diff --git a/debian/control b/debian/control
index 3294c1c..fb8b729 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,9 @@ Uploaders: Ryan Niebur <ryanryan52 at gmail.com>
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: padre
+Build-Depends-Indep: padre,
+                     xvfb,
+                     xauth
 Standards-Version: 3.9.2
 Vcs-Browser: http://git.debian.org/?p=pkg-perl/packages/libpadre-plugin-svn-perl.git
 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libpadre-plugin-svn-perl.git
diff --git a/debian/rules b/debian/rules
index 2d33f6a..3837977 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,18 @@
 #!/usr/bin/make -f
 
+BUILDHOME = $(CURDIR)/debian/build
+
 %:
 	dh $@
+
+override_dh_clean:
+	dh_clean
+	rm -rf $(BUILDHOME)
+
+CMD=$(shell echo $@ | sed 's/override_//')
+
+# override_dh_auto_build override_dh_auto_test override_dh_auto_configure:
+override_dh_auto_test:
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) xvfb-run -a $(CMD)
+

-- 
Packaging for padre-plugin-svn



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