* gnu/packages/patches/python-pillow-fix-failing-tests.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/python.scm (python-pillow)[source]: Use it.
		
			
				
	
	
		
			249 lines
		
	
	
	
		
			110 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			249 lines
		
	
	
	
		
			110 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| This patch is derived from upstream commit
 | ||
| 13d84993717cffd64a2e1d7e3e6edb185973d559, which fixes non-deterministic test
 | ||
| failures on i686-linux and armhf-linux.
 | ||
| 
 | ||
| From 7a5d215022903151971df85e1ce947af42803c5b Mon Sep 17 00:00:00 2001
 | ||
| From: Eric Soroos <eric-github@soroos.net>
 | ||
| Date: Thu, 2 Nov 2017 11:11:38 +0000
 | ||
| Subject: [PATCH] Remove Adobe Helvetica screen font, update Pcf font tests
 | ||
|  using freely available font
 | ||
| 
 | ||
| ---
 | ||
|  Tests/fonts/10x20-ISO8859-1.pcf       | Bin 0 -> 25860 bytes
 | ||
|  Tests/fonts/LICENSE.txt               |   7 +++++++
 | ||
|  Tests/fonts/helvO18.pcf               | Bin 78412 -> 0 bytes
 | ||
|  Tests/images/high_ascii_chars.png     | Bin 1457 -> 1286 bytes
 | ||
|  Tests/images/test_draw_pbm_target.png | Bin 0 -> 259 bytes
 | ||
|  Tests/test_font_pcf.py                |  28 +++++++++++++++-------------
 | ||
|  6 files changed, 22 insertions(+), 13 deletions(-)
 | ||
|  create mode 100644 Tests/fonts/10x20-ISO8859-1.pcf
 | ||
|  delete mode 100644 Tests/fonts/helvO18.pcf
 | ||
|  create mode 100644 Tests/images/test_draw_pbm_target.png
 | ||
| 
 | ||
| diff -ur -a --new-file b/Tests/fonts/10x20-ISO8859-1.pcf a/Tests/fonts/10x20-ISO8859-1.pcf
 | ||
| --- b/Tests/fonts/10x20-ISO8859-1.pcf	1969-12-31 19:00:00.000000000 -0500
 | ||
| +++ a/Tests/fonts/10x20-ISO8859-1.pcf	2017-12-25 11:47:00.328290016 -0500
 | ||
| @@ -0,0 +1,25 @@
 | ||
| +fcp	 |