[Python-modules-commits] r28363 - in packages/epsilon/trunk/debian (changelog clean rules)

mithrandi at users.alioth.debian.org mithrandi at users.alioth.debian.org
Sat Mar 29 14:44:29 UTC 2014


    Date: Saturday, March 29, 2014 @ 14:44:29
  Author: mithrandi
Revision: 28363

Fix clean target (dh_clean does not actually support removing directories,
but we were pretending it does).

Modified:
  packages/epsilon/trunk/debian/changelog
  packages/epsilon/trunk/debian/clean
  packages/epsilon/trunk/debian/rules

Modified: packages/epsilon/trunk/debian/changelog
===================================================================
--- packages/epsilon/trunk/debian/changelog	2014-03-29 14:38:37 UTC (rev 28362)
+++ packages/epsilon/trunk/debian/changelog	2014-03-29 14:44:29 UTC (rev 28363)
@@ -1,6 +1,8 @@
 epsilon (0.7.0-2) unstable; urgency=medium
 
   * Enable automated tests via autopkgtest.
+  * Fix clean target (dh_clean does not actually support removing directories,
+    but we were pretending it does).
 
  -- Tristan Seligmann <mithrandi at debian.org>  Sat, 29 Mar 2014 16:38:27 +0200
 

Modified: packages/epsilon/trunk/debian/clean
===================================================================
--- packages/epsilon/trunk/debian/clean	2014-03-29 14:38:37 UTC (rev 28362)
+++ packages/epsilon/trunk/debian/clean	2014-03-29 14:44:29 UTC (rev 28363)
@@ -1,3 +1,2 @@
-_trial_temp
 epsilon/release.py
 epsilon/test/test_release.py

Modified: packages/epsilon/trunk/debian/rules
===================================================================
--- packages/epsilon/trunk/debian/rules	2014-03-29 14:38:37 UTC (rev 28362)
+++ packages/epsilon/trunk/debian/rules	2014-03-29 14:44:29 UTC (rev 28363)
@@ -1,17 +1,25 @@
 #!/usr/bin/make -f
 export PYTHONDONTWRITEBYTECODE=yes
-export PYBUILD_DESTDIR_python2=debian/python-epsilon/
+export PYBUILD_NAME=epsilon
 
 %:
 	dh $@ --with python2 --buildsystem=pybuild
 
+
 override_dh_auto_install:
 	dh_auto_install
 	mv debian/python-epsilon/usr/bin/benchmark debian/python-epsilon/usr/bin/epsilon-benchmark
 
+
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
 	PYBUILD_TEST_ARGS="{interpreter} /usr/bin/trial epsilon" dh_auto_test
 
+
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS.txt
+
+
+override_dh_clean:
+	dh_clean
+	rm -rf _trial_temp




More information about the Python-modules-commits mailing list