[Python-modules-commits] r28092 - in packages/python-graph/trunk/debian (3 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Mar 9 20:05:54 UTC 2014


    Date: Sunday, March 9, 2014 @ 20:05:53
  Author: morph
Revision: 28092

* debian/patches/50_bts686695_use_prune_when_removing_pycache.patch
  - fix a FTBFS if built twice in a row; thanks to Jakub Wilk for the report
    and fix; Closes: #686695

Added:
  packages/python-graph/trunk/debian/patches/50_bts686695_use_prune_when_removing_pycache.patch
Modified:
  packages/python-graph/trunk/debian/changelog
  packages/python-graph/trunk/debian/patches/series

Modified: packages/python-graph/trunk/debian/changelog
===================================================================
--- packages/python-graph/trunk/debian/changelog	2014-03-09 17:41:50 UTC (rev 28091)
+++ packages/python-graph/trunk/debian/changelog	2014-03-09 20:05:53 UTC (rev 28092)
@@ -2,8 +2,11 @@
 
   * debian/control
     - switch me to Maintainer (team to Uploaders)
+  * debian/patches/50_bts686695_use_prune_when_removing_pycache.patch
+    - fix a FTBFS if built twice in a row; thanks to Jakub Wilk for the report
+      and fix; Closes: #686695
 
- -- Sandro Tosi <morph at debian.org>  Sun, 23 Feb 2014 12:12:21 +0100
+ -- Sandro Tosi <morph at debian.org>  Sun, 09 Mar 2014 21:05:09 +0100
 
 python-graph (1.8.2-4) unstable; urgency=low
 

Added: packages/python-graph/trunk/debian/patches/50_bts686695_use_prune_when_removing_pycache.patch
===================================================================
--- packages/python-graph/trunk/debian/patches/50_bts686695_use_prune_when_removing_pycache.patch	                        (rev 0)
+++ packages/python-graph/trunk/debian/patches/50_bts686695_use_prune_when_removing_pycache.patch	2014-03-09 20:05:53 UTC (rev 28092)
@@ -0,0 +1,20 @@
+Description: use -prune find option when removing __pycache_ dirs
+ find tries to descend to the directory that has just been deleted, prune fix it
+Author: Sandro Tosi <morph at debian.org>
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686695
+Forwarded: https://code.google.com/p/python-graph/issues/detail?id=118
+Last-Update: 2014-03-09
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Makefile
++++ b/Makefile
+@@ -87,7 +87,7 @@ console3:
+ 
+ cleanpyc:
+ 	find . -name *.pyc -exec rm {} \;
+-	find . -name __pycache__ -exec rm -rf {} \;
++	find . -name __pycache__ -exec rm -rf {} \;  -prune
+ 
+ clean: cleanpyc
+ 	rm -rf ${DOCS_DIR}

Modified: packages/python-graph/trunk/debian/patches/series
===================================================================
--- packages/python-graph/trunk/debian/patches/series	2014-03-09 17:41:50 UTC (rev 28091)
+++ packages/python-graph/trunk/debian/patches/series	2014-03-09 20:05:53 UTC (rev 28092)
@@ -1,3 +1,4 @@
 20_remove_reset.patch
 30_pass_python_to_makefile.patch
 40_dont_clean_when_building_docs.patch
+50_bts686695_use_prune_when_removing_pycache.patch




More information about the Python-modules-commits mailing list