[Python-modules-commits] r32267 - in packages/matplotlib/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri Apr 10 23:49:29 UTC 2015


    Date: Friday, April 10, 2015 @ 23:49:26
  Author: morph
Revision: 32267

remove the contents of baseline_images, but not the directory itself,
which is required by matplotlib.tests; Closes: #779847

Modified:
  packages/matplotlib/trunk/debian/changelog
  packages/matplotlib/trunk/debian/rules

Modified: packages/matplotlib/trunk/debian/changelog
===================================================================
--- packages/matplotlib/trunk/debian/changelog	2015-04-10 21:44:41 UTC (rev 32266)
+++ packages/matplotlib/trunk/debian/changelog	2015-04-10 23:49:26 UTC (rev 32267)
@@ -6,8 +6,10 @@
   * debian/rules
     - remove embedded CXX, this should avoid accidental usage even though we set
       to ues the system installed one
+    - remove the contents of baseline_images, but not the directory itself,
+      which is required by matplotlib.tests; Closes: #779847
 
- -- Sandro Tosi <morph at debian.org>  Fri, 10 Apr 2015 22:43:59 +0100
+ -- Sandro Tosi <morph at debian.org>  Sat, 11 Apr 2015 00:48:45 +0100
 
 matplotlib (1.4.3~rc1-1) experimental; urgency=medium
 

Modified: packages/matplotlib/trunk/debian/rules
===================================================================
--- packages/matplotlib/trunk/debian/rules	2015-04-10 21:44:41 UTC (rev 32266)
+++ packages/matplotlib/trunk/debian/rules	2015-04-10 23:49:26 UTC (rev 32267)
@@ -126,7 +126,8 @@
 	find debian/$(pdbg) -depth -empty -exec rmdir {} \;
 
 	# don't install baseline_images, needed for tests only, but huge
-	rm -rf $(CURDIR)/debian/$(p)/usr/lib/python$*/*-packages/matplotlib/tests/baseline_images/
+	# leave the dir tho, as matplotlib/tests/__init__.py checks for it
+	rm -rf $(CURDIR)/debian/$(p)/usr/lib/python$*/*-packages/matplotlib/tests/baseline_images/*
 
 	rm -rf $(CURDIR)/debian/$(p)/usr/lib/python$*/site-packages/matplotlib/mpl-data/
 	rm -rf $(CURDIR)/debian/$(p)/usr/lib/python$*/site-packages/matplotlib/backends/Matplotlib.nib/
@@ -161,7 +162,8 @@
 	find debian/$(p3dbg) -depth -empty -exec rmdir {} \;
 
 	# don't install baseline_images, needed for tests only, but huge
-	rm -rf $(CURDIR)/debian/$(p3)/usr/lib/python3/*-packages/matplotlib/tests/baseline_images/
+	# leave the dir tho, as matplotlib/tests/__init__.py checks for it
+	rm -rf $(CURDIR)/debian/$(p3)/usr/lib/python3/*-packages/matplotlib/tests/baseline_images/*
 
 	rm -rf $(CURDIR)/debian/$(p3)/usr/lib/python3/dist-packages/matplotlib/mpl-data/
 	rm -rf $(CURDIR)/debian/$(p3)/usr/lib/python3/dist-packages/matplotlib/backends/Matplotlib.nib/




More information about the Python-modules-commits mailing list