Fix Python3 bug in tut (#7627)
* Fix Python3 bug in tut * Revert URL change
This commit is contained in:
		@@ -33,6 +33,8 @@ class Tut(WafPackage):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    version('2016-12-19', '8b1967fa295ae1ce4d4431c2f811e521')
 | 
					    version('2016-12-19', '8b1967fa295ae1ce4d4431c2f811e521')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    patch('python3-octal.patch', when='@2016-12-19')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def build_args(self):
 | 
					    def build_args(self):
 | 
				
			||||||
        args = []
 | 
					        args = []
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										11
									
								
								var/spack/repos/builtin/packages/tut/python3-octal.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								var/spack/repos/builtin/packages/tut/python3-octal.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					--- a/waftools/gcov.py	2016-12-19 04:55:44.000000000 -0600
 | 
				
			||||||
 | 
					+++ b/waftools/gcov.py	2018-03-28 10:42:53.000000000 -0500
 | 
				
			||||||
 | 
					@@ -13,7 +13,7 @@
 | 
				
			||||||
 | 
					     wrapper = NamedTemporaryFile(delete=False)
 | 
				
			||||||
 | 
					     wrapper.write(script)
 | 
				
			||||||
 | 
					     wrapper.close()
 | 
				
			||||||
 | 
					-    os.chmod(wrapper.name, 0777)
 | 
				
			||||||
 | 
					+    os.chmod(wrapper.name, 0o777)
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					     yield wrapper.name
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
		Reference in New Issue
	
	Block a user