[Python-modules-commits] r24353 - in packages/python-roman/trunk/debian (changelog rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Mon May 13 20:50:23 UTC 2013


    Date: Monday, May 13, 2013 @ 20:50:21
  Author: jwilk
Revision: 24353

Don't use dh_testdir.

Modified:
  packages/python-roman/trunk/debian/changelog
  packages/python-roman/trunk/debian/rules

Modified: packages/python-roman/trunk/debian/changelog
===================================================================
--- packages/python-roman/trunk/debian/changelog	2013-05-13 18:17:06 UTC (rev 24352)
+++ packages/python-roman/trunk/debian/changelog	2013-05-13 20:50:21 UTC (rev 24353)
@@ -4,8 +4,10 @@
   * DEP-8 tests: remove “Features: no-build-needed”; it's the default now.
   * Bump standards version to 3.9.4; no changes needed.
   * Use canonical URIs for Vcs-* fields.
+  * Don't use dh_testdir; instead, use makefile rules to ensure that
+    debian/rules can be only run in the correct directory.
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:03:22 +0200
+ -- Jakub Wilk <jwilk at debian.org>  Mon, 13 May 2013 22:49:44 +0200
 
 python-roman (1.4.0-1) experimental; urgency=low
 

Modified: packages/python-roman/trunk/debian/rules
===================================================================
--- packages/python-roman/trunk/debian/rules	2013-05-13 18:17:06 UTC (rev 24352)
+++ packages/python-roman/trunk/debian/rules	2013-05-13 20:50:21 UTC (rev 24353)
@@ -9,16 +9,14 @@
 install = install $(py_setup_install_args)
 
 .PHONY: clean
-clean:
-	dh_testdir
+clean: debian/control
 	dh_clean
 	rm -rf build
 
 .PHONY: build build-arch build-indep
 build build-indep: build/stamp
 
-build/stamp:
-	dh_testdir
+build/stamp: setup.py
 	$(build2)
 	$(build3)
 ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
@@ -28,8 +26,7 @@
 	touch $(@)
 
 .PHONY: binary binary-arch binary-indep
-binary binary-indep: build/stamp
-	dh_testdir
+binary binary-indep: build/stamp debian/control
 	dh_testroot
 	dh_prep
 	$(build2) $(install) --root=debian/python-roman/




More information about the Python-modules-commits mailing list