make vim python3 compatible (#6925)
This commit is contained in:
		 healther
					healther
				
			
				
					committed by
					
						 Adam J. Stewart
						Adam J. Stewart
					
				
			
			
				
	
			
			
			 Adam J. Stewart
						Adam J. Stewart
					
				
			
						parent
						
							0adcb610fe
						
					
				
				
					commit
					a03674ebbd
				
			| @@ -96,9 +96,14 @@ def configure_args(self): | |||||||
|         configure_args.append("--with-features=" + feature_set) |         configure_args.append("--with-features=" + feature_set) | ||||||
|  |  | ||||||
|         if '+python' in spec: |         if '+python' in spec: | ||||||
|  |             if 'python@3:' in self.spec: | ||||||
|  |                 configure_args.append("--enable-python3interp=yes") | ||||||
|  |                 configure_args.append("--enable-pythoninterp=no") | ||||||
|  |             else: | ||||||
|  |                 configure_args.append("--enable-python3interp=no") | ||||||
|                 configure_args.append("--enable-pythoninterp=yes") |                 configure_args.append("--enable-pythoninterp=yes") | ||||||
|         else: |         else: | ||||||
|             configure_args.append("--enable-pythoninterp=no") |             configure_args.append("--enable-python3interp=no") | ||||||
|  |  | ||||||
|         if '+ruby' in spec: |         if '+ruby' in spec: | ||||||
|             configure_args.append("--enable-rubyinterp=yes") |             configure_args.append("--enable-rubyinterp=yes") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user