
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
21 lines
708 B
Python
21 lines
708 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 PyPycares(PythonPackage):
|
|
"""pycares is a Python module which provides an interface to c-ares. c-ares
|
|
is a C library that performs DNS requests and name resolutions
|
|
asynchronously."""
|
|
|
|
homepage = "https://github.com/saghul/pycares"
|
|
url = "https://github.com/saghul/pycares/archive/pycares-3.0.0.tar.gz"
|
|
|
|
version('3.0.0', sha256='28dc2bd59cf20399a6af4383cc8f57970cfca8b808ca05d6493812862ef0ca9c')
|
|
|
|
depends_on('python@2.6:')
|
|
depends_on('py-cffi')
|