[Python-modules-commits] r8658 - in packages/python-repoze.who-plugins/trunk/debian (2 files)

zack at users.alioth.debian.org zack at users.alioth.debian.org
Sun May 31 21:28:16 UTC 2009


    Date: Sunday, May 31, 2009 @ 21:28:16
  Author: zack
Revision: 8658

debian/rules: avoid installing useless tests

they are useless and too generically named to be safe against name
clashes

Modified:
  packages/python-repoze.who-plugins/trunk/debian/changelog
  packages/python-repoze.who-plugins/trunk/debian/rules

Modified: packages/python-repoze.who-plugins/trunk/debian/changelog
===================================================================
--- packages/python-repoze.who-plugins/trunk/debian/changelog	2009-05-31 21:26:26 UTC (rev 8657)
+++ packages/python-repoze.who-plugins/trunk/debian/changelog	2009-05-31 21:28:16 UTC (rev 8658)
@@ -1,3 +1,10 @@
+python-repoze.who-plugins (20090530-2) UNRELEASED; urgency=low
+
+  * debian/rules: avoid installing some tests that are useless and too
+    generically named to be safe against name clashes
+
+ -- Stefano Zacchiroli <zack at debian.org>  Sun, 31 May 2009 23:24:55 +0200
+
 python-repoze.who-plugins (20090530-1) experimental; urgency=low
 
   * First release (Closes: #531146)

Modified: packages/python-repoze.who-plugins/trunk/debian/rules
===================================================================
--- packages/python-repoze.who-plugins/trunk/debian/rules	2009-05-31 21:26:26 UTC (rev 8657)
+++ packages/python-repoze.who-plugins/trunk/debian/rules	2009-05-31 21:28:16 UTC (rev 8658)
@@ -15,4 +15,8 @@
 
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
 
+# avoid installing tests: useless at runtime and prone to name clashes
+install/$(PKG)::
+	rm -rf debian/$(PKG)/usr/lib/python*/site-packages/tests/
+
 -include debian/get-orig-source.mk




More information about the Python-modules-commits mailing list