added py-wheel package
This commit is contained in:
		
							
								
								
									
										15
									
								
								var/spack/repos/builtin/packages/py-wheel/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								var/spack/repos/builtin/packages/py-wheel/package.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
from spack import *
 | 
			
		||||
 | 
			
		||||
class PyWheel(Package):
 | 
			
		||||
    """A built-package format for Python."""
 | 
			
		||||
 | 
			
		||||
    homepage = "https://pypi.python.org/pypi/wheel"
 | 
			
		||||
    url      = "https://pypi.python.org/packages/source/w/wheel/wheel-0.26.0.tar.gz"
 | 
			
		||||
 | 
			
		||||
    version('0.26.0', '4cfc6e7e3dc7377d0164914623922a10')
 | 
			
		||||
 | 
			
		||||
    extends('python')
 | 
			
		||||
    depends_on('py-setuptools')
 | 
			
		||||
 | 
			
		||||
    def install(self, spec, prefix):
 | 
			
		||||
        python('setup.py', 'install', '--prefix=%s' % prefix)
 | 
			
		||||
		Reference in New Issue
	
	Block a user