[Python-modules-commits] r2157 - in /packages/python-networkx/trunk/debian: changelog rules

kibi-guest at users.alioth.debian.org kibi-guest at users.alioth.debian.org
Mon Apr 23 21:25:51 UTC 2007


Author: kibi-guest
Date: Mon Apr 23 21:25:51 2007
New Revision: 2157

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2157
Log:
Add *.pyc (just in case) cleanup, cleanup unneeded targets

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

Modified: packages/python-networkx/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-networkx/trunk/debian/changelog?rev=2157&op=diff
==============================================================================
--- packages/python-networkx/trunk/debian/changelog (original)
+++ packages/python-networkx/trunk/debian/changelog Mon Apr 23 21:25:51 2007
@@ -16,6 +16,11 @@
     well as ${python:Provides} and ${shlibs:Depends} in the control file.
   * Removed the lintian override and added a chmod call to +x the test script
     after the dh_pysupport call.
+  * Dropped unneeded build-stamp, configure, configure-stamp targets in the
+    rules file.
+  * Added *.pyc cleanup in the clean target. During a normal build it
+    shouldn't be needed, but might be useful when playing around with the
+    package.
 
  -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>  Mon, 23 Apr 2007 13:30:39 +0200
 

Modified: packages/python-networkx/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-networkx/trunk/debian/rules?rev=2157&op=diff
==============================================================================
--- packages/python-networkx/trunk/debian/rules (original)
+++ packages/python-networkx/trunk/debian/rules Mon Apr 23 21:25:51 2007
@@ -18,36 +18,19 @@
 include /usr/share/quilt/quilt.make
 
 
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-	# Fix a missing +x
-	chmod +x networkx/tests/test.py
-	
-
-	touch configure-stamp
-
-
-build: patch build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-
-	# Add here commands to compile the package.
-	#$(MAKE)
-
-	touch $@
+build: patch
 
 clean: clean-patched unpatch
 
 clean-patched:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
 
 	# Add here commands to clean up after the build process.
 	-rm -r build
+
+	# Make sure that there's no .pyc left
+	find . -name '*.pyc' -exec rm {} ';'
 
 	dh_clean 
 
@@ -99,4 +82,4 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




More information about the Python-modules-commits mailing list