
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
20 lines
593 B
Python
20 lines
593 B
Python
# 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 PyLrudict(PythonPackage):
|
|
""" A fast LRU cache"""
|
|
|
|
homepage = "https://github.com/amitdev/lru-dict"
|
|
url = "https://pypi.io/packages/source/l/lru-dict/lru-dict-1.1.6.tar.gz"
|
|
|
|
version('1.1.6', sha256='365457660e3d05b76f1aba3e0f7fedbfcd6528e97c5115a351ddd0db488354cc')
|
|
|
|
depends_on('python@2.7:')
|
|
depends_on('py-setuptools', type=('build'))
|