r34834 - in /trunk/libtest-valgrind-perl/debian: changelog control rules

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Wed May 6 02:51:41 UTC 2009


Author: jawnsy-guest
Date: Wed May  6 02:51:35 2009
New Revision: 34834

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=34834
Log:
Made all the changes gregoa wrote in the changelog. If those are the only issues he has with my packaging though, I'm getting better =). dch -r as well, since the necessary changes were made.
TODO: learn more about the build override_* thingies.

Modified:
    trunk/libtest-valgrind-perl/debian/changelog
    trunk/libtest-valgrind-perl/debian/control
    trunk/libtest-valgrind-perl/debian/rules

Modified: trunk/libtest-valgrind-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-valgrind-perl/debian/changelog?rev=34834&op=diff
==============================================================================
--- trunk/libtest-valgrind-perl/debian/changelog (original)
+++ trunk/libtest-valgrind-perl/debian/changelog Wed May  6 02:51:35 2009
@@ -1,35 +1,7 @@
-libtest-valgrind-perl (1.02-1) UNRELEASED; urgency=low
-
-  TODO:
-  * one debian/changelog entry is enough for a new package
-  * remove TEST_AUTHOR=1 from debian/rules, this variable doesn't appear
-    anywhere in the tests
-  * I'm not sure if this package builds on buildds (with non-existant $HOME),
-    since it needs ~/.perl/Test-Valgrind; cf. lib/Test/Valgrind/Session.pm,
-    lines 337 ff. and if it works those dir should be cleaned after the tests.
-
-    some tests:
-    - if I add "export HOME=/foobar" to the top of debian/rules the tests fail
-    - if I add "export HOME=$(TMP)" it doesn't work either
-    - if I add "export HOME=/tmp" it works, but I'm not sure if all buildds
-      have /tmp
-
-    probably we need to create a tmpdir and export it as HOME, and then clean
-    up. but then we don't know the name of the previous dir for cleaning ...
-
-    or we could use something under debian/
-    *trying*
-    ok, the following seems to work: http://paste.debian.net/35115/
-
-
-  * New upstream release. No major changes, except mostly documentation
-
- -- Jonathan Yu <frequency at cpan.org>  Sat, 02 May 2009 21:26:22 -0400
-
-libtest-valgrind-perl (1.01-1) unstable; urgency=low
+libtest-valgrind-perl (1.02-1) unstable; urgency=low
 
   WAITS for libperl-destruct-level-perl (NEW) and libenv-sanctify-perl (NEW)
   
   * Initial Release. (Closes: #526386)
 
- -- Jonathan Yu <frequency at cpan.org>  Thu, 30 Apr 2009 16:57:38 -0400
+ -- Jonathan Yu <frequency at cpan.org>  Sat, 02 May 2009 21:26:22 -0400

Modified: trunk/libtest-valgrind-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-valgrind-perl/debian/control?rev=34834&op=diff
==============================================================================
--- trunk/libtest-valgrind-perl/debian/control (original)
+++ trunk/libtest-valgrind-perl/debian/control Wed May  6 02:51:35 2009
@@ -1,7 +1,7 @@
 Source: libtest-valgrind-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), libfile-homedir-perl (>= 0.86),
+Build-Depends: debhelper (>= 7.0.50), libfile-homedir-perl (>= 0.86),
   libxml-twig-perl, libperl-destruct-level-perl, libenv-sanctify-perl,
   libtest-pod-perl, libtest-pod-coverage-perl, valgrind, perl (>= 5.6.0-12)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>

Modified: trunk/libtest-valgrind-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-valgrind-perl/debian/rules?rev=34834&op=diff
==============================================================================
--- trunk/libtest-valgrind-perl/debian/rules (original)
+++ trunk/libtest-valgrind-perl/debian/rules Wed May  6 02:51:35 2009
@@ -1,12 +1,19 @@
 #!/usr/bin/make -f
+
+BUILDHOME=$(CURDIR)/debian/build
 
 build: build-stamp
 build-stamp:
 	TEST_AUTHOR=1 dh build
 	touch $@
 
+override_dh_auto_test:
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) dh_auto_test
+
 clean:
 	dh $@
+	rm -rf $(BUILDHOME)
 
 install: install-stamp
 install-stamp: build-stamp




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