New package: py-fastcache (#12451)
This commit is contained in:
		
							
								
								
									
										17
									
								
								var/spack/repos/builtin/packages/py-fastcache/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								var/spack/repos/builtin/packages/py-fastcache/package.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
 | 
			
		||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
 | 
			
		||||
#
 | 
			
		||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
 | 
			
		||||
 | 
			
		||||
from spack import *
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class PyFastcache(PythonPackage):
 | 
			
		||||
    """C implementation of Python 3 functools.lru_cache"""
 | 
			
		||||
 | 
			
		||||
    homepage = "https://github.com/pbrady/fastcache"
 | 
			
		||||
    url      = "https://pypi.io/packages/source/f/fastcache/fastcache-1.1.0.tar.gz"
 | 
			
		||||
 | 
			
		||||
    version('1.1.0', sha256='6de1b16e70335b7bde266707eb401a3aaec220fb66c5d13b02abf0eab8be782b')
 | 
			
		||||
 | 
			
		||||
    depends_on('py-setuptools', type='build')
 | 
			
		||||
		Reference in New Issue
	
	Block a user