[Python-modules-commits] r8657 - in packages/python-repoze.what-plugins/trunk/debian (rules)

zack at users.alioth.debian.org zack at users.alioth.debian.org
Sun May 31 21:26:27 UTC 2009


    Date: Sunday, May 31, 2009 @ 21:26:26
  Author: zack
Revision: 8657

avoid shipping generically named /usr/share/pyshared/*tests*

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

Modified: packages/python-repoze.what-plugins/trunk/debian/rules
===================================================================
--- packages/python-repoze.what-plugins/trunk/debian/rules	2009-05-31 21:07:19 UTC (rev 8656)
+++ packages/python-repoze.what-plugins/trunk/debian/rules	2009-05-31 21:26:26 UTC (rev 8657)
@@ -14,4 +14,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