changeset 2072:c0a685c67c5c

debian: don't delete evolve and topic extensions The debian packaging rules deletes all __init__.py to avoid conflicting with the __init__.py that declares the namespace package. Now that the evolve and topic extensions also live in __init__.py files, we clearly don't want to delete all __init__.py files anymore; only the hgext3rd/__init__.py should be deleted.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 09 Mar 2017 12:47:31 -0800
parents 8fbf75ca8a08
children 1885c7d78bf6
files debian/rules
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/debian/rules	Thu Mar 09 12:20:27 2017 -0800
+++ b/debian/rules	Thu Mar 09 12:47:31 2017 -0800
@@ -18,8 +18,8 @@
 endif
 
 override_dh_python2:
-	# avoid conflict with mercurial's own hgext/__init__.py
-	find debian -name __init__.py -delete
+	# avoid conflict with mercurial's own hgext3rd/__init__.py
+	find debian -path '*/hgext3rd/__init__.py' -delete
 	dh_python2
 
 override_dh_auto_clean: clean-docs