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

kibi-guest at users.alioth.debian.org kibi-guest at users.alioth.debian.org
Mon Jan 14 17:32:14 UTC 2008


    Date: Monday, January 14, 2008 @ 17:32:14
  Author: kibi-guest
Revision: 4364

Delete pristine hack, remove the whole networkx.egg-info directory during clean

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

Modified: packages/python-networkx/trunk/debian/changelog
===================================================================
--- packages/python-networkx/trunk/debian/changelog	2008-01-14 17:32:00 UTC (rev 4363)
+++ packages/python-networkx/trunk/debian/changelog	2008-01-14 17:32:14 UTC (rev 4364)
@@ -11,6 +11,10 @@
      + Update the list of authors.
   * Don't repack anymore, upstream no longer ships the examples that
     weren't DFSG-compliant.
+  * debian/rules:
+     + Delete the networkx.egg-info/SOURCES.txt pristine hack.
+     + Only remove the whole networkx.egg-info directory in the
+       “clean” target since it gets generated during the build, now.
 
  -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>  Mon, 14 Jan 2008 17:05:32 +0100
 

Modified: packages/python-networkx/trunk/debian/rules
===================================================================
--- packages/python-networkx/trunk/debian/rules	2008-01-14 17:32:00 UTC (rev 4363)
+++ packages/python-networkx/trunk/debian/rules	2008-01-14 17:32:14 UTC (rev 4364)
@@ -27,10 +27,8 @@
 	# Make sure that there's no .pyc left
 	find . -name '*.pyc' -exec rm {} ';'
 
-	# Restore the pristine file
-	if [ -f networkx.egg-info/SOURCES.txt.pristine ]; then \
-		mv networkx.egg-info/SOURCES.txt.pristine networkx.egg-info/SOURCES.txt ; \
-	fi
+	# This directory is generated during the build
+	rm -rf networkx.egg-info
 
 	dh_clean
 
@@ -40,9 +38,6 @@
 	dh_clean -k
 	dh_installdirs
 
-	# Keep the original file around
-	cp networkx.egg-info/SOURCES.txt networkx.egg-info/SOURCES.txt.pristine
-
 	# Install w/o compiling *.pyc files
 	# Install egg-info directories (--single-... option)
 	python setup_egg.py install --no-compile --root=$(CURDIR)/debian/python-networkx \




More information about the Python-modules-commits mailing list