
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
23 lines
746 B
Python
23 lines
746 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 PyBoltons(PythonPackage):
|
|
"""When they're not builtins, they're boltons.
|
|
|
|
Functionality that should be in the standard library. Like builtins,
|
|
but Boltons.
|
|
|
|
Otherwise known as, "everyone's util.py," but cleaned up and tested.
|
|
"""
|
|
homepage = "https://boltons.readthedocs.io/"
|
|
url = "https://pypi.io/packages/source/b/boltons/boltons-16.5.1.tar.gz"
|
|
|
|
version('16.5.1', sha256='fcded58596fa79bd1ada4488178e79fd11c7cb449f29ff9a6532411fb2db19b7')
|
|
|
|
depends_on('py-setuptools', type='build')
|