gnu: python-fonttools: Fix build failure.
* gnu/packages/python-xyz.scm (python-fonttools-with-tests)[arguments]: Skip tests that cannot run. [native-inputs]: Fix inheritance.
This commit is contained in:
		
							parent
							
								
									af36848fb3
								
							
						
					
					
						commit
						2ee870d0ab
					
				
					 1 changed files with 13 additions and 2 deletions
				
			
		| 
						 | 
					@ -10977,9 +10977,20 @@ from an XML-based format.")
 | 
				
			||||||
           (replace 'check
 | 
					           (replace 'check
 | 
				
			||||||
             (lambda* (#:key tests? #:allow-other-keys)
 | 
					             (lambda* (#:key tests? #:allow-other-keys)
 | 
				
			||||||
               (when tests?
 | 
					               (when tests?
 | 
				
			||||||
                 (invoke "pytest"))))))))
 | 
					                 (invoke "pytest" "-vv"
 | 
				
			||||||
 | 
					                         "-k"
 | 
				
			||||||
 | 
					                         ;; XXX: These tests need .trm files that are
 | 
				
			||||||
 | 
					                         ;; not shipped with the PyPI release.
 | 
				
			||||||
 | 
					                         (format #f "not ~a"
 | 
				
			||||||
 | 
					                                 (string-join
 | 
				
			||||||
 | 
					                                  '("test_read_fontdimens_mathsy"
 | 
				
			||||||
 | 
					                                    "test_read_fontdimens_mathex"
 | 
				
			||||||
 | 
					                                    "test_read_fontdimens_vanilla"
 | 
				
			||||||
 | 
					                                    "test_read_boundary_char"
 | 
				
			||||||
 | 
					                                    "fontTools.tfmLib")
 | 
				
			||||||
 | 
					                                  " and not "))))))))))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     (modify-inputs (package-inputs python-fonttools)
 | 
					     (modify-inputs (package-native-inputs python-fonttools)
 | 
				
			||||||
       (append python-pytest            ;FIXME: indentation is broken
 | 
					       (append python-pytest            ;FIXME: indentation is broken
 | 
				
			||||||
           python-brotli
 | 
					           python-brotli
 | 
				
			||||||
         python-fs
 | 
					         python-fs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue