py-flake8: enum34 not required for python 3.4 and up (#9415)
py-flake8 only requires py-enum34 when using a python version earlier than 3.4
This commit is contained in:
		 Geoffrey Oxberry
					Geoffrey Oxberry
				
			
				
					committed by
					
						 Peter Scheibel
						Peter Scheibel
					
				
			
			
				
	
			
			
			 Peter Scheibel
						Peter Scheibel
					
				
			
						parent
						
							479e71a832
						
					
				
				
					commit
					98cdd616ca
				
			| @@ -69,7 +69,12 @@ class PyFlake8(PythonPackage): | |||||||
|     # depends_on('py-configparser', when='^python@:3.3', type=('build', 'run')) |     # depends_on('py-configparser', when='^python@:3.3', type=('build', 'run')) | ||||||
|     # depends_on('py-enum34', when='^python@:3.1', type=('build', 'run')) |     # depends_on('py-enum34', when='^python@:3.1', type=('build', 'run')) | ||||||
|     depends_on('py-configparser', type=('build', 'run')) |     depends_on('py-configparser', type=('build', 'run')) | ||||||
|     depends_on('py-enum34', type=('build', 'run')) |  | ||||||
|  |     # py-enum34 provides enum module from Python 3.4 for Python | ||||||
|  |     # versions 2.4, 2.5, 2.6, 2.7, 3.1, 3.2, and 3.3; use built-in enum | ||||||
|  |     # module for Python versions 3.4 and later | ||||||
|  |     depends_on('py-enum34', when='^python@2.4:2.7.999,3.1:3.3.999', | ||||||
|  |                type=('build', 'run')) | ||||||
|  |  | ||||||
|     depends_on('py-nose', type='test') |     depends_on('py-nose', type='test') | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user