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

kibi at users.alioth.debian.org kibi at users.alioth.debian.org
Sat Nov 29 21:33:41 UTC 2008


    Date: Saturday, November 29, 2008 @ 21:33:35
  Author: kibi
Revision: 7025

Fix double-build failure: clean pygraphviz.egg-info directory.

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

Modified: packages/python-pygraphviz/trunk/debian/changelog
===================================================================
--- packages/python-pygraphviz/trunk/debian/changelog	2008-11-29 21:26:49 UTC (rev 7024)
+++ packages/python-pygraphviz/trunk/debian/changelog	2008-11-29 21:33:35 UTC (rev 7025)
@@ -9,6 +9,9 @@
   * debian/docs:
      - Update for the renamed README.txt file.
   * debian/rules:
+     - Clean the pygraphviz.egg-info directory in a “clean::” target since
+       it gets generated again during the build, with different contents
+       (which breaks double-build).
      - Update accordingly (keep shipping it as README).
      - No longer remove License.txt (no longer shipped).
      - Remove INSTALL.txt (not needed).

Modified: packages/python-pygraphviz/trunk/debian/rules
===================================================================
--- packages/python-pygraphviz/trunk/debian/rules	2008-11-29 21:26:49 UTC (rev 7024)
+++ packages/python-pygraphviz/trunk/debian/rules	2008-11-29 21:33:35 UTC (rev 7025)
@@ -53,3 +53,7 @@
 	cd $(DEB_SRCDIR) && python$* $(DEB_PYTHON_SETUP_CMD) build_ext $(DEB_PYTHON_BUILD_ARGS) $(DEB_PYTHON_BUILD_EXTENSION_ARGS)
 	cd $(DEB_SRCDIR) && python$* $(DEB_PYTHON_SETUP_CMD) build_py $(DEB_PYTHON_BUILD_ARGS)
 	touch $@
+
+clean::
+	# Shipped in the source tarball, generated again during the build
+	rm -rf pygraphviz.egg-info




More information about the Python-modules-commits mailing list