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

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Sun May 5 19:27:27 UTC 2013


    Date: Sunday, May 5, 2013 @ 19:27:25
  Author: jwilk
Revision: 24132

Don't use dh_testdir.

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

Modified: packages/python-byteplay/trunk/debian/changelog
===================================================================
--- packages/python-byteplay/trunk/debian/changelog	2013-05-05 19:24:23 UTC (rev 24131)
+++ packages/python-byteplay/trunk/debian/changelog	2013-05-05 19:27:25 UTC (rev 24132)
@@ -3,6 +3,8 @@
   * Rename the DEP-8 test, so that it matches binary package name.
   * Remove doubled shebang from the DEP-8 test script.
   * 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:02:11 +0200
 

Modified: packages/python-byteplay/trunk/debian/rules
===================================================================
--- packages/python-byteplay/trunk/debian/rules	2013-05-05 19:24:23 UTC (rev 24131)
+++ packages/python-byteplay/trunk/debian/rules	2013-05-05 19:27:25 UTC (rev 24132)
@@ -7,7 +7,6 @@
 
 .PHONY: clean
 clean:
-	dh_testdir
 	dh_clean
 	rm -rf build
 	find -name '*.py[co]' -delete
@@ -15,8 +14,7 @@
 .PHONY: build build-arch build-indep
 build build-indep: build/stamp
 
-build/stamp:
-	dh_testdir
+build/stamp: setup.py
 ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
 	$(python_all) debian/run-tests.py
 endif
@@ -26,7 +24,6 @@
 
 .PHONY: binary binary-arch binary-indep
 binary binary-indep: build/stamp
-	dh_testdir
 	dh_testroot
 	dh_prep
 	$(python_all) setup.py install --prefix=/usr --root=debian/python-byteplay/




More information about the Python-modules-commits mailing list