
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
17 lines
601 B
Python
17 lines
601 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 Py3to2(PythonPackage):
|
|
"""lib3to2 is a set of fixers that are intended to backport code written
|
|
for Python version 3.x into Python version 2.x."""
|
|
|
|
homepage = "https://pypi.python.org/pypi/3to2"
|
|
url = "https://pypi.io/packages/source/3/3to2/3to2-1.1.1.zip"
|
|
|
|
version('1.1.1', sha256='fef50b2b881ef743f269946e1090b77567b71bb9a9ce64b7f8e699b562ff685c')
|